/* --- Brand Variables (MD3 Tonal System) --- */
:root {
    --md-surface: #FFFBFE;
    --md-surface-container: #F3EDF7;
    --md-surface-container-low: #E7E0EC;
    --md-primary: #6750A4;
    --md-primary-rgb: 103, 80, 164;
    --md-on-primary: #FFFFFF;
    --md-secondary-container: #E8DEF8;
    --md-tertiary: #314364;
    --md-on-surface: #1C1B1F;
    --md-on-surface-light: rgba(28, 27, 31, 0.6);
    --md-radius-full: 9999px;
    --md-radius-card: 24px;
    --md-radius-hero: 48px;
    --md-ease: cubic-bezier(0.2, 0, 0, 1);
}

/* ======== RESET & BASE ======== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--md-surface);
    color: var(--md-on-surface);
    direction: ltr;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: 'Roboto', sans-serif; cursor: pointer; border: none; background: none; }

/* ======== HEADER ======== */
.nexus-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    direction: ltr;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(255, 251, 254, 0.95) 0%, rgba(255, 251, 254, 0) 100%);
    transition: transform 0.6s var(--md-ease), padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nexus-header.scrolled {
    background: rgba(255, 251, 254, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.header-logo { display: flex; align-items: center; z-index: 10001; }
.header-logo img { height: 42px; width: auto; display: block; transition: height 0.3s ease; }
.menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
.menu-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--md-on-surface);
    transition: color 0.3s;
}
.hamburger-lines {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.line {
    width: 100%;
    height: 2px;
    background-color: var(--md-on-surface);
    transition: all 0.4s var(--md-ease);
    border-radius: 2px;
}
.menu-open .line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); background-color: var(--md-on-primary); }
.menu-open .line:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-open .line:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); background-color: var(--md-on-primary); }
.menu-open .menu-text { color: var(--md-on-primary); }

/* ======== FULLSCREEN MENU ======== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--md-primary);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    clip-path: circle(0% at 95% 5%);
    direction: ltr;
}
.menu-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(49, 67, 100, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(232, 222, 248, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.nav-links { list-style: none; padding: 0; margin: 0; text-align: center; position: relative; z-index: 2; }
.nav-item { margin: 15px 0; overflow: hidden; }
.nav-link {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--md-on-primary);
    text-decoration: none;
    transition: all 0.4s ease;
    transform: translateY(100%);
}
.nav-link:hover {
    color: var(--md-secondary-container);
    transform: translateX(10px);
}
.menu-footer {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    opacity: 0;
}
.menu-footer a { color: inherit; text-decoration: none; transition: color 0.3s; }
.menu-footer a:hover { color: var(--md-on-primary); }

/* ======== SHARED SECTION STYLES ======== */
.section-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--md-primary);
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
    text-align: center;
}
.section-heading {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--md-on-surface);
    margin-bottom: 20px;
    font-weight: 300;
    text-align: center;
}
.section-heading span { font-weight: 700; color: var(--md-primary); }

/* ======== SECTION 1: HERO ======== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    overflow: hidden;
    background-color: var(--md-surface);
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: multiply;
    pointer-events: none;
    animation: auroraFloat 12s ease-in-out infinite alternate;
}
.hero-blob-purple {
    width: 700px;
    height: 700px;
    background: var(--md-primary);
    opacity: 0.18;
    top: -100px;
    right: 10%;
}
.hero-blob-blue {
    width: 500px;
    height: 500px;
    background: var(--md-tertiary);
    opacity: 0.12;
    bottom: -100px;
    left: -50px;
    animation-delay: -6s;
    animation-direction: alternate-reverse;
}
.hero-blob-accent {
    width: 350px;
    height: 350px;
    background: var(--md-secondary-container);
    opacity: 0.25;
    top: 40%;
    left: 30%;
    animation-delay: -3s;
    animation-duration: 15s;
}
.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--md-primary);
    padding: 6px 16px;
    background: var(--md-secondary-container);
    border-radius: var(--md-radius-full);
    width: fit-content;
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--md-on-surface);
}
.hero-title span { font-weight: 700; color: var(--md-primary); }
.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--md-on-surface-light);
    max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--md-surface-container-low);
}
.hero-stat-item { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--md-primary);
    line-height: 1;
}
.hero-stat-text {
    font-size: 0.75rem;
    color: var(--md-on-surface-light);
    letter-spacing: 0.3px;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--md-surface-container-low);
}

/* Hero Image Column */
.hero-image-col {
    position: relative;
}

/* Shared Button Styles */
.btn-primary-filled {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--md-radius-full);
    background-color: var(--md-primary);
    color: var(--md-on-primary);
    border: none;
    transition: all 0.3s var(--md-ease);
    box-shadow: 0 1px 3px rgba(var(--md-primary-rgb), 0.3);
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}
.btn-primary-filled:hover {
    background-color: rgba(var(--md-primary-rgb), 0.9);
    box-shadow: 0 4px 12px rgba(var(--md-primary-rgb), 0.4);
    transform: translateY(-2px);
}
.btn-primary-filled:active { transform: scale(0.95); }

.btn-secondary-tonal {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--md-radius-full);
    background-color: var(--md-secondary-container);
    color: var(--md-on-surface);
    border: none;
    transition: all 0.3s var(--md-ease);
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}
.btn-secondary-tonal:hover {
    background-color: rgba(var(--md-primary-rgb), 0.12);
    transform: translateY(-2px);
}
.btn-secondary-tonal:active { transform: scale(0.95); }

.hero-image-wrapper {
    border-radius: var(--md-radius-hero);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(var(--md-primary-rgb), 0.15);
}
.hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Floating Badges */
.hero-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(var(--md-primary-rgb), 0.12);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--md-on-surface);
    z-index: 3;
    animation: badgeFloat 4s ease-in-out infinite alternate;
}
.hero-badge-1 {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}
.hero-badge-2 {
    top: 30px;
    right: -20px;
    animation-delay: -2s;
}
@keyframes badgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* ======== SECTION 2: THE DEAL ======== */
.deal-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.deal-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}
.deal-card {
    padding: 40px;
    border-radius: 32px;
    transition: all 0.4s var(--md-ease);
    position: relative;
}
.deal-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(var(--md-primary-rgb), 0.12);
}
.deal-card-problem { background-color: var(--md-surface-container-low); }
.deal-card-opportunity { background-color: var(--md-surface-container); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); }
.deal-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.deal-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--md-on-surface);
    margin-bottom: 16px;
}
.deal-card-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--md-on-surface-light);
}
.deal-sides { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.deal-side h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--md-primary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.deal-side p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--md-on-surface-light);
}

/* ======== SECTION 3: MARKET & ECOSYSTEM ======== */
.market-section {
    padding: 100px 40px;
    text-align: center;
    background-color: var(--md-surface);
}
.market-description {
    font-size: 1.1rem;
    color: var(--md-on-surface-light);
    margin-bottom: 48px;
}
.market-chips-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.market-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: var(--md-radius-full);
    background-color: var(--md-secondary-container);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--md-on-surface);
    cursor: default;
    transition: all 0.3s var(--md-ease);
    overflow: hidden;
}
.chip-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--md-radius-full);
    background: var(--md-primary);
    opacity: 0;
    transition: opacity 0.4s var(--md-ease);
    pointer-events: none;
}
.market-chip:hover .chip-glow { opacity: 0.15; }
.market-chip:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(var(--md-primary-rgb), 0.2); }
.chip-label { position: relative; z-index: 1; }

/* ======== SECTION 4: VALUE PROPOSITION ======== */
.values-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.value-card {
    background-color: var(--md-surface-container);
    border-radius: var(--md-radius-card);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s var(--md-ease);
    cursor: default;
}
.value-card:hover {
    box-shadow: 0 8px 30px rgba(var(--md-primary-rgb), 0.12);
}
.value-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.value-card-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--md-on-surface);
    margin-bottom: 10px;
}
.value-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--md-on-surface-light);
}

/* ======== SECTION 5: PRODUCT PORTAL ======== */
.portal-section {
    padding: 100px 40px;
    text-align: center;
    background-color: var(--md-surface);
}
.portal-description {
    font-size: 1.1rem;
    color: var(--md-on-surface-light);
    margin-bottom: 48px;
}
.portal-mockup {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 32px;
    background-color: var(--md-surface-container);
    box-shadow: 0 20px 60px rgba(var(--md-primary-rgb), 0.12);
    overflow: hidden;
    text-align: left;
}
.portal-header-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background-color: var(--md-surface-container-low);
    border-bottom: 1px solid rgba(var(--md-primary-rgb), 0.08);
}
.portal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(var(--md-primary-rgb), 0.25);
}
.portal-dot:first-child { background-color: rgba(var(--md-primary-rgb), 0.5); }
.portal-bar-title {
    margin-left: auto;
    margin-right: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--md-on-surface-light);
    letter-spacing: 0.5px;
}
.portal-content { padding: 28px; display: flex; flex-direction: column; gap: 16px; }

.portal-course-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px 24px;
    transition: all 0.3s var(--md-ease);
    position: relative;
}
.portal-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(var(--md-primary-rgb), 0.1);
}
.portal-course-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: var(--md-radius-full);
    background-color: var(--md-primary);
    color: var(--md-on-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.portal-course-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--md-on-surface);
    margin-bottom: 4px;
}
.portal-course-meta {
    font-size: 0.8rem;
    color: var(--md-on-surface-light);
    margin-bottom: 12px;
}
.portal-progress-bar {
    height: 4px;
    background-color: var(--md-surface-container-low);
    border-radius: var(--md-radius-full);
    overflow: hidden;
}
.portal-progress-fill {
    height: 100%;
    background-color: var(--md-primary);
    border-radius: var(--md-radius-full);
    width: 0%;
    transition: width 1s var(--md-ease);
}

.portal-register-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-top: 8px;
    flex-wrap: wrap;
}
.md3-text-field {
    flex: 1;
    min-width: 160px;
    position: relative;
}
.md3-text-field input {
    width: 100%;
    padding: 20px 16px 8px;
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
    background-color: var(--md-surface-container-low);
    border: none;
    border-bottom: 2px solid rgba(var(--md-primary-rgb), 0.3);
    border-radius: 12px 12px 0 0;
    color: var(--md-on-surface);
    outline: none;
    transition: border-color 0.3s var(--md-ease);
}
.md3-text-field input:focus { border-bottom-color: var(--md-primary); }
.md3-text-field label {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 0.95rem;
    color: var(--md-on-surface-light);
    pointer-events: none;
    transition: all 0.2s var(--md-ease);
}
.md3-text-field input:focus + label,
.md3-text-field input:not(:placeholder-shown) + label {
    top: 4px;
    font-size: 0.7rem;
    color: var(--md-primary);
}
.portal-register-btn { padding: 14px 28px; font-size: 0.9rem; white-space: nowrap; }

/* ======== SECTION 6: VISION & IMPACT ======== */
.vision-section {
    margin: 60px 40px;
    padding: 80px 40px;
    border-radius: var(--md-radius-hero);
    background-color: var(--md-secondary-container);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vision-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--md-tertiary);
    filter: blur(120px);
    opacity: 0.1;
    top: -100px;
    left: -100px;
    pointer-events: none;
}
.vision-content { position: relative; z-index: 2; }
.vision-section .section-label { color: var(--md-tertiary); }
.vision-title {
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--md-on-surface);
    line-height: 1.3;
    margin-bottom: 48px;
}
.vision-title span { font-weight: 700; color: var(--md-primary); }
.vision-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.vision-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--md-primary);
    line-height: 1;
}
.stat-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--md-on-surface-light);
}

/* ======== SECTION 7: TEAM & CONNECT ======== */
.team-section {
    padding: 100px 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.team-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}
.team-portrait-wrapper {
    border-radius: var(--md-radius-card);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(var(--md-primary-rgb), 0.12);
}
.team-portrait {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}
.team-info { display: flex; flex-direction: column; gap: 12px; }
.team-name {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--md-on-surface);
}
.team-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--md-primary);
    letter-spacing: 0.5px;
}
.team-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--md-on-surface-light);
    margin-bottom: 8px;
}
.team-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}
.team-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--md-on-surface-light);
    transition: color 0.3s;
}
.team-contact-item:hover { color: var(--md-primary); }
.team-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--md-surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.whatsapp-fab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--md-radius-full);
    background-color: var(--md-tertiary);
    color: var(--md-on-primary);
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(49, 67, 100, 0.3);
    transition: all 0.3s var(--md-ease);
    margin-top: 8px;
    width: fit-content;
}
.whatsapp-fab:hover {
    box-shadow: 0 8px 30px rgba(49, 67, 100, 0.45);
    transform: translateY(-3px);
}
.whatsapp-fab:active { transform: scale(0.95); }
.whatsapp-fab svg { flex-shrink: 0; }

/* ======== CTA SECTION ======== */
.cta-section {
    position: relative;
    width: 100%;
    padding: 120px 20px;
    background-color: var(--md-primary);
    text-align: center;
    color: var(--md-on-primary);
    direction: ltr;
    overflow: hidden;
    z-index: 1;
}
.cta-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    pointer-events: none;
}
.cta-blob-1 { background: var(--md-tertiary); top: -200px; right: -100px; }
.cta-blob-2 { background: var(--md-secondary-container); bottom: -200px; left: -100px; }
.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}
.cta-subtitle {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}
.cta-title {
    font-size: 3rem;
    font-weight: 300;
    margin: 0 0 48px 0;
    line-height: 1.2;
    color: var(--md-on-primary);
}
.cta-title span { font-weight: 700; }
.cta-buttons-wrapper { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-section .btn-primary-filled {
    background-color: var(--md-on-primary);
    color: var(--md-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.cta-section .btn-primary-filled:hover {
    background-color: #f0ecf6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.cta-section .btn-secondary-tonal {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: var(--md-on-primary);
}
.cta-section .btn-secondary-tonal:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--md-on-primary);
}

/* ======== FOOTER ======== */
.sofia-footer-section {
    background-color: var(--md-on-surface);
    color: #ffffff;
    direction: ltr;
    padding: 80px 40px 0 40px;
    border-top: none;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
    align-items: start;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-col h4 {
    color: var(--md-secondary-container);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(232, 222, 248, 0.2);
    padding-bottom: 10px;
    width: fit-content;
}
.footer-logo { width: 120px; height: auto; margin-bottom: 20px; display: block; }
.footer-desc { color: rgba(255, 255, 255, 0.6); line-height: 1.8; max-width: 250px; }
.footer-links { list-style: none; padding: 0; margin: 0; width: 100%; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    display: block;
}
.footer-links a:hover { color: var(--md-secondary-container); padding-left: 5px; }
.footer-contact-item { margin-bottom: 15px; font-style: normal; }
.footer-contact-label { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.35); margin-bottom: 3px; }
.footer-contact-value {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.footer-contact-value:hover { color: var(--md-secondary-container); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
}
.footer-bottom-links a:hover { color: #fff; }

/* ======== CSS REVEAL SYSTEM ======== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}
.reveal.reveal-left {
    transform: translateX(-40px);
}
.reveal.reveal-right {
    transform: translateX(40px);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.reveal-child {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}
.reveal-child.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ======== KEYFRAMES ======== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}
@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
    100% { transform: translate(20px, 20px) scale(1.05); }
}

/* ======== RESPONSIVE — MOBILE (max-width: 768px) ======== */
@media (max-width: 768px) {
    .nexus-header { padding: 15px 20px; }
    .header-logo img { height: 32px; }
    .menu-text { display: none; }
    .nav-link { font-size: 2rem; }
    .menu-footer { flex-direction: column; gap: 15px; text-align: center; bottom: 30px; }

    .hero-section { padding: 100px 20px 60px; min-height: auto; }
    .hero-content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .hero-eyebrow { margin: 0 auto; font-size: 0.6rem; padding: 4px 12px; letter-spacing: 1.5px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats-bar { justify-content: center; gap: 16px; }
    .hero-stat-number { font-size: 1.2rem; }
    .hero-image { height: 260px; }
    .hero-blob-purple, .hero-blob-blue, .hero-blob-accent { width: 300px; height: 300px; }
    .hero-floating-badge { display: none; }

    .deal-section { padding: 60px 20px; }
    .deal-cards-grid { grid-template-columns: 1fr; }
    .deal-card { padding: 28px; }
    .section-heading { font-size: 2rem; }

    .market-section { padding: 60px 20px; }
    .market-chips-container { gap: 10px; }
    .market-chip { padding: 10px 22px; font-size: 0.9rem; }

    .values-section { padding: 60px 20px; }
    .values-grid { grid-template-columns: 1fr; gap: 16px; }
    .value-card { padding: 24px 20px; }

    .portal-section { padding: 60px 20px; }
    .portal-mockup { border-radius: 24px; }
    .portal-register-form { flex-direction: column; }
    .md3-text-field { min-width: 100%; }

    .vision-section { margin: 40px 16px; padding: 60px 20px; border-radius: 32px; }
    .vision-title { font-size: 1.6rem; }
    .vision-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
    .stat-number { font-size: 2.2rem; }

    .team-section { padding: 60px 20px; }
    .team-content { grid-template-columns: 1fr; text-align: center; }
    .team-portrait-wrapper { max-width: 240px; margin: 0 auto; }
    .team-portrait { height: 280px; }
    .team-info { align-items: center; }
    .team-contact-grid { align-items: center; }
    .whatsapp-fab { width: 100%; justify-content: center; }

    .cta-title { font-size: 2rem; }
    .cta-section { padding: 80px 20px; }

    .sofia-footer-section { padding: 60px 20px 20px 20px; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-col { align-items: center; text-align: center; }
    .footer-col h4 { margin: 0 auto 20px auto; }
    .footer-links a:hover { padding-left: 0; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}

/* ======== RESPONSIVE — TABLET (769px – 1024px) ======== */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content { gap: 32px; }
    .hero-title { font-size: 2.8rem; }
    .hero-image { height: 360px; }
    .hero-floating-badge { display: none; }

    .values-grid { grid-template-columns: 1fr 1fr; }

    .vision-stats { grid-template-columns: repeat(4, 1fr); gap: 20px; }

    .team-content { grid-template-columns: 220px 1fr; gap: 32px; }

    .footer-container { grid-template-columns: 1fr 1fr; gap: 50px; }
}