/* ============================================
   REPORT REMOVERS 411 — WHITE + RED DESIGN
   ============================================ */

:root {
    /* Red accent palette */
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --primary-glow: rgba(220, 38, 38, 0.25);
    --accent: #f97316;
    --accent-dark: #ea580c;
    --success: #16a34a;
    --warning: #f59e0b;

    /* Light neutrals */
    --bg: #ffffff;
    --bg-secondary: #f8f9fb;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border: #e5e7eb;
    --border-light: #d1d5db;
    --text: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    /* Gradients */
    --gradient: linear-gradient(135deg, #dc2626, #ef4444);
    --gradient-text: linear-gradient(135deg, #dc2626, #f97316);
    --gradient-hover: linear-gradient(135deg, #b91c1c, #dc2626);
    --gradient-subtle: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(249, 115, 22, 0.06));

    /* Spacing */
    --section-padding: 110px;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Borders */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   PRELOADER
   ============================================ */

#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; }

.loader { text-align: center; }
.loader-shield {
    animation: pulse-loader 1.5s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-logo { width: 160px; height: 160px; object-fit: contain; }

.loader-bar {
    width: 200px; height: 3px;
    background: var(--bg-secondary); border-radius: 3px;
    margin-top: 24px; overflow: hidden;
}

.loader-bar-fill {
    width: 0%; height: 100%;
    background: var(--gradient); border-radius: 3px;
    animation: loader-fill 1.5s ease-out forwards;
}

@keyframes pulse-loader { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes loader-fill { 0% { width: 0%; } 100% { width: 100%; } }

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 16px 0; transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    box-shadow: 0 1px 10px rgba(0,0,0,0.04);
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}

.logo-icon-img { height: 70px; width: auto; object-fit: contain; }
.logo-icon-img.logo-footer { height: 80px; }

.logo-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links { display: flex; list-style: none; gap: 32px; }

.nav-links a {
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary); transition: color 0.2s ease; position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gradient);
    transition: width 0.3s ease; border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
    padding: 10px 24px; background: var(--gradient); color: white;
    border-radius: 50px; font-size: 0.875rem; font-weight: 600;
    transition: all 0.3s ease; white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* Mobile menu button */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }

.mobile-menu-btn span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px; transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translateY(5px) translateX(5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5px) translateX(5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px); z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}

.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-nav-links { list-style: none; text-align: center; }
.mobile-nav-links li { margin-bottom: 24px; }

.mobile-nav-links a {
    font-size: 1.5rem; font-weight: 600; font-family: var(--font-display);
    color: var(--text-secondary); transition: color 0.2s ease;
}

.mobile-nav-links a:hover { color: var(--text); }

.mobile-cta {
    display: inline-block; padding: 14px 36px;
    background: var(--gradient); border-radius: 50px;
    font-size: 1.1rem !important; color: white !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden; padding-top: 80px;
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 60%);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(220, 38, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-gradient {
    position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, rgba(249, 115, 22, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

.hero-particles { position: absolute; inset: 0; pointer-events: none; }

.particle {
    position: absolute; width: 3px; height: 3px;
    background: var(--primary-light); border-radius: 50%;
    opacity: 0; animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

.hero-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 900px; margin: 0 auto;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.12);
    border-radius: 50px; font-size: 0.875rem; font-weight: 500;
    color: var(--primary); margin-bottom: 32px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--success); border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
    margin-bottom: 24px; color: var(--text);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem; color: var(--text-secondary);
    max-width: 650px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-subtitle strong { color: var(--text); }

.hero-actions {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    transition: all 0.3s ease; white-space: nowrap;
}

.btn-primary { background: var(--gradient); color: white; border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(220, 38, 38, 0.3); }

.btn-outline { background: transparent; border: 1.5px solid var(--border-light); color: var(--text); }
.btn-outline:hover { background: var(--bg-secondary); border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-white { background: white; color: var(--primary); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.3); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* Hero Stats */
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; }
.stat { text-align: center; }

.stat-number {
    font-family: var(--font-display); font-size: 2.5rem;
    font-weight: 700; color: var(--text);
}

.stat-plus {
    font-family: var(--font-display); font-size: 2rem; font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.stat-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* Hero Scroll Indicator */
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 1; }

.scroll-indicator {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.75rem;
    letter-spacing: 0.1em; text-transform: uppercase;
}

.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line { 0%, 100% { opacity: 0.3; transform: scaleY(0.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section { padding: var(--section-padding) 0; position: relative; }
.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
    display: inline-block; padding: 6px 16px;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 50px; font-size: 0.8rem; font-weight: 600;
    color: var(--primary); text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
    margin-bottom: 16px; color: var(--text);
}

.section-subtitle {
    font-size: 1.1rem; color: var(--text-secondary);
    max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ============================================
   QUIZ SECTION
   ============================================ */

.quiz-section {
    background: var(--bg-secondary);
}

.quiz-wrapper {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Progress Bar */
.quiz-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.quiz-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.quiz-progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 16.66%;
    background: var(--gradient);
    border-radius: 6px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-progress-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Steps */
.quiz-step {
    display: none;
    animation: quizFadeIn 0.35s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes quizFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-question {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.quiz-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.quiz-question + .quiz-options {
    margin-top: 24px;
}

/* Options */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    cursor: pointer;
    display: block;
}

.quiz-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.quiz-option-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.quiz-option-box:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.03);
}

.quiz-option input:checked + .quiz-option-box {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.06);
    color: var(--primary);
}

/* Radio indicator */
.quiz-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.quiz-option input:checked + .quiz-option-box .quiz-radio {
    border-color: var(--primary);
}

.quiz-option input:checked + .quiz-option-box .quiz-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--gradient);
    border-radius: 50%;
}

/* Checkbox indicator */
.quiz-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-option input:checked + .quiz-option-box .quiz-checkbox {
    border-color: var(--primary);
    background: var(--gradient);
}

.quiz-option input:checked + .quiz-option-box .quiz-checkbox::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Text Input */
.quiz-input-wrap {
    margin-top: 24px;
}

.quiz-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text);
    transition: all 0.2s ease;
    outline: none;
}

.quiz-input::placeholder {
    color: var(--text-muted);
}

.quiz-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Quiz Navigation */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.quiz-back {
    padding: 12px 24px;
}

.quiz-next {
    padding: 12px 32px;
    margin-left: auto;
}

.quiz-next:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Quiz Result */
.quiz-result {
    text-align: center;
}

.quiz-result-icon {
    width: 80px;
    height: 80px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--success);
}

.quiz-result-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.quiz-result-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 32px;
}

.quiz-result-text strong {
    color: var(--success);
}

.quiz-result-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.quiz-score-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.quiz-score-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.quiz-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
}

.quiz-score-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Quiz Result Form */
.quiz-result-form {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: left;
}

.quiz-form-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    text-align: center;
}

.quiz-form-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.quiz-form-group {
    margin-bottom: 18px;
}

.quiz-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.quiz-form-group .quiz-input[readonly] {
    opacity: 0.7;
    cursor: default;
    background: var(--border);
}

.quiz-result-form .btn-full {
    margin-top: 8px;
}

.quiz-result-form .form-success {
    text-align: center;
    padding: 40px 20px;
}

.quiz-result-form #quiz-submit-btn .btn-loader svg {
    animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-wrapper {
        padding: 32px 24px;
    }

    .quiz-question {
        font-size: 1.15rem;
    }

    .quiz-result-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .quiz-wrapper {
        padding: 24px 18px;
    }

    .quiz-option-box {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .quiz-nav {
        gap: 12px;
    }

    .quiz-back {
        padding: 10px 18px;
    }

    .quiz-next {
        padding: 10px 24px;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about { background: var(--bg-secondary); }

.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.about-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 28px;
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.about-icon {
    width: 56px; height: 56px;
    background: var(--gradient-subtle); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--primary);
}

.about-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.about-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.service-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px 32px;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}

.service-card:hover {
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-featured {
    border-color: rgba(220, 38, 38, 0.2);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.02), rgba(249, 115, 22, 0.02));
}

.service-badge {
    position: absolute; top: 20px; right: 20px;
    padding: 4px 14px; background: var(--gradient);
    border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: white;
}

.service-icon-wrap {
    width: 64px; height: 64px;
    background: var(--gradient-subtle); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--primary);
}

.service-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.service-card > p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.service-features li svg { color: var(--success); flex-shrink: 0; }

/* ============================================
   PROCESS SECTION
   ============================================ */

.process { background: var(--bg-secondary); }

.process-timeline { position: relative; max-width: 700px; margin: 0 auto; }

.process-line {
    position: absolute; left: 40px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
}

.process-step { display: flex; gap: 32px; padding: 32px 0; position: relative; }

.step-number {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    color: var(--primary); background: var(--bg-secondary);
    width: 80px; text-align: center; flex-shrink: 0;
    position: relative; z-index: 1; padding-top: 4px;
}

.step-content { flex: 1; padding-top: 2px; }
.step-content h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

.step-icon {
    width: 56px; height: 56px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); flex-shrink: 0;
}

/* ============================================
   PLATFORMS / BROKERS — LOGO GRID
   ============================================ */

.platforms {
    padding: 80px 0 60px;
    background: var(--bg);
    overflow: hidden;
}

.platforms-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.platform-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.platform-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.55;
    transition: all 0.4s ease;
    filter: grayscale(40%);
}

.platform-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.platform-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.platform-logo:hover .platform-name {
    color: var(--text);
}

/* ============================================
   TRUSTED BY / COMPANY LOGOS — MARQUEE
   ============================================ */

.trusted-by {
    padding: 100px 0 80px;
    background: var(--bg);
    overflow: hidden;
}

.trusted-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    margin-top: -8px;
}

.trusted-marquee-track {
    display: flex;
    gap: 64px;
    animation: trusted-scroll 45s linear infinite;
    width: max-content;
    align-items: center;
    padding: 16px 0;
}

.trusted-marquee-track:hover {
    animation-play-state: paused;
}

.trusted-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.trusted-logo img {
    height: 72px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.5;
    transition: all 0.4s ease;
    filter: grayscale(40%);
}

.trusted-logo.dark-bg img {
    opacity: 0.5;
    filter: grayscale(40%);
}

.trusted-logo:hover img,
.trusted-logo.dark-bg:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes trusted-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   REVIEWS — CARD CAROUSEL
   ============================================ */

.testimonials {
    background: var(--bg);
    overflow: hidden;
}

.reviews-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.reviews-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 16px 0 24px;
    padding-left: calc(50% - 190px);
    padding-right: calc(50% - 190px);
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 380px;
    scroll-snap-align: center;
    transition: transform 0.4s ease;
}

.review-phone {
    position: relative;
    background: #f9fafb;
    border-radius: 28px;
    padding: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: all 0.4s ease;
}

.review-card:hover .review-phone {
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 25px 60px -12px rgba(0,0,0,0.12), 0 0 0 1px rgba(220, 38, 38, 0.08);
    transform: translateY(-6px);
}

.phone-notch {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 5px;
    background: rgba(0, 0, 0, 0.06); border-radius: 5px; z-index: 2;
}

.review-phone img {
    width: 100%; height: auto; display: block;
    border-radius: 20px;
}

/* Navigation */
.reviews-nav {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-top: 40px;
}

.reviews-btn {
    width: 48px; height: 48px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all 0.2s ease; cursor: pointer;
}

.reviews-btn:hover {
    background: var(--bg-secondary); border-color: var(--primary);
    color: var(--primary); transform: scale(1.05);
}

.reviews-dots { display: flex; gap: 10px; }

.reviews-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border); border: none;
    cursor: pointer; transition: all 0.3s ease;
}

.reviews-dot.active {
    background: var(--primary);
    width: 24px; border-radius: 4px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq { background: var(--bg-secondary); }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 24px 0; text-align: left;
    font-size: 1.05rem; font-weight: 500; color: var(--text);
    transition: color 0.2s ease;
}

.faq-question:hover { color: var(--primary); }

.faq-chevron { flex-shrink: 0; transition: transform 0.3s ease; color: var(--text-muted); }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--primary); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 24px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact { background: var(--bg); }

.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: start;
}

.contact-info .section-tag { display: inline-block; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: center; gap: 16px; }

.contact-icon {
    width: 48px; height: 48px;
    background: var(--gradient-subtle); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.contact-item span { font-size: 0.85rem; color: var(--text-muted); }

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.required { color: var(--primary); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%; padding: 14px 16px;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text);
    font-size: 0.95rem; transition: all 0.2s ease; outline: none;
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}

select option { background: var(--bg-card); color: var(--text); }
textarea { resize: vertical; min-height: 100px; }

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

#submit-btn { margin-top: 8px; border: none; cursor: pointer; font-size: 1rem; }
#submit-btn .btn-loader svg { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: 60px 20px; }

.success-icon {
    width: 64px; height: 64px; background: var(--gradient);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; color: white; margin: 0 auto 24px;
}

.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: white;
}

.cta-content .gradient-text {
    background: linear-gradient(135deg, #fecaca, #fed7aa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 80px 0 40px;
    background: #111827; color: #f9fafb;
    border-top: none;
}

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 60px;
}

.footer .nav-logo { color: #f9fafb; }
.footer .logo-accent { background: linear-gradient(135deg, #ef4444, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { color: #9ca3af; font-size: 0.9rem; line-height: 1.7; margin-top: 16px; }

.footer-links h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 20px; color: #f9fafb; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: #f9fafb; }

.footer-bottom {
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: space-between;
}

.footer-bottom p { color: #6b7280; font-size: 0.85rem; }

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 48px; height: 48px;
    background: var(--gradient); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; z-index: 100;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s ease; box-shadow: var(--shadow-lg);
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(220, 38, 38, 0.35); }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-content p a {
    color: #ef4444;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-content p a:hover {
    color: #f97316;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 22px;
    font-size: 0.85rem;
    border-radius: 50px;
}

.cookie-btn.btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: #d1d5db;
}

.cookie-btn.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #6b7280;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #f9fafb;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px; }

    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.8rem; }
    .hero-scroll { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }

    .platforms-strip { gap: 32px; }
    .platform-logo img { height: 50px; }

    .trusted-logo img { height: 52px; max-width: 150px; }
    .trusted-marquee-track { gap: 40px; }

    .review-card { flex: 0 0 320px; }
    .reviews-track { padding-left: calc(50% - 160px); padding-right: calc(50% - 160px); }

    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-info .section-title { text-align: center; }
    .contact-info { text-align: center; }
    .contact-item { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .process-step { flex-wrap: wrap; }
    .step-icon { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .cta-banner { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 48px; height: 1px; }

    .platforms-strip { gap: 20px; }
    .platform-logo img { height: 40px; }

    .review-card { flex: 0 0 290px; }
    .reviews-track { padding-left: calc(50% - 145px); padding-right: calc(50% - 145px); gap: 20px; }
    .review-phone { border-radius: 22px; padding: 8px; }
    .review-phone img { border-radius: 16px; }
}
