/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* ===========================
   BODY BACKGROUNDS
   =========================== */
body.landing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
    overflow-x: hidden;
}

body.dependent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0 20px 40px 20px;
    min-height: 100vh;
}

body.independent {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 0 20px 40px 20px;
    min-height: 100vh;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 2em;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #2d3748;
    cursor: pointer;
}

/* ===========================
   HERO SECTION (Landing Page)
   =========================== */
.hero {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5em;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ===========================
   PATH SELECTION CARDS
   =========================== */
.path-selection {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: white;
    font-size: 2.5em;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.path-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.path-card.independent::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.path-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.path-card.independent .card-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-title {
    font-size: 1.8em;
    color: #2d3748;
    margin-bottom: 15px;
}

.card-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    margin-bottom: 25px;
}

.card-features li {
    padding: 8px 0;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    font-size: 1.2em;
}

.card-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.path-card.independent .card-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.feature-title {
    font-size: 1.3em;
    color: #2d3748;
    margin-bottom: 10px;
}

.feature-description {
    color: #718096;
    line-height: 1.6;
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 25px 30px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1em;
}

.faq-toggle {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: #667eea;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
    color: #4a5568;
    line-height: 1.8;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 40px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-disclaimer {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 20px;
    line-height: 1.6;
}

/* ===========================
   FLOW DIAGRAM STYLES
   =========================== */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.container h1 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 2.2em;
}

.subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.flow-diagram {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.step {
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dependent .step {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

body.dependent .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

body.independent .step {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

body.independent .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
}

.step-number {
    background: rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.95em;
    line-height: 1.5;
    opacity: 0.95;
}

.arrow {
    width: 3px;
    height: 20px;
    background: #a0aec0;
    position: relative;
    margin: 0 auto;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #a0aec0;
}

.decision {
    position: relative;
    transform: rotate(45deg);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

body.dependent .decision {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body.independent .decision {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.decision-content {
    transform: rotate(-45deg);
    text-align: center;
    padding: 20px;
}

.decision-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.branch-container {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    justify-content: center;
}

.branch {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.branch-label {
    font-weight: bold;
    color: #2d3748;
    background: #edf2f7;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
}

.small-step {
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 0.9em;
    text-align: center;
    width: 100%;
}

body.dependent .small-step {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body.independent .small-step {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.final-step {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.info-box {
    padding: 15px 20px;
    margin-top: 30px;
    border-radius: 5px;
}

body.dependent .info-box {
    background: #f7fafc;
    border-left: 4px solid #667eea;
}

body.independent .info-box {
    background: #f0f9ff;
    border-left: 4px solid #4facfe;
}

.info-box h3 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.info-box ul {
    color: #4a5568;
    margin-left: 20px;
    line-height: 1.8;
}

.highlight-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 5px;
}

.highlight-box h3 {
    color: #92400e;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.highlight-box p {
    color: #78350f;
    line-height: 1.6;
}

.highlight-box ul {
    color: #78350f;
    margin-left: 20px;
    margin-top: 8px;
    line-height: 1.8;
}

/* ===========================
   SCROLL ANIMATION
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2em;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 25px;
    }

    .container h1 {
        font-size: 1.6em;
    }

    .branch-container {
        flex-direction: column;
        gap: 20px;
    }

    .decision {
        width: 150px;
        height: 150px;
    }
}
