/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #FFFFFF;
    color: #374151;
    line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

ul,
ol {
    list-style: none;
}

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

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */

:root {
    /* Colors */
    --brand-700: #0057B4;
    --brand-400: #20A8FF;
    --bg-deep: #003366;
    --neutral-50: #F4F9F9;
    --neutral-100: #FFFFFF;
    --neutral-300: #DEE1E8;
    --neutral-600: #6B7280;
    --neutral-700: #374151;
    --neutral-800: #1F2937;
    --ink-900: #1A1B1E;
    --hero-subtitle: #B7C3D4;
    
    /* Radii */
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-xxl: 100px;
    --card-radius: 20px;
    --tile-radius: 26px;
    
    /* Container */
    --container: 1140px;
    --gutter: clamp(16px, 4vw, 24px);
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-brand: 'Murecho', var(--font-primary);
    --font-secondary: 'Instrument Sans', var(--font-primary);
}

/* ========================================
   Utilities
   ======================================== */

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--brand-400);
    outline-offset: 2px;
}

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

/* ========================================
   Header & Navigation (Glass Effect)
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: clamp(16px, 3vw, 48px);
}

.nav-container {
    position: absolute;
    height: 108px;
    left: 390px;
    right: 390px;
    top: clamp(16px, 3vw, 48px);
    z-index: 1;
}

.nav--glass {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--radius-xxl);
    padding: 10px 50px;
    height: 100%;
    box-sizing: border-box;
}

.nav__wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    padding: 0px;
    row-gap: 0px;
    height: 100%;
    gap: 40px;
}

.nav__item--brand {
    display: flex;
    align-items: center;
}

.nav__item--cta {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 43px;
    width: auto;
    max-width: 120px;
}


.nav__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 30px;
    height: 24px;
    flex: 1;
    justify-content: center;
}

.nav__link {
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-100);
    transition: opacity 0.2s ease;
}

.nav__link:hover {
    opacity: 0.8;
}

/* CTA Buttons */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.cta--primary {
    height: 48px;
    padding-inline: clamp(20px, 3vw, 32px);
    background: var(--brand-400);
    color: var(--neutral-100);
    border-radius: var(--radius-lg);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
}

.cta--primary:hover {
    background: #1a8fd9;
    transform: translateY(-1px);
}

.cta--nav {
    margin: 0;
    width: 167px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    background: var(--brand-400);
    border-radius: 24px;
}

@media (max-width: 767px) {
    .cta--nav {
        width: 100%;
    }
}

.cta--outline {
    height: 48px;
    padding-inline: clamp(20px, 3vw, 32px);
    background: transparent;
    color: var(--neutral-100);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
}

.cta--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta--small {
    height: 48px;
    padding-inline: clamp(20px, 3vw, 32px);
}

.cta--large {
    height: 61px;
    padding-inline: clamp(24px, 3vw, 40px);
    border-radius: var(--radius-xl);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
}

.cta--primary-filled {
    background: var(--brand-700);
    color: var(--neutral-100);
}

.cta--primary-filled:hover {
    background: #004a98;
}

.cta--white {
    background: transparent;
    color: var(--neutral-800);
    border: 1px solid var(--neutral-300);
}

.cta--white:hover {
    background: var(--neutral-50);
}

/* White filled buttons for dark backgrounds (like CTA section) */
.cta--white-filled {
    background: var(--neutral-100);
    color: var(--neutral-800);
    border: 1px solid var(--neutral-300);
}

.cta--white-filled:hover {
    background: var(--neutral-50);
    transform: translateY(-1px);
}

.cta--banner {
    min-width: clamp(150px, 25vw, 200px);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav-container {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        height: auto;
        padding: 0 var(--gutter);
        margin: 0 auto;
        max-width: var(--container);
    }
    
    .nav--glass {
        padding: clamp(12px, 2vw, 16px) clamp(20px, 3vw, 32px);
        height: auto;
    }
    
    .nav__wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(16px, 3vw, 32px);
        height: auto;
    }
    
    .nav__item--brand {
        order: -1;
    }
    
    .nav__item--cta {
        order: 1;
    }
    
    .nav__menu {
        flex-direction: row;
        gap: clamp(16px, 2.5vw, 32px);
        width: auto;
        height: auto;
        margin: 0;
        flex: 1;
        justify-content: center;
    }
    
    .cta--nav {
        width: auto;
        margin: 0;
        min-width: 120px;
    }
}

@media (max-width: 767px) {
    .nav__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .nav__item--brand {
        order: -1;
        text-align: center;
    }
    
    .nav__item--cta {
        order: 1;
        width: 100%;
    }
    
    .nav__menu {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        width: 100%;
    }
    
    .cta--nav {
        width: 100%;
    }
}

/* ========================================
   Hero Section with Video
   ======================================== */

.hero {
    position: relative;
    min-height: min(100vh, 903px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-deep);
    overflow: hidden;
    padding-top: clamp(120px, 15vw, 200px);
}

@media (max-width: 1024px) {
    .hero {
        padding-top: clamp(100px, 12vw, 150px);
    }
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(1, 9, 20, 0) 0%, 
        rgba(1, 9, 20, 0.472) 54%, 
        rgba(1, 9, 20, 0.8) 95%, 
        rgba(1, 9, 20, 0.8) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-block: clamp(80px, 10vw, 120px);
    text-align: center;
}

.hero__title {
    font-weight: 600;
    font-size: clamp(32px, 6vw, 96px);
    line-height: 1.15;
    color: var(--neutral-100);
    max-width: 1140px;
    margin-inline: auto;
    margin-bottom: clamp(16px, 2.5vw, 24px);
}

.hero__subtitle {
    font-weight: 300;
    font-size: clamp(16px, 2.2vw, 24px);
    line-height: 1.4;
    color: var(--hero-subtitle);
    max-width: 918px;
    margin-inline: auto;
    margin-bottom: clamp(24px, 4vw, 40px);
}

@media (prefers-reduced-motion: reduce) {
    .hero__video {
        display: none;
    }
}

/* ========================================
   Three Tiles Section
   ======================================== */

.tiles {
    background: var(--neutral-100);
    padding-block: clamp(48px, 8vw, 64px);
}

.tiles__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2vw, 16px);
}

@media (min-width: 768px) {
    .tiles__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tiles__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .tiles__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tile {
    border-radius: var(--tile-radius);
    overflow: hidden;
    background: var(--neutral-100);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tile__poster {
    position: relative;
    background: var(--ink-900);
    height: clamp(300px, 40vw, 462px);
    border-radius: var(--tile-radius);
    overflow: hidden;
}

.tile__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.tile__footer {
    background: var(--neutral-50);
    padding: clamp(16px, 3vw, 24px) clamp(20px, 3vw, 32px);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 16px);
    flex: 1;
    justify-content: space-between;
}

.tile__heading {
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.5;
    color: var(--neutral-700);
    font-weight: 600;
}

.tile__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tile__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding-inline: 12px;
    background: var(--neutral-200);
    border-radius: 16px;
    font-family: var(--font-secondary);
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.4;
    color: var(--neutral-700);
    align-self: flex-start;
}

/* ========================================
   CTA Section with Brand Background
   ======================================== */

.cta-section {
    background: var(--bg-deep);
    padding-block: clamp(48px, 8vw, 80px);
}

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

.cta-section__title {
    font-weight: 600;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
    color: var(--neutral-100);
    margin-bottom: clamp(12px, 2vw, 16px);
}

.cta-section__subtitle {
    font-weight: 300;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.25;
    color: var(--neutral-100);
    margin-bottom: clamp(32px, 5vw, 48px);
}

.cta-section__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 16px);
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .cta-section__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta--large {
        width: 100%;
    }
}

/* Cards within CTA Section */
.cta-section__cards {
    margin-top: clamp(48px, 8vw, 64px);
}

.cta-section .cards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 2.5vw, 24px);
}

@media (min-width: 768px) {
    .cta-section .cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section .card--large {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .cta-section .cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Card Components (used within sections)
   ======================================== */

.card {
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
}

.card--large {
    background: var(--brand-700);
    min-height: clamp(300px, 40vw, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(32px, 5vw, 64px);
}

.card--large .card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        150.92deg, 
        rgba(0, 0, 0, 0) 39%, 
        rgba(0, 0, 0, 0.224) 60%, 
        rgba(0, 0, 0, 0.44) 100%
    );
    z-index: 1;
}

.card--large .card__decoration {
    position: absolute;
    top: 20%;
    right: 10%;
    opacity: 0.2;
    width: 30%;
    height: auto;
    z-index: 0;
}

.card--large .card__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.card--large .card__title {
    font-weight: 600;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
    color: var(--neutral-100);
}

.card--medium {
    background: var(--neutral-100);
    border: 1px solid var(--neutral-300);
    padding: clamp(24px, 4vw, 40px);
}

.card__kicker {
    display: block;
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.4;
    color: var(--neutral-600);
    margin-bottom: clamp(8px, 1.5vw, 12px);
}

.card__title {
    font-weight: 600;
    font-size: clamp(20px, 2.5vw, 24px);
    line-height: 1.25;
    color: var(--neutral-800);
    margin-bottom: clamp(12px, 2vw, 16px);
}

.card__text {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.5;
    color: var(--neutral-700);
    margin-bottom: clamp(12px, 2vw, 16px);
}

.card__text:last-of-type {
    margin-bottom: clamp(20px, 3vw, 24px);
}

/* ========================================
   Long Text Section
   ======================================== */

.text-section {
    background: var(--neutral-100);
    padding-block: clamp(48px, 8vw, 64px);
}

.text-section__content {
    max-width: 920px;
    margin-inline: auto;
}

.text-section__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(16px, 2.5vw, 24px);
}

.text-section__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-section__title {
    font-weight: 600;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
    color: var(--neutral-800);
    margin: 0;
}

.text-section__paragraph {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.25;
    color: var(--neutral-700);
}

/* Mobile adjustments for text section */
@media (max-width: 767px) {
    .text-section__header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .text-section__icon {
        margin-bottom: 8px;
    }
}

/* ========================================
   Why Choose Us Section
   ======================================== */

.why-choose {
    background: var(--bg-deep);
    padding-block: clamp(48px, 8vw, 64px);
}

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

.why-choose__title {
    font-weight: 600;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
    color: var(--neutral-100);
    margin-bottom: clamp(12px, 2vw, 16px);
}

.why-choose__subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.4;
    color: var(--neutral-100);
    margin-bottom: clamp(32px, 5vw, 48px);
    max-width: 600px;
    margin-inline: auto;
}

.why-choose__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 32px);
}

@media (min-width: 768px) {
    .why-choose__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature {
    padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 24px);
    background: var(--neutral-100);
    border: 1px solid #24252D;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 24px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.feature__number {
    width: 44px;
    height: 44px;
    background: var(--brand-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    color: var(--neutral-100);
}

.feature__title {
    font-weight: 500;
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.2;
    color: var(--neutral-800);
}

.feature__description {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.5;
    color: #4B5563;
}

.feature__highlight {
    font-weight: 700;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.5;
    color: #4B5563;
}

/* ========================================
   Banner Callout with Overlay
   ======================================== */

.banner {
    background: var(--neutral-100);
    padding-block: clamp(48px, 8vw, 64px);
}

.banner__wrapper {
    background-image: 
        linear-gradient(98.94deg, rgba(0, 38, 81, 0) 0.05%, #002651 99.95%),
        url('assets/hero-bg.jpg');
    background-color: var(--bg-deep);
    background-size: cover;
    background-position: center;
    border-radius: var(--card-radius);
    padding: clamp(50px, 8vw, 100px) clamp(24px, 5vw, 50px);
}

.banner__content {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}

.banner__title {
    font-weight: 600;
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.2;
    color: var(--neutral-100);
    margin-bottom: clamp(12px, 2vw, 16px);
}

.banner__subtitle {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.5;
    color: var(--neutral-100);
    margin-bottom: clamp(24px, 4vw, 40px);
}

.banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 16px);
    justify-content: center;
}

@media (max-width: 767px) {
    .banner__buttons {
        flex-direction: column;
    }
    
    .cta--banner {
        width: 100%;
    }
}

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

.footer {
    background: var(--bg-deep);
    padding-top: clamp(60px, 10vw, 90px);
    padding-bottom: clamp(24px, 4vw, 40px);
    color: var(--neutral-100);
    position: relative;
}

.footer__main {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
    margin-bottom: clamp(32px, 5vw, 48px);
}

@media (min-width: 768px) {
    .footer__main {
        grid-template-columns: auto 1fr;
    }
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
}

.footer__logo-group {
    display: flex;
    align-items: center;
}

.footer__logo-img {
    height: clamp(28px, 3.5vw, 43px);
    width: auto;
    max-width: 120px;
}


.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social-link {
    color: var(--neutral-100);
    transition: color 0.2s ease;
}

.footer__social-link:hover {
    color: var(--brand-400);
}

.footer__nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 32px);
}

@media (min-width: 576px) {
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__nav {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer__column-title {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.5;
    color: var(--brand-400);
    margin-bottom: clamp(12px, 2vw, 16px);
    font-weight: 600;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vw, 12px);
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.4;
    color: var(--neutral-100);
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--brand-400);
}

.footer__arrow {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer__link:hover .footer__arrow {
    opacity: 1;
    transform: translateX(4px);
}

.footer__separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-block: clamp(32px, 5vw, 48px);
}

.footer__bottom {
    text-align: center;
}

.footer__copyright {
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.4;
    color: var(--neutral-100);
}

.footer__bottom-link {
    color: var(--brand-400);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer__bottom-link:hover {
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: clamp(24px, 4vw, 40px);
    right: clamp(24px, 4vw, 40px);
    width: 48px;
    height: 48px;
    background: var(--brand-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-100);
    transition: all 0.2s ease;
    z-index: 100;
}

.back-to-top:hover {
    background: var(--brand-700);
    transform: translateY(-4px);
}

/* ========================================
   Additional Responsive Adjustments
   ======================================== */

@media (max-width: 575px) {
    .hero {
        min-height: 100vh;
    }
    
    .tiles__grid,
    .cards__grid {
        gap: 12px;
    }
}

/* ========================================
   Accessibility Enhancements
   ======================================== */

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-400);
    color: var(--neutral-100);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav--glass {
        background: rgba(0, 0, 0, 0.9);
        border-color: var(--neutral-100);
    }
}

/* Dark mode considerations (optional future enhancement) */
@media (prefers-color-scheme: dark) {
    /* Currently designed for dark theme, no changes needed */
}
