/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Font Family */
    --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
    
    /* Custom Colors */
    --color-primary: #002554;
    --color-primary-light: #19D3C5;
    --color-primary-dark: #1E40AF;
    --color-dark-orange: #FF671F;
    --color-accent-light: #FF8C61;
    
    /* Background and Foreground */
    --foreground-rgb: 0, 0, 0;
    --background-rgb: 255, 255, 255;
}


/* ===================================
   Global Styles
   =================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: rgb(var(--foreground-rgb));
    background: rgb(var(--background-rgb));
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ===================================
   Focus Styles
   =================================== */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}


/* ===================================
   Custom Scrollbar
   =================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}


/* ===================================
   Text Selection
   =================================== */
::selection {
    background-color: var(--color-primary-light);
    color: white;
}

::-moz-selection {
    background-color: var(--color-primary-light);
    color: white;
}


/* ===================================
   Typography - Page Heading
   =================================== */
.page-heading {
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-heading {
        font-size: 3rem; /* 48px */
    }
}

@media (min-width: 1536px) {
    .page-heading {
        font-size: 5.625rem; /* 90px */
        line-height: 1.1;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .page-heading {
        line-height: 1.05;
    }
}


/* ===================================
   Section Heading
   =================================== */
.section-heading {
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
    color: black;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

@media (min-width: 1536px) {
    .section-heading {
        font-size: 3.75rem; /* 60px */
        line-height: 1.167; /* 70px/60px */
        margin-bottom: 2rem;
    }
}


/* ===================================
   Buttons - CTA Styles
   =================================== */
.section-orange-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--color-dark-orange);
    border-radius: 9999px;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    border: none;
}

.section-orange-cta:hover {
    background-color: #e55a1a;
}

@media (min-width: 640px) {
    .section-orange-cta {
        gap: 0.75rem;
        font-size: 1.125rem; /* 18px */
    }
}

@media (min-width: 768px) {
    .section-orange-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .section-orange-cta {
        font-size: 1.25rem; /* 20px */
    }
}

@media (min-width: 1280px) {
    .section-orange-cta {
        padding: 1rem 1.5rem;
    }
}


/* ===================================
   Fixed Social Share Component
   =================================== */
.fixed-social-share {
    position: fixed;
    right: 2rem;
    top: 33.333333%;
    z-index: 50;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .fixed-social-share {
        display: flex;
    }
}

.social-icon {
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    padding: 0;
}

.social-icon:hover {
    transform: translateY(-6px);
}

.social-icon svg {
    display: block;
}

.social-icon path {
    transition: fill 0.3s ease;
}


/* ===================================
   Hero Section Card
   =================================== */
.hero-card {
    box-shadow: 0 -4px 60px rgba(0, 0, 0, 0.05);
}


/* ===================================
   Responsive Utilities
   =================================== */
@media (max-width: 767px) {
    .section-orange-cta {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}


/* ===================================
   Link Styles
   =================================== */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.9;
}


/* ===================================
   Image Styles
   =================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ===================================
   Aspect Ratio Helper
   =================================== */
.aspect-\[466\/223\] {
    aspect-ratio: 466 / 223;
}


/* ===================================
   Sticky Sidebar Component
   =================================== */
.sticky-sidebar {
    position: sticky;
    top: 8rem; /* 128px - sticky from top during scroll */
    align-self: flex-start;
}

@media (max-width: 767px) {
    .sticky-sidebar {
        position: static; /* Not sticky on mobile */
    }
}


/* ===================================
   Content Card Component
   =================================== */
.content-card {
    display: block;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-card:hover {
    opacity: 0.95;
}

.card-content {
    display: flex;
    flex-direction: column;
}


/* ===================================
   Line Clamp Utilities
   =================================== */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}


/* ===================================
   Section Padding Utilities
   =================================== */
.pt-36 {
    padding-top: 2.25rem;
}

.pb-36 {
    padding-bottom: 2.25rem;
}

.pt-70 {
    padding-top: 2.25rem;
}

.pb-70 {
    padding-bottom: 2.25rem;
}

.section-padding {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

@media (min-width: 1024px) {
    .pt-70 {
        padding-top: 2.5rem;
    }
    
    .pb-70 {
        padding-bottom: 2.5rem;
    }
    
    .section-padding {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .pt-70 {
        padding-top: 70px;
    }
    
    .pb-70 {
        padding-bottom: 70px;
    }
    
    .section-padding {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}


/* ===================================
   Timeline Styles (How It Works Section)
   =================================== */
.timeline-line {
    background: linear-gradient(to bottom, #19D3C5, #385D8D);
    mask-image: repeating-linear-gradient(
        to bottom,
        black 0px,
        black 6px,
        transparent 6px,
        transparent 12px
    );
    -webkit-mask-image: repeating-linear-gradient(
        to bottom,
        black 0px,
        black 6px,
        transparent 6px,
        transparent 12px
    );
}

.step-number-stroke {
    -webkit-text-stroke: 1px #19D3C5;
}


/* ===================================
   UVP Card Styles
   =================================== */
.uvp-card {
    transition: all 0.3s ease;
}

.uvp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* ===================================
   Mode Item Styles
   =================================== */
.mode-item {
    transition: all 0.3s ease;
}


/* ===================================
   TRL Card Styles
   =================================== */
.trl-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* ===================================
   Aspect Ratio Helpers
   =================================== */
.aspect-\[1\/1\] {
    aspect-ratio: 1 / 1;
}

.aspect-\[1520\/700\] {
    aspect-ratio: 1520 / 700;
}

.aspect-\[760\/468\] {
    aspect-ratio: 760 / 468;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}