/* ==========================================================================
   AiGentic Lab Academy - Styles
   ========================================================================== */

/* Base Reset & Variables
   ========================================================================== */

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

:root {
    --primary-orange: #FB8500;
    --light-orange: #FBB03B;
    --primary-blue: #011250;
    --primary-dark: #000000;
    --secondary-dark: #333333;
    --medium-gray: #A4A4AE;
    --light-gray: #E3E2E3;
    --primary-white: #FFFFFF;
    --secondary-white: #F9FAFB;
    
    /* Typography */
    --letter-spacing: -0.40px;
    --line-height: 1.5;
    --font-headings: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Typography Scale
   ========================================================================== */

body {
    font-family: var(--font-body);
    line-height: var(--line-height);
    color: var(--primary-dark);
    letter-spacing: var(--letter-spacing);
}

/* Utility aliases to match HTML usage (Tailwind-like) */
.text-primary { color: var(--primary-blue); }
.text-textmain { color: var(--secondary-dark); }
.text-accent { color: var(--primary-orange); }

/* Smooth scrolling for in-page anchors */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

h1 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 44px;
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
}

h2 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 22.5px;
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
}

h4 {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
}

/* Consistent heading color across the site */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
}

p {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: var(--line-height);
}

/* Common Section Styles
   ========================================================================== */

.section-title {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.53rem; /* 40.5px, 25% smaller than previous 3.375rem/54px */
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.69rem; /* 27px for mobile, 25% smaller than previous 2.25rem/36px */
  }
}

.section-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 20.28px;
}

/* Button Components
   ========================================================================== */

/* Hero Buttons */
.hero-live-demo-btn,
.hero-free-training-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-live-demo-btn {
    background: #ffffff;
    color: #011250;
    min-width: 160px;
}

.hero-live-demo-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #011250;
    transform: translate(-8px, -8px);
    z-index: -1;
}

.hero-free-training-btn {
    background: #011250;
    color: #ffffff;
    gap: 0.5rem;
    min-width: 180px;
}

.hero-free-training-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #ffffff;
    transform: translate(-8px, -8px);
    z-index: -1;
}

/* Navigation Button */
.header-consultation-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    color: #011250;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.header-consultation-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #011250;
    transform: translate(-8px, -8px);
    z-index: -1;
}

/* Course Tour Button */
.courses-tour-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    background: #011250;
    color: #011250;
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    min-width: 180px;
    z-index: 1;
}

.courses-tour-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: #ff6600;
    transform: translate(4px, 4px);
    z-index: -1;
}

/* White Button Style */
.btn-white {
    background: var(--primary-white);
    color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-headings);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    position: relative;
    transform: translateY(-4px);
    box-shadow: 0 4px 0 var(--primary-blue);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--primary-blue);
}

.btn-white:active {
    transform: translateY(0);
    box-shadow: 0 2px 0 var(--primary-blue);
}

/* Orange Button Style */
.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-orange);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    padding: 0.9rem 2.5rem;
    width: 100%;
    cursor: pointer;
    margin-top: 2rem;
}

.btn-orange:hover { 
    filter: brightness(1.05); 
}

/* Button Utilities */
.btn-arrow {
    margin-left: 0.5rem;
}

.btn-full {
    width: 100%;
}

/* Header & Navigation
   ========================================================================== */

.header {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    position: relative;
    overflow: hidden;
}

.nav {
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo h1 {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-headings);
}

.logo-ai {
    color: #FFFFFF;
}

.logo-gentic {
    color: #011250;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 2rem;
}

/* Navigation Link Hover Effects */
.nav-menu a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-headings);
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: width 0.3s ease;
}

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

/* Hero Section
   ========================================================================== */

.hero {
    padding: 4rem 0 6rem;
    position: relative;
    z-index: 2;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    line-height: 1.1;
    font-family: var(--font-headings);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Decorative Images */
.hero-pattern {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.hero-left {
    top: 100px;
    width: 300px;
}

.hero-right {
    right: 0;
    top: -50px;
    width: 300px;
}

/* Partners Section
   ========================================================================== */

.partners {
    background: #F9FAFB;
    padding: 3rem 0;
}

.partners-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.partners-text {
    color: #888;
    font-size: 14px;
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Courses Section
   ========================================================================== */

.courses {
    background: var(--secondary-white);
    padding: 5rem 0;
    position: relative;
}

.courses-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Course Carousel */
.courses-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.courses-carousel {
    flex: 1;
    overflow: hidden;
}

.course-set {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

/* Course Navigation */
.nav-arrow {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
    transform: translateY(0);
}

.nav-arrow:hover {
    background: var(--primary-orange);
    transform: translateY(0) scale(1.1);
}

.nav-arrow:active {
    transform: translateY(0) scale(0.95);
}

.nav-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    background: var(--primary-orange);
}

/* Course Card States */
#course-set-1:checked ~ .courses-carousel-wrapper .courses-carousel .course-set[data-set="1"],
#course-set-2:checked ~ .courses-carousel-wrapper .courses-carousel .course-set[data-set="2"],
#course-set-3:checked ~ .courses-carousel-wrapper .courses-carousel .course-set[data-set="3"],
#course-set-4:checked ~ .courses-carousel-wrapper .courses-carousel .course-set[data-set="4"] {
    display: grid;
}

#course-set-1:checked ~ .nav-dots label:nth-child(1),
#course-set-2:checked ~ .nav-dots label:nth-child(2),
#course-set-3:checked ~ .nav-dots label:nth-child(3),
#course-set-4:checked ~ .nav-dots label:nth-child(4) {
    background: var(--primary-blue);
}

/* Course Cards */
.course-card {
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-video {
    position: relative;
    aspect-ratio: 16/9;
}

.course-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-video-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.course-video-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-duration,
.video-type {
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    font-family: var(--font-headings);
}

.course-icons {
    display: flex;
    gap: 0.5rem;
}

.course-icon {
    opacity: 0.8;
}

.course-content {
    padding: 1.5rem;
}

.course-badge {
    background: var(--primary-orange);
    color: var(--primary-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    font-family: var(--font-headings);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.course-title {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-headings);
}

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

/* Testimonials Section
   ========================================================================== */

.testimonials {
    text-align: center;
    padding: 4rem 0;
    background: #F9FAFB;
}

.testimonial-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-slide { 
    display: none; 
}

/* Testimonial States */
#ts-1:checked ~ .testimonial-wrapper .testimonial-slide:nth-child(1),
#ts-2:checked ~ .testimonial-wrapper .testimonial-slide:nth-child(2),
#ts-3:checked ~ .testimonial-wrapper .testimonial-slide:nth-child(3) {
    display: block;
    animation: fade 0.6s ease;
}

#ts-1:checked ~ .testimonial-dots label:nth-child(1),
#ts-2:checked ~ .testimonial-dots label:nth-child(2),
#ts-3:checked ~ .testimonial-dots label:nth-child(3) {
    background: var(--primary-orange);
}

/* Testimonial Content */
.comment-box {
    position: relative;
    padding: 3rem 1.5rem 1rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.comment-box .quote-icon {
    position: absolute;
    font-size: 48px;
    line-height: 1;
    color: var(--primary-orange);
}

.comment-box .quote-icon:not(.quote-icon-end) {
    left: 1rem;
    top: 0.5rem;
}

.comment-box .quote-icon.quote-icon-end {
    right: 1rem;
    bottom: -1rem;
}

.comment-box .testimonial-text {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0 2rem;
}

.author {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-blue);
}

.author-info h4 {
    margin: 0;
    font-weight: 700;
    color: var(--primary-blue);
}

.author-info span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.testimonial-dots {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.testimonial-dots label {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c7c7c7;
    cursor: pointer;
}

/* AI Help Section
   ========================================================================== */

.ai-help { 
    text-align: center; 
    margin-top: 4rem;
    position: relative;
    background: #FFFFFF;
    padding: 5rem 0;
}

.ai-sub { 
    max-width: 420px; 
    margin: 0.75rem auto 2.5rem; 
}

/* AI Tabs */
.ai-tabs {
    display: inline-flex;
    gap: 1rem;
}

.ai-tab {
    position: relative;
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    border-radius: 6px;
    background: var(--primary-orange);
    color: var(--primary-blue);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.ai-tabs input:checked + .ai-tab {
    background: var(--primary-blue);
    color: #ffffff;
    transition: all 0.3s ease;
}

.ai-tabs input:checked + .ai-tab::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--primary-orange);
    transform: translate(-8px, -8px);
    z-index: -1;
    transition: all 0.3s ease;
}

/* Video Container */
.ai-video {
    max-width: 960px;
    margin: 2.5rem auto 0;
}

.yt-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    /* Enhanced brand-themed frame */
    border: 4px solid var(--primary-orange);
    box-shadow: 
        0 8px 24px rgba(251, 133, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 0 0 2px var(--primary-blue);
    background: var(--primary-blue);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.yt-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px; /* Slightly smaller radius to show the frame */
}

.intro-video-wrapper {
    max-width: 960px;
    margin: 2.5rem auto 0;
}

.intro-video-wrapper .yt-wrapper {
    /* Larger, more prominent frame for intro video */
    border: 6px solid var(--primary-orange);
    box-shadow: 
        0 12px 32px rgba(251, 133, 0, 0.25),
        0 6px 16px rgba(0, 0, 0, 0.2),
        inset 0 0 0 3px var(--primary-blue);
}

/* Carousel video frames - slightly smaller for thumbnails */
.ytc-carousel .yt-wrapper {
    border: 3px solid var(--primary-orange);
    box-shadow: 
        0 6px 18px rgba(251, 133, 0, 0.15),
        0 3px 9px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px var(--primary-blue);
}

/* Active slide gets enhanced frame */
.ytc-slide-active .yt-wrapper,
.cs-slide-active .yt-wrapper {
    border: 4px solid var(--primary-orange);
    box-shadow: 
        0 8px 24px rgba(251, 133, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.18),
        inset 0 0 0 2px var(--primary-blue);
    transform: scale(1.02);
}

/* Responsive adjustments for frames */
@media (max-width: 768px) {
    .yt-wrapper {
        border-width: 3px;
    }
    
    .intro-video-wrapper .yt-wrapper {
        border-width: 4px;
    }
    
    .ytc-carousel .yt-wrapper {
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .yt-wrapper {
        border-width: 2px;
        border-radius: 8px;
    }
    
    .intro-video-wrapper .yt-wrapper {
        border-width: 3px;
    }
}

.ytc-carousel .yt-wrapper iframe {
    pointer-events: auto;
}

/* Customer Service Carousel */
.cs-carousel {
    max-width: 960px;
    margin: 2.5rem auto 0;
}

.cs-wrapper {
    position: relative;
}

.cs-slide { display: none; }

/* Show the selected slide based on hidden radios */
#cs-1:checked ~ .cs-wrapper .cs-slide:nth-child(1),
#cs-2:checked ~ .cs-wrapper .cs-slide:nth-child(2),
#cs-3:checked ~ .cs-wrapper .cs-slide:nth-child(3) {
    display: block;
    animation: fade 0.6s ease;
}

/* Active dot state for CS carousel */
#cs-1:checked ~ .nav-dots label:nth-child(1),
#cs-2:checked ~ .nav-dots label:nth-child(2),
#cs-3:checked ~ .nav-dots label:nth-child(3) {
    background: var(--primary-blue);
}

/* Generic YT carousel container and arrows */
.ytc-carousel { max-width: 960px; margin: 2.5rem auto 0; }
.ytc-wrapper { position: relative; }
.ytc-slide { display: none; }
.ytc-prev, .ytc-next { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.ytc-prev { left: -60px; }
.ytc-next { right: -60px; }

    /*
.ytc-prev:hover {
    background: var(--primary-orange);
    transform: translateY(-50%) scale(1.1) translateX(-3px);
    animation: bounceLeft 0.3s ease;
}

.ytc-next:hover {
    background: var(--primary-orange);
    transform: translateY(-50%) scale(1.1) translateX(3px);
    animation: bounceRight 0.3s ease;
}

@keyframes bounceLeft {
    0% { transform: translateY(-50%) scale(1.1) translateX(0); }
    50% { transform: translateY(-50%) scale(1.1) translateX(-5px); }
    100% { transform: translateY(-50%) scale(1.1) translateX(-3px); }
}

@keyframes bounceRight {
    0% { transform: translateY(-50%) scale(1.1) translateX(0); }
    50% { transform: translateY(-50%) scale(1.1) translateX(5px); }
    100% { transform: translateY(-50%) scale(1.1) translateX(3px); }
}
    */

.ytc-prev:hover, .ytc-next:hover {
    background: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}
.ytc-prev:active, .ytc-next:active {
    transform: translateY(-50%) scale(0.95);
}


/* HR carousel states */
#hr-1:checked ~ .ytc-wrapper .ytc-slide:nth-child(1),
#hr-2:checked ~ .ytc-wrapper .ytc-slide:nth-child(2),
#hr-3:checked ~ .ytc-wrapper .ytc-slide:nth-child(3) {
    display: block;
    animation: fade 0.6s ease;
}
#hr-1:checked ~ .nav-dots label:nth-child(1),
#hr-2:checked ~ .nav-dots label:nth-child(2),
#hr-3:checked ~ .nav-dots label:nth-child(3) { background: var(--primary-blue); }

/* Sales carousel states */
#sales-1:checked ~ .ytc-wrapper .ytc-slide:nth-child(1),
#sales-2:checked ~ .ytc-wrapper .ytc-slide:nth-child(2),
#sales-3:checked ~ .ytc-wrapper .ytc-slide:nth-child(3) {
    display: block;
    animation: fade 0.6s ease;
}
#sales-1:checked ~ .nav-dots label:nth-child(1),
#sales-2:checked ~ .nav-dots label:nth-child(2),
#sales-3:checked ~ .nav-dots label:nth-child(3) { background: var(--primary-blue); }

/* Knowledge Hub carousel states */
#hub-1:checked ~ .ytc-wrapper .ytc-slide:nth-child(1),
#hub-2:checked ~ .ytc-wrapper .ytc-slide:nth-child(2),
#hub-3:checked ~ .ytc-wrapper .ytc-slide:nth-child(3) {
    display: block;
    animation: fade 0.6s ease;
}
#hub-1:checked ~ .nav-dots label:nth-child(1),
#hub-2:checked ~ .nav-dots label:nth-child(2),
#hub-3:checked ~ .nav-dots label:nth-child(3) { background: var(--primary-blue); }

/* Active CS slide highlight and Now Playing pill */
.cs-slide-active {
    position: relative; /* ensure absolute children (pill) position correctly */
}

.ytc-slide-active {
    position: relative;
}

.now-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-orange);
    background-color: var(--primary-orange, #F97316);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    pointer-events: none; /* decorative only */
}

/* About Us Section
   ========================================================================== */

.about-us {
    padding: 5rem 0;
    background: #FFFFFF;
    position: relative;
    z-index: 11;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.about-card-wrapper {
    position: relative;
    padding: 0;
    background: var(--primary-orange);
    border-radius: 16px;
    overflow: visible;
}

.about-card {
    position: relative;
    top: 8px;
    left: 8px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 65% 35%;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 2.5rem;
}

.about-content .btn-white {
    align-self: flex-start;
    margin-top: auto;
    width: auto;
    min-width: unset;
}

.about-label {
    background: var(--primary-white);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    font-family: var(--font-headings);
    display: inline-block;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.about-text {
    color: var(--primary-white);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-white);
}

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

/* Contact Section
   ========================================================================== */

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    background: #f5f6f7;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    padding: 2.5rem 2rem;
}

.contact-form > * + * {
    margin-top: 1.25rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background: #fff;
    border: 1px solid #d3d5d8;
    border-radius: 4px;
    padding: 0.85rem 1rem;
    width: 100%;
}

.checkbox-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    margin-top: 1.25rem;
}

.checkbox-row input { 
    margin-top: 0.25rem; 
}

.contact .section-title,
.contact .section-subtitle {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Cookie Banner
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept, 
.cookie-learn-more {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.cookie-accept {
    background: var(--primary-orange);
    color: white;
}

.cookie-learn-more {
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* Footer
   ========================================================================== */

.footer {
    background: var(--primary-blue);
    color: var(--primary-white);
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 30;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 3rem;
}

.footer-left {
    flex: 1;
    max-width: 500px;
}

.footer-brand {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 1rem;
    font-family: var(--font-headings);
}

.footer-logo-ai {
    color: var(--primary-white);
}

.footer-logo-gentic {
    color: var(--primary-orange);
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-link-btn {
    background: none;
    border: none;
    color: var(--primary-orange);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link-btn:hover {
    color: var(--primary-white);
}

.footer-community-link {
    display: block;
    color: var(--primary-orange);
    text-decoration: underline;
    margin: 1rem 0;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-community-link:hover {
    color: var(--primary-white);
}

.footer-contact {
    font-size: 14px;
    margin: 0.5rem 0;
    color: var(--primary-white);
}

.footer-email,
.footer-consultation {
    color: var(--primary-orange);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-email:hover,
.footer-consultation:hover {
    color: var(--primary-white);
}

.footer-legal-links {
    margin-top: 1rem;
    font-size: 14px;
}

.footer-legal {
    color: var(--primary-orange);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-legal:hover {
    color: var(--primary-white);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav-link {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--primary-orange);
}

.footer-newsletter {
    background: var(--primary-orange);
    color: var(--primary-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-newsletter:hover {
    background: var(--primary-white);
    color: var(--primary-orange);
}

.footer-social {
    font-size: 12px;
    color: #ccc;
}

.footer-social-link {
    color: #ccc;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    font-size: 12px;
    color: #ccc;
    line-height: 1.5;
}

/* Decorative Patterns
   ========================================================================== */

.section-divider-pattern {
    position: absolute;
    right: 0;
    width: 340px;
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
    transform: translateX(40%);
    z-index: 5;
}

.section-divider-pattern-2 {
    position: absolute;
    right: 0;
    width: 340px;
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
    transform: translateX(40%);
    z-index: 5;
}

.section-divider-left {
    position: absolute;
    left: 0;
    bottom: -300px;
    width: 300px;
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
    transform: translateX(-15%);
    z-index: 5;
}

.section-divider-pattern-lower {
    position: absolute;
    right: 0;
    bottom: -400px;
    width: 340px;
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
    transform: translateX(40%);
    z-index: 5;
}

.section-divider-pattern-feedback {
    position: absolute;
    left: 0;
    bottom: -300px;
    width: 300px;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    transform: translateX(-15%);
    z-index: 5;
}

.section-divider-pattern-feedback-orange-left{
    position: absolute;
    left: 0;
    width: 300px;
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
    transform: translateX(-15%);
    z-index: 5;
}

/* Animations
   ========================================================================== */

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

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN - Organized and Fixed
   ========================================================================== */

html {
    overflow-y: auto;
    overflow-x: visible; /* Don't hide on html */
}

body {
    overflow-x: clip; /* Modern way - clips without scrollbar */
    overflow-y: visible;
    margin: 0;
    max-width: 100vw;
}

/* For older browsers */
@supports not (overflow-x: clip) {
    body {
        overflow-x: hidden;
    }
}

main {
    /* Remove overflow from main entirely */
    position: relative;
    max-width: 100vw;
}

/* Fix decorative patterns causing overflow */
.section-divider-pattern,
.section-divider-pattern-2,
.section-divider-pattern-lower,
.section-divider-left,
.section-divider-pattern-feedback,
.section-divider-pattern-feedback-orange-left {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 15;
    /* Prevent overflow */
    max-width: 100vw;
}

/* Desktop First Approach - Starting with largest breakpoint */
/* ========================================================================== */

/* Extra Large Screens (1280px+) */
@media (min-width: 1281px) {
    .nav-container,
    .hero-container,
    .partners-container,
    .courses-container,
    .ai-help-container,
    .about-container,
    .contact-container,
    .footer-container {
        max-width: 1200px;
    }
}

/* Large Screens (1201px - 1280px) - Default styles apply */

/* Medium-Large Screens (992px - 1200px) */
@media (max-width: 1200px) {
    /* Courses */
    .course-set {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Decorative patterns - reduce size */
    .hero-pattern {
        width: 250px;
    }
    
    .section-divider-pattern,
    .section-divider-pattern-2,
    .section-divider-pattern-lower {
        width: 280px;
        transform: translateX(30%);
    }
    
    .section-divider-left,
    .section-divider-pattern-feedback {
        width: 280px;
        transform: translateX(-30%);
    }
}

/* Tablet Screens (768px - 991px) */
@media (max-width: 991px) {
    /* Decorative patterns - further reduction */
    .section-divider-pattern,
    .section-divider-pattern-lower {
        right: 0;
        width: 240px;
        transform: translateX(30%);
    }

    .section-divider-left,
    .section-divider-pattern-feedback {
        left: 0;
        bottom: -120px;
        width: 240px;
        transform: translateX(-30%);
    }
    
    /* Hero patterns */
    .hero-left {
        width: 220px;
        transform: translateX(-20%);
    }
    
    .hero-right {
        width: 220px;
        transform: translateX(20%);
    }
}

/* Small Tablets & Large Phones (481px - 768px) */
@media (max-width: 768px) {
    /* Container padding adjustment */
    .nav-container,
    .hero-container,
    .partners-container,
    .courses-container,
    .about-container,
    .contact-container,
    .footer-container {
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 { font-size: 32px; }
    h2 { font-size: 18px; }
    p { font-size: 14px; }
    
    /* Navigation */
    .nav-menu { 
        display: none; 
    }
    
    .header-consultation-btn {
        padding: 0.5rem 1rem;
        font-size: 12px;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 0 4rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2rem;
        line-height: 1.2;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-live-demo-btn,
    .hero-free-training-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 2rem;
    }
    
    /* Hero decorative patterns */
    .hero-left {
        left: 0;
        top: 60px;
        width: 180px;
        transform: translateX(-25%);
        opacity: 0.6;
    }

    .hero-right {
        right: 0;
        top: 30px;
        width: 180px;
        transform: translateX(25%);
        opacity: 0.6;
    }
    
    /* Partners */
    .partners-logos {
        gap: 1.5rem;
    }
    
    .partner-logo {
        height: 32px;
    }
    
    /* Courses */
    .courses-carousel-wrapper {
        gap: 1rem;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .course-set {
        grid-template-columns: 1fr;
    }
    
    .courses-tour-btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* About Section */
    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .about-content .btn-white {
        align-self: center;
    }
    
    /* AI Help */
    .ai-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .ai-tab {
        width: 100%;
        max-width: 300px;
    }
    
    /* Testimonials */
    .comment-box {
        padding: 2rem 1rem 1rem;
    }
    
    .author {
        flex-direction: column;
        text-align: center;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-right {
        align-items: flex-start;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Decorative patterns - hide or reduce */
    .section-divider-pattern,
    .section-divider-pattern-2,
    .section-divider-pattern-lower,
    .section-divider-left,
    .section-divider-pattern-feedback,
    .section-divider-pattern-feedback-orange-left {
        width: 180px;
        opacity: 0.5;
    }
    
    .section-divider-pattern,
    .section-divider-pattern-2,
    .section-divider-pattern-lower {
        transform: translateX(20%);
    }
    
    .section-divider-left,
    .section-divider-pattern-feedback,
    .section-divider-pattern-feedback-orange-left {
        transform: translateX(-20%);
    }
}

/* Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
    /* Container padding */
    .nav-container,
    .hero-container,
    .partners-container,
    .courses-container,
    .about-container,
    .contact-container,
    .footer-container {
        padding: 0 0.75rem;
    }
    
    /* Typography */
    h1 { font-size: 28px; }
    h2 { font-size: 16px; }
    p { font-size: 13px; }
    
    /* Navigation */
    .nav-logo h1 {
        font-size: 24px;
    }
    
    .header-consultation-btn {
        padding: 0.5rem 0.875rem;
        font-size: 11px;
    }
    
    /* Hero */
    .hero {
        padding: 1.5rem 0 3rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-live-demo-btn,
    .hero-free-training-btn {
        max-width: 260px;
        padding: 0.75rem 1.5rem;
        font-size: 14px;
    }
    
    /* Hero patterns */
    .hero-left {
        width: 150px;
        top: 40px;
        transform: translateX(-15%);
        opacity: 0.4;
    }

    .hero-right {
        width: 150px;
        top: 20px;
        transform: translateX(15%);
        opacity: 0.4;
    }
    
    /* Partners */
    .partners {
        padding: 2rem 0;
    }
    
    .partners-logos {
        gap: 1rem;
    }
    
    .partner-logo {
        height: 28px;
    }
    
    /* Courses */
    .courses-carousel-wrapper {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }
    
    .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .nav-prev {
        left: 10px;
    }
    
    .nav-next {
        right: 10px;
    }
    
    .courses-tour-btn {
        padding: 0.875rem 2rem;
        font-size: 14px;
    }
    
    /* Section spacing */
    .courses,
    .ai-help,
    .about-us,
    .contact,
    .testimonials {
        padding: 3rem 0;
    }
    
    /* Buttons */
    .btn-white,
    .btn-orange {
        font-size: 14px;
        padding: 0.75rem 1.5rem;
    }
    
    /* AI Help */
    .ai-tab {
        padding: 0.75rem 2rem;
        font-size: 14px;
    }
    
    /* Contact form */
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    /* Cookie Banner */
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-accept,
    .cookie-learn-more {
        width: 100%;
    }
    
    /* Hide decorative patterns on very small screens */
    .section-divider-pattern,
    .section-divider-pattern-2,
    .section-divider-pattern-lower,
    .section-divider-left,
    .section-divider-pattern-feedback,
    .section-divider-pattern-feedback-orange-left {
        display: none;
    }
}

/* Very Small Phones (below 320px) */
@media (max-width: 320px) {
    /* Further reduce font sizes */
    h1 { font-size: 24px; }
    h2 { font-size: 14px; }
    p { font-size: 12px; }
    
    /* Minimum button sizes for touch */
    .hero-live-demo-btn,
    .hero-free-training-btn,
    .courses-tour-btn,
    .btn-white,
    .btn-orange {
        min-height: 44px; /* Accessibility minimum */
        font-size: 13px;
    }
    
    /* Hide all decorative elements */
    .hero-pattern,
    .section-divider-pattern,
    .section-divider-pattern-2,
    .section-divider-pattern-lower,
    .section-divider-left,
    .section-divider-pattern-feedback,
    .section-divider-pattern-feedback-orange-left {
        display: none;
    }
}

/* Utility classes for responsive visibility */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Print styles */
@media print {
    .nav,
    .cookie-banner,
    .hero-pattern,
    .section-divider-pattern,
    .section-divider-pattern-2,
    .section-divider-pattern-lower,
    .section-divider-left,
    .section-divider-pattern-feedback,
    .section-divider-pattern-feedback-orange-left {
        display: none;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.intro-video {
    text-align: center;
    padding: 5rem 0;
    background: #FFFFFF;
    position: relative;
}

.intro-video-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Style only the intro video wrapper */
.intro-video .video-wrapper {
    max-width: 960px;
    margin: 2.5rem auto 0;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: 10px;
    overflow: hidden;
}

.intro-video .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments for intro video only */
@media (max-width: 768px) {
    .intro-video {
        padding: 3rem 0;
    }
    
    .intro-video-container {
        padding: 0 1rem;
    }
    
    .intro-video .video-wrapper {
        margin: 2rem auto 0;
    }
}

@media (max-width: 480px) {
    .intro-video .video-wrapper {
        margin: 1.5rem auto 0;
    }
}

.newsletter {
    background: #F9FAFB;
    padding: 5rem 0;
}

#contact {
    background: #F9FAFB;
}

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

/* YouTube Carousel Button */
.youtube-carousel-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 6px;
    background: #FB8500;
    color: #ffffff;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

/* Selected state - blue button on top of orange background */
.ai-tabs input:checked + .youtube-carousel-button {
    background: #FB8500;
    color: #ffffff;
    transform: translate(-4px, -4px);
    transition: all 0.3s ease;
}

.ai-tabs input:checked + .youtube-carousel-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #011250;
    transform: translate(4px, 4px);
    z-index: -1;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtube-carousel-button {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 2rem;
        font-size: 14px;
    }
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-left {
        max-width: 100%;
    }
    
    .footer-brand {
        font-size: 20px;
        margin-bottom: 0.75rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        margin: 0.75rem 0;
    }
    
    .footer-community-link {
        font-size: 14px;
        margin: 0.75rem 0;
    }
    
    .footer-contact {
        font-size: 13px;
        margin: 0.25rem 0;
    }
    
    .footer-legal-links {
        margin-top: 0.75rem;
        font-size: 13px;
    }
    
    .footer-right {
        align-items: flex-start;
        width: 100%;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .footer-nav-link {
        font-size: 14px;
    }
    
    .footer-newsletter {
        padding: 0.5rem 1rem;
        font-size: 14px;
        align-self: flex-start;
    }
    
    .footer-social {
        font-size: 11px;
        margin-top: 1rem;
    }
    
    .footer-social-link {
        font-size: 14px;
        margin-left: 0.75rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 11px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-brand {
        font-size: 18px;
    }
    
    .footer-links {
        gap: 0.5rem;
    }
    
    .footer-link-btn {
        font-size: 13px;
        text-align: left;
    }
    
    .footer-community-link {
        font-size: 13px;
    }
    
    .footer-contact {
        font-size: 12px;
    }
    
    .footer-nav {
        gap: 0.5rem;
    }
    
    .footer-nav-link {
        font-size: 13px;
    }
    
    .footer-newsletter {
        font-size: 13px;
        padding: 0.4rem 0.8rem;
    }
    
    .footer-social {
        font-size: 10px;
    }
    
    .footer-social-link {
        font-size: 13px;
        margin-left: 0.5rem;
    }
    
    .footer-bottom {
        font-size: 10px;
        line-height: 1.4;
    }
}

/* Additional Mobile Footer Improvements */
@media (max-width: 320px) {
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-brand {
        font-size: 16px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-link-btn {
        padding: 0.25rem 0;
        font-size: 12px;
    }
    
    .footer-nav {
        align-items: flex-start;
    }
    
    .footer-newsletter {
        width: 100%;
        text-align: center;
        max-width: 200px;
    }
    
    .footer-bottom {
        font-size: 9px;
        padding-top: 1rem;
    }
}

/* Ensure footer buttons are touch-friendly */
@media (max-width: 768px) {
    .footer-link-btn,
    .footer-legal {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 0;
    }
    
    .footer-newsletter {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Academy-specific badge and launch elements */
.launch-badge {
    background: var(--primary-white);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-headings);
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-white);
    margin-bottom: 3rem;
    font-weight: 500;
    opacity: 0.95;
}

.launch-date-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.date-label {
    display: block;
    color: var(--primary-white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.date-value {
    display: block;
    color: var(--primary-white);
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-headings);
}

/* Responsive adjustments for academy elements */
@media (max-width: 768px) {
    .date-value {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .launch-date-container {
        padding: 1.5rem;
    }
    
    .launch-badge {
        font-size: 12px;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .date-value {
        font-size: 1.75rem;
    }
}

/* Waitlist Form Styles */
.waitlist-section {
    background: var(--secondary-white);
    padding: 5rem 0;
}

.waitlist-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.waitlist-card {
    background: var(--primary-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-gray);
}

.waitlist-title {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-family: var(--font-headings);
    font-weight: 700;
}

.waitlist-description {
    text-align: center;
    color: var(--secondary-dark);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-input {
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(251, 133, 0, 0.1);
}

.consent-group {
    margin-top: 1rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.consent-checkbox {
    margin-top: 0.25rem;
    accent-color: var(--primary-orange);
}

.consent-text {
    color: var(--secondary-dark);
}

.waitlist-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-orange);
    color: var(--primary-white);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

.waitlist-submit-btn:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
}

.waitlist-submit-btn:active {
    transform: translateY(0);
}

.waitlist-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.waitlist-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.waitlist-success h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: var(--font-headings);
    font-weight: 700;
}

.waitlist-success p {
    color: var(--secondary-dark);
    font-size: 1.1rem;
}

.expectations-section {
    background: var(--primary-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.expectations-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

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

.expectation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expectation-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.25rem;
}

.expectation-item p {
    color: var(--secondary-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive for forms */
@media (max-width: 768px) {
    .waitlist-card {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .expectations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .waitlist-container {
        padding: 0 1rem;
    }
    
    .waitlist-card {
        padding: 1.5rem;
    }
    
    .expectations-container {
        padding: 0 1rem;
    }
}

/* Hidden utility class */
.hidden {
    display: none;
}

