@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-top: #F1FBF5;
    --bg-bottom: #FFF;
    --ink: #12142B;
    --ink-soft: #5B6072;
    --line: #12142b17;
    --card-bg: #FFF;
    --green-900: #0E3B26;
    --green-700: #177A4A;
    --green-500: #28A866;
    --green-300: #7FD9A6;
    --green-100: #E3F7EA;
    --art-bg: #F5F7F5;
    --shadow: 0 16px 34px #12142b12;
    --apple-green: #34c759;
    --apple-bg: #f5f5f7;
    --text-dark: #1d1d1f;
    --ui-border: #00000014;
    --shadow-card: 0 50px 100px -20px #32325d14, 0 30px 60px -30px #0000000d, inset 0 -2px 6px 0 #0a254008;
    --shadow-float: 0 20px 40px #00000014, 0 1px 3px #00000008;
    --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Inter;
    background-color: #0B0F14;
    color: var(--ink);
}

.hero-container {
    padding: 1vh 0;
}

.main-wrapper {
    width: 98vw;
    height: 98vh;
    background-color: #0B0F14;
    border-radius: 30px;
    padding: 15px 15px 0;
    box-shadow: 0 4px 5px #bdf9cd26;
    box-sizing: border-box;
}

.hero-image-box {
    flex-grow: 1;
    border-radius: 24px;
}

.hero-video {
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    top: 0;
    left: 0;
    background-color: #0b0f14aa; 
    z-index: 2;
}

.top-nav-wrapper,
.hero-content {
    position: relative;
    z-index: 3;
}

.custom-navbar {
    background-color: #ffffffd9; 
    backdrop-filter: blur(12px);
    border: 1px solid #fff6;
    width: 340px; 
    border-radius: 28px; 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links {
    grid-template-columns: 1fr 1fr; 
    gap: 0.4rem;
    padding: 0 1.2rem; 
    max-height: 0; 
    opacity: 0;
    margin-top: 0;
    padding-bottom: 0;
    transition: max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f; 
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 12px; 
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.nav-links a:hover {
    background-color: #0000000f; 
    transform: scale(0.98); 
}

.nav-links a:last-child:nth-child(odd) {
    grid-column: span 2;
    margin: 0 20px; 
}

.custom-navbar:hover .nav-links {
    max-height: 250px; 
    opacity: 1;
    margin-top: 10px;
    padding-bottom: 20px;
}

.menu-icon {
    cursor: pointer;
    color: #1d1d1f;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.5rem;
    background: transparent;
    border: 0;
}

.menu-icon:hover,
.menu-icon:focus-visible {
    color: #000;
}

.partner-label {
    font-size: 0.65rem;
    max-width: 140px;
    line-height: 1.2;
}

.section-label-muted {
    color: #86868b;
}

.hero-content {
    flex-grow: 1;
    padding-bottom: 40px; 
}

.hero-content h1, 
.hero-content h2 {
    font-weight: 300; 
    letter-spacing: -0.5px;
}

.btn-dark {
    background-color: #1a1a1a;
    border: none;
}

.btn-light {
    border: none;
}

.logo-bar {
    height: 80px; 
}

.muted-text-overlay {
    left: 0;
    top: 0;
    height: 90%;
    padding-left: 30px;
    padding-right: 50px;
    background: linear-gradient(to right, #0B0F14 75%, transparent 100%);
    z-index: 2;
}

.marquee-wrapper {
    left: 0;
    top: 0;
    z-index: 1;
}

.marquee-track {
    width: max-content;
    animation: scroll-marquee 45s linear infinite; 
}

.marquee-items {
    gap: 60px;
    padding-right: 60px;
}

.marquee-logo {
    height: 32px;
    width: auto;
    filter: grayscale(100%) contrast(95%); 
    mix-blend-mode: multiply; 
    opacity: 0.5; 
    transition: opacity 0.3s ease;
}

.marquee-logo:hover {
    opacity: 1; 
}

@keyframes scroll-marquee {
    0% { 
        transform: translateX(0); 
    }

    100% { 
        transform: translateX(-50%); 
    }
}

/* Cost section */
.cost-section-wrapper {
    padding: 60px 0;
    background-color: #0B0F14;
}

.cost-layout-container {
    padding: 0 5%;
    gap: 100px;
}

.cost-sticky-header {
    flex: 1;
    position: sticky;
    top: 140px; 
}

.cost-kicker-label {
    color: #438979; 
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.cost-headline {
    font-size: 2.5rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.cost-metrics-list {
    flex: 1.2;
}

.cost-metric-row {
    padding: 20px 0;
    border-top: 1px solid #ffffff26;
    gap: 16px;
    transition: border-color 0.4s ease;
}

.cost-metric-row:last-child {
    border-bottom: 1px solid #ffffff26;
}

.cost-metric-row:hover {
    border-top-color: #438979; 
}

.cost-metric-row:last-child:hover {
    border-bottom-color: #438979; 
}

.cost-metric-tag {
    font-size: 1rem;
    color: #5bc2b7;
    letter-spacing: 0.1em;
}

.cost-massive-number {
    font-size: 2.5rem;
    letter-spacing: -0.05em;
    line-height: 1;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.cost-metric-row:hover .cost-massive-number {
    transform: scale(1.03) translateX(10px); 
}

.cost-metric-icon {
    font-size: 3rem;
    color: #5bc2b7;
}

.cost-metric-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
}

@media (width < 991px) {
    .cost-layout-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .cost-sticky-header {
        position: relative;
        top: 0;
    }

    .cost-headline {
        font-size: 3.2rem;
    }

    .cost-massive-number {
        font-size: 5rem;
    }

    .cost-metric-icon {
        font-size: 3rem;
    }
}

@media (width < 768px) {
    .cost-section-wrapper {
        padding: 100px 0;
    }
    
    .cost-headline {
        font-size: 2.6rem;
    }

    .cost-metric-row {
        padding: 40px 0;
    }

    .cost-massive-number {
        font-size: 4rem;
    }

    .cost-metric-description {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

@media(width <= 395px) {
    .custom-navbar{
        width: 300px;
    }

    .premium-section{
        padding-top: 60px;
        padding-bottom: 10px;
    }

    .cost-massive-number{
        font-size: 55px;
    }

    .cost-kicker-label{
        display: table !important;
        margin-left: auto;
        margin-right: auto;
    }

    .cost-headline{
        text-align: center;
    }

    .local-section{
        padding-top: 20px;
    }
}

@media (width > 396px) and (width < 420px) {
    .comp-hero-text{
        font-size: 20px;
    }
}
