* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* vDRIVER Dark Mode Color Scheme */
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --medium-grey: #2a2a2a;
    --light-grey: #3a3a3a;
    --text-grey: #9ca3af;
    
    --blue-primary: #2563eb;
    --blue-secondary: #1e40af;
    --blue-light: #3b82f6;
    
    --red-accent: #ef4444;
    --red-dark: #dc2626;
    
    --orange-accent: #f97316;
    --orange-light: #fb923c;
    
    --white: #ffffff;
    --white-soft: #f8f9fa;
    
    /* Functional colors */
    --primary-color: var(--blue-primary);
    --secondary-color: var(--orange-accent);
    --danger-color: var(--red-accent);
    
    --text-primary: var(--white-soft);
    --text-secondary: var(--text-grey);
    --bg-primary: var(--black);
    --bg-secondary: var(--dark-grey);
    --bg-tertiary: var(--medium-grey);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header-transparent {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid var(--medium-grey);
    z-index: 1000;
    padding: 1rem 0;
}

.header-transparent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-contacts-desktop {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.header-contacts-desktop.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
}

.header-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.header-social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.header-social-icon img {
    width: 36px;
    height: 36px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.header-social-icon:hover img {
    opacity: 1;
}

/* WhatsApp and Instagram icons are visually larger — scale down to match email */
.header-social-icon img[src*="whatsapp"],
.header-social-icon img[src*="instagram"] {
    width: 26px;
    height: 26px;
}

.header-social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo .site-logo {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

nav a:hover::after {
    width: 80%;
}

nav a:hover {
    color: var(--blue-light);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: 2px solid var(--blue-primary);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.dropdown-toggle:hover {
    background: var(--blue-primary);
    color: var(--white);
}

.dropdown-toggle span {
    font-size: 1.2rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--light-grey);
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid var(--light-grey);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--blue-primary);
    color: var(--white);
}

.nav-login {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
}

.nav-login::after {
    display: none;
}

.nav-login:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Hero Section */
/* =====================================================
   Hero Advantages Section
   ===================================================== */
.hero-advantages {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-adv-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(6, 6, 10, 0.72),
        rgba(37, 99, 235, 0.12),
        rgba(6, 6, 10, 0.78)
    );
}

/* Two-column split — REMOVED, laptop is now inside the glass box */

/* ---- Left: glass content box ---- */
.hero-adv-glass {
    position: relative;
    z-index: 1;
    background: rgba(8, 10, 18, 0.60);
    backdrop-filter: blur(32px) saturate(1.9) brightness(1.08);
    -webkit-backdrop-filter: blur(32px) saturate(1.9) brightness(1.08);
    border-radius: 24px;
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 1px 0 0 rgba(255, 255, 255, 0.07),
        0 24px 60px rgba(0, 0, 0, 0.5);
    padding: 2.5rem 2.5rem 1.5rem;
    max-width: 1340px;
    margin: 0 auto;
    text-align: center;
}

/* Title */
.hero-adv-glass h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, var(--white), var(--blue-light), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-adv-glass h1 span {
    display: block;
    font-size: 1.8rem;
    opacity: 0.85;
}

/* Body row: compare cards (left) + laptop (right) */
/* hero-adv-body no longer used (laptop removed) — kept for safety */
.hero-adv-body {
    margin-bottom: 2rem;
}

/* Compare column: two cards side by side */
.hero-adv-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-adv-col {
    background: rgba(12, 14, 24, 0.82);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

.hero-adv-col:hover {
    transform: translateY(-5px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.65),
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.hero-adv-problem {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(239, 68, 68, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-adv-problem:hover {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-adv-solution {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(37, 99, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-adv-solution:hover {
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(37, 99, 235, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-adv-col h3 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    letter-spacing: 0.01em;
    text-align: center;
}

.hero-adv-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-adv-problem ul li,
.hero-adv-solution ul li {
    color: var(--text-secondary);
    font-size: 0.82rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
}

.hero-adv-problem ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--red-accent);
    font-weight: bold;
}

.hero-adv-solution ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-light);
    font-weight: bold;
}

/* ---- Right: browser/screen mockup ---- */
/* =====================================================
   Laptop Mockup
   ===================================================== */

/* Laptop inside glass — no extra max-width needed */
.laptop-wrap {
    width: 100%;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6)) drop-shadow(0 6px 16px rgba(0,0,0,0.4));
}

/* Lid = the screen half */
.laptop-lid {
    background: #1c1c1e;
    border-radius: 12px 12px 4px 4px;
    padding: 10px 10px 6px;
    border: 1.5px solid #3a3a3c;
    border-bottom: none;
    position: relative;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.05),
        0 0 40px rgba(37,99,235,0.12);
}

/* Bezel inside the lid */
.laptop-bezel {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    /* No aspect-ratio — image 1 drives the height */
}

/* Screenshot crossfade */
.vdr-ui {
    position: relative;
    overflow: hidden;
    line-height: 0; /* prevent inline gap under img */
}

/* Image 1: normal flow — sets the container height */
#vdrSs1 {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.8s ease;
    position: relative;
    z-index: 1;
}

/* Image 2: overlaid and centered (it is shorter, so center it) */
#vdrSs2 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 2;
}

.vdr-screenshot.vdr-ss-active {
    opacity: 1;
}

/* Hinge bar */
.laptop-hinge {
    height: 5px;
    background: linear-gradient(to bottom, #2a2a2c, #1a1a1c);
    border-radius: 0 0 2px 2px;
    position: relative;
}

/* Base / keyboard area */
.laptop-base {
    background: linear-gradient(to bottom, #232325, #1c1c1e);
    border-radius: 0 0 10px 10px;
    border: 1.5px solid #3a3a3c;
    border-top: none;
    padding: 8px 12px 10px;
}

/* Fake keyboard */
.laptop-keyboard {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 6px;
}

.lkb-row {
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    height: 5px;
}

.lkb-row-a { width: 100%; }
.lkb-row-b { width: 95%; margin: 0 auto; }
.lkb-row-c { width: 88%; margin: 0 auto; }

/* Trackpad */
.laptop-trackpad {
    width: 40%;
    height: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    margin: 0 auto;
}

/* Legacy hero classes kept for other pages if any */
.hero-vdriver {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.6),
        rgba(37, 99, 235, 0.15),
        rgba(239, 68, 68, 0.08),
        rgba(10, 10, 10, 0.7)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 3rem;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--white), var(--blue-light), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-grey);
}

.hero-tagline {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--orange-accent);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
}

.badge:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: var(--blue-primary);
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--dark-grey) 50%, var(--bg-primary) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--blue-light);
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100%;
    max-width: 1200px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-grey);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-primary), var(--orange-accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(255, 255, 255, 0.1) inset;
    border-color: rgba(37, 99, 235, 0.5);
    background: rgba(26, 26, 26, 0.75);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    color: var(--blue-light);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(26, 26, 26, 0.8) 50%, var(--bg-primary) 100%);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.step {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    width: 240px;
    min-height: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(255, 255, 255, 0.05) inset;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.step h3 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Legal Section */
/* Difference Section (Problem/Solution) */
.difference-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-box,
.solution-box {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--light-grey);
    transition: all 0.4s;
}

.problem-box {
    border-left: 4px solid var(--red-accent);
}

.problem-box:hover {
    border-left-width: 8px;
    transform: translateX(-5px);
}

.solution-box {
    border-left: 4px solid var(--blue-primary);
    background: linear-gradient(135deg, var(--bg-tertiary), rgba(37, 99, 235, 0.05));
}

.solution-box:hover {
    border-left-width: 8px;
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.problem-box h3,
.solution-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.problem-box ul,
.solution-box ul {
    list-style: none;
    line-height: 2;
}

.problem-box ul li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.problem-box ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--red-accent);
    font-weight: bold;
}

.solution-box ul li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.solution-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-light);
    font-weight: bold;
}

/* ================================================
   Results Preview Section
   ================================================ */
.results-preview-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.rp-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rp-label {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    color: var(--blue-light);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
}

.rp-header h2,
.rp-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue-light);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.rp-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Browser chrome + screen */
.rp-browser {
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 32px 80px rgba(0, 0, 0, 0.7);
    margin-bottom: 2.5rem;
}

.rp-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #2a2a2c;
    padding: 0.6rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rp-browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.rp-browser-dots span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.rp-browser-dots span:nth-child(1) { background: #ff5f57; }
.rp-browser-dots span:nth-child(2) { background: #ffbd2e; }
.rp-browser-dots span:nth-child(3) { background: #28c840; }

.rp-browser-address {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    padding: 0.28rem 0.9rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rp-browser-spacer {
    width: calc(3 * 12px + 2 * 6px);
    flex-shrink: 0;
}

.rp-browser-screen {
    background: #000;
    line-height: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Screenshot 1: in-flow, sets the container height */
#rpSs1 {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Screenshot 2: centered overlay (shorter image) */
#rpSs2 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    z-index: 2;
}

/* Shared: opacity controlled exclusively by class so the toggle works */
.rp-screenshot {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.rp-screenshot.rp-ss-active {
    opacity: 1;
}

/* 4-callout strip below the screen */
.rp-callouts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.rp-callout {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 1.4rem 1.25rem;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
}

.rp-callout:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.35);
}

.rp-callout-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.rp-callout strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.rp-callout p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    scroll-behavior: smooth;
    flex: 1;
}

.testimonial-card {
    background: rgba(42, 42, 42, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    max-width: 45%;
    flex: 0 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.3s;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.testimonial-author strong {
    color: var(--blue-light);
    font-size: 1.15rem;
    font-weight: 700;
}

.carousel-btn {
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(37, 99, 235, 0.5);
    color: var(--blue-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.carousel-btn:hover {
    background: rgba(37, 99, 235, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-grey);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--blue-primary);
    width: 30px;
    border-radius: 6px;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-grey);
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(249, 115, 22, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.25);
    border-color: var(--blue-primary);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: var(--blue-light);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* CTA Section */
@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 30px rgba(249, 115, 22, 0.7);
    }
}

@keyframes textStill {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9709);
    }
}

.cta-section {
    padding: 8rem 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.7),
        rgba(37, 99, 235, 0.2),
        rgba(239, 68, 68, 0.1),
        rgba(10, 10, 10, 0.8)
    );
}

.cta-box {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* iOS glass */
    background: rgba(8, 8, 12, 0.58);
    backdrop-filter: blur(40px) saturate(2.2) brightness(1.08);
    -webkit-backdrop-filter: blur(40px) saturate(2.2) brightness(1.12);
    border-radius: 24px;
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        inset 1px 0 0 rgba(255, 255, 255, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.45);
    padding: 3rem;
}

.cta-box h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.cta-features {
    font-size: 1.05rem !important;
    margin-bottom: 1rem !important;
    color: var(--text-grey) !important;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange-accent), #ea580c);
    color: var(--white);
    padding: 1.3rem 3.9rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 2.5s ease-in-out infinite;
}

.btn-primary span {
    display: inline-block;
    animation: textStill 2.5s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(249, 115, 22, 0.7);
    animation: none;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--orange-accent);
    transition: all 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--orange-accent);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-large {
    padding: 1.2rem 3.5rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* Footer */
footer {
    background: var(--dark-grey);
    color: var(--text-secondary);
    padding: 1.5rem 0;
    border-top: 1px solid var(--light-grey);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(1.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--light-grey);
}

.social-icon:hover {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--orange-accent);
}

.copyright {
    color: var(--text-grey);
    margin: 0;
}

/* Cookie Corner Button */
.cookie-corner-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--orange-accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
}

.cookie-corner-btn.show {
    opacity: 1;
    transform: scale(1);
}

.cookie-corner-btn:hover {
    background: var(--orange-accent);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--orange-accent);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 999;
}

.cookie-settings-btn:hover {
    background: var(--orange-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Legal Pages */
.legal-page {
    padding: 7rem 2rem 3rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--light-grey);
}

.legal-content-wrapper h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
}

.last-updated {
    color: var(--text-grey);
    font-style: italic;
    margin-bottom: 2rem;
}

.intro {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-left: 4px solid var(--orange-accent);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.legal-content-wrapper section {
    margin: 2.5rem 0;
}

.legal-content-wrapper h2 {
    color: var(--blue-light);
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
}

.legal-content-wrapper h3 {
    color: var(--orange-accent);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.8rem;
}

.legal-content-wrapper p {
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Partners Page */
.partners-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.partners-category {
    margin-bottom: 4rem;
}

.partners-category:last-child {
    margin-bottom: 0;
}

.partners-category h2 {
    color: var(--blue-light);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.partner-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--light-grey);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    border-color: var(--blue-primary);
}

.partners-category:first-child .partner-card {
    border: 3px solid transparent;
    background-image: 
        linear-gradient(var(--bg-secondary), var(--bg-secondary)),
        linear-gradient(135deg, #c9a658 0%, #ffd700 25%, #d4af37 50%, #ffeaa7 75%, #c9a658 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.partners-category:first-child .partner-card:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
}

.partner-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    padding: 0.5rem;
    overflow: hidden;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.platform-card {
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.platform-card h3 {
    font-size: 1.3rem;
    color: var(--blue-light);
}

.legal-content-wrapper ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-primary);
}

.legal-content-wrapper ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-primary);
}

.legal-content-wrapper li {
    margin: 0.5rem 0;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-content-wrapper a {
    color: var(--blue-light);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-content-wrapper a:hover {
    color: var(--orange-accent);
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.cookie-table th {
    background: var(--bg-primary);
    color: var(--blue-light);
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-settings-cta {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
    border: 2px solid var(--primary-color);
}

.cookie-settings-cta h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Cookie Consent Backdrop - Blocks page interaction */
.cookie-consent-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(3px);
}

.cookie-consent-backdrop.show {
    opacity: 1;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid var(--primary-color);
}

.cookie-consent-banner.cookie-consent-required {
    border-top: 3px solid var(--orange-accent);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 3rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.cookie-text strong {
    color: var(--orange-accent);
    font-weight: 600;
}

.cookie-legal-text {
    font-size: 0.85rem !important;
    color: var(--medium-grey) !important;
}

.cookie-legal-text a {
    color: var(--blue-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-accept {
    background: var(--primary-color);
    color: var(--white);
}

.btn-accept:hover {
    background: var(--blue-secondary);
    transform: translateY(-2px);
}

.btn-reject {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--light-grey);
}

.btn-reject:hover {
    background: var(--light-grey);
}

.btn-customize {
    background: transparent;
    color: var(--orange-accent);
    border: 2px solid var(--orange-accent);
}

.btn-customize:hover {
    background: var(--orange-accent);
    color: var(--white);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 2rem;
}

.cookie-modal.show {
    opacity: 1;
}

.cookie-modal-content {
    background: var(--bg-secondary);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    border: 1px solid var(--light-grey);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-grey);
}

.cookie-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.cookie-modal-close:hover {
    color: var(--red-accent);
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.cookie-category p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-grey);
    transition: 0.3s;
    border-radius: 34px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--light-grey);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive */
/* FAQ Preview Section (homepage rotator) */
.faq-preview-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.faq-preview-subtitle {
    text-align: center;
    color: var(--text-grey);
    font-size: 1.05rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.faq-rotator-container {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--light-grey);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    min-height: 160px;
}

.faq-rotator-item {
    display: none;
}

.faq-rotator-item.active {
    display: block;
    animation: faqFadeIn 0.45s ease;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.faq-rotator-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-light);
    margin-bottom: 0.85rem;
    padding-left: 2.2rem;
    position: relative;
}

.faq-rotator-question::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.55rem;
    height: 1.55rem;
    background: var(--blue-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 0;
    line-height: 1.55rem;
    text-align: center;
}

.faq-rotator-answer {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    padding-left: 2.2rem;
    margin: 0;
}

.faq-rotator-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.faq-rotator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-grey);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.faq-rotator-dot.active {
    background: var(--blue-primary);
    width: 28px;
    border-radius: 5px;
}

.faq-rotator-dot:hover {
    background: var(--blue-light);
}

.faq-preview-footer {
    text-align: center;
}

/* FAQ Page — full accordion */
.faq-page {
    padding: 7rem 2rem 4rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.faq-page-header {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

.faq-page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue-light);
    margin-bottom: 0.75rem;
}

.faq-page-header p {
    color: var(--text-grey);
    font-size: 1.05rem;
}

.faq-accordion {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

details.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--light-grey);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s;
}

details.faq-item[open] {
    border-color: var(--blue-primary);
}

details.faq-item summary {
    padding: 1.2rem 1.4rem;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    user-select: none;
    transition: color 0.25s;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::marker {
    display: none;
    content: '';
}

details.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--blue-light);
    flex-shrink: 0;
    transition: transform 0.25s;
    line-height: 1;
}

details.faq-item[open] summary {
    color: var(--blue-light);
    border-bottom: 1px solid var(--light-grey);
}

details.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item-answer {
    padding: 1.2rem 1.4rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.78;
}

.faq-cta-block {
    max-width: 780px;
    margin: 3rem auto 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}

.faq-cta-block h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.faq-cta-block p {
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-page-header h1 {
        font-size: 1.9rem;
    }

    .faq-rotator-question,
    .faq-rotator-answer {
        padding-left: 0;
    }

    .faq-rotator-question::before {
        display: none;
    }
}

/* =====================================================
   Homepage FAQ Section
   ===================================================== */
.faq-home-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.faq-home-inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 5rem;
    align-items: start;
}

.faq-home-label {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-home-label h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin: 0;
}

/* Discreet "Ver todas" link on dark background */
.cta-faq-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-grey);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    border: 1px solid var(--light-grey);
    background: transparent;
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.01em;
    width: fit-content;
}

.cta-faq-link:hover {
    color: var(--white-soft);
    border-color: rgba(255, 255, 255, 0.4);
}

.faq-home-list {
    display: flex;
    flex-direction: column;
}

/* Line-divider style for homepage FAQ items */
.faq-home-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--light-grey) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.faq-home-item:first-child {
    border-top: 1px solid var(--light-grey) !important;
}

.faq-home-item summary {
    padding: 1.2rem 0 !important;
    font-size: 1rem !important;
    background: transparent !important;
}

.faq-home-item summary::after {
    margin-left: auto;
    flex-shrink: 0;
}

.faq-home-item[open] {
    border-bottom-color: var(--blue-primary) !important;
}

.faq-home-item[open] summary {
    color: var(--blue-light) !important;
    border-bottom: none !important;
}

.faq-home-item .faq-item-answer {
    padding: 0 0 1.2rem !important;
}

/* CTA stat row */
.cta-stat-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.cta-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-accent);
    line-height: 1;
}

.cta-stat-label {
    font-size: 0.78rem;
    color: var(--text-grey);
    text-align: center;
    line-height: 1.3;
    max-width: 90px;
}

/* Compact CTA button */
.cta-box .btn-primary {
    padding: 0.9rem 2.8rem;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Active nav link */
.dropdown-item.active-nav {
    color: var(--orange-accent);
    font-weight: 700;
}

/* FAQ page: category labels */
.faq-category-label {
    max-width: 780px;
    margin: 2.5rem auto 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-accent);
    padding-left: 0.2rem;
}

.faq-category-label:first-of-type {
    margin-top: 0;
}

/* =====================================================
   Responsive: Homepage FAQ
   ===================================================== */
@media (max-width: 1024px) {
    .faq-home-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-home-label {
        position: static;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .faq-home-label h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .faq-home-section {
        padding: 3.5rem 0;
    }

    .cta-stat-row {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-stat-num {
        font-size: 1.6rem;
    }

    /* Hero glass */
    .hero-adv-glass {
        padding: 2.5rem 1.25rem 1.25rem;
    }

    .hero-adv-glass h1 {
        font-size: 1.9rem;
        margin-bottom: 0.6rem;
    }

    .hero-adv-glass h1 span {
        font-size: 1.6rem;
    }

    /* Stack compare cards on mobile */
    .hero-adv-compare {
        grid-template-columns: 1fr;
    }

    .hero-adv-col {
        padding: 1.4rem 1.6rem;
    }

    .hero-adv-col ul {
        gap: 0.7rem;
    }

    .hero-adv-problem ul li,
    .hero-adv-solution ul li {
        font-size: 0.9rem;
    }

    /* Results preview */
    .rp-header h2,
    .rp-title {
        font-size: 1.6rem;
    }

    .rp-header p {
        font-size: 0.95rem;
    }

    .rp-callouts {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Kill fixed bg on mobile (Safari/iOS bug) */
    .hero-advantages,
    .hero-vdriver {
        background-attachment: scroll;
    }

    /* Dropdown opens to the right edge */
    .dropdown-menu {
        left: auto;
        right: 0;
    }

    .laptop-wrap {
        display: none;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-adv-body {
        grid-template-columns: 1fr;
    }

    .hero-adv-compare {
        grid-template-columns: 1fr 1fr;
    }

    .rp-callouts {
        grid-template-columns: repeat(2, 1fr);
    }

    .laptop-lid,
    .laptop-base {
        transform: none;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .step {
        width: 200px;
        padding: 1.2rem 0.8rem;
    }
    
    .step h3 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        max-width: 60%;
        min-width: 250px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problem-solution-grid {
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Fix cascade: force single column cards on all phones */
    .hero-adv-compare {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-card {
        padding: 1rem;
    }
    
    .partner-logo {
        height: 80px;
        padding: 0.5rem;
        margin-bottom: 0.8rem;
    }
    
    .partner-card h3 {
        font-size: 1rem;
    }
    
    /* Header */
    .header-transparent {
        padding: 0.5rem 0;
    }
    
    .header-transparent .container {
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }
    
    .header-contacts-desktop {
        display: none;
    }
    
    .logo {
        order: 1;
    }
    
    .logo .site-logo {
        height: 35px;
    }
    
    .nav-dropdown {
        order: 2;
    }
    
    .dropdown-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .dropdown-menu {
        left: auto;
        right: 0;
    }
    
    .nav-login {
        order: 3;
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
    
    /* Hero Section */
    .hero-vdriver {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .badge {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Problem/Solution Section */
    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* How It Works Section */
    .steps-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .step-header {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    .step h3 {
        margin: 0;
        text-align: left;
    }
    
    .step p {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    /* Testimonials Carousel */
    .testimonials-carousel-wrapper {
        gap: 0;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .testimonials-carousel {
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .testimonials-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-card {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
        flex: 0 0 100%;
        padding: 1.5rem;
        scroll-snap-align: start;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .carousel-dots {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .carousel-dot.active {
        width: 25px;
    }
    
    /* CTA Section */
    .cta-box h2 {
        font-size: 1.8rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
    
    .cta-features {
        font-size: 0.95rem !important;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .btn-large {
        padding: 1.1rem 2rem;
    }
    
    .cta-note {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .footer-links {
        font-size: 0.9rem;
    }
    
    /* Legal Pages */
    .legal-content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .legal-content-wrapper h1 {
        font-size: 2rem;
    }
    
    .legal-content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    /* Cookie Consent */
    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-cookie {
        flex: 1;
        width: 100%;
    }
    
    .cookie-table {
        font-size: 0.85rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.6rem 0.4rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .step {
        padding: 1rem;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    nav ul {
        font-size: 0.85rem;
    }

    /* Hero glass tighter on small phones */
    .hero-adv-glass {
        padding: 2rem 1rem 1rem;
        border-radius: 16px;
    }

    .hero-adv-glass h1 {
        font-size: 1.6rem;
    }

    .hero-adv-glass h1 span {
        font-size: 1.3rem;
    }

    /* CTA stats wrap */
    .cta-stat-row {
        flex-wrap: wrap;
        gap: 1.5rem 2rem;
        justify-content: center;
    }

    /* Results section */
    .rp-header h2,
    .rp-title {
        font-size: 1.4rem;
    }

    .rp-callouts {
        grid-template-columns: 1fr;
    }

    .rp-browser-address {
        font-size: 0.7rem;
    }
}

/* Very small phones */
@media (max-width: 375px) {
    .hero-adv-glass h1 {
        font-size: 1.4rem;
    }

    .hero-adv-glass h1 span {
        font-size: 1.2rem;
    }

    .dropdown-toggle {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .nav-login {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.85rem;
    }

    .cta-stat-num {
        font-size: 1.4rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
