/* ==========================================================================
   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%);
    border-radius: 0 0 20px 20px;
    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: 0;
    pointer-events: none;
    user-select: none;
}

.hero-left {
    left: -30px;
    top: 100px;
    width: 300px;
    transform: translateX(-40%);
}

.hero-right {
    right: 0;
    top: -50px;
    width: 300px;
    transform: translateX(50%);
}

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

.partners {
    background: var(--primary-white);
    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;
}

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

.nav-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 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;
}

.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: 1rem 1.5rem;
    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: 0;
    top: 0;
}

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

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

.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;
}

.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: background 0.15s ease;
}

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

.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;
}

/* 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: 10px;
    overflow: hidden;
}

.yt-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Small carousel iframes should be non-interactive (main player remains interactive) */
.ytc-carousel .yt-wrapper iframe {
    pointer-events: none;
}

/* 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%); }
.ytc-prev { left: -20px; }
.ytc-next { right: -20px; }

/* 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 {
    /* Use CSS var with hex fallback */
    outline: 2px solid var(--primary-orange);
    outline-color: var(--primary-orange, #F97316);
    position: relative; /* ensure absolute children (pill) position correctly */
}

.ytc-slide-active {
    outline: 2px solid var(--primary-orange);
    outline-color: var(--primary-orange, #F97316);
    position: relative;
}

.now-pill {
    position: absolute;
    top: 8px;
    left: 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: transparent;
    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;
}

.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;
    bottom: -400px;
    width: 340px;
    opacity: 0.08;
    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;
}

/* 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
   ========================================================================== */

@media (max-width: 1200px) {
    .course-set {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .section-divider-pattern,
    .section-divider-pattern-lower {
        left: auto;
        right: 0;
        bottom: -120px;
        width: 240px;
        transform: translateX(40%);
    }

    .section-divider-left,
    .section-divider-pattern-feedback {
        bottom: -120px;
        width: 240px;
        transform: translateX(-40%);
    }
}

@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 32px; }
    h2 { font-size: 18px; }
    
    /* Navigation */
    .nav-container { padding: 0 1rem; }
    .nav-menu { display: none; }
    .nav-menu a::after { display: none; }
    
    /* Hero */
    .hero { padding: 2rem 0 4rem; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-live-demo-btn,
    .hero-free-training-btn {
        width: 100%;
        max-width: 280px;
    }
    .header-consultation-btn {
        padding: 0.5rem 1rem;
        font-size: 12px;
    }
    
    /* 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 */
    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-content { padding: 2rem; }
    
    /* AI Help */
    .ai-tabs {
        flex-direction: column;
        align-items: center;
    }
    .ai-tab {
        border-radius: 8px !important;
        width: 100%;
        max-width: 300px;
    }
    
    /* Contact */
    .contact-form { padding: 2rem; }
    
    /* Testimonials */
    .author {
        flex-direction: column;
        text-align: center;
    }
    .author-info { text-align: center; }
    
    /* Cookie Banner */
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* 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;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .hero-title { margin-bottom: 2rem; }
    .hero-live-demo-btn,
    .hero-free-training-btn { padding: 0.875rem 2rem; }
    .header-consultation-btn {
        padding: 0.5rem 0.875rem;
        font-size: 11px;
    }
    
    /* Partners */
    .partners { padding: 2rem 0; }
    .partners-logos { gap: 1rem; }
    .partner-logo { height: 28px; }
    
    /* Courses */
    .courses-carousel-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .nav-prev { left: 10px; }
    .nav-next { right: 10px; }
    .courses-tour-btn { padding: 0.875rem 2rem; }
    
    /* Sections */
    .courses,
    .ai-help,
    .about-us,
    .contact { padding: 3rem 0; }
    .testimonials { padding: 3rem 0; }
}

@media (min-width: 1281px) {
    .nav-container,
    .hero-container,
    .partners-container,
    .courses-container,
    .ai-help-container,
    .about-container,
    .contact-container,
    .footer-container {
        max-width: 1200px;
    }
}