/* ============================================
   SEOwer Landing Page - COMPLETE CSS
   Moderno, Brutalista, Efectos de Luz Locos
   Modo Día/Noche Automático
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --color-bg: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-text: #0a0a0a;
    --color-text-muted: #5a5a5a;
    --color-accent: #1E73BE;
    --color-accent-light: #4a9de8;
    --color-accent-dark: #1557a0;
    --color-accent-glow: rgba(30, 115, 190, 0.4);
    --color-border: #e8e8e8;
    --color-surface: #ffffff;
    --color-dark: #0a0a0a;
    --color-dark-secondary: #111111;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 60px var(--color-accent-glow);
    --nav-height: 80px;
}

[data-theme="dark"] {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-border: #222222;
    --color-surface: #151515;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.5s ease;
}

::selection {
    background: var(--color-accent);
    color: white;
}

/* ========== FAVICON ========== */
link[rel="icon"] {
    type: "image/x-icon";
}

/* ========== THEME TOGGLE ========== */
.theme-toggle {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 10000;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
    overflow: hidden;
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--color-accent);
    transition: transform 0.5s var(--transition-bounce);
}

.theme-toggle .sun-icon {
    position: absolute;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .moon-icon {
    position: absolute;
    transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    transform: rotate(0deg) scale(1);
}

@media (max-width: 768px) {
    .theme-toggle {
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s var(--transition-smooth);
}

[data-theme="dark"] .nav {
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav.scrolled {
    padding: 0.75rem 6%;
    box-shadow: var(--shadow-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

.nav-logo-text {
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s var(--transition-smooth);
}

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

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

.nav-cta {
    padding: 0.6rem 1.25rem;
    background: var(--color-text);
    color: var(--color-bg) !important;
    border-radius: 8px;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

.lang-flags {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.lang-flags .flag {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lang-flags .flag:hover {
    opacity: 1;
}

/* ========== LANGUAGE SELECTOR ========== */
.nav-lang-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s var(--transition-smooth);
}

.lang-btn:hover {
    border-color: var(--color-accent);
    transform: scale(1.1);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--transition-smooth);
    z-index: 1000;
}

.nav-lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.2s;
}

.lang-option:hover {
    background: var(--color-bg-secondary);
}

.flag-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--color-bg-secondary);
}

.lang-name {
    font-size: 14px;
    font-weight: 500;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--nav-height) + 4rem) 6% 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.12) 0%, transparent 60%);
    animation: heroFloat 12s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.08) 0%, transparent 50%);
    animation: heroFloat 15s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.1); }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(30, 115, 190, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 115, 190, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 28s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 24s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 26s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 21s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; animation-duration: 23s; }
.particle:nth-child(9) { left: 90%; animation-delay: 4.5s; animation-duration: 27s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; animation-duration: 19s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbPulse 8s ease-in-out infinite;
    pointer-events: none;
}

.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(30, 115, 190, 0.15);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(30, 115, 190, 0.1);
    bottom: 10%;
    right: -5%;
    animation-delay: 3s;
}

[data-theme="dark"] .glow-orb-1 {
    background: rgba(30, 115, 190, 0.25);
}

[data-theme="dark"] .glow-orb-2 {
    background: rgba(30, 115, 190, 0.2);
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Hero Badge with double dots */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem 0.5rem 1rem;
    background: rgba(30, 115, 190, 0.1);
    border: 1px solid rgba(30, 115, 190, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s var(--transition-smooth) both;
    position: relative;
    overflow: hidden;
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-accent);
}

.hero-badge::before {
    margin-right: 0.3rem;
}

.hero-badge::after {
    margin-left: 0.3rem;
}

.hero-badge .badge-text {
    padding: 0 0.5rem;
}

.hero-badge::before {
    animation-delay: 0s;
}

.hero-badge::after {
    animation-delay: 1s;
}

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

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1.02;
    max-width: 16ch;
    margin-bottom: 1.75rem;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.1s both;
}

.hero-title .highlight {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 40px var(--color-accent-glow);
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    right: 0;
    height: 0.12em;
    background: var(--color-accent);
    opacity: 0.4;
    transform: skewX(-15deg);
    animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.0625rem, 1.8vw, 1.5rem);
    color: var(--color-text-muted);
    max-width: 58ch;
    margin-bottom: 3rem;
    line-height: 1.75;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.2s both;
}

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

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

/* CTA Button */
.hero-cta {
    animation: fadeInUp 0.8s var(--transition-smooth) 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem 2.5rem;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 115, 190, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s var(--transition-smooth);
}

.btn-primary::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    transform: scale(0);
    transition: transform 0.6s var(--transition-bounce);
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 115, 190, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    transform: scale(1);
}

.btn-primary svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s var(--transition-smooth);
}

.btn-primary:hover svg {
    transform: translateX(6px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 5rem;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.4s both;
}

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

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ========== MARQUEE SECTION ========== */
.marquee-section {
    padding: 3rem 0;
    background: var(--color-dark);
    overflow: hidden;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-dark), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-dark), transparent);
}

.marquee-label {
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 2rem;
}

.marquee-container {
    display: flex;
    width: fit-content;
    animation: marqueeScroll 40s linear infinite;
}

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

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.marquee-item:hover {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.marquee-item svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    opacity: 0.7;
}

.marquee-item:hover svg {
    opacity: 1;
    filter: drop-shadow(0 0 8px currentColor);
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 8rem 6%;
    background: var(--color-bg-secondary);
    position: relative;
}

[data-theme="dark"] .features {
    background: var(--color-bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 115, 190, 0.1);
    border-radius: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

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

.feature-card {
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .feature-card {
    background: var(--color-surface);
    border-color: var(--color-border);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition-smooth);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.feature-card:hover::after {
    opacity: 1;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.15;
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.15), rgba(30, 115, 190, 0.05));
    border-radius: 16px;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.3;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========== RADAR DEMO SECTION ========== */
.radar-demo-section {
    padding: 8rem 6%;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

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

.radar-container {
    max-width: 900px;
    margin: 3rem auto 0;
    text-align: center;
}

.radar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.radar-visual {
    position: relative;
    width: 350px;
    height: 350px;
}

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

.radar-circle {
    fill: none;
    stroke: var(--color-border);
    stroke-width: 1;
}

.radar-circle-1 { stroke-dasharray: 5 5; opacity: 0.5; }
.radar-circle-2 { stroke-dasharray: 3 7; opacity: 0.4; }
.radar-circle-3 { stroke-dasharray: 2 8; opacity: 0.3; }

.radar-axis {
    stroke: var(--color-border);
    stroke-width: 1;
    opacity: 0.5;
}

.radar-data {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 3;
    filter: drop-shadow(0 0 10px var(--color-accent-glow));
    transition: all 1s var(--transition-smooth);
}

.radar-glow {
    fill: var(--color-accent);
    opacity: 0.15;
    filter: blur(15px);
    animation: radarGlow 3s ease-in-out infinite;
}

@keyframes radarGlow {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.05); }
}

.radar-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.radar-label {
    position: absolute;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translate(-50%, -50%);
    padding: 0.5rem 1rem;
    background: var(--color-surface);
    border-radius: 25px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    z-index: 10;
}

.radar-label.seo { 
    top: -35px; 
    left: 50%; 
}

.radar-label.estructura { 
    top: 50%; 
    right: -85px; 
    transform: translateY(-50%);
}

.radar-label.legibilidad { 
    bottom: -35px; 
    left: 50%; 
}

.radar-label.legibilidade { 
    bottom: -35px; 
    left: 50%; 
}

.radar-label.ia { 
    top: 50%; 
    left: -65px; 
    transform: translateY(-50%);
}

.radar-score-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.radar-score-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1;
    text-shadow: 0 0 40px var(--color-accent-glow);
}

.radar-score-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-top: 0.25rem;
}

.radar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
}

.legend-dot.seo { background: #1E73BE; }
.legend-dot.estructura { background: #4CAF50; }
.legend-dot.legibilidad { background: #FF9800; }
.legend-dot.ia { background: #9C27B0; }

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
    padding: 8rem 6%;
    background: var(--color-bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 1.5rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px var(--color-accent-glow);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0.3;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.step-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== DEMO SECTION ========== */
.demo-section {
    padding: 8rem 6%;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.demo-wrapper {
    margin-top: 4rem;
    position: relative;
}

.demo-mockup {
    display: inline-block;
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 12px 24px rgba(0, 0, 0, 0.05),
        0 32px 64px rgba(0, 0, 0, 0.08),
        0 64px 128px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: perspective(2000px) rotateX(2deg);
    transition: transform 0.6s var(--transition-smooth);
    border: 1px solid var(--color-border);
}

.demo-mockup:hover {
    transform: perspective(2000px) rotateX(0deg);
}

.demo-mockup img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 600px;
}

.demo-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.875rem;
    box-shadow: 0 15px 40px var(--color-accent-glow);
    animation: badgeBounce 3s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 8rem 6%;
    background: var(--color-bg-secondary);
}

.contact-container {
    max-width: 560px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 3rem;
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg);
    color: var(--color-text);
    transition: all 0.3s var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.15);
}

.form-input.error {
    border-color: #dc2626;
}

.form-input.success {
    border-color: #16a34a;
}

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

.form-error {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 600;
}

.form-error.visible {
    display: block;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.form-checkbox label a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-privacy {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-privacy svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-accent);
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    color: white;
    padding: 4rem 6%;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 115, 190, 0.5), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-top: 0.25rem;
}

.footer-brand {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(30, 115, 190, 0.1);
    border: 1px solid rgba(30, 115, 190, 0.2);
    border-radius: 16px;
    max-width: 500px;
}

.footer-brand-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer-brand a {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-brand a:hover {
    text-shadow: 0 0 20px var(--color-accent-glow);
    transform: translateY(-2px);
}

.footer-by {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.footer-by span {
    color: var(--color-accent);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-social-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--color-accent-glow);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ========== LEGAL PAGES ========== */
.legal-page {
    padding: calc(var(--nav-height) + 4rem) 6% 4rem;
    min-height: 100vh;
    background: var(--color-bg-secondary);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.legal-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 2rem 0 1rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--color-text);
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: gap 0.3s;
}

.legal-back:hover {
    gap: 0.75rem;
}

.legal-back svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--transition-smooth);
}

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

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s var(--transition-smooth);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav { padding: 1rem 4%; }
    .hero { padding: calc(var(--nav-height) + 3rem) 4% 4rem; }
    .features, .radar-demo-section, .demo-section, .contact-section, .how-it-works, .legal-page { padding: 5rem 4%; }
    .footer { padding: 3rem 4%; }
    
    .radar-label.estructura { right: -60px; }
    .radar-label.ia { left: -50px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-stat-value { font-size: 2.25rem; }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .radar-visual {
        width: 280px;
        height: 280px;
    }
    
    .radar-label {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }
    
    .radar-label.seo { top: -15px; }
    .radar-label.estructura { right: -45px; }
    .radar-label.legibilidad { bottom: -15px; }
    .radar-label.ia { left: -35px; }
    
    .radar-legend {
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ========== MOBILE MENU ========== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
}

/* ========== UTILITY ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}
