/* =========================================
   GLOBAL RESET & BASE STYLES
   ========================================= */
html {
    scroll-behavior: smooth;
    /* Prevent horizontal scrollbar globally */
    overflow-x: hidden;
    /* Hide vertical scrollbar (keeps scroll functionality) */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE / Edge */
}
html::-webkit-scrollbar {
    display: none;                /* Chrome, Safari, Opera */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', Arial, sans-serif;
}

body {
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /* Sticky footer: push footer to bottom on short-content pages */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Allow main content to grow and push footer down */
body > *:not(footer):not(.navbar):not(.top-bar) {
    flex: 0 0 auto;
}

.footer {
    margin-top: auto;
}

img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    padding: 8px 80px;
    display: flex;
    justify-content: flex-end;
    background-color: #f4fbfa;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 166, 161, 0.15);
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    text-decoration: none;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.top-links a:hover {
    color: #1aa6a1;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

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

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    font-size: 22px;
    font-weight: bold;
    color: #1aa6a1;
}

.menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.menu a:hover {
    color: #1aa6a1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(26, 166, 161, 0.08);
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background-color: #1aa6a1;
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
    display: block;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    background: linear-gradient(135deg, rgba(26,166,161,0.9), rgba(19,182,176,1));
    padding: 10px 24px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(26, 166, 161, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    display: inline-block;
    will-change: transform;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(26, 166, 161, 0.4);
    color: white;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    background: linear-gradient(135deg, #1aa6a1 0%, #0d6e6a 100%);
    color: white;
    padding: 0 80px;
    overflow: hidden;
    position: relative;
    perspective: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 40%;
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    min-height: 520px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 55px;
    line-height: 0.9;
    margin-bottom: 30px;
}

.hero-text h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-text ul {
    list-style: none;
    margin-bottom: 30px;
    font-size: 18px;
}

.hero-text li::before {
    content: "• ";
}

.cta {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image {
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
    align-self: flex-end;
}

.hero-image img {
    width: 500px;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.2));
    transform: translateY(10px);
}

/* =========================================
   ALIGNER SECTION
   ========================================= */
.aligner-section {
    padding: 70px 80px;
    background: white;
}

.section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
}

.aligner-img-box {
    flex: 1;
}

.aligner-img-box img {
    width: 100%;
    max-width: 450px;
}

.quote-box {
    flex: 1;
    padding-left: 50px;
}

.quote-box p {
    font-size: 26px;
    color: #1aa6a1;
    line-height: 1.4;
    font-weight: 400;
}

.quote-mark {
    font-size: 60px;
    color: #1aa6a1;
    font-family: serif;
    line-height: 0;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.bg-light {
    background-color: #f8fafc;
}

.badge {
    display: inline-block;
    background-color: #e0f2f1;
    color: #1aa6a1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 40px;
    color: #333;
    margin-bottom: 15px;
}

.section-title h3 {
    font-size: 32px;
    color: #333;
}

.section-title .subtitle {
    font-size: 18px;
    color: #666;
}

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

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section {
    padding: 60px 80px;
    background: #f4fbfa;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26,166,161,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    top: -100px;
    left: -150px;
    z-index: 0;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1500px;
    z-index: 1;
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    transform: translateZ(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-10px) translateZ(30px) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 25px 50px rgba(26, 166, 161, 0.15),
                0 0 0 1px rgba(26, 166, 161, 0.3);
}

.feature-card h4 {
    color: #1aa6a1;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* =========================================
   PROCESS / ROADMAP SECTION
   ========================================= */
.process-section {
    padding: 60px 20px;
    background: #f4fbfa;
    position: relative;
    overflow: hidden;
}

.process-section::before,
.process-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.process-section::before {
    width: 400px;
    height: 400px;
    background: rgba(26, 166, 161, 0.15);
    top: 10%;
    left: -100px;
}

.process-section::after {
    width: 300px;
    height: 300px;
    background: rgba(19, 182, 176, 0.1);
    bottom: 10%;
    right: -50px;
}

.roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
    z-index: 1;
    perspective: 1200px;
}

.roadmap-step {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
    margin-bottom: 50px;
    position: relative;
    padding-right: 80px;
}

.roadmap-step.right {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
    padding-left: 80px;
    padding-right: 0;
}

.roadmap-marker {
    position: absolute;
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 166, 161, 0.4);
    box-shadow: 0 10px 25px rgba(26, 166, 161, 0.15),
                inset 0 0 0 4px rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.roadmap-step.right .roadmap-marker {
    left: 15px;
    right: auto;
}

.roadmap-marker span {
    font-size: 24px;
    font-weight: 800;
    color: #1aa6a1;
    transition: transform 0.4s ease;
}

.roadmap-step:hover .roadmap-marker {
    transform: scale(1.15) translateZ(30px) rotateY(15deg);
    box-shadow: 0 20px 40px rgba(26, 166, 161, 0.25),
                inset 0 0 0 2px rgba(255,255,255,0.9);
    background: rgba(255, 255, 255, 0.9);
    border-color: #1aa6a1;
}

.roadmap-content {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    gap: 15px;
    will-change: transform;
}

.roadmap-step:hover .roadmap-content {
    transform: translateY(-5px) translateZ(20px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(26, 166, 161, 0.2);
}

.roadmap-step.right:hover .roadmap-content {
    transform: translateY(-5px) translateZ(20px) rotateX(2deg) rotateY(2deg);
}

.roadmap-text h4 {
    font-size: 22px;
    color: #1aa6a1;
    margin-bottom: 10px;
    font-weight: 700;
    transition: transform 0.4s ease;
}

.roadmap-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    transition: transform 0.4s ease;
}

.roadmap-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateZ(15px);
}

.roadmap-step:hover .roadmap-text h4 {
    transform: translateZ(25px);
}

.roadmap-step:hover .roadmap-text p {
    transform: translateZ(15px);
}

/* =========================================
   PRO / KIDS SECTIONS
   ========================================= */
.pro-section, .kids-section {
    padding: 70px 80px;
}

.flex-reverse {
    flex-direction: row-reverse;
}

.pro-text, .kids-text {
    flex: 1;
    padding: 0 40px;
}

.pro-text h2, .kids-text h2 {
    font-size: 40px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.pro-text p, .kids-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.pro-features {
    list-style: none;
}

.pro-features li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #1aa6a1;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.pro-features li:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 45px rgba(26, 166, 161, 0.1);
}

.pro-features li strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.pro-image, .kids-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    background: linear-gradient(135deg, #1aa6a1, #13b6b0);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(26, 166, 161, 0.25), inset 0 2px 5px rgba(255,255,255,0.3);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.image-wrapper:hover {
    transform: rotateY(-10deg) rotateX(10deg);
    box-shadow: 0 40px 80px rgba(26, 166, 161, 0.35), inset 0 2px 5px rgba(255,255,255,0.4);
}

.image-wrapper img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* =========================================
   ADULTS CONFIDENCE SECTION
   ========================================= */
.adults-confidence-section {
    padding: 60px;
    background: #f4fbfa;
    position: relative;
}

.ag-glow-text {
    font-size: 36px;
    color: #333;
    text-shadow: 0 4px 15px rgba(26,166,161,0.2);
}

.ag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1500px;
}

.ag-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.ag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26,166,161,0.1), inset 0 0 0 1px rgba(26,166,161,0.2);
    background: rgba(255,255,255,0.95);
}

.ag-icon {
    font-size: 40px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.ag-card:hover .ag-icon {
    transform: translateY(-3px) scale(1.05);
}

.ag-card h4 {
    font-size: 20px;
    color: #1aa6a1;
    margin-bottom: 12px;
}

.ag-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================
   KIDS SECTION SPECIFIC
   ========================================= */
.circle-graphic {
    width: 350px;
    height: 350px;
    background: rgba(224, 242, 241, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #1aa6a1;
    box-shadow: 0 20px 40px rgba(26, 166, 161, 0.2);
}

.circle-graphic span {
    font-size: 24px;
    font-weight: bold;
    color: #1aa6a1;
    text-align: center;
}

.kids-points {
    perspective: 1500px;
}

.kids-points .point {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    will-change: transform;
}

.kids-points .point:hover {
    transform: translateY(-5px) translateZ(20px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 15px 30px rgba(26, 166, 161, 0.15),
                0 0 0 1px rgba(26, 166, 161, 0.3);
}

.kids-points .point h4 {
    color: #333;
    margin-bottom: 5px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #333333;
    color: white;
    padding: 60px 80px 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,166,161,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

.footer-container, .footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #aaa;
    max-width: 300px;
    line-height: 1.6;
    font-size: 14px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #1aa6a1;
}

.footer-contact .btn {
    border-color: #1aa6a1;
    color: white;
    background: #1aa6a1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 14px;
}

/* =========================================
   NEW MEDIA ELEMENTS
   ========================================= */
.hero-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-video {
    width: 100%;
    max-width: 500px;
    display: block;
    object-fit: cover;
}

.floating-aligner {
    width: 100%;
    max-width: 450px;
}

/* =========================================
   BEFORE/AFTER SWIPER SECTION
   ========================================= */
.ba-section {
    padding: 60px;
    background: #fdfdfd;
    overflow: hidden;
}

.ba-section h2 {
    font-size: 40px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.ba-swiper {
    width: 100%;
    max-width: 1100px;
    padding-bottom: 50px;
    margin: 0 auto;
}

.ba-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 400px;
    transition: transform 0.4s ease;
}

.ba-swiper .swiper-slide:hover {
    transform: translateY(-5px);
}

.ba-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: #1aa6a1 !important;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(26, 166, 161, 0.15);
    background: white;
}

.swiper-pagination-bullet-active {
    background: #1aa6a1 !important;
}

/* =========================================
   ADULTS PAGE STYLES
   ========================================= */
.adults-hero {
    padding: 100px 80px 60px;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
    perspective: 1200px;
}

.adults-hero::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26,166,161,0.08) 0%, rgba(255,255,255,0) 60%);
    border-radius: 50%;
    top: -300px;
    left: -300px;
    z-index: 0;
    pointer-events: none;
}

.adults-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.ag-title {
    font-size: 50px;
    color: #333;
    margin: 20px 0;
    line-height: 1.2;
}

.ag-subtitle-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    margin: 30px auto 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.ag-subtitle-box h4 {
    color: #1aa6a1;
    font-size: 20px;
    margin-bottom: 10px;
}

.ag-subtitle-box p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Feature Rows (Alternating Layout) */
.adults-features-section {
    padding: 70px 80px;
    background: #fdfdfd;
    overflow: hidden;
}

.ag-feature-row {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 60px;
    gap: 60px;
    perspective: 1200px;
}

.ag-feature-row.reverse {
    flex-direction: row-reverse;
}

.ag-feature-text {
    flex: 1;
}

.ag-feature-text h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.ag-feature-text p {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.highlight-text {
    font-weight: 600;
    color: #1aa6a1 !important;
    font-size: 19px !important;
}

.small-text {
    font-size: 14px !important;
    color: #888 !important;
    margin-top: 15px;
}

.ag-list {
    list-style: none;
    margin: 20px 0;
}

.ag-list li {
    font-size: 17px;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ag-list li::before {
    content: '✓';
    font-size: 16px;
    font-weight: bold;
    color: #1aa6a1;
    flex-shrink: 0;
}

.ag-feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    position: relative;
    transform-style: preserve-3d;
}

.ag-feature-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    object-fit: cover;
    will-change: transform;
}

.ag-feature-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(26,166,161,0.2);
}

/* Banner */
.adults-banner-wrap {
    padding: 0 80px 70px;
    background: #fdfdfd;
    perspective: 1500px;
}

.ag-banner {
    background: linear-gradient(135deg, rgba(26,166,161,0.95), rgba(19,182,176,1));
    backdrop-filter: blur(15px);
    color: white;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(26, 166, 161, 0.3), inset 0 2px 5px rgba(255,255,255,0.5);
    transform-style: preserve-3d;
}

.ag-banner h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    transform: translateZ(20px);
}

.ag-banner p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
    transform: translateZ(10px);
}

.ag-divider {
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.ag-banner h2 {
    font-size: 34px;
    line-height: 1.4;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateZ(30px);
}

/* =========================================
   INTERACTIVE ACCORDION CARDS
   ========================================= */
.antigravity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1500px;
}

.interactive-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.interactive-card:hover {
    transform: translateY(-8px) translateZ(30px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 20px 45px rgba(26, 166, 161, 0.15), 0 0 0 1px rgba(26, 166, 161, 0.3);
    background: rgba(255, 255, 255, 0.8);
}

.interactive-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.4s ease;
}

.interactive-card .step-num {
    font-size: 32px;
    font-weight: 800;
    color: rgba(26, 166, 161, 0.2);
    margin-right: 15px;
    transition: color 0.3s ease;
}

.interactive-card:hover .step-num {
    color: rgba(26, 166, 161, 0.5);
}

.interactive-card h4 {
    color: #1aa6a1;
    font-size: 18px;
    margin: 0;
    flex: 1;
}

.interactive-card .expand-icon {
    font-size: 24px;
    color: #1aa6a1;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.interactive-card .card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
}

.interactive-card .card-body p, .interactive-card .card-body ul {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

.interactive-card .card-body ul {
    padding-left: 20px;
}

.interactive-card .card-body li {
    margin-bottom: 5px;
}

.interactive-card.expanded {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(26, 166, 161, 0.2), 0 0 0 1px #1aa6a1;
    transform: translateZ(40px) scale(1.02);
}

.interactive-card.expanded .expand-icon {
    transform: rotate(45deg);
}

.interactive-card.expanded .card-body {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 10px;
}

/* =========================================
   HORIZONTAL TIMELINE SECTION (WHY PAGE)
   ========================================= */
.horizontal-timeline-section {
    position: relative;
    overflow: hidden;
    background: #f4fbfa;
    padding-bottom: 100px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26,166,161,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.timeline-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.timeline-nav {
    position: relative;
    margin-bottom: 60px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(26, 166, 161, 0.2);
    transform: translateY(-50%);
    border-radius: 2px;
}

.timeline-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-node {
    width: clamp(45px, 6vw, 60px);
    height: clamp(45px, 6vw, 60px);
    border-radius: 50%;
    background: white;
    border: 3px solid #bae4e3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
    color: #005a56;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-node:hover, .timeline-node.active {
    background: linear-gradient(135deg, #1aa6a1, #13b6b0);
    color: white;
    border-color: transparent;
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(26, 166, 161, 0.3);
}

/* Timeline Content Area */
.timeline-content-area {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 360px;
    display: flex;
    flex-direction: column;
}

.timeline-card {
    display: none;
    width: 100%;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: clamp(25px, 4vw, 35px) clamp(20px, 3vw, 30px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.timeline-card::-webkit-scrollbar {
    display: none;
}

.timeline-card.active {
    display: flex;
    animation: timelineCardEnter 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes timelineCardEnter {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.timeline-icon {
    font-size: clamp(35px, 5vw, 45px);
    margin-bottom: clamp(10px, 2vw, 15px);
    filter: drop-shadow(0 10px 15px rgba(26, 166, 161, 0.2));
}

.timeline-card h4 {
    font-size: clamp(22px, 3vw, 26px);
    color: #1aa6a1;
    margin-bottom: clamp(10px, 2vw, 15px);
}

.timeline-card .card-content {
    color: #555;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.timeline-card ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.timeline-card li {
    background: rgba(26, 166, 161, 0.08);
    padding: clamp(6px, 1.5vw, 10px) clamp(12px, 2.5vw, 20px);
    border-radius: 50px;
    color: #005a56;
    font-weight: 500;
    font-size: clamp(13px, 1.5vw, 15px);
}

@media (max-width: 768px) {
    .timeline-nav {
        overflow-x: auto;
        padding: 20px 0 40px 0;
        margin-bottom: 20px;
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    .timeline-nav::-webkit-scrollbar {
        display: none;
    }
    .timeline-nodes {
        width: max-content;
        gap: 30px;
        padding: 0 20px;
    }
    .timeline-line {
        width: auto;
        left: 20px;
        right: 20px;
    }
    .timeline-card {
        padding: 30px 20px;
    }
    .timeline-card h4 {
        font-size: 24px;
    }
    .timeline-content-area {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .timeline-content-area {
        height: 460px;
    }
}

/* =========================================
   BENTO GRID (PRO BENTO SECTION)
   ========================================= */
.pro-bento-section {
    padding: 80px 40px;
    background: #061111;
    position: relative;
    overflow: hidden;
    color: white;
}

.bento-bg-glow {
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(26,166,161,0.15) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.bento-header {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto 50px;
}

.bento-header .badge {
    background: rgba(26, 166, 161, 0.2);
    border: 1px solid rgba(26, 166, 161, 0.5);
    color: #1aa6a1;
}

.bento-header h2 {
    font-size: 52px;
    margin: 25px 0;
    background: linear-gradient(135deg, #fff, #8de0dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.bento-subtitle {
    font-size: 20px;
    color: #a0c4c3;
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 25px;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.bento-card {
    position: relative;
    border-radius: 30px;
    padding: 40px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 166, 161, 0.5);
    box-shadow: 0 30px 60px rgba(26,166,161,0.15), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.card-glass {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1;
}

.bento-card .card-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(26,166,161,0.08), rgba(255,255,255,0.01));
}

.card-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
}

.card-icon {
    font-size: 36px;
    margin-bottom: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background: rgba(26, 166, 161, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(26, 166, 161, 0.3);
}

.bento-card h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.bento-card p {
    color: #a0c4c3;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.styled-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    color: #d0e8e7;
    font-size: 16px;
    line-height: 1.5;
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1aa6a1;
    font-weight: bold;
}

.styled-list li strong {
    color: #fff;
}

.row-list {
    display: flex;
    flex-direction: column;
}

.highlight-text {
    color: #1aa6a1 !important;
    font-weight: 600;
    margin-top: 25px !important;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0 !important;
}

.result-badge {
    display: inline-block;
    background: rgba(26,166,161,0.2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    margin-top: auto;
    border: 1px solid rgba(26,166,161,0.5);
    align-self: flex-start;
}

.floating-aligner-mini {
    margin-left: auto;
    padding-left: 40px;
}

.floating-aligner-mini img {
    width: 320px;
    max-width: 100%;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6));
    animation: antigravity-float 8s ease-in-out infinite;
}

.bento-footer {
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.closing-line {
    font-size: 38px;
    background: linear-gradient(90deg, #1aa6a1, #fff, #1aa6a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 5s linear infinite;
    background-size: 200% auto;
}

/* =========================================
   HORIZONTAL SCROLL PRO SECTION (LIGHT)
   ========================================= */
.pro-horizontal-wrapper {
    background: #f4fbfa;
    color: #444;
    overflow: hidden;
    position: relative;
}

.pro-horizontal-wrapper::before {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(26,166,161,0.1) 0%, rgba(0,0,0,0) 70%);
    top: -20vh;
    left: -20vw;
    z-index: 0;
    pointer-events: none;
}

.pro-features-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pro-features-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pro-features-header .badge {
    background: rgba(26,166,161,0.2);
    border: 1px solid rgba(26,166,161,0.5);
    color: #1aa6a1;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pro-features-header h2 {
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #2c3e50;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pro-features-header p {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.pro-feature-card {
    background: #ffffff;
    border: 1px solid rgba(26,166,161,0.25);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pro-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.08);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26,166,161,0.1);
    border: 1px solid rgba(26,166,161,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #1aa6a1;
    flex-shrink: 0;
}

.pro-feature-card h3 {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
}

.pro-feature-card p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.h-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.h-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.h-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1aa6a1;
    font-weight: bold;
}

.h-list li strong {
    color: #333;
}

.end-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(26,166,161,0.1));
    justify-content: center;
    align-items: center;
    text-align: center;
}

.center-flex {
    justify-content: center;
    align-items: center;
}

.closing-title {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* =========================================
   ADULTS BANNER
   ========================================= */
.adults-banner h3 {
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   =========================================
   1. Tablet: max-width 1024px
   2. Mobile: max-width 768px  
   3. Small Mobile: max-width 480px
   ========================================= */

/* ---- TABLET (≤ 1024px) ---- */
@media (max-width: 1024px) {
    /* Top bar */
    .top-bar {
        padding: 8px 30px;
    }

    /* Navbar */
    .navbar {
        padding: 15px 30px;
    }

    /* Hero */
    .hero {
        padding: 60px 40px 0;
    }

    .hero-content {
        gap: 30px;
        min-height: 420px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text h2 {
        font-size: 22px;
    }

    .hero-image img {
        width: 350px;
    }

    /* Sections padding */
    .aligner-section,
    .pro-section,
    .kids-section {
        padding: 50px 40px;
    }

    .features-section {
        padding: 50px 40px;
    }

    .adults-features-section {
        padding: 50px 40px;
    }

    .adults-banner-wrap {
        padding: 0 40px 50px;
    }

    .ba-section {
        padding: 50px 40px;
    }

    .adults-confidence-section {
        padding: 50px 40px;
    }

    /* Footer */
    .footer {
        padding: 50px 40px 20px;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 2;
    }

    .card-wide {
        grid-column: span 2;
        flex-direction: column;
    }

    .floating-aligner-mini {
        margin-left: 0;
        padding-left: 0;
        margin-top: 30px;
        align-self: center;
    }

    .floating-aligner-mini img {
        width: 200px;
    }

    .bento-header h2 {
        font-size: 42px;
    }

    /* Horizontal Scroll Pro Section */
    .pro-horizontal-wrapper {
        height: auto !important;
        padding: 80px 30px;
    }

    .pro-horizontal-container {
        flex-direction: column;
        height: auto;
        padding-top: 0;
    }

    .pro-left-panel {
        width: 100%;
        height: auto;
        padding: 0 0 40px 0;
    }

    .pro-left-panel h2 {
        font-size: 38px;
    }

    .float-img-wrapper {
        margin-top: 30px;
    }

    .pro-right-scroll {
        height: auto;
        padding-left: 0;
        width: 100%;
    }

    .pro-cards-track {
        flex-direction: column;
        padding-right: 0;
        gap: 25px;
        width: 100%;
    }

    .pro-h-card {
        width: 100%;
        height: auto;
        min-height: 280px;
    }

    /* Orbital Section */
    .orbital-container {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
    }

    .center-hero {
        margin-bottom: 30px;
        height: auto;
        max-width: 100%;
    }

    .node-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100%;
        margin-bottom: 12px;
        justify-content: flex-start;
    }

    .node-item.left-dir,
    .node-item.right-dir {
        flex-direction: row;
    }

    .details-display {
        margin-top: 30px;
        min-height: 200px;
    }

    .details-display .glass-card {
        padding: 30px;
    }

    /* Adults page */
    .adults-hero {
        padding: 90px 40px 50px;
    }

    .ag-title {
        font-size: 40px;
    }

    .ag-feature-row {
        gap: 40px;
        margin-bottom: 70px;
    }
}

/* ---- MOBILE (≤ 768px) ---- */
@media (max-width: 768px) {
    /* Top bar */
    .top-bar {
        padding: 8px 20px;
        justify-content: center;
    }

    .top-links {
        gap: 15px;
    }

    /* Navbar */
    .navbar {
        padding: 12px 20px;
        position: sticky;
        flex-wrap: nowrap;
    }

    /* Show hamburger, hide desktop menu and button */
    .hamburger {
        display: flex;
        order: 3;
    }

    .navbar .btn {
        display: none;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 15px 0 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
        border-top: 1px solid rgba(26, 166, 161, 0.15);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        z-index: 999;
        text-align: center;
        gap: 0;
        animation: menuSlideDown 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }

    @keyframes menuSlideDown {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        display: block;
        padding: 14px 20px;
        font-size: 15px;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        transition: all 0.3s ease;
    }

    .menu a:hover, .menu a.active {
        background: rgba(26, 166, 161, 0.06);
        color: #1aa6a1;
    }

    /* Add "Find a Doctor" btn inside mobile menu via CSS trick using btn in menu */
    .menu a:last-child {
        border-bottom: none;
    }

    /* Hero */
    .hero {
        padding: 60px 20px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: 30px;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-text ul {
        font-size: 15px;
    }

    .hero-image img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Sections */
    .aligner-section {
        padding: 40px 20px;
    }

    .section-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .quote-box {
        padding-left: 0;
    }

    .quote-box p {
        font-size: 20px;
    }

    .features-section {
        padding: 40px 20px;
    }

    .pro-section, .kids-section {
        padding: 40px 20px;
    }

    /* Pro Features Section */
    .pro-features-section {
        padding: 60px 20px;
    }
    .pro-features-header h2 {
        font-size: 32px;
    }
    .pro-features-header p {
        font-size: 16px;
    }
    .pro-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pro-feature-card {
        padding: 30px 20px;
    }
    .pro-feature-card h3 {
        font-size: 22px;
    }

    .section-container.flex-reverse {
        flex-direction: column;
    }

    .pro-text, .kids-text {
        padding: 0;
        margin-top: 20px;
    }

    .pro-text h2, .kids-text h2 {
        font-size: 28px;
    }

    .image-wrapper {
        padding: 30px;
    }

    .image-wrapper img {
        max-width: 180px;
    }

    /* Adults */
    .adults-hero {
        padding: 80px 20px 40px;
    }

    .ag-title {
        font-size: 32px;
    }

    .adults-confidence-section {
        padding: 40px 20px;
    }

    .ag-glow-text {
        font-size: 26px;
    }

    .adults-features-section {
        padding: 40px 20px;
    }

    .ag-feature-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }

    .ag-feature-row.reverse {
        flex-direction: column;
    }

    .ag-feature-text h3 {
        font-size: 26px;
    }

    .ag-feature-visual {
        min-height: auto;
        width: 100%;
    }

    .ag-feature-img {
        max-width: 100%;
    }

    .adults-banner-wrap {
        padding: 0 20px 50px;
    }

    .ag-banner {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .ag-banner h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    .ag-banner p {
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    /* Section titles */
    .section-title h2 {
        font-size: 28px;
    }

    .section-title h3 {
        font-size: 22px;
    }

    .section-title .subtitle {
        font-size: 15px;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-large, .card-wide {
        grid-column: span 1;
        flex-direction: column;
    }

    .bento-header h2 {
        font-size: 32px;
    }

    .closing-line {
        font-size: 24px;
    }

    .pro-bento-section {
        padding: 70px 20px;
    }

    /* BA Swiper */
    .ba-section {
        padding: 40px 20px;
    }

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

    /* Process/Roadmap */
    .roadmap-step,
    .roadmap-step.right {
        width: 100%;
        margin-left: 0;
        padding-left: 75px;
        padding-right: 15px;
        justify-content: flex-start;
    }

    .roadmap-marker,
    .roadmap-step.right .roadmap-marker {
        left: 0;
        right: auto;
        width: 50px;
        height: 50px;
    }

    .roadmap-marker span {
        font-size: 18px;
    }

    .roadmap-content {
        max-width: 100%;
    }

    .roadmap-text h4 {
        font-size: 18px;
    }

    /* Horizontal Scroll Pro */
    .pro-horizontal-wrapper {
        padding: 60px 20px;
    }

    .pro-left-panel h2 {
        font-size: 30px;
    }

    .pro-left-panel p {
        font-size: 15px;
    }

    .pro-h-card {
        min-height: 250px;
    }

    .pro-h-card h3 {
        font-size: 20px;
    }

    /* Orbital section mobile */
    .orbital-section {
        padding-bottom: 60px;
    }

    .center-hero {
        height: auto;
        margin-bottom: 20px;
    }

    .hero-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .node-title {
        font-size: 13px;
        padding: 8px 15px;
        white-space: normal;
    }

    .details-display .glass-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .details-display h4 {
        font-size: 22px;
        padding-right: 40px;
    }

    .details-display .bg-num {
        font-size: 55px;
        right: 15px;
    }

    .details-display .card-content {
        font-size: 15px;
    }
}

/* ---- SMALL MOBILE (≤ 480px) ---- */
@media (max-width: 480px) {
    .top-bar {
        display: none; /* Hide top bar on very small screens for space */
    }

    .navbar {
        padding: 12px 15px;
    }

    .logo img {
        height: 36px;
    }

    .logo span {
        font-size: 17px;
    }

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

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text h2 {
        font-size: 16px;
    }

    .cta {
        padding: 12px 22px;
        font-size: 14px;
    }

    .hero-image img {
        max-width: 260px;
    }

    .aligner-section,
    .features-section,
    .adults-confidence-section,
    .adults-features-section,
    .ba-section,
    .pro-bento-section {
        padding: 40px 15px;
    }

    .pro-section, .kids-section {
        padding: 40px 15px;
    }

    .adults-hero {
        padding: 70px 15px 30px;
    }

    .ag-title {
        font-size: 26px;
    }

    .adults-banner-wrap {
        padding: 0 15px 40px;
    }

    .ag-banner {
        padding: 30px 20px;
    }

    .ag-banner h2 {
        font-size: 20px;
    }

    .ag-banner p {
        font-size: 14px;
    }

    .footer {
        padding: 30px 15px 15px;
    }

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

    .ag-glow-text {
        font-size: 22px;
    }

    .ag-card {
        padding: 25px 20px;
    }

    .bento-header h2 {
        font-size: 26px;
    }

    .closing-line {
        font-size: 20px;
    }

    .roadmap-step,
    .roadmap-step.right {
        padding-left: 65px;
    }

    .roadmap-marker,
    .roadmap-step.right .roadmap-marker {
        width: 45px;
        height: 45px;
    }

    .roadmap-text h4 {
        font-size: 16px;
    }

    .roadmap-text p {
        font-size: 13px;
    }

    .orbital-section {
        padding-bottom: 40px;
    }

    .hero-image-wrapper {
        width: 140px;
        height: 140px;
    }

    .node-dot {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .pro-horizontal-wrapper {
        padding: 50px 15px;
    }

    .pro-left-panel h2 {
        font-size: 26px;
    }

    .pro-h-card h3 {
        font-size: 18px;
    }

    .pro-h-card {
        padding: 25px 20px;
        border-radius: 20px;
    }
}

/* =========================================
   LANGUAGE TOGGLE BUTTON (Antigravity Style)
   ========================================= */
#lang-toggle-btn {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 166, 161, 0.2);
    color: #1aa6a1;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

#lang-toggle-btn:hover {
    background: rgba(26, 166, 161, 0.1);
    border-color: rgba(26, 166, 161, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 166, 161, 0.15);
}

#lang-toggle-btn:active {
    transform: scale(0.95);
}

/* =========================================
   PAGE TRANSITION
   ========================================= */
body {
    transition: opacity 0.4s ease-out, background-color 0.4s ease;
}
body.lang-transitioning {
    opacity: 0 !important;
    pointer-events: none;
}

/* =========================================
   WHY PAGE - MOBILE SWIPER RESPONSIVE
   ========================================= */

.mobile-why-display {
    display: none;
    width: 100%;
    padding: 20px 0 50px;
}

.mobile-why-swiper {
    width: 100%;
    padding-bottom: 40px;
}

.mobile-why-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-why-card .bg-num {
    font-size: 70px;
    font-weight: 900;
    color: rgba(26, 166, 161, 0.08);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

.mobile-why-card h4 {
    font-size: 24px;
    color: #1aa6a1;
    margin-bottom: 20px;
    padding-right: 60px;
    position: relative;
    z-index: 1;
}

.mobile-why-card .card-content {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.mobile-why-card ul {
    padding-left: 20px;
    margin: 12px 0;
}

.mobile-why-card li { margin-bottom: 8px; }

/* Swiper pagination bullet styling */
.mobile-why-pagination .swiper-pagination-bullet {
    background: #1aa6a1;
    opacity: 0.3;
}
.mobile-why-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* RTL Support for Mobile Slider */
[dir="rtl"] .mobile-why-card .bg-num {
    right: auto;
    left: 25px;
}
[dir="rtl"] .mobile-why-card h4 {
    padding-right: 0;
    padding-left: 60px;
}
[dir="rtl"] .mobile-why-card ul {
    padding-left: 0;
    padding-right: 20px;
}

/* Hide the slider on desktop */
@media (min-width: 1025px) {
    .mobile-why-display {
        display: none !important;
    }
}

/* On Mobile, hide desktop elements and show the slider */
@media (max-width: 1024px) {
    .center-hero, .details-display {
        display: none !important;
    }
    
    .mobile-why-display {
        display: block;
    }
    
    .orbital-section {
        padding-top: 70px !important;
    }
}


/* Migrated Inline Styles */
.menu a.active { color: #1aa6a1 !important; font-weight: bold !important; }
.mobile-only-btn {
    display: none;
}
@media (max-width: 768px) {
    .menu .mobile-only-btn {
        display: inline-block !important;
        margin: 15px auto;
        text-align: center;
        width: max-content;
        border-bottom: none !important;
    }
}
