/**
 * WatcherWolf - Estilos Globales
 * Estilo: Dark Tech Premium (Midnight Wolf)
 * Responsive perfecto + Menú Mobile App-style
 */

/* ==================== Variables ==================== */
:root {
    /* Fondos */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-hover: #252540;
    
    /* Colores principales */
    --amber: #f59e0b;
    --amber-light: #fbbf24;
    --amber-dark: #d97706;
    --amber-glow: rgba(245, 158, 11, 0.3);
    
    /* Estados */
    --green: #22c55e;
    --green-light: #4ade80;
    --red: #ef4444;
    --red-light: #f87171;
    --blue: #3b82f6;
    --yellow: #eab308;
    
    /* Texto */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #0a0a0f;
    
    /* Bordes */
    --border-color: #1a1a2e;
    --border-light: #252540;
    
    /* Tipografía */
    --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Espaciado */
    --container-max: 1200px;
    --header-height: 72px;
    
    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-amber: 0 0 30px var(--amber-glow);
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Safe areas para móviles con notch */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==================== Reset & Base ==================== */

.blog-post-content .btn.btn-primary {
    background: var(--amber);
    color: #000000 !important;  /* ← Letra negra, ahora legible */
}




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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevenir scroll horizontal */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ==================== Tipografía ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--amber);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--amber-light);
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* ==================== Layout ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Header/Nav ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber);
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ==================== Mobile Menu Toggle ==================== */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
    transform-origin: center;
}

/* Hamburger animation to X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==================== Mobile Menu - Full Screen App Style ==================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 50%, #0a0a0f 100%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-height) + 30px) 30px calc(30px + var(--safe-bottom)) 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Navigation Links */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu.active .mobile-menu-nav a {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation for links */
.mobile-menu.active .mobile-menu-nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    color: var(--amber);
    padding-left: 12px;
}

.mobile-menu-nav a .nav-icon {
    width: 24px;
    height: 24px;
    color: var(--amber);
    flex-shrink: 0;
}

/* CTA Buttons Section */
.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    padding-top: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.35s;
}

.mobile-menu.active .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-cta .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    justify-content: center;
}

/* Quick Contact Section */
.mobile-menu-contact {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.4s;
}

.mobile-menu.active .mobile-menu-contact {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-contact-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.mobile-menu-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition-fast);
}

.mobile-menu-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-menu-contact-item:hover {
    color: var(--amber);
}

.mobile-menu-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--amber);
    flex-shrink: 0;
}

/* Footer Section */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.45s;
}

.mobile-menu.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

/* Social Links */
.mobile-menu-social {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.mobile-menu-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.mobile-menu-social a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.mobile-menu-social svg {
    width: 22px;
    height: 22px;
}

/* Theme Toggle in Mobile Menu */
.mobile-menu-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.mobile-menu-theme span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.mobile-menu-theme svg {
    width: 20px;
    height: 20px;
    color: var(--amber);
}

/* Theme Toggle Switch */
.theme-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    cursor: pointer;
    transition: background var(--transition-normal);
    border: 1px solid var(--border-color);
}

.theme-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--amber);
    border-radius: 50%;
    transition: transform var(--transition-normal);
}

.theme-switch.light::after {
    transform: translateX(24px);
}

/* Copyright in Mobile Menu */
.mobile-menu-copyright {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==================== Botones ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-amber);
    color: var(--text-dark);
}

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--amber);
    color: var(--text-primary);
}

.btn-ghost {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--amber);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ==================== Cards ==================== */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--border-light);
}

.card-glass {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    color: var(--amber);
    margin-bottom: 16px;
}

/* ==================== Badges ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-green { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.badge-yellow { background: rgba(234, 179, 8, 0.15); color: var(--yellow); }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }

/* ==================== Forms ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 16px; /* Prevent zoom on iOS */
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-glow);
}

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

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-hint { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 0.875rem; color: var(--red); margin-top: 6px; }

/* ==================== Tables ==================== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
}

.table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.table td {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.table tr:hover td {
    background: var(--bg-tertiary);
}

/* ==================== Alerts ==================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid var(--green); color: var(--green); }
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--red); color: var(--red); }
.alert-warning { background: rgba(234, 179, 8, 0.1); border: 1px solid var(--yellow); color: var(--yellow); }
.alert-info { background: rgba(59, 130, 246, 0.1); border: 1px solid var(--blue); color: var(--blue); }

/* ==================== Stats ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

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

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--amber);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-credits a {
    color: var(--text-muted);
}

.footer-credits a:hover {
    color: var(--amber);
}

/* ==================== Utilities ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-amber { color: var(--amber); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-slide-up { animation: slideUp 0.5s ease forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ==================== Lead Magnet Popup ==================== */
.lead-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lead-popup.active {
    opacity: 1;
    visibility: visible;
}

.lead-popup-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 420px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--transition-normal);
}

.lead-popup.active .lead-popup-content {
    transform: translateY(0) scale(1);
}

.lead-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lead-popup-close:hover {
    color: var(--text-primary);
}

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

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .nav { display: none; }
    .nav-actions { display: none; }
    .menu-toggle { display: flex; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Pricing grid */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Tablets */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    
    /* Footer */
    .footer { padding: 40px 0 20px; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand { max-width: 100%; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Pricing */
    .pricing-hero { padding: 120px 0 60px !important; }
    
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 40px 0 !important;
    }
    
    .pricing-card { padding: 24px !important; }
    
    /* FAQ */
    .faq-grid { grid-template-columns: 1fr !important; }
    
    /* Comparison table */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table { min-width: 600px; }
    
    /* Features */
    .features-grid { grid-template-columns: 1fr !important; }
    
    /* Steps */
    .steps-container {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr !important; }
    
    /* CTA */
    .cta-section { padding: 48px 24px !important; }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
    
    .logo { font-size: 1.25rem; }
    .logo img { height: 32px; }
    .card { padding: 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    
    /* Mobile menu */
    .mobile-menu {
        padding: calc(var(--header-height) + 20px) 20px calc(20px + var(--safe-bottom)) 20px;
    }
    
    .mobile-menu-nav a {
        font-size: 1.25rem;
        padding: 16px 0;
    }
    
    .mobile-menu-cta .btn { padding: 14px 20px; }
    .mobile-menu-contact { padding: 20px; }
    .mobile-menu-social a { width: 44px; height: 44px; }
    
    /* Pricing */
    .plan-price .amount { font-size: 2.5rem !important; }
    
    /* Lead popup */
    .lead-popup-content { padding: 24px; }
    
    /* Hero stats */
    .hero-stats {
        gap: 20px !important;
        flex-direction: column;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .mobile-menu { padding-left: 16px; padding-right: 16px; }
    .mobile-menu-nav a { font-size: 1.125rem; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* ==================== Reduced Motion ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html { scroll-behavior: auto; }
    
    .mobile-menu,
    .mobile-menu-nav a,
    .mobile-menu-cta,
    .mobile-menu-contact,
    .mobile-menu-footer {
        transition: none !important;
    }
}

/* ==================== HERO - Storm Watcher ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a12 0%, #12121f 40%, #1a1a2e 100%);
}

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

/* Rain Effect */
.rain {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.rain-drop {
    position: absolute;
    top: -50px;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(174, 194, 224, 0.6), transparent);
    animation: rain-fall linear infinite;
    will-change: transform;
}

@keyframes rain-fall {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(100vh + 50px)); }
}

/* Lightning */
.lightning {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 5;
    pointer-events: none;
}

.lightning.flash {
    animation: lightning-flash 0.4s ease-out;
}

@keyframes lightning-flash {
    0% { background: rgba(255, 255, 255, 0); }
    5% { background: rgba(255, 255, 255, 0.8); }
    10% { background: rgba(255, 255, 255, 0.2); }
    15% { background: rgba(255, 255, 255, 0.9); }
    20% { background: rgba(255, 255, 255, 0.1); }
    25% { background: rgba(255, 255, 255, 0.7); }
    30%, 100% { background: rgba(255, 255, 255, 0); }
}

.lightning-canvas {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

/* Wolf Container */
.wolf-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    height: 60vh;
    max-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.wolf-silhouette {
    height: 100%;
    width: auto;
    max-width: 90vw;
    object-fit: contain;
    object-position: bottom center;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.wolf-silhouette.visible {
    opacity: 1;
    filter: drop-shadow(0 0 20px #f59e0b) drop-shadow(0 0 40px #f59e0b) drop-shadow(0 0 60px rgba(245, 158, 11, 0.5));
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 100px;
    color: var(--amber);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
    opacity: 0.6;
    z-index: 10;
    animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero { min-height: 100svh; }
    .hero-content { padding: 0 16px; }
    .hero-stats { gap: 24px; }
    .hero-stat-value { font-size: 1.5rem; }
    .wolf-container { height: 40vh; max-height: 350px; }
    .hero-hint { display: none; }
    .rain-drop { height: 15px; }
}

@media (max-width: 480px) {
    .hero-badge { font-size: 0.75rem; padding: 6px 12px; }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-actions .btn { width: 100%; }
    .wolf-container { height: 35vh; max-height: 280px; }
}
