/* ============================================
   GuLIN AI - Agente Inteligente de TI
   Estilo: Terminal / Enterprise / Tech
   Diseño Mobile-First + Responsive v3.0
   ============================================ */

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --primary-bg: rgba(139, 92, 246, 0.1);
    --bg: #0a0a12;
    --bg-card: #111122;
    --bg-card-hover: #1a1a30;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(139, 92, 246, 0.12);
    --border-hover: rgba(139, 92, 246, 0.3);
    --gradient: linear-gradient(135deg, #8b5cf6, #6366f1);
    --gradient-2: linear-gradient(135deg, #a78bfa, #6366f1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --terminal-bg: #0d0d1a;
    --terminal-green: #22c55e;
    --terminal-red: #ef4444;
    --terminal-yellow: #eab308;
    --max-width: 1200px;
    --nav-height: 60px;
    --navbar-bg: transparent;
    --navbar-border: transparent;
    --hero-bg: transparent;
}

/* ============================================
   Modo Claro
   ============================================ */
@media (prefers-color-scheme: light) {
    :root {
        --bg: #f8f9fc;
        --bg-card: #ffffff;
        --bg-card-hover: #f0f2f8;
        --text: #1a1a2e;
        --text-secondary: #4a4a6a;
        --text-muted: #8a8aaa;
        --border: rgba(139, 92, 246, 0.15);
        --border-hover: rgba(139, 92, 246, 0.35);
        --primary-bg: rgba(139, 92, 246, 0.08);
        --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.06);
        --terminal-bg: #f0f2f8;
        --navbar-bg: rgba(255, 255, 255, 0.95);
        --navbar-border: rgba(139, 92, 246, 0.1);
        --hero-bg: #f8f9fc;
    }

    .navbar.scrolled {
        background: var(--navbar-bg);
        border-bottom: 1px solid var(--navbar-border);
    }

    .nav-links {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-actions.active {
        background: rgba(255, 255, 255, 0.98);
    }

    .terminal-card {
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    }

    .roi-calculator {
        background: var(--bg-card);
    }

    .cta-content {
        background: var(--bg-card);
    }

    .modal {
        background: var(--bg-card);
    }

    .menu-toggle span {
        background: var(--text);
    }
}

/* ============================================
   Toggle manual de tema (clase .light-mode)
   ============================================ */
.light-mode {
    --bg: #f8f9fc;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f2f8;
    --text: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aaa;
    --border: rgba(139, 92, 246, 0.15);
    --border-hover: rgba(139, 92, 246, 0.35);
    --primary-bg: rgba(139, 92, 246, 0.08);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.06);
    --terminal-bg: #f0f2f8;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: rgba(139, 92, 246, 0.1);
    --hero-bg: #f8f9fc;
}

.light-mode .navbar.scrolled {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
}

.light-mode .nav-links {
    background: rgba(255, 255, 255, 0.98);
}

.light-mode .nav-actions.active {
    background: rgba(255, 255, 255, 0.98);
}

.light-mode .terminal-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.light-mode .roi-calculator {
    background: var(--bg-card);
}

.light-mode .cta-content {
    background: var(--bg-card);
}

.light-mode .modal {
    background: var(--bg-card);
}

.light-mode .menu-toggle span {
    background: var(--text);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Logo Image - Tamaño armónico
   ============================================ */
.logo-img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: var(--transition);
}

.logo-img:hover {
    border-color: var(--primary-light);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.logo-img-footer {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.logo-img-modal {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin: 0 auto 0.75rem;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

/* ============================================
   Navbar - Mobile First
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.7rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

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

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
    animation: slideDown 0.25s ease;
}

.nav-links.active {
    display: flex;
}

@keyframes slideDown {
    from { transform: translateY(-8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
    border-bottom-color: var(--primary);
}

.nav-actions {
    display: none;
}

.nav-actions.active {
    display: flex;
    position: absolute;
    top: calc(100% + 200px);
    left: 0;
    right: 0;
    padding: 0 1rem 1rem;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--primary-light);
    color: var(--text);
    background: var(--primary-bg);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
}

/* ============================================
   Hero - Mobile First
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    will-change: transform;
}

.orb-1 {
    width: min(400px, 70vw);
    height: min(400px, 70vw);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    top: -150px;
    right: -80px;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
    width: min(250px, 50vw);
    height: min(250px, 50vw);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    bottom: -80px;
    left: -60px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: min(150px, 30vw);
    height: min(150px, 30vw);
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2), transparent);
    top: 40%;
    left: 50%;
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--primary-light);
    width: fit-content;
    max-width: 100%;
}

.hero-badge span {
    white-space: normal;
    text-align: left;
}

.hero-title {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 100%;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
    width: 100%;
    max-width: 400px;
}

.hero-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Terminal Card */
.hero-visual {
    width: 100%;
    max-width: 480px;
}

.terminal-card {
    width: 100%;
    background: var(--terminal-bg);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 60px rgba(139, 92, 246, 0.05);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 5px;
}

.terminal-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ef4444; }
.terminal-dots span:nth-child(2) { background: #eab308; }
.terminal-dots span:nth-child(3) { background: #22c55e; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(0.55rem, 1.5vw, 0.72rem);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.terminal-body.small {
    font-size: clamp(0.5rem, 1.4vw, 0.68rem);
    padding: 0.65rem;
}

.terminal-line {
    color: var(--text-secondary);
}

.terminal-line.indent { padding-left: 0.75rem; }
.terminal-line .prompt { color: var(--primary-light); font-weight: 600; }
.terminal-line .arrow { color: var(--text-muted); }
.terminal-line .highlight { color: var(--primary-light); font-weight: 600; }
.terminal-line .alert-text { color: var(--terminal-yellow); font-weight: 600; }
.terminal-line .success-text { color: var(--terminal-green); }
.terminal-line .danger { color: var(--terminal-red); }

.terminal-line.alert { color: var(--terminal-yellow); }
.terminal-line.success { color: var(--terminal-green); }
.terminal-line.result { color: var(--text); }
.terminal-line.final { 
    color: var(--terminal-green); 
    font-weight: 600;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

/* ============================================
   Trusted By
   ============================================ */
.trusted {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.trusted-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.trusted-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trusted-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    opacity: 0.6;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
}

.trusted-logo:hover {
    opacity: 1;
    color: var(--text-secondary);
}

/* ============================================
   Sections Common
   ============================================ */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 2.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.3rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
    padding: 4rem 0;
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.problem-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.problem-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--icon-color);
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.problem-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.problem-effect {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
    display: block;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

/* ============================================
   Roles Section
   ============================================ */
.roles {
    padding: 4rem 0;
    position: relative;
}

.roles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.roles-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.role-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: left;
}

.role-tab:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.role-tab.active {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary-light);
}

.role-tab i {
    font-size: 0.8rem;
    width: 1.2rem;
    text-align: center;
}

.role-content {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

.role-content.active {
    display: flex;
}

.role-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.role-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.role-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.role-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.role-features li i {
    color: var(--terminal-green);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.role-impact {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--terminal-green);
}

/* ============================================
   ROI Calculator
   ============================================ */
.roi {
    padding: 4rem 0;
    position: relative;
}

.roi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.roi-calculator {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.roi-field {
    margin-bottom: 1rem;
}

.roi-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.roi-slider {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.roi-slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    outline: none;
}

.roi-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.roi-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.roi-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
}

.roi-result {
    background: var(--terminal-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.roi-result h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.roi-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.roi-metric {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.roi-number {
    display: block;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
}

.roi-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.roi-metric p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.roi-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

/* ============================================
   Security
   ============================================ */
.security {
    padding: 4rem 0;
    position: relative;
}

.security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.security-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.security-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.security-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.security-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.security-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Impact Stats
   ============================================ */
.impact {
    padding: 4rem 0;
    position: relative;
}

.impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.impact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.impact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.impact-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.08);
}

.impact-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.impact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.impact-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 4rem 0;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.faq-list {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    gap: 0.75rem;
}

.faq-question i {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}

.faq-answer p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA Final
   ============================================ */
.cta-final {
    padding: 4rem 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-content {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
}

.cta-content h2 {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 auto;
}

.cta-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.cta-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand .logo-text {
    display: block;
    margin-bottom: 0;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 100%;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col {
    min-width: 120px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
}

.footer-social a:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 400px;
    width: 100%;
    padding: 2rem 1.5rem;
    position: relative;
    animation: modalIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header .logo-img-modal {
    margin: 0 auto 0.75rem;
}

.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.modal-header p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input {
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

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

/* ============================================
   Extras
   ============================================ */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

@media (hover: none) and (pointer: coarse) {
    .btn {
        padding: 0.7rem 1.3rem;
    }
    .nav-link {
        padding: 0.6rem 0;
    }
    .role-tab {
        padding: 0.65rem 1rem;
    }
}

/* ============================================
   Responsive - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
    .nav-container {
        padding: 0 2rem;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        padding: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
        gap: 1.5rem;
        animation: none;
    }

    .nav-link {
        padding: 0;
        border-bottom: none;
    }

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

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

    .nav-actions {
        display: flex;
        position: static;
        padding: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
    }

    .menu-toggle {
        display: none;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
        padding: 0 2rem;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: row;
        max-width: 100%;
    }

    .hero-actions .btn {
        width: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hero-subtitle {
        max-width: 500px;
    }

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

    .roles-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .role-tab {
        width: auto;
    }

    .role-content.active {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    .roi-calculator {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }

    .roi-slider {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .roi-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

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

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

    .cta-form {
        flex-direction: row;
        max-width: 500px;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .section-container {
        padding: 0 2rem;
    }

    .section-header {
        max-width: 700px;
    }

    .faq-list {
        max-width: 700px;
    }

    .cta-container {
        padding: 0 2rem;
    }

    .footer-container {
        padding: 0 2rem;
    }

    .trusted-container {
        padding: 0 2rem;
    }

    .hero-container {
        padding: 0 2rem;
    }
}

/* ============================================
   Responsive - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .nav-links {
        gap: 2rem;
    }

    .hero-container {
        gap: 4rem;
    }
}

/* ============================================
   Responsive - Large Screens (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    :root {
        --max-width: 1300px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }
}
