/* ============================================
   DEROCHA DIGITAL — Presentación Ejecutiva
   Premium Dark Theme Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-deep: #080b1a;
    --bg-primary: #0d1127;
    --bg-card: rgba(15, 22, 55, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    --accent-primary: #e94560;
    --accent-secondary: #0f3460;
    --accent-gold: #f0c040;
    --accent-cyan: #38bdf8;
    --accent-purple: #a855f7;
    --accent-green: #4ade80;

    --gradient-primary: linear-gradient(135deg, #e94560 0%, #f06292 50%, #f0c040 100%);
    --gradient-bg: linear-gradient(180deg, #080b1a 0%, #0d1127 50%, #0f1a3a 100%);
    --gradient-accent: linear-gradient(135deg, #e94560, #a855f7);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));

    --text-primary: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.7);
    --text-muted: rgba(240, 240, 245, 0.4);

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(233, 69, 96, 0.3);

    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(233, 69, 96, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-primary: 'Inter', -apple-system, system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-deep);
}

body {
    font-family: var(--font-primary);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(233, 69, 96, 0.3); }
    50% { box-shadow: 0 0 40px rgba(233, 69, 96, 0.6); }
}

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

@keyframes scrollDown {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(8px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes typewriter-cursor {
    0%, 100% { border-color: var(--accent-primary); }
    50% { border-color: transparent; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background: rgba(8, 11, 26, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.nav.scrolled {
    padding: 0.6rem 2.5rem;
    background: rgba(8, 11, 26, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.nav-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.accent {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

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

.btn-outline:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
}

.btn-glow {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.78rem;
    padding: 0.5rem 1.2rem;
    animation: pulseGlow 3s infinite;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

.btn-xl {
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
    border-radius: var(--radius-xl);
}

/* ---------- Slides (Sections) ---------- */
.slide {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.slide-hero {
    background: var(--gradient-bg);
}

.slide-dark {
    background: var(--bg-deep);
    position: relative;
}

.slide-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(233, 69, 96, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(15, 52, 96, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.slide-gradient {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-deep) 100%);
    position: relative;
}

.slide-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 70% 40%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(233, 69, 96, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* ---------- Section Labels & Titles ---------- */
.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

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

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* ---------- Glass Cards ---------- */
.glass-card {
    background: var(--gradient-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.glass-card-sm {
    background: var(--gradient-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-smooth);
}

.glass-card-sm:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ---------- HERO Section ---------- */
.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-xl);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    background: rgba(233, 69, 96, 0.08);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    display: inline-flex;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

.hero-image {
    max-width: 600px;
    margin: 2rem auto 0;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 11px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s infinite;
}

.scroll-indicator span {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* ---------- PROBLEM Section ---------- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.problem-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

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

.highlight-card {
    border-color: var(--border-accent);
    background: rgba(233, 69, 96, 0.05);
}

.highlight-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

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

.impact-item {
    text-align: center;
    padding: 1.5rem;
}

.impact-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------- SOLUTION Section ---------- */
.features-showcase {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Browser mock */
.domain-demo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-glass);
}

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

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

.browser-dots span:nth-child(1) { background: #e94560; }
.browser-dots span:nth-child(2) { background: #f0c040; }
.browser-dots span:nth-child(3) { background: #4ade80; }

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.url-lock { font-size: 0.7rem; }

.url-subdomain {
    color: var(--accent-green);
    font-weight: 600;
    border-right: 2px solid var(--accent-primary);
    padding-right: 2px;
    animation: typewriter-cursor 1s infinite;
}

.browser-content {
    padding: 1rem;
}

/* Store preview */
.store-preview {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-glass);
}

.store-logo-placeholder {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-gold);
    border: 1px dashed var(--accent-gold);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.store-nav-placeholder {
    display: flex;
    gap: 1rem;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.cart-icon { font-size: 0.9rem; }

.store-hero-placeholder {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(168, 85, 247, 0.1));
}

.store-hero-placeholder h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.store-hero-placeholder p {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.store-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}

.product-card-mini {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    text-align: center;
    font-size: 0.65rem;
    transition: all var(--transition-fast);
}

.product-card-mini:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.product-img-placeholder {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.product-card-mini span {
    display: block;
    color: var(--text-secondary);
}

.product-price {
    color: var(--accent-green) !important;
    font-weight: 700;
    font-size: 0.7rem !important;
    margin-top: 0.2rem;
}

/* Features list */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
}

.feature-item:hover {
    transform: translateX(4px);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ---------- HOW IT WORKS ---------- */
.steps-container {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
}

.step {
    flex: 1;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(233, 69, 96, 0.1);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-content {
    text-align: center;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.step-visual {
    margin-top: 0.5rem;
}

.step-visual code {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-green);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    flex-shrink: 0;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.connector-arrow {
    color: var(--accent-primary);
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.margin-demo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.margin-arrow {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.margin-result {
    color: var(--accent-green);
    font-weight: 700;
}

.live-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(74, 222, 128, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulseGlow 2s infinite;
    --accent-primary-glow: var(--accent-green);
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(74, 222, 128, 0.2); }
    50% { box-shadow: 0 0 25px rgba(74, 222, 128, 0.4); }
}

/* ---------- DEMO Section ---------- */
.demo-showcase {
    margin: 2rem 0 3rem;
    text-align: center;
}

.demo-image {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-smooth);
}

.demo-image:hover {
    transform: scale(1.02);
}

.demo-domains {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.domain-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    font-size: 0.78rem;
    font-family: monospace;
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
}

.domain-pill.active {
    border-color: var(--accent-green);
    color: var(--text-primary);
    background: rgba(74, 222, 128, 0.05);
}

.domain-pill:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.domain-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* ---------- TECHNOLOGY Section ---------- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.tech-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.tech-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Architecture diagram */
.tech-architecture {
    margin-top: 2rem;
}

.arch-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.arch-node {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all var(--transition-smooth);
}

.arch-master {
    border-color: var(--accent-gold);
    background: rgba(240, 192, 64, 0.05);
}

.arch-icon {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.arch-name {
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.arch-desc {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.arch-connections {
    display: flex;
    gap: 3rem;
}

.arch-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-primary));
}

.arch-clients {
    display: flex;
    gap: 1.5rem;
}

.arch-client {
    border-color: rgba(233, 69, 96, 0.2);
}

/* ---------- ROADMAP Section ---------- */
.roadmap-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.roadmap-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.roadmap-phases {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.phase {
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.phase::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-glass);
}

.phase-active::before {
    background: var(--gradient-primary);
}

.phase-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(233, 69, 96, 0.15);
    color: var(--accent-primary);
    border-radius: var(--radius-xl);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.phase-future {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.phase h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.phase ul {
    list-style: none;
    padding: 0;
}

.phase ul li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 0.15rem 0;
    padding-left: 1rem;
    position: relative;
}

.phase ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 0.7rem;
}

.phase code {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-green);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* ---------- BUSINESS MODEL ---------- */
.business-model {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.model-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
}

.model-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.model-featured {
    border-color: var(--accent-primary);
    background: rgba(233, 69, 96, 0.04);
    transform: scale(1.05);
}

.model-featured:hover {
    transform: scale(1.08);
}

.model-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.model-plan {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.model-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.model-period {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.model-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1rem;
}

.model-features li {
    padding: 0.3rem 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.model-features li.muted {
    color: var(--text-muted);
    opacity: 0.5;
}

.model-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--border-glass);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
}

/* Revenue projection calculator */
.stat-prefix {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.projection-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem;
}

.projection-card:hover {
    transform: none;
}

.projection-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.projection-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.calc-row {
    display: grid;
    grid-template-columns: 180px 1fr 160px;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.calc-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.calc-plan {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.calc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.calc-plan-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
}

.calc-plan-price {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.calc-slider-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.calc-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.4);
    transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.4);
}

.calc-count {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    min-width: 45px;
    text-align: right;
}

.calc-unit {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.calc-result {
    text-align: right;
}

.calc-monthly {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-green);
}

.calc-result .calc-note {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.calc-totals {
    border-top: 2px solid var(--border-glass);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.calc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.calc-total-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.calc-total-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
}

.calc-annual {
    padding: 1rem 1.2rem;
    background: rgba(233, 69, 96, 0.06);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
}

.calc-annual .calc-total-label {
    color: var(--text-primary);
    font-size: 0.85rem;
}

.calc-annual .calc-total-value {
    font-size: 1.6rem;
}

.projection-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* ---------- DEROCHA ACADEMY Section ---------- */
.academy-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.academy-main {
    padding: 0 !important;
    overflow: hidden;
}

.academy-preview {
    background: rgba(0, 0, 0, 0.2);
}

.academy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.academy-badge {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-gold);
}

.academy-live {
    font-size: 0.7rem;
    color: var(--accent-green);
    font-weight: 600;
    animation: pulseGlow 2s infinite;
}

.academy-courses {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.course-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.course-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.course-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.course-info {
    flex: 1;
}

.course-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.course-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.course-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1s ease-out;
}

.academy-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.academy-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
}

.academy-feature:hover {
    transform: translateX(4px);
}

.academy-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.academy-feature p {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ---------- VISION LATAM Section ---------- */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.vision-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.vision-card:hover::before {
    opacity: 1;
}

.vision-phase {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(233, 69, 96, 0.12);
    color: var(--accent-primary);
    border-radius: var(--radius-xl);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.vision-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.vision-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.vision-metric {
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.vision-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.vision-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.vision-cta {
    max-width: 700px;
    margin: 0 auto;
}

.vision-quote {
    text-align: center;
    padding: 2rem 3rem !important;
    border-color: var(--border-accent) !important;
    background: rgba(233, 69, 96, 0.04) !important;
}

.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-secondary);
}

.quote-text strong {
    color: var(--text-primary);
    font-style: normal;
}

/* ---------- CTA Section ---------- */
.slide-cta {
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    background: rgba(240, 192, 64, 0.08);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.cta-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem;
    font-size: 0.78rem;
    text-align: left;
}

.cta-step-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.cta-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.cta-footer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cta-date {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    margin-top: 0.3rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .features-showcase,
    .academy-grid {
        grid-template-columns: 1fr;
    }
    
    .roadmap-layout {
        grid-template-columns: 1fr;
    }
    
    .roadmap-image {
        order: 2;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-connector {
        transform: rotate(90deg);
        width: auto;
    }
    
    .cta-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* -- Global overflow prevention -- */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    section, .slide, .container, .hero-content {
        overflow-x: hidden;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .nav-links { display: none; }
    
    .nav {
        padding: 1rem 1.2rem;
    }

    .nav-title {
        font-size: 0.92rem;
    }

    .slide { padding: 3rem 0; }
    
    .hero-content { padding: 5rem 1.2rem 2rem; }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .section-description {
        font-size: 0.88rem;
        padding: 0 0.5rem;
    }
    
    .problem-grid,
    .impact-numbers,
    .business-model,
    .tech-grid,
    .vision-grid,
    .academy-features {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .store-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Section titles - prevent text overflow */
    .section-title {
        font-size: 1.5rem !important;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }

    /* Demo section - prevent overflow */
    .demo-showcase {
        overflow: hidden;
    }

    .demo-image {
        max-width: 100% !important;
        width: 100% !important;
    }

    .demo-domains {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0.5rem;
    }

    .domain-pill {
        font-size: 0.68rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
        justify-content: flex-start;
    }
    
    .arch-clients {
        flex-direction: column;
    }

    .arch-client {
        width: 100% !important;
        max-width: 100%;
    }
    
    .cta-steps {
        grid-template-columns: 1fr;
    }
    
    /* Cards - fix glass borders and padding */
    .problem-card,
    .feature-card,
    .tech-card,
    .model-card,
    .vision-card {
        margin: 0 0.2rem;
        max-width: calc(100vw - 2.8rem);
    }

    .model-featured {
        transform: scale(1);
    }
    
    .model-featured:hover {
        transform: scale(1.02);
    }
    
    /* Calculator */
    .calc-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .calc-result {
        text-align: left;
    }
    
    .calc-slider-group {
        flex-wrap: wrap;
    }
    
    .projection-card {
        padding: 1.2rem;
    }
    
    .calc-annual .calc-total-value {
        font-size: 1.1rem;
    }

    .calc-plan-name {
        font-size: 0.8rem;
    }
    
    .vision-quote {
        padding: 1.5rem !important;
    }
    
    .quote-text {
        font-size: 0.9rem;
    }
    
    .impact-number {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-image, .arch-image {
        max-width: 100%;
        width: 100%;
    }

    .container {
        padding: 0 1.2rem;
    }
    
    .course-info h4 {
        font-size: 0.82rem;
    }

    /* Roadmap fix */
    .roadmap-phase {
        padding: 1.2rem;
    }

    /* Academy */
    .academy-section .section-title,
    .vision-section .section-title {
        font-size: 1.4rem !important;
    }

    .course-mockup {
        max-width: 100%;
    }

    /* CTA section */
    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.9rem;
    }

    /* Architecture diagram */
    .arch-diagram {
        overflow-x: hidden;
        padding: 0.5rem;
    }

    .arch-label,
    .arch-admin h4,
    .arch-admin p {
        font-size: 0.78rem;
    }

    .arch-admin {
        padding: 1rem;
    }

    /* Steps connector */
    .steps-container {
        flex-direction: column;
        gap: 1rem;
    }

    .step-connector {
        transform: rotate(90deg);
        width: auto;
    }
}

/* -- Extra small devices (360px and under) -- */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .container {
        padding: 0 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .impact-number {
        font-size: 1.8rem;
    }

    .model-price {
        font-size: 1.5rem;
    }

    .vision-card h4 {
        font-size: 1rem;
    }

    .vision-stat {
        font-size: 1.5rem;
    }
}
