/* Neomorphic Blog Styles */

:root {
    --primary-pink: #4300FF;
    --primary-purple: #0065F8;
    --primary-dark: #4300FF;
    --primary-light: #00CAFF;
    --primary-white: #ffffff;
    --bg-light: #f9f9f9;
    --text-dark: #333333;
    --text-light: #555555;
    --shadow-light: #ffffff;
    --shadow-dark: #d1d9e6;
    --accent: #00CAFF;
    --quaternary: #00FFDE;
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --text-primary: #333333;
    --text-secondary: #555555;
    --white: #ffffff;
    
    /* Neomorphic shadows */
    --shadow-inset: inset 8px 8px 16px var(--shadow-dark), inset -8px -8px 16px var(--shadow-light);
    --shadow-outset: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
    --shadow-subtle: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    --shadow-pressed: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    --shadow-floating: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-subtle);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    background: var(--bg-light);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-outset);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--bg-light);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    box-shadow: var(--shadow-pressed);
    transform: translateY(2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-inset);
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-meta > div {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-meta i {
    color: var(--accent);
}

/* Main Content */
.main-content {
    background: var(--bg-light);
    padding: 60px 0;
}

.article {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 60px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.section-title i {
    color: var(--accent);
    font-size: 1.8rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Highlight Box */
.highlight-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-inset);
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.highlight-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Info Cards */
.info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-outset);
    margin: 30px 0;
}

.info-card h4 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.org-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.org-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.org-item:hover {
    box-shadow: var(--shadow-pressed);
    transform: translateY(2px);
}

.org-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* WBS Structure */
.wbs-structure {
    margin: 30px 0;
}

.wbs-level {
    margin-bottom: 15px;
}

.wbs-item {
    background: var(--bg-light);
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-outset);
    display: flex;
    align-items: center;
    gap: 20px;
}

.level-1 .wbs-item {
    box-shadow: var(--shadow-floating);
}

.level-2 .wbs-item {
    margin-left: 30px;
}

.level-3 .wbs-item {
    margin-left: 60px;
}

.level-4 .wbs-item {
    margin-left: 90px;
}

.level-label {
    font-weight: 600;
    color: var(--primary-purple);
    min-width: 80px;
}

.level-content {
    color: var(--text-secondary);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-outset);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-floating);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-inset);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.benefit-card h4 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Steps Container */
.steps-container {
    margin-top: 30px;
}

.step-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-outset);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 1.3rem;
    box-shadow: var(--shadow-inset);
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.tip-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-inset);
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tip-box i {
    color: var(--quaternary);
}

/* Example Section */
.example-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.example-section h4 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.code-block {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-inset);
    overflow-x: auto;
}

.code-block pre {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* RAM Table */
.ram-table-container {
    margin-top: 30px;
}

.ram-table-container h4 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.table-wrapper {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-outset);
    overflow-x: auto;
}

.ram-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ram-table th,
.ram-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-dark);
}

.ram-table th {
    background: var(--bg-light);
    color: var(--primary-purple);
    font-weight: 600;
    box-shadow: var(--shadow-subtle);
}

.ram-table td {
    color: var(--text-secondary);
}

.ram-table .responsible {
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
}

.ram-table .accountable {
    background: var(--primary-purple);
    color: var(--white);
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
}

.ram-table .consulted {
    background: var(--quaternary);
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
}

.ram-legend {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.ram-legend span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Best Practices Grid */
.best-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.practice-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.practice-item:hover {
    box-shadow: var(--shadow-outset);
    transform: translateY(-2px);
}

.practice-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

.practice-item span {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tool-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-outset);
    text-align: center;
    transition: all 0.3s ease;
}

.tool-card:hover {
    box-shadow: var(--shadow-floating);
    transform: translateY(-5px);
}

.tool-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-inset);
}

.tool-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.tool-card h4 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Common Pitfalls */
.pitfalls-container {
    margin-top: 30px;
}

.pitfall-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.pitfall-item:hover {
    box-shadow: var(--shadow-outset);
}

.pitfall-item i {
    color: #ff4757;
    font-size: 1.3rem;
    margin-top: 3px;
}

.pitfall-content h4 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.pitfall-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Conclusion */
.conclusion-content {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-outset);
    text-align: center;
}

.conclusion-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cta-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-inset);
    margin-top: 30px;
}

.cta-box h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: var(--white);
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-outset);
    transition: all 0.3s ease;
}

.cta-button:hover {
    box-shadow: var(--shadow-floating);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    text-decoration: none;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.social-links a:hover {
    box-shadow: var(--shadow-pressed);
    transform: translateY(2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--shadow-dark);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .example-container {
        grid-template-columns: 1fr;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .pitfall-item {
        flex-direction: column;
        text-align: center;
    }
    
    .table-wrapper {
        overflow-x: auto;
    }
}