/* ================================
   CSS Variables & Reset
   ================================ */
:root {
    /* Colors */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #697485;
    --color-gray-light: #f5f5f5;
    --color-border: rgba(0, 0, 0, 0.1);

    /* Figma brand colors */
    --color-figma-red: #F24E1E;
    --color-figma-orange: #FF7262;
    --color-figma-purple: #A259FF;
    --color-figma-blue: #1ABCFE;
    --color-figma-green: #0ACF83;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --header-height: 81px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-black);
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ================================
   Header
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-white);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
}

.logo-icon {
    height: 36px;
    width: auto;
    margin-right: 10px;
}

/* Navigation */
.main-nav {
    display: none;
    margin-left: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
    border-radius: 6px;
    transition: background-color var(--transition-fast);
}

.nav-link:hover {
    background-color: var(--color-gray-light);
}

.chevron {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
}

.nav-link:hover .chevron {
    transform: rotate(180deg);
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.login-link {
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
    border-radius: 6px;
    transition: background-color var(--transition-fast);
}

.login-link:hover {
    background-color: var(--color-gray-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

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

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

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Background Images */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

/* Position each hero image */
.hero-image-1 {
    width: 280px;
    height: 400px;
    left: -50px;
    top: 150px;
    background: linear-gradient(135deg, #FFEB3B 0%, #FFC107 100%);
}

.hero-image-2 {
    width: 300px;
    height: 420px;
    left: 10%;
    top: 180px;
    background: #1a1a1a;
}

.hero-image-3 {
    width: 380px;
    height: 500px;
    left: 30%;
    top: 120px;
    background: linear-gradient(180deg, #4FC3F7 0%, #0288D1 100%);
}

.hero-image-4 {
    width: 300px;
    height: 450px;
    right: 20%;
    top: 140px;
    background: #2d1b4e;
}

.hero-image-5 {
    width: 250px;
    height: 500px;
    right: 5%;
    top: 160px;
    background: #9C7BEA;
}

.hero-image-6 {
    width: 200px;
    height: 280px;
    right: -30px;
    bottom: 200px;
    background: #4A148C;
}

/* Hero Card */
.hero-card {
    position: relative;
    z-index: 10;
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 32px 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 700px;
    max-width: 90vw;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 20px;
    display: block;
    min-height: 6.5rem;
}

.typing-text {
    display: inline;
}

.cursor {
    display: inline;
    font-weight: 300;
    color: var(--color-gray);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-cta {
    align-self: flex-end;
    padding: 12px 24px;
    font-size: 1rem;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 50px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    transition: all var(--transition-fast);
}

.carousel-btn svg {
    width: 14px;
    height: 14px;
}

.carousel-btn:hover {
    background-color: var(--color-gray-light);
    border-color: var(--color-gray);
}

.carousel-btn-pause {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.carousel-btn-pause:hover {
    background-color: #333;
}

/* Hero Tagline */
.hero-tagline {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 20;
}

.hero-tagline p {
    font-size: 1.25rem;
    color: var(--color-black);
    line-height: 1.6;
}

/* ================================
   Feature Video Section
   ================================ */
.feature-video-section {
    padding: 100px 24px;
    background-color: var(--color-white);
}

.feature-video-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feature-video-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 60px;
    color: var(--color-black);
}

/* Video Player */
.video-wrapper {
    margin-bottom: 40px;
}

.video-player {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background-color: #1a1a1a;
    aspect-ratio: 16 / 9;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    z-index: 2;
}

.video-placeholder:hover .play-icon {
    transform: scale(1.1);
}

.play-icon {
    transition: transform var(--transition-normal);
}

.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature Tabs */
.feature-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
    background-color: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.feature-tab:hover {
    background-color: var(--color-gray-light);
}

.feature-tab.active {
    background-color: var(--color-black);
    color: var(--color-white);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.tab-icon svg {
    width: 18px;
    height: 18px;
}

/* ================================
   Stats Section
   ================================ */
.stats-section {
    padding: 60px 24px;
    background-color: var(--color-black);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-gray);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* ================================
   Systems Section
   ================================ */
.systems-section {
    min-height: 100vh;
    padding: 100px 24px;
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
}

.systems-container {
    max-width: 1200px;
    margin: 0 auto;
}

.systems-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-black);
}

.systems-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.system-card {
    flex: 1;
    max-width: 380px;
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.system-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.system-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 16px;
    background-color: var(--color-gray-light);
    color: var(--color-black);
}

.system-card-icon svg {
    width: 32px;
    height: 32px;
}

.system-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 12px;
}

.system-card-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray);
}

/* ================================
   Testimonial Section
   ================================ */
.testimonial-section {
    padding: 100px 24px;
    background-color: var(--color-white);
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

.testimonial-content {
    flex: 1;
    max-width: 700px;
}

.testimonial-quote-icon {
    margin-bottom: 24px;
}

.testimonial-quote-icon svg {
    width: 80px;
    height: 64px;
}

.testimonial-text {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-black);
    margin: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.testimonial-school {
    text-align: right;
}

.school-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2DD4BF;
}

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

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
}

.testimonial-title {
    font-size: 0.875rem;
    color: #2DD4BF;
    font-weight: 500;
}

/* ================================
   Languages CTA Section
   ================================ */
.languages-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-white);
}

.languages-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.lang-box {
    position: absolute;
    background-color: transparent;
    border-radius: 12px;
    padding: 20px 24px;
    width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    overflow: visible;
    z-index: 1;
}

.lang-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.lang-box p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.4;
}

/* Position each language box - arranged around center button */
.lang-box-1 {
    left: 5%;
    top: 12%;
    animation-delay: 0s;
}

.lang-box-2 {
    right: 5%;
    top: 12%;
    animation-delay: 1s;
}

.lang-box-3 {
    left: 5%;
    bottom: 8%;
    animation-delay: 2s;
}

.lang-box-4 {
    right: 5%;
    bottom: 8%;
    animation-delay: 0.5s;
}

.lang-box-5 {
    left: 20%;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.lang-box-6 {
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 2.5s;
}

.lang-box-7 {
    left: 50%;
    top: 18%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.lang-box-8 {
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    animation-delay: 3.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Central Content */
.languages-center {
    position: relative;
    z-index: 10;
    text-align: center;
}

.languages-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 12px;
}

.languages-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 32px;
}

.languages-cta {
    padding: 24px 64px;
    font-size: 1.5rem;
    border-radius: 12px;
}

/* Hover animation on language boxes - triggered by button hover */

/* Flag border setup - gradient border effect */
.lang-box::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -2;
}

.lang-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    border-radius: 11px;
    z-index: -1;
}

/* English - UK Union Jack: blue, red, white, red, blue */
.lang-box-1::before {
    background: linear-gradient(to right, #012169 20%, #C8102E 20%, #C8102E 35%, #FFFFFF 35%, #FFFFFF 65%, #C8102E 65%, #C8102E 80%, #012169 80%);
}

/* German - black, red, gold */
.lang-box-2::before {
    background: linear-gradient(to right, #000000 33%, #DD0000 33%, #DD0000 66%, #FFCE00 66%);
}

/* Spanish - red, yellow, red */
.lang-box-3::before {
    background: linear-gradient(to right, #AA151B 25%, #F1BF00 25%, #F1BF00 75%, #AA151B 75%);
}

/* French - blue, white, red */
.lang-box-4::before {
    background: linear-gradient(to right, #002395 33%, #FFFFFF 33%, #FFFFFF 66%, #ED2939 66%);
}

/* Italian - green, white, red */
.lang-box-5::before {
    background: linear-gradient(to right, #009246 33%, #FFFFFF 33%, #FFFFFF 66%, #CE2B37 66%);
}

/* Portuguese - green, red */
.lang-box-6::before {
    background: linear-gradient(to right, #006600 40%, #FF0000 40%);
}

/* Japanese - red edges, white, red circle center */
.lang-box-7::before {
    background: radial-gradient(circle, #BC002D 25%, #FFFFFF 25%, #FFFFFF 85%, #BC002D 85%);
}

/* Turkish - red with white */
.lang-box-8::before {
    background: linear-gradient(to right, #E30A17 70%, #FFFFFF 70%);
}

/* Show flag borders on button hover */
.languages-section:has(.languages-cta:hover) .lang-box::before {
    opacity: 1;
}

.languages-section:has(.languages-cta:hover) .lang-box {
    border-color: transparent;
    animation: none;
    transform: translateZ(0);
}

.languages-section:has(.languages-cta:hover) .lang-box-5,
.languages-section:has(.languages-cta:hover) .lang-box-6 {
    transform: translateY(-50%) translateZ(0);
}

.languages-section:has(.languages-cta:hover) .lang-box-7,
.languages-section:has(.languages-cta:hover) .lang-box-8 {
    transform: translateX(-50%) translateZ(0);
}

@keyframes float-excited {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

/* ================================
   Footer
   ================================ */
.footer {
    background-color: #0d0d0d;
    padding: 80px 24px;
    color: var(--color-white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

/* Brand & Social */
.footer-brand {
    flex-shrink: 0;
    min-width: 150px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo .logo-icon {
    height: 47px;
    margin-right: 14px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #2c2c2c;
    color: var(--color-white);
    transition: background-color var(--transition-fast);
}

.social-link:hover {
    background-color: #404040;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex: 1;
    gap: 40px;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column .footer-heading:not(:first-child) {
    margin-top: 32px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    font-size: 0.9375rem;
    color: #b3b3b3;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-list a:hover {
    color: var(--color-white);
}

/* Badges */
.badge {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #404040;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-beta {
    background-color: #2c2c2c;
    color: #999;
}

/* ================================
   Ship Products Section
   ================================ */
.ship-section {
    padding: 100px 24px;
    background-color: #efefef;
}

.ship-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ship-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 60px;
    color: var(--color-black);
}

.ship-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Features List */
.ship-features {
    flex: 1;
    max-width: 500px;
}

.ship-feature {
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0;
}

.ship-feature:first-child {
    padding-top: 0;
}

.ship-feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.ship-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-black);
}

.ship-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-black);
}

.ship-feature-body {
    display: none;
    padding-top: 16px;
    padding-left: 40px;
}

.ship-feature.active .ship-feature-body {
    display: block;
}

.ship-feature-desc {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-gray);
    margin-bottom: 16px;
}

.ship-feature-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ship-feature-link:hover {
    text-decoration-thickness: 2px;
}

/* Image Placeholder */
.ship-image {
    flex: 1;
    max-width: 600px;
}

.ship-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    font-size: 1.125rem;
}

/* ================================
   Responsive Styles
   ================================ */

/* Mobile - stack cards */
@media (max-width: 767px) {
    .systems-cards {
        flex-direction: column;
        align-items: center;
    }

    .system-card {
        max-width: 100%;
        width: 100%;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .systems-title {
        font-size: 1.75rem;
    }

    .ship-title {
        font-size: 1.75rem;
    }

    .ship-content {
        flex-direction: column;
    }

    .ship-features {
        max-width: 100%;
    }

    .ship-image {
        max-width: 100%;
    }

    .ship-feature-body {
        padding-left: 0;
    }

    .testimonial-section {
        padding: 60px 24px;
    }

    .testimonial-container {
        flex-direction: column;
        gap: 40px;
    }

    .testimonial-text {
        font-size: 1.5rem;
    }

    .testimonial-author {
        align-items: flex-start;
    }

    .testimonial-school {
        text-align: left;
    }

    .lang-box {
        padding: 12px 16px;
        width: 150px;
    }

    .lang-box p {
        font-size: 0.75rem;
    }

    .lang-box-1 { left: 2%; top: 8%; }
    .lang-box-2 { right: 2%; top: 8%; }
    .lang-box-3 { left: 2%; bottom: 12%; }
    .lang-box-4 { right: 2%; bottom: 12%; }
    .lang-box-5 { display: none; }
    .lang-box-6 { display: none; }
    .lang-box-7 { display: none; }
    .lang-box-8 { display: none; }

    .languages-title {
        font-size: 1.75rem;
    }

    .languages-subtitle {
        font-size: 1rem;
    }

    .languages-cta {
        padding: 18px 40px;
        font-size: 1.125rem;
    }

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

    .footer-links {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer-column {
        flex: 1 1 45%;
        min-width: 140px;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero-card {
        width: 720px;
        padding: 36px 52px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }

    .header-actions {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .header-container {
        padding: 0 40px;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .main-nav {
        margin-left: 60px;
    }

    .nav-list {
        gap: 4px;
    }

    .hero-card {
        width: 750px;
        padding: 40px 56px;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .feature-video-title {
        font-size: 3.5rem;
    }

    .feature-tabs {
        gap: 12px;
    }

    .feature-tab {
        padding: 14px 24px;
        font-size: 1.125rem;
    }

    .systems-title {
        font-size: 3rem;
    }

    .system-card {
        padding: 40px;
    }

    .system-card-title {
        font-size: 1.375rem;
    }

    .ship-title {
        font-size: 3rem;
    }

    .ship-feature-title {
        font-size: 1.375rem;
    }

    .lang-box p {
        font-size: 1.125rem;
    }

    .languages-title {
        font-size: 3rem;
    }

    .languages-cta {
        padding: 28px 80px;
        font-size: 1.75rem;
    }
}

/* ================================
   Cookie Consent Banner
   ================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 8px;
}

.cookie-description {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cookie-btn-accept {
    background-color: var(--color-black);
    color: var(--color-white);
}

.cookie-btn-accept:hover {
    background-color: #333;
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-border);
}

.cookie-btn-reject:hover {
    background-color: var(--color-light-gray);
}

.cookie-btn-settings {
    background-color: transparent;
    color: var(--color-gray);
}

.cookie-btn-settings:hover {
    color: var(--color-black);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 24px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--color-white);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
}

.cookie-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
    padding: 0;
    line-height: 1;
}

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

.cookie-modal-body {
    padding: 24px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
}

.cookie-option-info p {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-border);
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-white);
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-black);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle-slider.always-on {
    background-color: var(--color-black);
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px;
    border-top: 1px solid var(--color-border);
}

/* Cookie Banner Responsive */
@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

/* ================================
   Login/Signup Modal
   ================================ */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    padding: 24px;
}

.login-modal.show {
    display: flex;
}

.login-modal-content {
    background-color: var(--color-white);
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 48px 40px;
    position: relative;
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-gray);
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.login-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 32px;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    color: var(--color-black);
}

.login-btn:hover {
    background-color: var(--color-light-gray);
}

.login-btn svg {
    flex-shrink: 0;
}

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

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

.login-btn-email {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.login-btn-email:hover {
    background-color: #333;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.login-divider span {
    padding: 0 16px;
    color: var(--color-gray);
    font-size: 0.875rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-input-group input {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--color-black);
    background-color: var(--color-light-gray);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-input-group input:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.login-input-group input::placeholder {
    color: #999;
}

/* Login Modal Responsive */
@media (max-width: 767px) {
    .login-modal-content {
        padding: 40px 24px;
    }

    .login-title {
        font-size: 1.5rem;
    }
}
