@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   2. MODERN CSS RESET (Box-sizing & Margins)
   ================================          */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   3. GLOBAL BASE STYLES
   ================================          */
html {
    /* Smooth scrolling behavior for anchor links */
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', sans-serif !important;
    background-color: #000000;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Layout foundation */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    padding-left: 64px;
    padding-right: 64px;
}

/* ==========================================
   4. UTILITY HELPERS
   ================================          */
/* Responsive container to keep content centered and padded */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    /* 24px */
    padding-right: 2rem;
    /* 24px */
}

/* Ensure images and media scale nicely inside containers */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove default list styles */
ul,
ol {
    list-style: none;
}

/* Inherit fonts for interactive form elements */
input,
button,
textarea,
select {
    font: inherit;
}

/* ==========================================
   STICKY RECTANGLE NAVBAR STYLES
   ========================================== */
.site-header.absolute-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding-left: 76px;
    padding-right: 76px;
    margin-bottom: -120px;
    /* Seamless floating overlay */
}

.nav-container {
    margin: 16px 0;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 1;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 2rem;
}

.nav-pages {
    display: inline-flex;
    gap: 52px;
    align-items: center;
}

/* Logo Image */
.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Center Nav Links */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Right Side Actions Group */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Dropdown Wrapper Position */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

/* Language Selector Button */
.lang-selector-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    color: #ffffff;
}

.globe-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.chevron-icon {
    opacity: 0.7;
    transition: transform 0.2s ease;
}

/* Rotate chevron when active */
.lang-dropdown-menu.show+.lang-selector-btn .chevron-icon,
.lang-dropdown-wrapper:focus-within .chevron-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu Container (Hidden by default) */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 90px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 16px;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);

    /* Slide-down and fade animation transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

/* Show class triggered by JS */
.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* "valodas" heading inside dropdown */
.lang-heading {
    font-family: 'Onest', sans-serif;
    font-size: 11px;
    color: #777777;
    text-transform: lowercase;
    padding: 0 16px 6px 16px;
    letter-spacing: 0.05em;
}

/* Language Options */
.lang-option {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-align: center;
}

.lang-option:hover,
.lang-option.active {
    color: #ffffff;
}

/* "Mans CarPoint" Secondary Button */
.btn-secondary-nav {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 15px;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.btn-secondary-nav:hover {
    background-color: #333333;
}

/* "Pieslēgt" Primary White Button */
.btn-primary-nav {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 15px;
    background-color: #ffffff;
    color: #000000;
    padding: 10px 24px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-primary-nav:hover {
    background-color: #cccccc;
}

/* Language Selector Button */
.lang-selector-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    color: #ffffff;
}

.globe-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.chevron-icon {
    opacity: 0.7;
}

/* ==========================================
   HERO SECTION (NO PHONE MOCKUP)
   ========================================== */
.hero-section {
    position: relative;
    background-color: #000000;
    padding-top: calc(82px + 6rem);
    padding-bottom: 10rem;
    overflow: hidden;
}

/* Background image overlay styling */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/herobg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg-integrated {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero_bg_integrated.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}

/* Main Container */
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Text Content Wrapper */
.hero-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 64px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;

}

.hero-subtitle {
    margin-top: 16px;
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 150%;
    letter-spacing: 0%;

}

/* ==========================================
   GLOBAL BUTTON SYSTEM
   ========================================== */

.hero-buttons {
    margin-top: 56px;
    display: flex;
    gap: 16px;
}

/* Base Button Properties (Shared by all buttons) */
.btn {
    padding-top: 12px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;
    gap: 8px;
    opacity: 1;
    border-radius: 16px;
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: 0%;
}

/* Variant 1: Primary White Button */
.btn-white {
    background-color: #ffffff;
    color: #000000;
}

.btn-white:hover {
    background-color: #cccccc;
}

/* Variant 2: Dark / Secondary Button */
.btn-dark {
    background-color: #1a1a1a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-dark:hover {
    background-color: #333333;
}

/* Variant 3: Outline / Bordered Button */
.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   FEATURES SECTION STYLES
   ========================================== */
.features-section {
    background-color: #000000;
    position: relative;
    padding-top: 80px;
    padding-bottom: 320px;
    width: 100%;
}

.features-container {
    max-width: 1440px;
    /* Matches your design canvas */
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Header Text Styles */
.features-header {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

.features-subtitle {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* Horizontal Scroll / Grid Layout for Feature Cards */
.features-grid {
    display: flex;
    padding: 10px;
    gap: 1rem;
    overflow-x: auto;
    position: absolute;
    left: -264px;
    justify-items: flex-start;
    bottom: 0;
}

/* Individual Feature Card */
.feature-card {
    width: 304px;
    padding-top: 20px;
    padding-right: 24px;
    padding-bottom: 32px;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 1;
    border-radius: 32px;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-bg-blue-light {
    background-color: rgba(227, 228, 223, 1) !important;
}

/* Explicit Card Background Colors */
.feature-bg-light-pink {
    background-color: rgba(231, 212, 233, 1) !important;
}

.feature-bg-pink {
    background-color: #e8d7d9 !important;
}

.feature-bg-red-light {
    background-color: #f0dede !important;
}

.feature-bg-blue-light {
    background-color: #e2e8f0 !important;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.05);
}

/* Icon Box */
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* Card Content Typography */
.feature-card-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: rgba(37, 34, 34, 1);
}

.feature-card-text {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(37, 34, 34, 1);
}

/* ==========================================
   NOTIFICATIONS SECTION STYLES
   ========================================== */
.notifications-section {
    width: 100%;
    overflow: hidden;
    padding-top: 144px;
}

/* Outer wrapper provides horizontal boundary margins */
.notifications-outer-wrapper {
    padding: 0 1.5rem;
}

.notifications-container {
    position: relative;
    border-radius: 32px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 4rem;
}

.notifications-decorative-shadow {
    position: absolute;
    width: 100%;
    height: 338px;
    background-color: rgba(255, 255, 255, 0.1);
    gap: 80px;
    opacity: 1;
    border-radius: 32px;

}

/* Left Column: Overlapping Phones */
.notifications-phones-col {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notifications-container.is-reversed {
    flex-direction: row-reverse;
}

/* Viena telefona režīma pielāgošana */
.notifications-phones-col.has-single-phone {
    display: flex;
    justify-content: center;
}

.notifications-phones-col.has-single-phone .phone-mockup-front {
    transform: none;
    margin: 0 auto;
}

/* Back Phone Mockup */
.phone-mockup-back {
    position: absolute;
    left: 10px;
    top: -90px;
    /* Pushes the phone out of the top container edge */
    width: 230px;
    height: 460px;
    background-color: #1a1a1a;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    opacity: 0.65;
    transform: scale(0.92);
    z-index: 1;
}

/* Front Phone Mockup */
.phone-mockup-front {
    position: absolute;
    left: 110px;
    top: -120px;
    /* Pushes the front phone even higher out of the container top edge */
    width: 250px;
    height: 500px;
    background-color: #121212;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
    z-index: 2;
}

.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Column: Text Copy */
.notifications-text-col {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notifications-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

.notifications-description {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

/* ==========================================
   CONNECTION TYPES SECTION STYLES
   ========================================== */
.connection-types-section {
    background-color: #000000;
    padding: 6rem 64px;
    width: 100%;
}

.connection-container {
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Header text style */
.connection-header {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.connection-title {
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    text-wrap: nowrap;
}

.connection-subtitle {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

/* Grid layout for the two cards */
.connection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* General Card Layout */
.connection-card {
    opacity: 1;
    padding-top: 80px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

/* Card 1 Variant: Light background */
.connection-card.light-card {
    background-color: rgba(227, 228, 223, 1);
    color: #000000;
}

.connection-card.light-card .card-title,
.connection-card.light-card .card-price {
    color: #000000;
}

.connection-card.light-card .card-text {
    color: #4b5563;
}

/* Card 2 Variant: Dark background with image overlay */
.connection-card.dark-card {
    background-color: #111111;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.connection-card.dark-card .card-title,
.connection-card.dark-card .card-price {
    color: #ffffff;
}

.connection-card.dark-card .card-text {
    color: #9ca3af;
}

/* Image Placeholder Box */
.connection-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;

}

.connection-card.dark-card .connection-img-placeholder {
    position: absolute;
    inset: 0;
    height: 100%;
    margin-bottom: 0;
    border-radius: 0;
    opacity: 0.45;
}

.card-img {
    width: 250px;
    height: 100%;
    object-fit: contain;
}

/* Ensure the card acts as a relative bounding box */
.connection-card.dark-card {
    position: relative;
    background-color: #111111;
    color: #ffffff;
    border-radius: 32px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Pushes content to the bottom */
    min-height: 560px;
    overflow: hidden;
    /* Clips the background image inside the rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Position the image wrapper to cover 100% of the card */
.card-bg-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Force the image to cover the entire container */
.card-bg-img {
    object-fit: contain;
    object-position: center;
    opacity: 1;
}

/* Ensure text and content sit above the background image */
.connection-card.dark-card .connection-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Optional gradient fade behind text for extra readability */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 20%, transparent 100%);
    margin: -15.5rem;
    padding: 4rem 2.5rem 2.5rem 2.5rem;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

/* Content & Footer typography inside card */
.connection-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.connection-card.dark-card .connection-card-content {
    margin-top: auto;
    /* Pushes text down when background image covers full card */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 40%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    padding-top: 5rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    margin-bottom: -2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.card-title {
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
}

.card-text {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* Footer layout inside card for price and button */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.card-price {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
}

.card-price small {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.7;
}


/* ==========================================
   STEPS SECTION STYLES
   ========================================== */
/* ==========================================
   STEPS SECTION STYLES (4 Columns in One Line)
   ========================================== */
.steps-section {
    background-color: #000000;
    padding: 7rem 0;
    width: 100%;
}

.steps-container {
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    flex-direction: row;
    gap: 32px;
}

/* Header typography */
.steps-header {
    width: 360px;
}

.step-badge {
    font-family: Onest;
    font-weight: 700;
    font-size: 32px;
    color: #000000;
    padding-top: 6px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    gap: 10px;
    opacity: 1;
    line-height: 100%;
    letter-spacing: 0%;
    background-color: rgba(255, 204, 0, 1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 32px 0px rgba(242, 198, 4, 1);
    position: absolute;
    left: 12px;
    top: 12px;
}

.steps-title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

/* Steps Grid Layout - Forced to 4 equal columns on desktop */
.steps-grid {
    display: inline-grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Individual Step Card Style */
.step-card {
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding-top: 102px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
    flex: 1 1 0;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}


/* Step Content Layout */
.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-card-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
}

.step-card-text {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* ==========================================
   CTA BANNER SECTION STYLES
   ========================================== */
.cta-banner-section {
    padding: 0;
    background-color: #000000;
    width: 100%;
}

.cta-banner-container {
    padding: 64px;
    background-color: #d15875;
    /* Vibrant pink background color matching the design */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
}

/* Banner Content */
.cta-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
}

.cta-banner-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
}

.cta-banner-text {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* Action Buttons Group */
.cta-banner-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.consultation-section {
    background-color: #000000;
    padding: 6rem 0;
    width: 100%;
}

.consultation-container {
    margin: 0 auto;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 4rem;
    gap: 3rem;
    align-items: stretch;
    margin-left: 64px;
    margin-right: 64px;
}

/* Left Column: Info & Direct Contacts */
.consultation-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 540px;
}

.consultation-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.consultation-text {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.consultation-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.contact-label {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.contact-value {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.contact-value:hover {
    opacity: 0.8;
}

/* ==========================================
   PRECISE VERTICAL DIVIDER STYLES
   ========================================== */
.consultation-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
}

/* On Desktop: Vertical layout setup */
@media (min-width: 992px) {
    .consultation-divider {
        width: 40px;
        /* fixed column track for the divider */
        height: 240px;
        margin: 0;
    }
}

/* The vertical rule line */
.divider-line {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Mobile: Horizontal line */
@media (max-width: 991px) {
    .divider-line {
        width: 100%;
        height: 1px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Desktop: Vertical line stretching through the center */
@media (min-width: 992px) {
    .divider-line {
        width: 1px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
}

/* The "VAI" text badge */
.divider-text {
    background-color: #0d0d0d;
    /* Matches the container card background */
    padding: 0.75rem 0.5rem;
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #777777;
    letter-spacing: 0.08em;
    z-index: 2;
    position: relative;
    text-align: center;
}

/* Right Column: Form */
.consultation-form-col {
    flex: 1;
    max-width: 480px;
}

.consultation-form-col button.btn.btn-white {
    width: 172px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: Onest;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.form-input {
    background-color: rgba(48, 48, 48, 1);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input::placeholder {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

    color: rgba(121, 122, 124, 1);
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.consultation-form .btn-light-solid {
    background-color: #e5dde0;
    color: #000000;
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 0.5ul;
}

.consultation-form .btn-light-solid:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================
   SUPPORT / FAQ SECTION STYLES
   ========================================== */
.support-section {
    background-color: #000000;
    padding: 80px 64px;
    padding-top: 172px;
    width: 100%;
}

.support-container {
    display: flex;
    flex-direction: column;
}

/* Header Typography */
.support-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 750px;
    margin-bottom: 48px;
}

.support-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0%;

}

.support-text {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

/* Search Bar Wrapper */
.support-search-wrapper {
    width: 100%;
    max-width: 680px;
    margin-bottom: 48px;
}

.support-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(48, 48, 48, 1);
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.support-search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
}

.support-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #ffffff;
}

.support-search-input::placeholder {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.support-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #d15875;
    /* Pink accent matching brand icon */
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.support-search-btn:hover {
    opacity: 0.8;
}

/* Filter Tags Track */
.support-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.support-filter-btn {
    padding-top: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    padding-left: 16px;
    gap: 10px;
    opacity: 1;
    border-radius: 8px;
    background: rgba(25, 25, 25, 1);
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.support-filter-btn:hover {
    background-color: #1a1a1a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Active Filter Pill (Pink style from design reference) */
.support-filter-btn.active {
    background: rgba(216, 79, 109, 1);
    color: #ffffff;
}

/* Results Count Text */
.support-results-info {
    margin-top: 16px;
    font-family: Onest;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(121, 122, 124, 1);
}

/* ==========================================
   FUNCTIONS FEATURES SECTION
   ========================================== */
.functions-features-section {
    position: relative;
    background-color: #000000;
    padding: 6rem 0;
    width: 100%;
    box-sizing: border-box;
}

.functions-features-container {
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    flex-direction: column;
    gap: 88px;
}

/* Header Section */
.functions-features-header {
    width: 100%;
}

.functions-features-title {
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;

}

.functions-features-grid {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 420px) 1fr;
    gap: 132px;
    align-items: start;
    width: 100%;
}

/* Left Info Column */
.functions-features-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.functions-features-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.functions-features-info-content.fade-out {
    opacity: 0;
    transform: translateY(6px);
}

.functions-features-active-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;

}

.functions-features-active-desc {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

/* Center Phone Column */
.functions-features-phone-col {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding-top: 48px;
}

.func-phone-wrapper {
    width: 100%;
    max-width: 320px;
    flex-shrink: 0;
}

.func-phone-frame {
    width: 100%;
    aspect-ratio: 9 / 18.5;
    background-color: #121212;
    border: 6px solid #252525;
    border-radius: 38px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.func-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.func-phone-img.fade-out {
    opacity: 0;
    transform: scale(0.97);
}

/* Nav Arrows */
.func-nav-arrow {
    width: 48px;
    height: 48px;
    background-color: rgba(25, 25, 25, 1);
    color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.func-nav-arrow:hover {
    background-color: #262626;
    transform: scale(1.05);
}

/* Right List Navigation Column */
.functions-features-list-col {
    min-height: 480px;
}

.functions-features-list-col::-webkit-scrollbar {
    width: 4px;
}

.functions-features-list-col::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.func-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /* Ensures no default UL top margin pushes list down */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.func-menu-item {
    display: flex;
    gap: 16px;
    border-radius: 12px;
    justify-content: space-between;
    cursor: pointer;
    color: #888888;
    transition: all 0.2s ease;
}

.func-menu-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.03);
}

.func-menu-item.active {
    color: #d15875;
    background-color: rgba(209, 88, 117, 0.08);
}

.func-menu-item-inline {
    display: inline-flex;
    gap: 16px;
}

/* SVG File & Vector Handling */
.func-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.func-menu-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    fill: none;
    transition: stroke 0.2s ease;
}

.func-menu-icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.func-menu-label {
    font-family: Onest;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.func-badge-obd {
    font-family: Onest;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    padding: 2px 8px;
    background: rgba(25, 25, 25, 1);
    letter-spacing: 0%;
}

/* Bāzes stils */
.simple-text-section {
    padding: 4rem 2rem;
    transition: background-color 0.3s ease;
}

/* Tēmas */
.simple-text-section.is-dark {
    background-color: #000000;
    color: #ffffff;
}

.simple-text-section.is-light {
    background-color: #ffffff;
    color: #111111;
}

/* Konteiners un novietojums */
.simple-text-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.simple-text-container.is-centered {
    text-align: center;
}

.simple-text-container.is-centered .simple-text-description {
    margin-left: auto;
    margin-right: auto;
}

/* Teksta stili */
.simple-text-title {
    font-family: Onest;
    font-weight: 600;
    font-size: 44px;
    line-height: 130%;
    letter-spacing: 0%;
    margin-bottom: 16px;
}

.simple-text-description {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

.simple-text-section.is-dark .simple-text-description {
    color: rgba(255, 255, 255, 0.85);
}

.simple-text-section.is-light .simple-text-description {
    color: rgba(0, 0, 0, 0.75);
}

/* ==========================================================================
   Product Feature Grid (PFG) - Unique Non-Responsive Stylesheet
   ========================================================================== */

/* Outer Section */
.pfg-section {
    background-color: #000000;
    padding: 4rem 1.5rem;
    min-width: 1200px;
    /* Fixed layout constraint */
    box-sizing: border-box;
}

/* Fixed Outer Container */
.pfg-wrapper {
    width: 1200px;
    margin: 0 auto;
}

/* Grid Layout */
.pfg-container {
    display: grid;
    gap: 1.5rem;
}

/* Column Configuration Modifiers */
.pfg-container.pfg-cols-3 {
    grid-template-columns: repeat(3, 384px);
}

.pfg-container.pfg-cols-2 {
    grid-template-columns: repeat(2, 588px);
}

.pfg-container.pfg-cols-4 {
    grid-template-columns: repeat(4, 282px);
}

/* Card Container */
.pfg-card {
    background-color: #161618;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

/* Icon Elements */
.pfg-icon-box {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfg-icon-img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

/* Typography */
.pfg-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.85rem 0;
    line-height: 1.3;
}

.pfg-description {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Comparison Stack Layered Cards (Absolute Positioning & Blur)
   ========================================================================== */

.comparison-stack-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Kopsavilkuma konteiners ar relatīvo pozicionēšanu */
.comparison-stack-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 64px;
    padding-right: 64px;
}

/* Kopējie kartīšu stili */
.comparison-stack-card {
    width: 752px;
    background-color: rgba(25, 25, 25, 1);
    border-radius: 32px;
    padding: 48px 40px;
    box-sizing: border-box;
}

/* 1. Priekšplāna kartīte (OBD) */
.comparison-stack-card.card-foreground {
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* 2. Fona kartīte (Integrated - Aizmugurē un aizmiglota) */
.comparison-stack-card.card-background {
    position: absolute;
    top: 15px;
    right: 0;
    z-index: 1;
    opacity: 0.35;
    filter: blur(5px);
    transform: scale(0.96);
    pointer-events: none;
    /* Neļauj mijiedarboties ar fona kartīti */
    user-select: none;
}

/* Saraksta un rindas elementi */
.comparison-stack-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comparison-stack-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-stack-row:last-child {
    border-bottom: none;
}

/* Teksta un ikonu stili */
.comparison-stack-label {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;

}

.comparison-stack-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.comparison-stack-check {
    width: 32px;
    height: 32px;
    display: block;
}

.comparison-stack-text {
    color: #a1a1aa;
    font-size: 0.95rem;
}

.comparison-stack-dash {
    color: #52525b;
    font-size: 1rem;
}

.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 4rem 0;
    margin-top: auto;
}

/* ==========================================================================
   CarPoint Flow Process (Isolated Styles - No Collisions)
   ========================================================================== */

.cp-flow-section {
    background-color: #000000;
    padding: 5rem 2rem;
    box-sizing: border-box;
    min-width: 1200px;
}

.cp-flow-wrapper {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

/* Header Column */
.cp-flow-header {
    flex: 0 0 420px;
}

.cp-flow-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.02em;
}

.cp-flow-subtitle {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin: 0;
}

/* Steps Column */
.cp-flow-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Individual Pill Row */
.cp-flow-item {
    background-color: #161618;
    border-radius: 50px;
    padding: 0.85rem 1.75rem 0.85rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;

    /* Initial state for scroll-triggered animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--flow-delay, 0s);
}

/* Active animation state */
.js-flow-animate.is-flow-visible .cp-flow-item {
    opacity: 1;
    transform: translateY(0);
}

/* Yellow Glowing Badge */
.cp-flow-badge {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #eab308;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.55),
                0 0 40px rgba(234, 179, 8, 0.25);
}

/* Step Text */
.cp-flow-content {
    flex: 1;
}

.cp-flow-text {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.footer-logo .logo-sub {
    font-size: 0.65rem;
    color: #888888;
    letter-spacing: 0.15em;
    margin-top: 2px;
}

/* App Badges (App Store / Google Play) */
.app-badges {
    display: flex;
    gap: 0.75rem;
}

.app-badges img {
    height: 36px;
    width: auto;
    display: block;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    color: #ffffff;
}

.social-icons a {
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.copyright {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;
}

/* Footer Link Columns */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

/* Footer Column Headings */
.footer-col .footer-title {
    font-family: 'Onest', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #ffffff;
    margin-bottom: 16px;
}

/* Links List Container */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-link {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.footer-link:hover {
    opacity: 0.7;
}

/* Contact Info Column Text */
.footer-col .address,
.footer-col .phone,
.footer-col .email {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Brand Column Stack Alignment */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Aligns everything strictly to the left */
    gap: 1.5rem;
    /* Consistent vertical spacing between elements */
}

/* Logo Dimensions */
.footer-logo-img {
    height: 44px;
    /* Matches the vertical scale of your design box */
    width: auto;
    display: block;
    object-fit: contain;
}

/* App Store / Google Play Side-by-Side Wrapper */
.app-badges {
    display: flex;
    gap: 0.75rem;
    /* Space between the Apple and Google badges */
    align-items: center;
}

.app-badges img {
    height: 40px;
    /* Standard badge size */
    width: auto;
    display: block;
    object-fit: contain;
}

/* Social Media Icons Row */
.social-icons {
    display: flex;
    gap: 1.25rem;
    /* Space between the social icons */
    align-items: center;
}

.social-icons a img {
    width: 24px;
    /* Clean icon size */
    height: 24px;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.social-icons a:hover img {
    opacity: 0.7;
}

/* Responsive collapse for tablets and mobile */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}