@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary: #E31E24;
    --primary-dark: #B71518;
    --primary-light: #FF4D52;
    --gold: #D4A843;
    --gold-light: #F0D78C;
    --dark: #1A1A2E;
    --dark-secondary: #2D2D44;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F0F1F3;
    --gray-200: #E2E4E8;
    --gray-400: #9CA3AF;
    --gray-600: #6B7280;
    --gray-800: #374151;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-red: 0 4px 20px rgba(227,30,36,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

/* ===== UTILITY ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-red);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 30px rgba(227,30,36,0.45);
    }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: var(--white);
    }

.btn-white {
    background: var(--white);
    color: var(--primary);
}

    .btn-white:hover {
        background: var(--gray-50);
        transform: translateY(-2px);
    }

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    font-weight: 800;
}

    .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(212,168,67,0.4);
    }

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 48px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .header.scrolled {
        box-shadow: var(--shadow-sm);
    }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 18px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.header-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF 50%, #FFF5F5 100%);
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(227,30,36,0.06) 0%, transparent 70%);
        border-radius: 50%;
    }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--dark);
}

    .hero-content h1 span {
        color: var(--primary);
    }

.hero-content p {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(227,30,36,0.08);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

    .hero-badge .dot {
        width: 8px;
        height: 8px;
        background: var(--primary);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

/* ===== REGISTRATION FORM ===== */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(227,30,36,0.08);
    position: relative;
    overflow: hidden;
}

    .form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    }

    .form-card h2 {
        font-size: 22px;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 6px;
    }

    .form-card .form-sub {
        font-size: 14px;
        color: var(--gray-600);
        margin-bottom: 24px;
    }

.form-group {
    margin-bottom: 14px;
}

    .form-group input, .form-group select {
        width: 100%;
        padding: 13px 16px;
        border: 1.5px solid var(--gray-200);
        border-radius: var(--radius-sm);
        font-family: inherit;
        font-size: 15px;
        transition: all 0.3s ease;
        background: var(--gray-50);
    }

        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--white);
            box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
        }

.form-card .btn {
    width: 100%;
    margin-top: 8px;
    padding: 15px;
    font-size: 17px;
}

.form-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

    .form-stats .stat {
        text-align: center;
    }

    .form-stats .stat-num {
        font-size: 20px;
        font-weight: 800;
        color: var(--primary);
    }

    .form-stats .stat-label {
        font-size: 12px;
        color: var(--gray-400);
    }

/* ===== BENEFITS ICONS ===== */
.benefits {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: default;
}

    .benefit-card:hover {
        background: var(--gray-50);
        transform: translateY(-4px);
    }

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(227,30,36,0.1), rgba(227,30,36,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

    .benefit-card:hover .benefit-icon span {
        filter: brightness(10);
    }

.benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.benefit-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===== MENTOR SECTION ===== */
.mentor-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-secondary));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .mentor-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(to top, rgba(227,30,36,0.15), transparent);
    }

.mentor-header {
    text-align: center;
    margin-bottom: 48px;
}

    .mentor-header h2 {
        font-size: 28px;
        color: var(--white);
        font-weight: 300;
        margin-bottom: 8px;
    }

        .mentor-header h2 strong {
            font-weight: 800;
        }

.mentor-brand {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-style: italic;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mentor-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

/* ===== PRIVILEGES ===== */
.privileges {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.priv-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.priv-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212,168,67,0.1);
    border-radius: var(--radius-xl);
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.priv-list {
    list-style: none;
    margin-top: 24px;
}

    .priv-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-100);
        font-size: 15px;
        line-height: 1.6;
    }

        .priv-list li:last-child {
            border-bottom: none;
        }

.priv-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    margin-top: 2px;
}

.priv-highlight {
    background: linear-gradient(135deg, rgba(212,168,67,0.1), rgba(212,168,67,0.05));
    border: 1px solid rgba(212,168,67,0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}

    .priv-highlight h3 {
        font-size: 18px;
        color: var(--gold);
        margin-bottom: 4px;
    }

    .priv-highlight p {
        font-size: 28px;
        font-weight: 900;
        color: var(--dark);
    }

.priv-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.priv-visual-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 48px;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-red);
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .priv-visual-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    }

    .priv-visual-card .big-number {
        font-size: 72px;
        font-weight: 900;
        line-height: 1;
    }

    .priv-visual-card .big-label {
        font-size: 16px;
        font-weight: 500;
        opacity: 0.9;
        margin-top: 8px;
    }

/* ===== NETWORK STATS ===== */
.network {
    background: linear-gradient(135deg, var(--dark), #16213E);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

    .network::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.network-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

    .network-header h2 {
        font-size: 32px;
        font-weight: 800;
        color: var(--white);
    }

        .network-header h2 span {
            color: var(--gold);
        }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

    .stat-card:hover {
        background: rgba(255,255,255,0.1);
        transform: translateY(-4px);
    }

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

.stat-bar {
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    transition: width 1.5s ease;
}

/* ===== LEADER SECTION ===== */
.leader {
    background: var(--white);
    position: relative;
}

.leader-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.leader-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .leader-image-wrap img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
    }

.leader-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 30px 24px 20px;
    color: white;
}

    .leader-image-overlay h4 {
        font-size: 20px;
        font-weight: 700;
    }

    .leader-image-overlay p {
        font-size: 14px;
        opacity: 0.8;
    }

.leader-quote {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--primary);
}

    .leader-quote blockquote {
        font-family: 'Playfair Display', serif;
        font-size: 22px;
        font-style: italic;
        color: var(--dark);
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .leader-quote .author {
        font-size: 16px;
        font-weight: 700;
        color: var(--primary);
    }

    .leader-quote .author-role {
        font-size: 14px;
        color: var(--gray-600);
    }

/* ===== SUCCESS STORIES ===== */
.success {
    background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.success-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-100);
}

    .success-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

.success-card-img {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .success-card-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3));
    }

.success-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    position: relative;
    z-index: 1;
}

.success-card-body {
    padding: 24px;
}

    .success-card-body h3 {
        font-size: 18px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 4px;
    }

    .success-card-body .role {
        font-size: 13px;
        color: var(--primary);
        font-weight: 600;
        margin-bottom: 12px;
    }

    .success-card-body p {
        font-size: 14px;
        color: var(--gray-600);
        line-height: 1.6;
    }

/* ===== COMPANY INFO ===== */
.company-info {
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}

.company-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.company-vision h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.company-vision p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
}

.company-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.value-item {
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

    .value-item h4 {
        font-size: 15px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 4px;
    }

    .value-item p {
        font-size: 13px;
        color: var(--gray-600);
    }

/* ===== PARTNERS ===== */
.partners {
    background: var(--gray-50);
    padding: 60px 0;
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.partner-logo {
    padding: 20px 32px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-600);
    border: 1px solid var(--gray-100);
}

    .partner-logo:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        color: var(--primary);
    }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
        border-radius: 50%;
    }

    .cta-section h2 {
        font-size: 36px;
        font-weight: 900;
        color: var(--white);
        margin-bottom: 16px;
    }

    .cta-section p {
        font-size: 18px;
        color: rgba(255,255,255,0.85);
        margin-bottom: 32px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

/* ===== FOOTER FORM ===== */
.footer-section {
    background: var(--dark);
    padding: 60px 0 0;
    color: var(--white);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-form h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-form p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.footer-form .form-group input,
.footer-form .form-group select {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}

    .footer-form .form-group input::placeholder {
        color: rgba(255,255,255,0.4);
    }

    .footer-form .form-group input:focus {
        border-color: var(--primary);
        background: rgba(255,255,255,0.12);
        box-shadow: 0 0 0 3px rgba(227,30,36,0.2);
    }

.footer-contact h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(227,30,36,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-contact-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-contact-text a {
    color: var(--gold);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-400);
    transition: 0.2s;
}

    .modal-close:hover {
        color: var(--dark);
    }

.modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

    .modal-icon.success {
        background: rgba(16,185,129,0.1);
        color: #10B981;
    }

    .modal-icon.error {
        background: rgba(239,68,68,0.1);
        color: #EF4444;
    }

.modal-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.modal-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== SELECT2 CUSTOM STYLE ===== */
.select2-container .select2-selection--single {
    height: 50px !important;
    border: 1.5px solid var(--gray-200) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--gray-50) !important;
    display: flex;
    align-items: center;
    padding: 0 16px;
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    color: var(--gray-800);
    font-size: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #757575;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    right: 10px;
}

.select2-container--open .select2-selection--single {
    border-color: var(--primary) !important;
    background: var(--white) !important;
    box-shadow: 0 0 0 3px rgba(227,30,36,0.1) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-inner, .priv-inner, .leader-inner, .company-inner, .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .success-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .priv-visual {
        order: -1;
        margin-bottom: 24px;
    }

    .leader-image-wrap {
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        text-align: center;
    }

    .header-cta {
        margin-top: 4px;
    }

    .benefits-grid, .stats-grid, .success-grid, .company-values {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 120px 0 40px;
    }

    .hero-inner {
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content [style*="font-size:32px"] {
        font-size: 26px !important;
    }

    .hero-content [style*="font-size:20px"] {
        font-size: 18px !important;
    }

    .form-card {
        padding: 20px;
    }

    .form-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .mentor-brand {
        font-size: 28px;
        line-height: 1.3;
    }

    .mentor-cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

        .mentor-cta .btn {
            width: 100%;
        }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .priv-list li {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .priv-check {
        margin-bottom: 8px;
    }

    .priv-visual-card {
        padding: 24px 16px;
    }

        .priv-visual-card .big-number {
            font-size: 56px;
        }

    .leader-quote {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--primary);
        padding-top: 24px;
        text-align: center;
    }

        .leader-quote blockquote {
            font-size: 18px;
        }

    .company-inner {
        gap: 32px;
    }

    .partners-grid {
        gap: 24px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }
}

/* ===== SURVEY PAGE ===== */
.survey-page {
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.survey-section {
    padding: 120px 20px 80px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.survey-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 700px;
    position: relative;
    overflow: hidden;
}

    .survey-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    }

.survey-header {
    text-align: center;
    margin-bottom: 32px;
}

    .survey-header h1 {
        font-size: 28px;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 12px;
    }

    .survey-header p {
        color: var(--gray-600);
        font-size: 15px;
        line-height: 1.6;
    }

.survey-group {
    margin-bottom: 24px;
}

    .survey-group > label {
        display: block;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--dark);
        font-size: 15px;
    }

    .survey-group input[type="text"],
    .survey-group input[type="email"],
    .survey-group input[type="tel"],
    .survey-group textarea {
        width: 100%;
        padding: 14px 16px;
        border: 1.5px solid var(--gray-200);
        border-radius: var(--radius-sm);
        font-family: inherit;
        font-size: 15px;
        background: var(--gray-50);
        transition: all 0.3s ease;
    }

        .survey-group input:focus,
        .survey-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--white);
            box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
        }

    .survey-group textarea {
        resize: vertical;
        min-height: 100px;
    }

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-800);
    font-size: 15px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

    .radio-label:hover {
        background: rgba(227, 30, 36, 0.05);
    }

    .radio-label input[type="radio"] {
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
        cursor: pointer;
    }

.survey-submit {
    margin-top: 32px;
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .survey-card {
        padding: 24px 20px;
    }

    .survey-header h1 {
        font-size: 24px;
    }
}

/* ===== CUSTOMER DETAIL PAGE ===== */
.customer-page {
    background: var(--gray-50);
    padding: 100px 0 60px; /* offset for fixed header */
    min-height: 100vh;
}

.customer-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* PROFILE SIDEBAR */
.profile-sidebar {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.profile-name {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.profile-role {
    text-align: center;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.profile-info-list {
    list-style: none;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 16px;
}

    .profile-info-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.profile-info-label {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.profile-info-value {
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
}

/* TIMELINE AREA */
.timeline-area {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px;
}

.timeline-header {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 7px;
        width: 2px;
        background: var(--gray-200);
    }

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-dot {
    position: absolute;
    left: -30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-light);
    z-index: 1;
}

.timeline-date {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.timeline-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.timeline-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-blue {
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.badge-green {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.badge-purple {
    background: #F3E8FF;
    color: #7E22CE;
    border: 1px solid #E9D5FF;
}

/* EXPANDABLE SECTION */
.expand-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
}

    .expand-btn svg {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    .expand-btn.active svg {
        transform: rotate(180deg);
    }

.expand-content {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--gray-300);
}

    .expand-content.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

/* SURVEY & EMAIL DETAILS inside expandable */
.detail-group {
    margin-bottom: 16px;
}

    .detail-group:last-child {
        margin-bottom: 0;
    }

.detail-label {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    background: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .customer-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
    }
}

/* ===== ORG CHART (MÔ HÌNH 1-4-414) ===== */
.org-container {
    padding: 120px 20px 80px;
    background: var(--gray-50);
    min-height: 100vh;
    overflow-x: auto;
}

.org-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-green .legend-color {
    background: #10B981;
}

.legend-blue .legend-color {
    background: #3B82F6;
}

.legend-gray .legend-color {
    background: #9CA3AF;
}

.org-tree {
    display: flex;
    justify-content: center;
    min-width: max-content;
    margin: 0 auto;
}

    .org-tree ul {
        padding-top: 20px;
        position: relative;
        transition: all 0.5s;
        display: flex;
        justify-content: center;
        gap: 20px;
        list-style-type: none;
    }

    .org-tree li {
        float: left;
        text-align: center;
        list-style-type: none;
        position: relative;
        padding: 20px 5px 0 5px;
        transition: all 0.5s;
    }

        /* Connectors */
        .org-tree li::before, .org-tree li::after {
            content: '';
            position: absolute;
            top: 0;
            right: 50%;
            border-top: 2px solid #CBD5E1;
            width: 50%;
            height: 20px;
        }

        .org-tree li::after {
            right: auto;
            left: 50%;
            border-left: 2px solid #CBD5E1;
        }

        .org-tree li:only-child::after, .org-tree li:only-child::before {
            display: none;
        }

        .org-tree li:only-child {
            padding-top: 0;
        }

        .org-tree li:first-child::before, .org-tree li:last-child::after {
            border: 0 none;
        }

        .org-tree li:last-child::before {
            border-right: 2px solid #CBD5E1;
            border-radius: 0 5px 0 0;
        }

        .org-tree li:first-child::after {
            border-radius: 5px 0 0 0;
        }

    .org-tree ul ul::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        border-left: 2px solid #CBD5E1;
        width: 0;
        height: 20px;
        margin-left: -1px;
    }

.org-node {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

    .org-node:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        z-index: 3;
    }

.org-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-600);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid white;
}

    .org-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.org-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    max-width: 130px;
    word-wrap: break-word;
    line-height: 1.3;
}

.org-role {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
}

/* Status modifiers */
.org-node.status-green {
    border-color: #10B981;
    background: #F0FDF4;
}

    .org-node.status-green .org-avatar {
        background: linear-gradient(135deg, #10B981, #059669);
        color: white;
    }

    .org-node.status-green .org-name {
        color: #065F46;
    }

.org-node.status-blue {
    border-color: #3B82F6;
    background: #EFF6FF;
}

    .org-node.status-blue .org-avatar {
        background: linear-gradient(135deg, #3B82F6, #2563EB);
        color: white;
    }

    .org-node.status-blue .org-name {
        color: #1E3A8A;
    }

.org-node.status-gray {
    border-color: #9CA3AF;
    background: #F9FAFB;
}

    .org-node.status-gray .org-avatar {
        background: linear-gradient(135deg, #9CA3AF, #6B7280);
        color: white;
    }

    .org-node.status-gray .org-name {
        color: #374151;
    }

@media (max-width: 768px) {
    .org-container {
        padding: 100px 10px 40px;
    }

    .org-tree {
        transform: scale(0.8);
        transform-origin: top center;
    }
}
