/* ===========================================
   REZVA - MODERN TECH THEME
   Rich Crimson + Glassmorphism
   =========================================== */

/* ===== CSS RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Premium Dark Mode Default */
    --bg: #09090B;
    --bg-soft: #111115;
    --bg-glass: rgba(9, 9, 11, 0.95);
    --bg-glass-strong: #09090B;

    --text: #F1F1F3;
    --text-muted: #A1A1AA;
    --text-light: #3F3F46;

    /* Primary - Dark Rich Crimson */
    --primary: #8B0019;
    --primary-dark: #8B0019;
    --primary-gradient: #8B0019;
    --primary-glow: rgba(139, 0, 25, 0.06);

    /* Accents */
    --accent: #F1F1F3;
    --accent-glow: rgba(255, 255, 255, 0.08);

    --success: #10b981;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.14);

    /* Glass Effect Basics */
    --glass-bg: rgba(9, 9, 11, 0.9);
    --glass-blur: 0px;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);

    /* Spacing */
    --container-width: 1280px;
    --section-padding: clamp(64px, 8vw, 120px);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-tech: 'JetBrains Mono', 'Fira Code', monospace;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
    --bg: #FAFAFA;
    --bg-soft: #FFFFFF;
    --bg-glass: rgba(250, 250, 250, 0.95);
    --bg-glass-strong: #FAFAFA;
    --text: #18181B;
    --text-muted: #52525B;
    --text-light: #71717A;
    --border: rgba(0, 0, 0, 0.12);
    --border-hover: rgba(0, 0, 0, 0.20);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.10);
    
    /* Primary - Rich Crimson for Light Mode */
    --primary: #8B0020;
    --primary-dark: #8B0020;
    --primary-gradient: #8B0020;
    --primary-glow: rgba(139, 0, 32, 0.06);
}

/* Page CTA */
.page-cta {
    padding: clamp(64px, 8vw, 120px) 0;
    text-align: center;
}

.page-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.page-cta p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(24px, 5vw, 80px);
    padding-right: clamp(24px, 5vw, 80px);
}

.glass-panel {
    background: var(--bg);
    border: var(--border);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    pointer-events: none;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    background: transparent;
    border-bottom: none;
    border-radius: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    pointer-events: all;
    transition: all 0.3s var(--ease-out);
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
}

/* Public page scale: keep nav, content, and footer aligned to the same container system. */
.header .container.header-inner,
.footer > .container,
section > .container,
main > .container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(24px, 5vw, 80px);
    padding-right: clamp(24px, 5vw, 80px);
}

.header.scrolled .header-inner {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.rezva-logo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.rezva-wordmark {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: inherit;
    color: #FFFFFF;
    letter-spacing: 0px;
}

.rezva-dot {
    width: 0.42em;
    height: 0.42em;
    border-radius: 50%;
    background-color: #8B0019;
    box-shadow: none;
    filter: none;
    flex-shrink: 0;
    margin-bottom: 0;
}

[data-theme="light"] .rezva-wordmark { color: #111111; }
[data-theme="light"] .rezva-dot { background-color: #8B0020; }

/* Logo sizing per context */
.header .rezva-logo { font-size: 18px; }
.footer .rezva-logo { font-size: 16px; }

.nav-links {
    display: flex;
    gap: clamp(16px, 2vw, 32px);
    align-items: center;
    margin-left: clamp(24px, 3vw, 48px);
    margin-right: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
}

.nav-actions #guestButtons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.nav-actions .btn-primary {
    overflow: hidden;
}

.nav-actions .btn-primary svg {
    display: block;
    flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-soft);
    color: var(--text);
}

/* Light mode: show sun (click to go dark), hide moon */
.theme-toggle .icon-sun {
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

/* Dark mode: show moon (click to go light), hide sun */
[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

/* Common Buttons */
.btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    transition: all 0.3s var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: none;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--bg-soft);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(139, 0, 25, 0.06);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Trust Badge with Social Proof */
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.trust-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.trust-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    margin: 0 1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: clamp(88px, 8vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
    /* Adjusted for zoomed header */
    overflow: hidden;
    zoom: 1.1;
}

/* Background — pure flat, no side glows */
.bg-gradient {
    display: none;
}

.bg-blur-orb {
    display: none;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: var(--primary);
    top: -30%;
    left: -15%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    bottom: -25%;
    right: -15%;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 6vw, 100px);
}

.hero-content {
    max-width: 520px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-sub {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
    /* Aligns with left-aligned text */
    align-items: center;
}

/* Make buttons look more consistent and pro */
.hero-btns .btn {
    min-width: 180px;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-btns .btn-primary {
    box-shadow: none;
}

.hero-btns .btn-primary:hover {
    box-shadow: none;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--bg-soft);
    border: 2px solid var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: -12px;
    box-shadow: var(--shadow-sm);
}

.avatar:first-child {
    margin-left: 0;
}

.hero-trust span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Hero Visual (Tech Diagram) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 0;
}

/* ===== HERO DIAGRAM ===== */

/* C1 — Wrapper */
.system-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2rem 1rem;
}

[data-theme="light"] .system-visual {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px;
}

/* C2 — Channel icon pill */
.diagram-icons {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 8px 16px;
}

.diagram-icons svg {
    width: 36px;
    height: 36px;
    display: block;
}

/* C3 — Top connector line (div with gradient) */
.diagram-line {
    width: 1.5px;
    height: 42px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.10) 100%
    );
}

[data-theme="light"] .diagram-line {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(0, 0, 0, 0.18) 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

/* C4 — Processor card */
.diagram-center-card {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 16px 20px;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

[data-theme="light"] .diagram-center-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.diagram-brand {
    font-size: 10px;
    color: #71717A;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.diagram-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.diagram-status-text {
    font-size: 14px;
    color: #F1F1F3;
    font-weight: 600;
}

[data-theme="light"] .diagram-status-text {
    color: #18181B;
}

.diagram-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B30022;
    animation: diagram-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes diagram-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50%       { opacity: 1.0; transform: scale(1.1); }
}

.diagram-order-line {
    font-size: 11px;
    color: #71717A;
    margin-top: 4px;
}

/* C5 — Y-split SVG connector */
.diagram-fork {
    display: block;
    overflow: visible;
}

.fork-stem,
.fork-branch {
    stroke: url(#fork-dark);
    fill: none;
}

.fork-dot {
    fill: rgba(255, 255, 255, 0.3);
    stroke: none;
}

[data-theme="light"] .fork-stem,
[data-theme="light"] .fork-branch {
    stroke: url(#fork-light);
}

[data-theme="light"] .fork-dot {
    fill: rgba(0, 0, 0, 0.2);
}

/* C6 — Output cards */
.diagram-outputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(8px, 1vw, 16px);
    width: 100%;
}

.diagram-output-card {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

[data-theme="light"] .diagram-output-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.diagram-output-card svg {
    width: 22px;
    height: 22px;
    display: block;
}

.diagram-output-card span {
    font-size: 12px;
    color: #71717A;
    text-align: center;
    margin-top: 6px;
    white-space: normal;
    word-break: break-word;
}

/* C7 — Responsive */
@media (max-width: 1023px) {
    .system-visual {
        max-width: 380px;
    }
    .diagram-center-card {
        max-width: 240px;
    }
}

@media (max-width: 639px) {
    .system-visual {
        max-width: 100%;
    }
    .diagram-center-card {
        max-width: 280px;
    }
    .diagram-icons svg {
        width: 28px;
        height: 28px;
    }
    .diagram-outputs {
        grid-template-columns: 1fr 1fr 1fr;
        overflow: hidden;
    }
}

/* Floating Stats - repositioned for vertical layout */
.system-visual .floating-stat {
    position: absolute;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    z-index: 2;
}

.system-visual .stat-1 {
    top: 40%;
    right: -10px;
}

.system-visual .stat-2 {
    top: 55%;
    left: -10px;
}

.system-visual .stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.system-visual .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 6px;
    background: currentColor;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* ===== LOGOS SECTION ===== */
.logos-section {
    padding: clamp(64px, 8vw, 120px) 0;
    background: var(--bg-soft);
    border-top: none;
    border-bottom: 1px solid var(--border);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, auto);
    justify-content: center;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.logo-item {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-item span {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.logo-item:hover span {
    color: inherit;
}

.logo-item svg {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item:hover svg {
    transform: scale(1.15) translateY(-2px);
}

/* Hover: Show official brand colors */

.logo-whatsapp:hover {
    color: #25D366;
}

.logo-instagram:hover {
    color: #E4405F;
}

.logo-facebook:hover {
    color: #1877F2;
}

.logo-telegram:hover {
    color: #0088CC;
}

.logo-bigcommerce:hover {
    color: #34313F;
}

.logo-gsheets:hover {
    color: #0F9D58;
}

/* Google Sheets: Toggle mono → multi-color on hover */
.logo-gsheets .sheets-color {
    display: none;
}

.logo-gsheets:hover .sheets-mono {
    display: none;
}

.logo-gsheets:hover .sheets-color {
    display: block !important;
}

.logo-slack:hover {
    color: #E01E5A;
}

.logo-gmail:hover {
    color: #EA4335;
}

/* Gmail: Toggle mono → multi-color on hover */
.logo-gmail .gmail-color {
    display: none;
}

.logo-gmail:hover .gmail-mono {
    display: none;
}

.logo-gmail:hover .gmail-color {
    display: block !important;
}

.logo-notion:hover {
    color: #787774;
}

.logo-excel:hover {
    color: #107C41;
}

/* Dark Mode */
[data-theme="dark"] .logo-item {
}

[data-theme="dark"] .logo-item svg {
}

/* Dark mode: Ensure brand colors still show on hover */

[data-theme="dark"] .logo-whatsapp:hover {
    color: #25D366;
}

[data-theme="dark"] .logo-instagram:hover {
    color: #E4405F;
}

[data-theme="dark"] .logo-facebook:hover {
    color: #1877F2;
}

[data-theme="dark"] .logo-telegram:hover {
    color: #0088CC;
}

[data-theme="dark"] .logo-bigcommerce:hover {
    color: #34313F;
}

[data-theme="dark"] .logo-gsheets:hover {
    color: #0F9D58;
}

[data-theme="dark"] .logo-slack:hover {
    color: #E01E5A;
}

[data-theme="dark"] .logo-gmail:hover {
    color: #EA4335;
}

[data-theme="dark"] .logo-notion:hover {
    color: #787774;
}

[data-theme="dark"] .logo-excel:hover {
    color: #107C41;
}

/* ===== SECTIONS GENERAL ===== */
section {
    position: relative;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717A;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== HEADER BUTTONS ===== */
.btn-header-dashboard {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    margin-right: 0.5rem;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="light"] .btn-header-dashboard {
    background: #F4F4F5;
    border-color: #D4D4D8;
    color: var(--text);
}

.btn-header-dashboard:hover {
    background: #222;
    border-color: #555;
}

[data-theme="light"] .btn-header-dashboard:hover {
    background: #E4E4E7;
    border-color: #A1A1AA;
}

.btn-header-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    font-family: inherit;
    height: 40px;
    transition: background 0.2s;
}

.btn-header-user:hover {
    background: var(--primary-dark);
}


/* ===== HOW IT WORKS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 32px);
    position: relative;
    z-index: 1;
}

/* ... existing code ... */

.step-img {
    width: 6rem;
    height: 6rem;
    aspect-ratio: 1/1;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.3);
}

/* Fine-tune icon sizes for visual balance - BIGGER */
/* Step 1: Sign Up (User Icon) */
.step-card:nth-child(2) .step-img {
    width: 6rem;
    height: 6rem;
}

/* Step 2: Connect (Laptop) */
.step-card:nth-child(3) .step-img {
    width: 8.5rem;
    height: 8.5rem;
}

/* Step 3: Trial (Rocket) */
.step-card:nth-child(4) .step-img {
    width: 8rem;
    height: 8rem;
}

/* Step 4: Subscribe (Play Button) */
.step-card:nth-child(5) .step-img {
    width: 6.5rem;
    height: 6.5rem;
}

.step-card:hover .step-img {
    transform: scale(1.1);
}

/* Neon Circuit Connector Styles */
/* Neon Circuit Connector Styles */
.steps-connector-overlay {
    position: absolute;
    top: 0.5rem;
    /* Moved upward */
    left: 12.5%;
    width: 75%;
    /* Connects center of 1 to center of 4 */
    height: 3px;
    z-index: 0;
    /* Behind step-number */
    pointer-events: none;
    transform: translateY(-50%);
}

/* Arrowhead removed as requested */
.steps-connector-overlay::after {
    display: none;
}

/* ... existing circuit styles ... */
.circuit-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* ... */

/* Mobile styles moved to media query at bottom */

.circuit-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.circuit-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    /* Relative to 100x100 viewBox, so 0.5 is huge? No wait. */
    /* If viewBox is 0 0 100 100, and container is 1200px wide. 1 unit = 12px.
       0.5 unit = 6px. bit thick.
       Let's try vector-effect: non-scaling-stroke to use px?
       Yes I put vector-effect="non-scaling-stroke" in HTML.
       So stroke-width: 2px works. */
    stroke-width: 3px;
    stroke-dasharray: 2 2;
    /* In vector markings? */
    /* If non-scaling-stroke is active, dasharray is in screen pixels? Usually yes. */
    stroke-width: 3px;
    /* Solid Line */
    stroke-linecap: round;
    opacity: 1;
    /* Full opacity to match arrow */
    filter: drop-shadow(0 0 5px var(--primary));
    animation: circuit-flow 3s linear infinite;
    /* Marker removed, using CSS ::after */
}

.circuit-path.horizontal {
    display: block;
}

.circuit-path.vertical {
    display: none;
}

@keyframes circuit-flow {
    to {
        stroke-dashoffset: -1000;
    }
}

.step-card {
    flex: 1;
    background: transparent;
    /* Open Box: No background */
    padding: 3rem 1rem 1rem;
    /* Adjust padding for top number */
    border-radius: var(--radius-lg);
    border: none;
    /* Open Box: No border */
    position: relative;
    transition: all 0.3s;
    z-index: 2;
    text-align: center;
    /* Center content */
}

.step-card:hover {
    transform: translateY(-5px);
    /* Removed border-color change since no border */
}

.step-number {
    font-family: var(--font-main);
    position: absolute;
    top: 0;
    /* Absolute top */
    left: 50%;
    transform: translateX(-50%);
    /* Centered */
    background: var(--bg);
    /* Mask the line */
    padding: 0 10px;
    /* Add padding to mask */
    color: #B30022;
    font-size: 2rem;
    /* Larger single digit */
    font-weight: 800;
    line-height: 1;
    z-index: 1;
    /* Above line */
    text-shadow: 0 0 10px var(--primary-glow);
    display: block;
    /* Removed flex */
}

.step-number::after {
    /* Remove the dot */
    display: none;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    /* Space from number */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 12rem;
}

.step-img {
    width: 6rem;
    height: 6rem;
    aspect-ratio: 1/1;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.3);
    /* Make icons lighter */
}

.step-card:hover .step-img {
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.start-paths-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.start-path-card,
.shared-step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    text-align: left;
}

.start-path-card-recommended {
    border-color: rgba(139, 0, 32, 0.32);
}

.start-path-label,
.shared-step-number {
    display: block;
    margin-bottom: 14px;
    color: #8B0020;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.start-path-card h3,
.shared-step-card h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.start-path-card p,
.shared-step-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.start-path-card .start-path-support {
    margin-top: 12px;
    color: var(--text);
    font-weight: 600;
}

.start-path-cta {
    display: inline-block;
    margin-top: 24px;
    color: #8B0020;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.start-path-cta:hover {
    text-decoration: underline;
}

.start-path-cta-secondary {
    color: var(--text);
}

.start-path-bridge {
    margin: clamp(28px, 4vw, 40px) auto;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.shared-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

[data-theme="light"] .start-path-card,
[data-theme="light"] .shared-step-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .start-path-card-recommended {
    border-color: rgba(139, 0, 32, 0.28);
}

@media (max-width: 768px) {
    .start-paths-grid,
    .shared-steps-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
    }
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: center;
    /* Center vertically to allow featured to pop */
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Glass highlight effect on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: 0.6s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 50px var(--primary-glow);
    transform: translateY(-10px);
}

.service-card.featured {
    padding: 3.5rem 2.5rem;
    background: var(--bg);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 2;
    transform: scale(1.05);
    /* Make it bigger */
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.service-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
}

.service-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    color: var(--text);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.custom-card {
    border-style: dashed;
    background: var(--bg-soft);
}

.custom-card .service-icon {
    filter: grayscale(100%);
    opacity: 0.7;
}

.custom-card:hover {
    border-style: solid;
    background: var(--bg);
}

.custom-card:hover .service-icon {
    filter: none;
    opacity: 1;
}

/* ===== FEATURES SECTION (6 Features) ===== */
.features-section {
    padding: 6rem 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-top: 3rem;
}

.feature-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: none;
}

.feature-card.trust-feature {
    background: linear-gradient(135deg, rgba(179, 0, 34, 0.03), rgba(179, 0, 34, 0.01));
    border-color: rgba(179, 0, 34, 0.2);
}

.feature-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.35rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    white-space: nowrap;
}

.feature-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg,
.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

[data-theme="dark"] .feature-card {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .feature-card.trust-feature {
    background: rgba(139, 0, 25, 0.08);
}

/* Make icons glow and brighter in dark mode for visibility */
[data-theme="dark"] .feature-icon img {
    filter: brightness(1.5) drop-shadow(0 0 5px rgba(139, 0, 25, 0.5));
}

/* Fix for Zero Errors icon to match others (tint red) */
.feature-icon .icon-colorize {
    filter: brightness(0.5) sepia(1) saturate(5) hue-rotate(-45deg);
}

[data-theme="dark"] .feature-icon .icon-colorize {
    filter: brightness(0.6) sepia(1) saturate(6) hue-rotate(-45deg) drop-shadow(0 0 10px rgba(139, 0, 25, 0.6));
}

/* Features Grid Responsive */
@media (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-video {
    height: 240px;
    /* Increased Height */
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Make placeholder look like a sleek player */
.video-placeholder {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.8;
}

.video-placeholder:hover {
    opacity: 1;
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding-bottom: clamp(64px, 8vw, 120px);
}

.cta-card {
    background: #1E1E22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.5rem;
    padding: clamp(3rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: end;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

[data-theme="light"] .cta-card {
    background: #111115;
}

.cta-card::after {
    display: none;
}

.cta-content {
    max-width: 620px;
    z-index: 2;
}

.cta-eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cta-content h2 {
    font-size: clamp(2.4rem, 5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: #F1F1F3;
}

.cta-content p {
    max-width: 560px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
}

.cta-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 0;
    align-self: center;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 48px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.cta-feature svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--primary);
    stroke: currentColor;
}

.cta-buttons .btn-accent {
    background: var(--primary);
    color: white;
    box-shadow: none;
}

.cta-buttons .btn-accent:hover {
    background: var(--primary-dark);
}

.cta-buttons .btn-ghost {
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* CTA Form Styles */
.cta-form-wrapper {
    flex: 1;
    max-width: 400px;
    z-index: 2;
}

.cta-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-main);
    color: #1a1a1a;
    transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(179, 0, 34, 0.2);
}

.cta-form .btn-accent {
    background: var(--primary);
    color: white;
    box-shadow: none;
    margin-top: 0.5rem;
}

.cta-form .btn-accent:hover {
    background: var(--primary-dark);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-soft);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
    :root {
        --container-width: 90%;
        --section-padding: 5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        flex-direction: column;
    }

    /* Mobile: Switch to vertical circuit line */
    .circuit-path.horizontal {
        display: none;
    }

    .circuit-path.vertical {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-vs {
        margin: 2rem auto;
    }

    .cta-card {
        padding: 3rem;
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .cta-features {
        justify-content: center;
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-main {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 3rem;
    }
}

@media (max-width: 639px) {
    .nav-links {
        display: none;
    }

    /* Mobile menu simplified */
    .mobile-menu-btn {
        display: flex;
    }

    /* Assume this exists in HTML */
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== NEW HERO DEMO ===== */
.hero-demo {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
}

.demo-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.demo-before,
.demo-after {
    flex: 1;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
}

.demo-before {
    opacity: 0.7;
}

.demo-after {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.demo-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.demo-after .demo-label {
    color: var(--success);
}

.chaos-item,
.flow-item {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.chaos-item:last-child,
.flow-item:last-child {
    border-bottom: none;
}

.flow-item.success {
    color: var(--success);
}

.demo-arrow {
    color: var(--primary);
    flex-shrink: 0;
}

.demo-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.demo-stat {
    text-align: center;
}

.demo-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.demo-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== LOGO ITEMS (styles consolidated in LOGOS SECTION above) ===== */

/* ===== TESTIMONIALS ===== */
/* ===== WHY AI AUTOMATION (Comparison Table) ===== */
.why-ai-section {
    padding: var(--section-padding) 0;
    background: var(--bg-soft);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.comparison-header .comparison-col {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-header .traditional {
    color: var(--text-muted);
    text-align: center;
}

.comparison-header .ai-powered {
    color: var(--primary);
    text-align: center;
    background: rgba(179, 0, 34, 0.05);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: var(--bg-soft);
}

.comparison-label {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
}

.comparison-value {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.95rem;
}

.comparison-value .icon {
    font-size: 1.2rem;
}

.comparison-value.negative {
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.02);
}

.comparison-value.positive {
    color: var(--primary);
    background: rgba(179, 0, 34, 0.03);
    font-weight: 500;
}

.why-ai-cta {
    text-align: center;
}

.why-ai-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 639px) {

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header .comparison-col:first-child {
        display: none;
    }

    .comparison-header .comparison-col {
        text-align: left;
    }

    .comparison-label {
        background: var(--bg-soft);
        font-size: 0.85rem;
        padding: 1rem 1.5rem;
    }

    .comparison-value {
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }

    .comparison-value.negative::before {
        content: 'Traditional: ';
        opacity: 0.5;
        font-size: 0.8rem;
    }

    .comparison-value.positive::before {
        content: 'AI: ';
        opacity: 0.5;
        font-size: 0.8rem;
    }
}

/* ===== FAQ ===== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-soft);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    font-family: var(--font-main);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Responsive Testimonials & FAQ */
@media (max-width: 1023px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .demo-comparison {
        flex-direction: column;
    }

    .demo-arrow {
        transform: rotate(90deg);
    }
}

/* Force Logo Colors & Styles */
.logos-section {
    padding: 0 0 1.5rem 0;
    border-top: none;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.logos-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
}

/* logo-item colors consolidated in LOGOS SECTION above */

/* =========================================
   MODERN COMPARISON GRID (Redesigned)
   ========================================= */
.comparison-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 3rem auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.5fr;
    padding: 1.5rem 2rem;
    background: var(--surface-hover);
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.comp-title-legacy {
    grid-column: 2;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comp-title-ai {
    grid-column: 3;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-badge {
    background: rgba(179, 0, 34, 0.1);
    color: var(--primary);
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
    border: 1px solid rgba(179, 0, 34, 0.2);
    box-shadow: 0 0 10px rgba(179, 0, 34, 0.1);
}

.comp-row {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.5fr;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    transition: background 0.2s ease;
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-row:hover {
    background: rgba(var(--text-rgb), 0.02);
}

.comp-metric {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.comp-val-legacy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.8;
}

.comp-val-ai {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    /* Default text color, icon is red */
    font-weight: 600;
    font-size: 0.95rem;
}

.icon-legacy {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    opacity: 0.7;
}

.icon-ai {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    filter: drop-shadow(0 0 5px rgba(179, 0, 34, 0.4));
}

/* Highlight Row (Cost) */
.highlight-row {
    background: rgba(179, 0, 34, 0.03);
}

.highlight-row .comp-val-ai {
    color: var(--primary);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .comparison-header {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .comp-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .highlight-row {
    background: rgba(179, 0, 34, 0.05);
    /* Glowy red bg */
}

/* Mobile Responsive */
@media (max-width: 639px) {
    .comparison-header {
        display: none;
        /* Hide header on mobile, rely on row layout */
    }

    .comp-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem;
        align-items: flex-start;
    }

    .comp-metric {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: var(--primary);
    }

    .comp-val-legacy,
    .comp-val-ai {
        font-size: 0.95rem;
    }

    .comp-val-legacy::before {
        content: "Traditional: ";
        font-weight: 600;
        margin-right: 4px;
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .comp-val-ai::before {
        content: "REZVA: ";
        font-weight: 600;
        margin-right: 4px;
        color: var(--primary);
        font-size: 0.8rem;
        text-transform: uppercase;
    }
}

/* Mobile Media Query Updates */
@media (max-width: 1023px) {

    /* Mobile: Switch to vertical circuit line */
    .steps-connector-overlay {
        width: 4rem;
        height: 100%;
        left: 0;
        top: 0;
        transform: none;
        /* Reset desktop centering transform */
    }

    /* Adjust arrow for vertical line */
    .steps-connector-overlay::after {
        right: auto;
        top: auto;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) rotate(90deg);
    }

    .circuit-path.horizontal {
        display: none;
    }

    .circuit-path.vertical {
        display: block;
    }
}

/* Footer Connect Section Highlight Animation */
.highlight-pulse {
    animation: highlightPulse 2s ease-out;
    position: relative;
}

.highlight-pulse::before {
    content: '';
    position: absolute;
    inset: -0.5rem;
    background: rgba(179, 0, 34, 0.15);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    animation: highlightFade 2s ease-out forwards;
    pointer-events: none;
}

@keyframes highlightPulse {

    0%,
    100% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.02);
    }

    20% {
        transform: scale(1);
    }
}

@keyframes highlightFade {
    0% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Footer Legal Links - Paper White, No Borders */
.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    border: none;
    background: none;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Package Icons - Larger, 1:1 Aspect Ratio, Rizto Red Color */
.package-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.package-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    aspect-ratio: 1/1;
    /* Rizto red color filter */
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(5000%) hue-rotate(345deg) brightness(0.9);
    opacity: 0.9;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Social and E-Commerce icons - lighter/brighter red */
.package-icon img[alt="Social"],
.package-icon img[alt="E-Commerce"] {
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(4000%) hue-rotate(345deg) brightness(1.3);
    opacity: 1;
}

.package-icon img:hover {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(5000%) hue-rotate(345deg) brightness(1.1);
}

.package-icon img[alt="Social"]:hover,
.package-icon img[alt="E-Commerce"]:hover {
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(4000%) hue-rotate(345deg) brightness(1.5);
}

/* Value Icons - Centered above text, 1:1 Aspect Ratio, Rizto Red Color */
.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    margin-bottom: 1rem;
}

.value-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    aspect-ratio: 1/1;
    /* Rizto red color filter */
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(5000%) hue-rotate(345deg) brightness(0.9);
    opacity: 0.9;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.value-icon img:hover {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(12%) sepia(95%) saturate(5000%) hue-rotate(345deg) brightness(1.1);
}

/* Center value card content */
.value-card {
    text-align: center;
}

/* Homepage Package Cards */
.home-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.home-package-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-package-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(179, 0, 34, 0.15);
}

.home-package-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(179, 0, 34, 0.06), transparent);
}

.home-package-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.home-package-icon img {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(4000%) hue-rotate(345deg) brightness(1.2);
}

.home-package-info {
    flex: 1;
}

.home-package-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem 0;
}

.home-package-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
}

.home-package-systems {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(179, 0, 34, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.home-package-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.home-package-price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 1023px) {
    .home-packages-grid {
        grid-template-columns: 1fr;
    }
}

/* Mini Promo Section */
.mini-promo-section {
    padding: 4rem 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.promo-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.promo-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(179, 0, 34, 0.12);
}

.promo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(179, 0, 34, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.promo-content {
    flex: 1;
}

.promo-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem 0;
}

.promo-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem 0;
    line-height: 1.6;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.promo-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.promo-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.promo-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 639px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SEE DEMOS SECTION ===== */
.see-our-work-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(179, 0, 34, 0.03) 100%);
}

.work-demos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.demo-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}


.demo-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(179, 0, 34, 0.15);
}

.demo-video {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(179, 0, 34, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.demo-video:hover .play-btn {
    transform: scale(1.1);
    background: var(--primary);
}

.demo-video .play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(179, 0, 34, 0.4);
    color: white;
}

.demo-video .play-btn svg {
    width: 32px;
    height: 32px;
}

.demo-content {
    padding: 1.5rem;
}

.demo-tag {
    display: inline-block;
    background: rgba(179, 0, 34, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.demo-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.demo-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.demo-link:hover {
    gap: 0.75rem;
}

.demo-link svg {
    transition: transform 0.2s ease;
}

.demo-link:hover svg {
    transform: translateX(4px);
}

/* Homepage Services Section Packages Grid */
.packages-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.package-card-home {
    position: relative;
}

.package-card-home .service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-card-home:not(.featured) .service-badge {
    background: rgba(179, 0, 34, 0.1);
    color: var(--primary);
}

@media (max-width: 1023px) {
    .work-demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid-home {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .work-demos-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== AUTH PAGES ===== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.auth-container {
    width: 100%;
    max-width: 1000px;
    height: 600px;
    display: flex;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-glass-strong);
    border: 1px solid var(--border);
}

/* Left Side: Visual */
.auth-visual {
    flex: 1;
    background: var(--bg-soft);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: none;
}

.auth-brand .logo {
    font-size: 1.5rem;
}

.auth-visual-content h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.auth-visual-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 300px;
}

.auth-features {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}

.auth-features li svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.auth-visual-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Right Side: Form */
.auth-form-side {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    /* justify-content: center; REMOVED to prevent clipping on overflow */
    background: var(--bg);
    overflow-y: auto;
}

/* Wrapper for safe vertical centering */
.auth-content-wrapper {
    margin: auto 0;
    width: 100%;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.highlight-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.highlight-link:hover {
    color: var(--primary-dark);
}

/* Form Elements */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: var(--primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--bg);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.2s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    width: 18px;
    height: 18px;
    color: var(--text-light);
    pointer-events: none;
    transition: color 0.2s;
}

.input-wrapper input:focus+.input-icon {
    color: var(--primary);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider span {
    padding: 0 0.75rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text);
}

.terms-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.terms-note a {
    color: var(--text);
    text-decoration: underline;
}

/* Responsive Auth */
@media (max-width: 1023px) {
    .auth-container {
        height: auto;
        flex-direction: column;
        max-width: 500px;
    }

    .auth-visual {
        padding: 2rem;
        min-height: 200px;
    }

    .auth-visual-content h2 {
        font-size: 2rem;
    }

    .auth-visual-footer {
        display: none;
    }

    .auth-form-side {
        padding: 2rem;
    }
}

/* ===== SCROLLBAR STYLING ===== */
/* Global Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg);
    /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Auth Form Specific Scrollbar - Thinner & Cleaner */
.auth-form-side::-webkit-scrollbar {
    width: 6px;
}

.auth-form-side::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
    /* padding top/bottom */
}

.auth-form-side::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: var(--radius-full);
    border: none;
}

.auth-form-side::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.auth-form-side {
    scrollbar-color: var(--border-hover) transparent;
}

/* Service Icons Dark Mode Fix */
[data-theme="dark"] .service-icon img {
    filter: brightness(1.3) contrast(1.1);
    transition: filter 0.3s ease;
}

[data-theme="dark"] .service-icon img:hover {
    filter: brightness(1.5) contrast(1.2);
}

/* ===== DROPDOWN NAVIGATION ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropbtn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.2s;
}

.nav-dropbtn svg {
    transition: transform 0.25s ease;
}

@media (min-width: 1024px) and (hover: hover) {
    .nav-dropbtn:hover,
    .nav-dropdown:hover .nav-dropbtn {
        color: var(--primary);
    }
    .nav-dropdown:hover .nav-dropbtn svg {
        transform: rotate(180deg);
    }
}

/* Open dropdown states for touch devices and mobile */
.nav-dropdown.open .nav-drop-content {
    display: block !important;
}

.nav-dropdown.open .nav-dropbtn {
    color: var(--primary);
}

.nav-dropdown.open .nav-dropbtn svg {
    transform: rotate(180deg);
}

.nav-drop-content {
    display: none;
    position: absolute;
    background-color: #111115;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
}

/* Invisible bridge to prevent dropdown from closing */
.nav-drop-content::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: transparent;
}

.nav-drop-content a {
    color: var(--text);
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.nav-drop-content a:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--primary);
}

.nav-drop-group-label {
    display: block;
    padding: 0.6rem 0.75rem 0.2rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717A;
    pointer-events: none;
}

@media (min-width: 1024px) and (hover: hover) {
    .nav-dropdown:hover .nav-drop-content {
        display: block;
        animation: fadeIn 0.2s ease-out;
    }
}

[data-theme="light"] .nav-drop-content {
    background-color: #FFFFFF;
    border-color: var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

[data-theme="light"] .nav-drop-content a {
    color: var(--text);
}

[data-theme="light"] .nav-drop-content a:hover {
    background-color: rgba(0,0,0,0.04);
}


/* ===== FOOTER ALIGNMENT FIX ===== */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    /* Remove default margin to align perfectly */
}

/* ===== FOOTER LINKS LIST DESIGN ===== */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: flex-start;
}

.footer-brand {
    flex: 0 0 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    /* Use auto to fit content */
    gap: 4rem;
    /* Larger gap between columns */
    width: auto;
    /* Don't stretch */
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Reduced gap to bring links up */
}

/* Brand Section Styles */
.footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 1rem;
    line-height: 1;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-brand .brand-contact {
    margin-top: 0.5rem;
    /* Reduced from 2rem to remove double line break look */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    /* Make title white as per reference image */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1;
    /* Align with logo if possible, or adjust logo margin */
    /* Ensure columns start at the same visual height */
}

/* "Buttons with no background" => Clean Text List */
.footer-links-box {
    border: none;
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-box a {
    color: var(--text-muted);
    /* Grey color */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-main);
    transition: all 0.2s ease;
    display: block;
    margin-bottom: 0;
}

.footer-links-box a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
    .footer-main {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-brand {
        flex: auto;
        width: 100%;
        text-align: center;
        /* Optional: Center brand on mobile */
    }

    .footer-links {
        gap: 1.5rem;
    }
}

@media (max-width: 639px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   HOME PACKAGES REFRESH STYLES
   =========================================== */

/* Packages Section Container */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1240px;
    margin: 0 auto;
    align-items: center;
    /* Center vertically if heights differ */
}

/* Package Card */
.package-card {
    background: transparent;
    border: 1px solid transparent;
    /* No border by default */
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease-out;
    position: relative;
    width: 100%;
}

.package-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.package-card.featured {
    border: 1px solid var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
    z-index: 10;
    /* transform: scale(1.02); removed scale to fit grid better, or keep if preferred */
}

/* Package Header */
.package-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.package-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-icon img {
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

.package-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
}

/* Badges */
.package-badge {
    background: transparent;
    color: #ff3b5c;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.package-badge[data-badge="available"] {
    background: var(--primary);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.package-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.package-tagline {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.package-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    text-align: right;
}

.package-pricing .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1px;
}

.package-pricing .period {
    font-size: 0.85rem;
    color: #666;
}

/* Package Content (Expanded) */
.package-content {
    /* Initially visible for Home Page Featured Card? Or keep accordion? 
       User said "center the commerce", implies it's open. 
       We'll style it as open by default for Home if needed, or use .expanded class */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 2rem;
    opacity: 0;
}

.package-card.expanded .package-content {
    max-height: 2000px;
    /* Large enough */
    padding: 0 2rem 2rem;
    opacity: 1;
}

/* Systems Grid inside Package */
.package-systems {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-top: 1px solid #111;
    margin-top: 0.5rem;
}

.system-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.system-check {
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 2px;
}

.system-check svg {
    width: 12px;
    height: 12px;
}

.system-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #eee;
    margin-bottom: 0.2rem;
}

.system-info p {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

.system-demo-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #aaa;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
    text-decoration: none;
    margin-top: 4px;
}

.system-demo-btn:hover {
    color: var(--primary);
}

/* Package Extras & Value */
.package-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid #111;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.package-value {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.value-label {
    font-size: 0.85rem;
    color: #666;
}

.value-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}

.value-savings {
    padding: 0.2rem 0.6rem;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0;
    padding: 0.85rem 1.5rem;
    background: var(--primary);
    border: 1px solid transparent;
    color: white;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.package-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(179, 0, 34, 0.4);
}

.individual-systems-link {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.6rem;
    border-radius: 9999px;
    font-weight: 500;
}

.individual-systems-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.individual-systems-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Coming Soon Section */
.coming-soon-divider {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 3rem 0 2rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 0, 34, 0.3), transparent);
}

.divider-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #71717A;
    white-space: nowrap;
}

.coming-soon-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.coming-soon-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.coming-soon-card:hover {
    background: rgba(179, 0, 34, 0.03);
    transform: translateY(-2px);
}

.coming-soon-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(1.5) saturate(0.6);
}

.coming-soon-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.coming-soon-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #71717A;
    margin-bottom: 0.5rem;
}

.coming-soon-info h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 8px;
}

.coming-soon-info p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

.notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    font-family: inherit;
}

.notify-btn:hover {
    background: #a80024;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(179, 0, 34, 0.3);
}

/* Responsive Package Styles */
@media (max-width: 1023px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 2rem;
    }
}

@media (max-width: 1023px) {
    .package-header {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        row-gap: 0.5rem;
        padding: 1.25rem;
    }

    .package-pricing {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        text-align: right;
        margin-right: 0;
    }

    .coming-soon-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .coming-soon-card {
        flex-direction: row;
        text-align: left;
        padding: 1.25rem;
    }

    .coming-soon-info {
        align-items: flex-start;
        flex: 1;
    }

    .notify-btn {
        margin-top: 0;
        align-self: center;
    }
}

@media (max-width: 639px) {
    .coming-soon-card {
        flex-direction: column;
        text-align: center;
    }

    .coming-soon-info {
        align-items: center;
    }
}

/* ===========================================
   HOME DEMOS REFRESH STYLES
   =========================================== */

/* Compact System Cards Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.system-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.system-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(179, 0, 34, 0.15);
}

.system-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.system-card-tag {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717A;
    background: rgba(179, 0, 34, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.system-card h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--text);
}

.system-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.system-card-play {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.system-card-play:hover {
    background: #a60024;
    transform: scale(1.02);
}

.system-card-play svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 639px) {
    .systems-grid {
        grid-template-columns: 1fr;
    }
}

.case-study-tag {
    display: inline-block;
    background: rgba(179, 0, 34, 0.15);
    color: #71717A;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

/* ===========================================
   PREMIUM PACKAGES STYLES (New Layout)
   =========================================== */

/* Grid Layout */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    /* Add top margin for badge */
    align-items: center;
}

/* Base Card Reset */
.package-card {
    background: #000;
    border: 1px solid #222;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
    /* CRITICAL: Allow badge to pop out */
    box-shadow: none;
}

/* Side Cards (Operations & Finance) */
.package-card.side-card {
    opacity: 0.95;
    /* Increased opacity for better visibility */
    transform: scale(0.95);
    border: 1px solid #333;
}

.package-card.side-card .package-icon-clean img {
    width: 40px;
    height: 40px;
    filter: brightness(1.1) saturate(1.3) drop-shadow(0 0 8px rgba(179, 0, 34, 0.6));
    /* Glow + Color Boost */
}

/* Center Card (Commerce) */
.package-card.center-card {
    border: 1px solid var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
    background: linear-gradient(180deg, rgba(179, 0, 34, 0.06) 0%, transparent 40%), var(--bg);
    position: relative;
    z-index: 10;
    padding: 3rem 2rem;
    /* Reduced from 4rem 3rem */
    transform: scale(1.05);
    /* Slight scale up */
}

/* Available Badge - Red Pill */
.available-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #B30022;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(179, 0, 34, 0.6);
    z-index: 20;
    white-space: nowrap;
}

/* Content Styling */
.package-header-clean {
    text-align: left;
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
    width: 100%;
}

.package-icon-clean {
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
}

.package-icon-clean img {
    filter: brightness(1.1) saturate(1.3) drop-shadow(0 0 8px rgba(179, 0, 34, 0.6));
    /* Red Glow for visibility & color */
}

.center-card .package-icon-clean img {
    filter: none;
    transform: scale(1.1);
}

/* Typography */
.package-header-clean h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.center-card .package-header-clean h3 {
    font-size: 1.5rem;
    /* Reduced from 2rem */
    margin-bottom: 0.25rem;
}

.package-header-clean p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Feature List (Checkmarks) */
.package-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.package-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eee;
    font-weight: 500;
    margin-bottom: 0.75rem;
    /* Tighter list */
    font-size: 0.95rem;
}

.check-icon {
    color: #00cc66;
    font-size: 1rem;
    line-height: 1;
}

/* Status Labels for Side Cards */
.status-label {
    display: inline-block;
    color: #B30022;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Footer & Buttons */
.package-footer-clean {
    margin-top: auto;
    width: 100%;
}

.price-block {
    margin-bottom: 1rem;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-block .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-block .amount {
    font-size: 2.5rem;
    /* Reduced from 3.5rem */
    font-weight: 800;
    line-height: 1;
}

.price-block .period {
    color: var(--text-muted);
    font-size: 1rem;
    margin-left: 5px;
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.center-card .btn-primary {
    background: var(--primary);
    border: none;
    transition: all 0.3s ease;
}

.center-card .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: none;
}

.btn.disabled {
    background: transparent;
    border: 1px solid #333;
    color: #555;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1023px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        max-width: 500px;
    }

    .package-card.side-card {
        transform: scale(1);
        opacity: 1;
    }

    .package-card.center-card {
        transform: scale(1.05);
    }
}

/* Feature Icons Colorization */
.feature-card .feature-icon img,
[dir="rtl"] .feature-card .feature-icon img,
.icon-colorize {
    /* Base: Perfect #6E0019 for Light Mode */
    filter: brightness(0) saturate(100%) invert(8%) sepia(87%) saturate(5838%) hue-rotate(341deg) brightness(85%) contrast(117%);
    opacity: 1 !important;
    width: 100%;
    height: auto;
}

/* DARK MODE OVERRIDE: Boost brightness & Glow */
[data-theme="dark"] .feature-card .feature-icon img,
[data-theme="dark"] [dir="rtl"] .feature-card .feature-icon img,
[data-theme="dark"] .icon-colorize {
    /* Slightly toned down from previous max brightness */
    filter: brightness(0) saturate(100%) invert(11%) sepia(87%) saturate(5838%) hue-rotate(341deg) brightness(130%) contrast(110%) drop-shadow(0 0 6px rgba(139, 0, 25, 0.6)) !important;
}

/* ===== SECTION LABEL (small caps above sections) ===== */
.section-label-sm {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-align: center;
    display: block;
    margin-bottom: 12px;
}

/* ===== THREE OUTCOMES SECTION ===== */
.outcomes-section {
    padding-top: clamp(64px, 8vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
    text-align: center;
}

.outcomes-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 640px;
    margin: 0 auto;
}

.outcome-headline {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    line-height: 1.3;
}

.outcome-subtext {
    font-size: clamp(15px, 1.2vw, 17px);
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== VIDEO CARDS SECTION ===== */
.video-section {
    padding-top: clamp(64px, 8vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
    text-align: center;
}

.video-section-title {
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
}

.video-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    justify-content: center;
    max-width: calc(960px + clamp(16px, 2vw, 24px));
    margin: 0 auto;
}

.video-card {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    text-align: left;
}

[data-theme="light"] .video-card {
    background: #FFFFFF;
    border-color: var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.video-thumb {
    aspect-ratio: 16 / 9;
    background: #0D0D10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .video-thumb {
    background: #F4F4F5;
    border-bottom-color: var(--border);
}

.video-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #F1F1F3;
    transition: background 0.2s;
}

[data-theme="light"] .video-play-btn {
    background: var(--bg-soft);
    border-color: var(--border);
    color: var(--text);
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

[data-theme="light"] .video-play-btn:hover {
    background: var(--bg);
}

.video-play-btn svg {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

.video-card-info {
    padding: 1.25rem 1.5rem;
}

.video-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.video-subtext {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== CLOSING SECTION (Package + CTA) ===== */
.closing-section {
    padding-top: clamp(64px, 8vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
}

.closing-pkg-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.closing-pkg-wrap .package-card {
    max-width: 620px;
    width: 100%;
}

/* ===== COMPARE PAGE ===== */
.compare-hero {
    padding-top: clamp(88px, 8vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
    text-align: center;
}

.compare-hero h1 {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.compare-hero p {
    font-size: 17px;
    color: #71717A;
    max-width: 520px;
    margin: 16px auto 0;
    line-height: 1.65;
}

.compare-hero-accent {
    color: var(--primary);
    font-weight: 500;
}

/* ===== COMPARE PAGE BOTTOM CTA ===== */
.compare-cta {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: clamp(48px, 6vw, 80px) 0;
    text-align: center;
}

[data-theme="light"] .compare-cta {
    border-top-color: rgba(0,0,0,0.08);
}

.compare-cta h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #F1F1F3;
    margin-bottom: 8px;
}

[data-theme="light"] .compare-cta h2 {
    color: #18181B;
}

.compare-cta p {
    font-size: 15px;
    line-height: 1.75;
    color: #71717A;
    margin-bottom: 28px;
}

/* ===== SOLUTION STUB PAGES ===== */
.solution-stub {
    padding-top: clamp(88px, 8vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
    text-align: center;
}

.solution-stub h1 {
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.solution-stub p {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

/* ===== WHY REZVA SECTION ===== */
.why-rezva {
    padding: clamp(64px, 8vw, 120px) 0;
}

.why-header {
    text-align: center;
    margin-bottom: 72px;
}

.why-header .section-label {
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    color: #71717A !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
}

.why-headline {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 20px;
}

.why-subtext {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.65;
}

.why-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.why-col {
    padding: 0 clamp(28px, 4vw, 56px);
    position: relative;
}

.why-col:first-child { padding-left: 0; }
.why-col:last-child  { padding-right: 0; }

.why-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .why-col:not(:last-child)::after {
    background: rgba(0, 0, 0, 0.08);
}

.why-col-headline {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.why-col-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

.why-col-body p + p {
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .why-columns {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .why-col { padding: 0; }
    .why-col::after { display: none; }
}

@media (max-width: 640px) {
    .why-col-headline { font-size: 17px; }
}

/* ===== ABOUT PAGE — HOW IT WORKS APPENDED ===== */
.about-how-section {
    padding-top: clamp(64px, 8vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
    border-top: 1px solid var(--border);
}

/* ===== SOLUTION PAGES ===== */

.sol-hero {
    padding-top: clamp(100px, 10vw, 120px);
    padding-bottom: clamp(64px, 8vw, 120px);
}
.sol-hero-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717A;
    display: block;
    margin-bottom: 12px;
}
.sol-hero-headline {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 720px;
}
.sol-hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.65;
}

.sol-section {
    padding: clamp(64px, 8vw, 120px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .sol-section {
    border-top-color: rgba(0, 0, 0, 0.06);
}
.sol-section-header {
    margin-bottom: 48px;
    text-align: center;
}
.sol-headline {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-top: 12px;
}

.sol-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.sol-step {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px;
}
[data-theme="light"] .sol-step {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}
.sol-step-num {
    font-size: 48px;
    font-weight: 800;
    color: #2a2a2e;
    line-height: 1;
}
.sol-step-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-top: 12px;
    margin-bottom: 8px;
}
.sol-step-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 8px;
}

.sol-caps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.sol-caps-col {
    padding: 0 clamp(24px, 3.5vw, 48px);
    position: relative;
}
.sol-caps-col:first-child { padding-left: 0; }
.sol-caps-col:last-child  { padding-right: 0; }
.sol-caps-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 1px; height: 100%;
    background: rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .sol-caps-col:not(:last-child)::after {
    background: rgba(0, 0, 0, 0.08);
}
.sol-caps-col-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717A;
    display: block;
    margin-bottom: 16px;
}
.sol-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sol-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 10px;
}
.sol-check-item::before {
    content: '✓';
    color: #8B0020;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.sol-outputs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.sol-output-card {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px;
}
[data-theme="light"] .sol-output-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}
.sol-output-card svg {
    display: block;
    margin-bottom: 16px;
}
.sol-output-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 8px;
}
.sol-output-card-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

.sol-detect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
}

.sol-network {
    background: #111115;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(64px, 8vw, 120px) 0;
}
[data-theme="light"] .sol-network {
    background: #F4F4F5;
    border-color: rgba(0, 0, 0, 0.08);
}
.sol-network-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.sol-network-headline {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-top: 12px;
    margin-bottom: 24px;
}
.sol-network-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}
.sol-network-body p + p {
    margin-top: 16px;
}

.sol-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(64px, 8vw, 120px) 0;
}
[data-theme="light"] .sol-cta {
    border-top-color: rgba(0, 0, 0, 0.08);
}
.sol-cta-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.sol-cta-headline {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.sol-cta-sub {
    font-size: 15px;
    color: #71717A;
    text-align: center;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.75;
}
.sol-cta-primary {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #8B0020;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    padding: 15px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}
.sol-cta-primary:hover { background: #6E0019; }
.sol-cta-secondary {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 12px auto 0;
    background: transparent;
    color: #71717A;
    font-size: 15px;
    font-weight: 600;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}
[data-theme="light"] .sol-cta-secondary {
    border-color: rgba(0, 0, 0, 0.14);
}
.sol-cta-link {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: #71717A;
    text-decoration: none;
}
.sol-cta-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .sol-steps-grid      { grid-template-columns: 1fr; }
    .sol-caps-grid       { grid-template-columns: 1fr; gap: 40px; }
    .sol-caps-col        { padding: 0; }
    .sol-caps-col::after { display: none; }
    .sol-outputs-grid    { grid-template-columns: 1fr; }
    .sol-detect-grid     { grid-template-columns: 1fr; }
    .sol-step-num        { font-size: 36px; }
    .sol-cta-primary,
    .sol-cta-secondary   { max-width: 100%; }
}

/* ===== SOLUTION PAGES v2 ===== */

/* Muted section eyebrow label */
.sol-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717A;
    display: block;
    margin-bottom: 12px;
}

/* Centered subtext below a section headline */
.sol-section-subtext {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 12px auto 0;
    line-height: 1.75;
}

/* Prose body text within a sol-caps-col (no checklist) */
.sol-prose-col-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}
.sol-prose-col-body + .sol-prose-col-body {
    margin-top: 12px;
}

/* Small uppercase label above an output card title */
.sol-output-card-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717A;
    display: block;
    margin-bottom: 8px;
}

/* Italic muted footnote below a grid section */
.sol-grid-note {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    margin-top: 32px;
}

/* Score grid — 4 cards in a horizontal row */
.sol-score-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.sol-score-card {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
}
[data-theme="light"] .sol-score-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}
.sol-score-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}
.sol-score-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 8px;
}
.sol-score-body {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}
.sol-score-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 24px;
}

/* Responsive — score grid collapses at tablet, then mobile */
@media (max-width: 1023px) {
    .sol-score-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .sol-score-grid { grid-template-columns: 1fr; }
}
