/* ==============================
   DESIGN SYSTEM (inherited v2)
   ============================== */
:root {
    --riparify-blue: #3b82f6;
    --riparify-blue-dark: #2563eb;
    --riparify-blue-light: #60a5fa;
    --riparify-green: #10b981;
    --riparify-green-dark: #059669;
    --riparify-amber: #f59e0b;
    --riparify-red: #ef4444;
    --riparify-dark: #0f172a;
    --riparify-dark-secondary: #1e293b;
    --riparify-gray-50: #f8fafc;
    --riparify-gray-100: #f1f5f9;
    --riparify-gray-200: #e2e8f0;
    --riparify-gray-300: #cbd5e1;
    --riparify-gray-400: #94a3b8;
    --riparify-gray-500: #64748b;
    --riparify-gray-600: #475569;
    --riparify-gray-700: #334155;
    --riparify-brand: #CA412C;
    --riparify-brand-dark: #a83424;
    --riparify-brand-light: #d96347;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-2xl: 0 50px 100px -20px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(202, 65, 44, 0.3);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    --transition-fast: 150ms;
    --transition: 300ms;
    --transition-slow: 500ms;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: var(--riparify-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

/* ==============================
   NAVBAR
   ============================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    transition: color var(--transition);
}

.navbar.scrolled .logo {
    color: var(--riparify-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--riparify-brand), var(--riparify-brand-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.nav-link:hover { color: white; }

.navbar.scrolled .nav-link { color: var(--riparify-gray-600); }
.navbar.scrolled .nav-link:hover { color: var(--riparify-brand); }

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition);
}

.nav-cta:hover { background: rgba(255, 255, 255, 0.25); }

.navbar.scrolled .nav-cta {
    background: linear-gradient(135deg, var(--riparify-brand), var(--riparify-brand-dark));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 14px rgba(202, 65, 44, 0.4);
}

.navbar.scrolled .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 65, 44, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: white;
    transition: all var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .hamburger span { background: var(--riparify-dark); }
.navbar.menu-open .hamburger span { background: var(--riparify-dark); }
.navbar.menu-open { background: white; box-shadow: var(--shadow-md); }

.logo-white { display: block; }
.logo-black { display: none; }
.navbar.scrolled .logo-white { display: none; }
.navbar.scrolled .logo-black { display: block; }
.navbar.menu-open .logo-white { display: none; }
.navbar.menu-open .logo-black { display: block; }

/* Hamburger → X quando menu aperto */
.hamburger span { transition: transform var(--transition-fast), opacity var(--transition-fast); transform-origin: center; }
.navbar.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.menu-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
   MOBILE MENU
   ============================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: white;
    z-index: 999;
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-2xl);
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: background var(--transition-fast);
}

.mobile-menu-close:hover { background: var(--riparify-gray-100); }

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--riparify-dark);
    border-radius: var(--radius);
    transition: background var(--transition-fast);
}

.mobile-menu-link:hover { background: var(--riparify-gray-50); }

.mobile-menu-cta {
    display: block;
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--riparify-brand), var(--riparify-brand-dark));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(202, 65, 44, 0.4);
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--riparify-brand), var(--riparify-brand-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(202, 65, 44, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 65, 44, 0.5);
}

.btn-white {
    background: white;
    color: var(--riparify-brand);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--riparify-brand);
    border: 2px solid var(--riparify-brand);
}

.btn-outline:hover {
    background: var(--riparify-brand);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading .btn-text { display: none; }
.btn-spinner { display: none; }
.btn-loading .btn-spinner { display: inline-block; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-spinner svg {
    animation: spin 0.8s linear infinite;
}

/* ==============================
   SECTION HELPERS
   ============================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--riparify-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--riparify-gray-500);
    line-height: 1.7;
    max-width: 650px;
}

/* ==============================
   HERO
   ============================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--riparify-dark);
    overflow: hidden;
    padding: 7rem 0 5rem;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(202, 65, 44, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(202, 65, 44, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.hero-glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(202, 65, 44, 0.12) 0%, transparent 65%);
    top: -150px;
    right: -100px;
    animation: glow-breathe 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 65%);
    bottom: -100px;
    left: -100px;
    animation: glow-breathe 10s ease-in-out infinite 2s;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 65%);
    top: 40%;
    left: 30%;
    animation: glow-breathe 12s ease-in-out infinite 4s;
}

@keyframes glow-breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { color: white; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: rgba(202, 65, 44, 0.12);
    border: 1px solid rgba(202, 65, 44, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--riparify-brand-light);
    margin-bottom: 2rem;
    animation: badge-glow 4s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(202, 65, 44, 0.1); }
    50% { box-shadow: 0 0 30px rgba(202, 65, 44, 0.25); }
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--riparify-brand-light);
    border-radius: 50%;
    animation: dot-pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.hero h1 .hero-highlight {
    background: linear-gradient(135deg, #f0a090 0%, var(--riparify-brand-light) 40%, var(--riparify-brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--riparify-gray-400);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 520px;
}

/* Hero form */
.hero-form { margin-bottom: 0.5rem; }

.hero-form-field {
    margin-bottom: 0.625rem;
    max-width: 480px;
}

.hero-form-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9375rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    color: white;
    outline: none;
    transition: all var(--transition);
}

.hero-form-field input::placeholder { color: var(--riparify-gray-400); }

.hero-form-field input:focus {
    border-color: var(--riparify-brand);
    background: rgba(255, 255, 255, 0.12);
}

.hero-form-row {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
}

.hero-form-row input[type="email"] {
    flex: 1;
    padding: 0.9375rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    color: white;
    outline: none;
    transition: all var(--transition);
}

.hero-form-row input[type="email"]::placeholder { color: var(--riparify-gray-400); }

.hero-form-row input[type="email"]:focus {
    border-color: var(--riparify-brand);
    background: rgba(255, 255, 255, 0.12);
}

.form-gdpr {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    max-width: 480px;
    margin: 0.875rem 0 0.25rem;
}

.form-gdpr input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    position: relative;
}

.form-gdpr input[type="checkbox"]:checked {
    background: var(--riparify-brand);
    border-color: var(--riparify-brand);
}

.form-gdpr input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.form-gdpr input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--riparify-brand-light);
    outline-offset: 2px;
}

.form-gdpr label {
    font-size: 0.8125rem;
    color: var(--riparify-gray-400);
    line-height: 1.4;
    cursor: pointer;
}

.form-gdpr label a {
    color: var(--riparify-brand-light);
    text-decoration: underline;
}

.form-message {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    max-width: 480px;
    margin-top: 0.75rem;
}

.form-message.visible { display: flex; }

.form-message.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.form-message.duplicate {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.form-message-text {
    font-weight: 600;
    font-size: 0.9375rem;
}

.form-message.success .form-message-text { color: var(--riparify-green); }
.form-message.error .form-message-text { color: var(--riparify-red); }
.form-message.duplicate .form-message-text { color: var(--riparify-amber); }

/* Checkmark animation */
.checkmark-circle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.checkmark-circle .circle {
    stroke: var(--riparify-green);
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    fill: none;
    animation: stroke-anim 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-circle .check {
    stroke: var(--riparify-green);
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    fill: none;
    animation: stroke-anim 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes stroke-anim {
    100% { stroke-dashoffset: 0; }
}

.hero-perks {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    margin-top: 1.25rem;
}

.hero-perk {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--riparify-gray-300);
}

.hero-perk-check {
    width: 16px;
    height: 16px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--riparify-green);
    font-size: 0.625rem;
    font-weight: 800;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--riparify-gray-400);
    margin-top: 0.25rem;
}

/* Hero mockup */
.hero-visual { position: relative; }

.hero-mockup {
    background: var(--riparify-dark-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl), 0 0 80px rgba(202, 65, 44, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    animation: mockup-float 7s ease-in-out infinite;
}

@keyframes mockup-float {
    0%, 100% { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(-12px); }
}

.mockup-chrome {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots { display: flex; gap: 6px; }

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: var(--riparify-red); }
.mockup-dots span:nth-child(2) { background: var(--riparify-amber); }
.mockup-dots span:nth-child(3) { background: var(--riparify-green); }

.mockup-title-bar {
    font-size: 0.6875rem;
    color: var(--riparify-gray-400);
    font-weight: 500;
}

.mockup-body { padding: 1rem; }

.mockup-periods {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
}

.mockup-period {
    padding: 0.3125rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--riparify-gray-400);
    background: rgba(255, 255, 255, 0.04);
}

.mockup-period.active {
    background: var(--riparify-brand);
    color: white;
}

.mockup-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.mockup-kpi {
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.mockup-kpi-label {
    font-size: 0.5rem;
    color: var(--riparify-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.mockup-kpi-row {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.mockup-kpi-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.mockup-kpi-trend {
    font-size: 0.5625rem;
    font-weight: 600;
}

.mockup-kpi-trend.up { color: var(--riparify-green); }
.mockup-kpi-trend.down { color: var(--riparify-red); }

.mockup-chart {
    height: 90px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.875rem;
}

.mockup-chart-label {
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    font-size: 0.5rem;
    color: var(--riparify-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mockup-chart svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
}

/* SVG line-draw animation for hero chart */
.chart-line-animated {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: chart-draw 2s ease-out 0.5s forwards;
}

.chart-line-animated-2 {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: chart-draw 2.2s ease-out 0.8s forwards;
}

@keyframes chart-draw {
    to { stroke-dashoffset: 0; }
}

.chart-area-animated {
    opacity: 0;
    animation: chart-area-fade 1s ease-out 1.5s forwards;
}

@keyframes chart-area-fade {
    to { opacity: 1; }
}

.mockup-orders {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.mockup-order {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}

.mockup-order-num {
    font-size: 0.6875rem;
    color: var(--riparify-brand-light);
    font-weight: 600;
    min-width: 65px;
}

.mockup-order-device {
    font-size: 0.6875rem;
    color: var(--riparify-gray-300);
    flex: 1;
}

.mockup-order-status {
    font-size: 0.5625rem;
    font-weight: 600;
    padding: 0.1875rem 0.4375rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.status-accepted { background: rgba(108, 117, 125, 0.25); color: #adb5bd; }
.status-repair { background: rgba(255, 193, 7, 0.2); color: var(--riparify-amber); }
.status-done { background: rgba(16, 185, 129, 0.2); color: var(--riparify-green); }
.status-delivered { background: rgba(202, 65, 44, 0.2); color: var(--riparify-brand-light); }

/* ==============================
   SOCIAL PROOF BAR (removed)
   ============================== */

/* ==============================
   PROBLEM SECTION
   ============================== */
.problem-section { padding: 6rem 0; }

.problem-header {
    text-align: center;
    margin-bottom: 4rem;
}

.problem-header .section-label {
    background: rgba(239, 68, 68, 0.1);
    color: var(--riparify-red);
}

.problem-header .section-subtitle { margin: 0 auto; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 2px solid var(--riparify-gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--riparify-red), var(--riparify-amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.problem-card:hover {
    border-color: var(--riparify-red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.problem-card:hover::before { transform: scaleX(1); }

.problem-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--riparify-dark);
}

.problem-card p {
    color: var(--riparify-gray-500);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.problem-quote {
    text-align: center;
    margin-top: 3.5rem;
    padding: 2.5rem;
    background: var(--riparify-gray-50);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--riparify-gray-300);
}

.problem-quote blockquote {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--riparify-dark);
    max-width: 650px;
    margin: 0 auto 0.75rem;
    line-height: 1.5;
    font-style: italic;
}

.problem-quote cite {
    color: var(--riparify-gray-500);
    font-size: 0.9375rem;
    font-style: normal;
}

/* ==============================
   SOLUTION PILLARS
   ============================== */
.solution-section {
    padding: 6rem 0;
    background: var(--riparify-gray-50);
}

.solution-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solution-header .section-label {
    background: rgba(16, 185, 129, 0.1);
    color: var(--riparify-green);
}

.solution-header .section-subtitle { margin: 0 auto; }

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    border: 2px solid var(--riparify-gray-200);
    transition: all var(--transition);
}

.pillar-card:hover {
    border-color: var(--riparify-brand);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(202, 65, 44, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--riparify-dark);
}

.pillar-card > p {
    color: var(--riparify-gray-500);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.pillar-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--riparify-gray-600);
    line-height: 1.5;
}

.pillar-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ==============================
   PREVIEW SECTION (Interactive Mockup)
   ============================== */
.preview-section {
    padding: 6rem 0;
    background: var(--riparify-dark);
    position: relative;
    overflow: hidden;
}

.preview-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(202, 65, 44, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(202, 65, 44, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.preview-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.preview-header .section-label {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.preview-header .section-title { color: white; }

.preview-header .section-subtitle {
    color: var(--riparify-gray-400);
    margin: 0 auto;
}

/* Tab bar */
.preview-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.preview-tab {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--riparify-gray-400);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
    cursor: pointer;
}

.preview-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.preview-tab.active {
    background: var(--riparify-brand);
    color: white;
    border-color: var(--riparify-brand);
    box-shadow: 0 4px 14px rgba(202, 65, 44, 0.4);
}

/* Tab panels container */
.preview-panels {
    position: relative;
    z-index: 1;
}

.preview-panel {
    display: none;
    animation: panel-fade-in 0.3s ease;
}

.preview-panel.active { display: block; }

@keyframes panel-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Full dashboard mockup */
.preview-dashboard {
    background: var(--riparify-dark-secondary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl), 0 0 100px rgba(202, 65, 44, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
}

/* Sidebar */
.preview-sidebar {
    width: 200px;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.25rem 0;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    color: white;
}

.preview-sidebar-logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--riparify-brand), var(--riparify-brand-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.preview-nav-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    margin: 0.125rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    color: var(--riparify-gray-400);
    font-weight: 500;
}

.preview-nav-item.active {
    background: rgba(202, 65, 44, 0.15);
    color: var(--riparify-brand-light);
}

.preview-nav-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.preview-nav-item.active .preview-nav-icon { opacity: 1; }

/* Main area */
.preview-main {
    flex: 1;
    padding: 1.25rem;
    min-width: 0;
}

/* Search bar */
.preview-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 0.5rem 0.875rem;
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
    color: var(--riparify-gray-400);
}

.preview-search-icon {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* Preview KPIs */
.preview-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.preview-kpi {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.875rem;
}

.preview-kpi-label {
    font-size: 0.5625rem;
    color: var(--riparify-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.preview-kpi-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
}

.preview-kpi-change {
    font-size: 0.5625rem;
    margin-top: 0.125rem;
}

.preview-kpi-change.positive { color: var(--riparify-green); }

/* Preview chart */
.preview-chart {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 1rem;
    height: 180px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.preview-chart-title {
    font-size: 0.6875rem;
    color: var(--riparify-gray-400);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.preview-chart svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
}

/* SVG line-draw for preview chart */
.preview-chart-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

.preview-panel.active .preview-chart-line {
    animation: chart-draw 2s ease-out 0.3s forwards;
}

.preview-chart-area {
    opacity: 0;
}

.preview-panel.active .preview-chart-area {
    animation: chart-area-fade 1s ease-out 1.5s forwards;
}

/* Preview table */
.preview-table {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.preview-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-table-title {
    font-size: 0.6875rem;
    color: var(--riparify-gray-400);
    font-weight: 600;
}

.preview-table-badge {
    font-size: 0.5625rem;
    padding: 0.1875rem 0.5rem;
    background: rgba(202, 65, 44, 0.15);
    color: var(--riparify-brand-light);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.preview-table-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 80px;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.6875rem;
}

.preview-table-row:last-child { border-bottom: none; }

.preview-table-num { color: var(--riparify-brand-light); font-weight: 600; }
.preview-table-device { color: var(--riparify-gray-300); }
.preview-table-client { color: var(--riparify-gray-400); }

.preview-table-status {
    font-size: 0.5625rem;
    font-weight: 600;
    padding: 0.1875rem 0.4375rem;
    border-radius: var(--radius-sm);
    text-align: center;
    text-transform: uppercase;
}

/* Tab 2: Comande list with filters */
.comande-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.comande-filter {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--riparify-gray-400);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comande-filter.active {
    background: rgba(202, 65, 44, 0.15);
    color: var(--riparify-brand-light);
    border-color: rgba(202, 65, 44, 0.3);
}

.comande-table {
    width: 100%;
}

.comande-table-row {
    display: grid;
    grid-template-columns: 80px 1.2fr 1fr 0.8fr 90px;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.6875rem;
}

.comande-table-row.header {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--riparify-gray-500);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comande-table-row:last-child { border-bottom: none; }

/* Tab 3: Client detail */
.client-detail {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.25rem;
}

.client-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--riparify-brand), var(--riparify-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.875rem;
}

.client-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.client-info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    color: var(--riparify-gray-400);
    margin-top: 0.5rem;
}

.client-info-label {
    color: var(--riparify-gray-500);
    min-width: 60px;
}

.client-btn {
    margin-top: 1rem;
    width: 100%;
    padding: 0.5rem;
    background: rgba(202, 65, 44, 0.15);
    color: var(--riparify-brand-light);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(202, 65, 44, 0.25);
}

.client-history-title {
    font-size: 0.6875rem;
    color: var(--riparify-gray-400);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.client-history-item {
    display: grid;
    grid-template-columns: 70px 1fr 80px;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: 0.375rem;
    font-size: 0.6875rem;
    align-items: center;
}

/* Tab 4: Firma digitale */
.firma-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.firma-pad {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.firma-pad-label {
    font-size: 0.75rem;
    color: var(--riparify-gray-500);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.firma-svg {
    width: 280px;
    height: 120px;
}

.firma-svg path {
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
}

.preview-panel.active .firma-svg path {
    animation: firma-draw 2s ease-out 0.5s forwards;
}

@keyframes firma-draw {
    to { stroke-dashoffset: 0; }
}

.firma-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.firma-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.firma-btn-accept {
    background: var(--riparify-green);
    color: white;
}

.firma-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--riparify-gray-300);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.firma-info {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.firma-info-title {
    font-size: 0.75rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

.firma-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.firma-info-label { color: var(--riparify-gray-500); }
.firma-info-value { color: var(--riparify-gray-300); font-weight: 500; }

.firma-status-box {
    margin-top: 1rem;
    padding: 0.625rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius);
    text-align: center;
}

.firma-status-box span {
    font-size: 0.6875rem;
    color: var(--riparify-green);
    font-weight: 600;
}

/* Preview callouts */
.preview-callouts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.preview-callout {
    text-align: center;
    color: var(--riparify-gray-400);
}

.preview-callout-icon {
    width: 48px;
    height: 48px;
    background: rgba(202, 65, 44, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.875rem;
    font-size: 1.25rem;
}

.preview-callout h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.preview-callout p { font-size: 0.8125rem; }

/* ==============================
   HOW IT WORKS
   ============================== */
.how-section { padding: 6rem 0; }

.how-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.how-header .section-label {
    background: rgba(202, 65, 44, 0.1);
    color: var(--riparify-brand);
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--riparify-brand), var(--riparify-green));
    z-index: 0;
}

.how-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.how-step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--riparify-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--riparify-brand);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
}

.how-step:hover .how-step-number {
    background: var(--riparify-brand);
    color: white;
    transform: scale(1.1);
}

.how-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--riparify-dark);
}

.how-step p {
    color: var(--riparify-gray-500);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.how-cta {
    text-align: center;
    margin-top: 3.5rem;
}

.how-cta p {
    color: var(--riparify-gray-500);
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

/* ==============================
   PRICING
   ============================== */
.pricing-section {
    padding: 6rem 0;
    background: var(--riparify-gray-50);
}

.pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.pricing-header .section-label {
    background: rgba(202, 65, 44, 0.1);
    color: var(--riparify-brand);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--riparify-gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover { box-shadow: var(--shadow-xl); }

.pricing-card.popular {
    border-color: var(--riparify-brand);
    transform: scale(1.04);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular:hover { transform: scale(1.06); }

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--riparify-brand), var(--riparify-brand-dark));
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--riparify-dark);
    margin-bottom: 0.5rem;
}

.pricing-description {
    font-size: 0.875rem;
    color: var(--riparify-gray-500);
    margin-bottom: 1.5rem;
}

.pricing-price { margin-bottom: 1.5rem; }

.pricing-price-original {
    font-size: 1rem;
    color: var(--riparify-gray-400);
    text-decoration: line-through;
}

.pricing-price-value {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--riparify-dark);
    line-height: 1;
}

.pricing-price-period {
    font-size: 1rem;
    color: var(--riparify-gray-500);
    font-weight: 400;
}

.pricing-discount {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--riparify-green);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.375rem;
}

.pricing-features { margin-bottom: 2rem; }

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--riparify-gray-100);
    font-size: 0.9375rem;
    color: var(--riparify-gray-600);
}

.pricing-feature:last-child { border-bottom: none; }

.pricing-feature-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pricing-cta { width: 100%; }

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--riparify-gray-500);
    font-size: 0.9375rem;
}

/* ==============================
   FAQ
   ============================== */
.faq-section { padding: 6rem 0; }

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.faq-header .section-label {
    background: rgba(202, 65, 44, 0.1);
    color: var(--riparify-brand);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: var(--riparify-gray-50);
    border: 1px solid var(--riparify-gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover { border-color: var(--riparify-gray-300); }

.faq-item.active {
    border-color: var(--riparify-brand);
    background: white;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--riparify-dark);
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--riparify-gray-400);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--riparify-brand);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--riparify-gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ==============================
   CTA FINAL
   ============================== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--riparify-brand) 0%, var(--riparify-brand-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content .cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-main-btn {
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
}

.cta-perks {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--riparify-dark);
    color: var(--riparify-gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand { max-width: 280px; }

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-column h4 {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--riparify-gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-link:hover { color: white; }

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

.footer-bottom p { font-size: 0.875rem; }

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
    font-size: 0.875rem;
    color: var(--riparify-gray-500);
    transition: color var(--transition-fast);
}

.footer-legal a:hover { color: white; }

/* ==============================
   ANIMATIONS
   ============================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grids */
.problem-card:nth-child(2), .pillar-card:nth-child(2) { transition-delay: 0.1s; }
.problem-card:nth-child(3), .pillar-card:nth-child(3) { transition-delay: 0.2s; }
.problem-card:nth-child(4) { transition-delay: 0.3s; }
.problem-card:nth-child(5) { transition-delay: 0.4s; }
.problem-card:nth-child(6) { transition-delay: 0.5s; }

.how-step:nth-child(2) { transition-delay: 0.15s; }
.how-step:nth-child(3) { transition-delay: 0.3s; }

.pricing-card:nth-child(2) { transition-delay: 0.1s; }
.pricing-card:nth-child(3) { transition-delay: 0.2s; }

/* KPI counter animation */
.kpi-counter { display: inline-block; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .hero-mockup {
        animation: none;
        transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    }


}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual { display: none; }
    .hero-description { margin: 0 auto 2rem; }
    .hero-form-row { max-width: 100%; justify-content: center; margin: 0 auto; }
    .form-gdpr { max-width: 100%; justify-content: center; margin: 0.75rem auto 0.25rem; }
    .hero-perks { justify-content: center; }
    .hero-stats { justify-content: center; }

    .problem-grid, .pillar-grid { grid-template-columns: repeat(2, 1fr); }

    .preview-sidebar { display: none; }
    .preview-kpis { grid-template-columns: repeat(2, 1fr); }

    .preview-table-row { grid-template-columns: 70px 1fr 80px; }
    .preview-table-client { display: none; }

    .comande-table-row { grid-template-columns: 80px 1fr 90px; }
    .comande-table-row > :nth-child(3),
    .comande-table-row > :nth-child(4) { display: none; }

    .client-detail { grid-template-columns: 1fr; }
    .firma-container { grid-template-columns: 1fr; }

    .pricing-grid { grid-template-columns: repeat(2, 1fr); }

    .pricing-card.popular {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 8rem 0 4rem; }
    .hero h1 { font-size: 2.25rem; }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    .hero-form-row { flex-direction: column; }

    .hero-form-row input[type="email"],
    .hero-form-row .btn { width: 100%; }

    .problem-grid, .pillar-grid, .pricing-grid { grid-template-columns: 1fr; }

    .pricing-card.popular {
        transform: scale(1);
        max-width: 100%;
    }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .how-steps::before { display: none; }

    .preview-tabs { flex-wrap: wrap; }
    .preview-kpis { grid-template-columns: repeat(2, 1fr); }

    .preview-callouts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand { max-width: 100%; margin: 0 auto; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

}

/* ==============================
   LOGO WALL
   ============================== */
.logo-wall {
    padding: 3.5rem 0;
    background: #fff;
    border-top: 1px solid var(--riparify-gray-200);
    border-bottom: 1px solid var(--riparify-gray-200);
    overflow: hidden;
}

.logo-wall-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--riparify-gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.logo-wall-track {
    width: 100%;
}

.logo-wall-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
}

.logo-wall-img {
    height: 34px;
    width: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
    user-select: none;
}

.logo-wall-img:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero h1 { font-size: 2rem; }
    .preview-tab { padding: 0.5rem 1rem; font-size: 0.75rem; }
    .firma-svg { width: 200px; height: 80px; }
}

/* ==============================
   COOKIE BANNER
   ============================== */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--riparify-dark-secondary);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem;
    z-index: 9999;
    font-size: 0.875rem;
}

.cookie-banner-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text p {
    color: var(--riparify-gray-400);
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-cookie-primary {
    background: var(--riparify-brand);
    color: white;
}

.btn-cookie-primary:hover {
    background: var(--riparify-brand-dark);
}

.btn-cookie-secondary {
    background: transparent;
    color: var(--riparify-gray-300);
    border: 1px solid var(--riparify-gray-600);
}

.btn-cookie-secondary:hover {
    background: var(--riparify-gray-800);
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    color: var(--riparify-gray-300);
}

.cookie-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--riparify-brand);
}

@media (max-width: 640px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-buttons {
        width: 100%;
    }
    .btn-cookie {
        flex: 1;
    }
}
