:root {
    /* Paleta de Colores Premium */
    --bg-color: #050505;
    --surface-color: #0F0F0F;
    --surface-light: #1A1A1A;
    --accent-gold: #D4AF37;
    --accent-gold-light: #FACC15;
    --accent-gold-dark: #B4941F;
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --danger: #EF4444;
    
    /* Gradientes */
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold-dark) 100%);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Configuración Responsive */
    --container-width: 1200px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Breakpoints Mobile-First */
/* Estilos base para móvil (320px+) */
/* Media queries para tablet y desktop se agregan abajo */

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }

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

/* Clases de Utilidad */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

/* Botones Optimizados para Toque - Mobile First */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: clamp(0.85rem, 2vw, 1rem);
    width: auto;
    min-height: 44px; /* Mínimo recomendado para toque en móvil */
}

@media (min-width: 480px) {
    .btn {
        padding: 14px 28px;
    }
}

.btn-full-mobile {
    width: 100%;
}

@media (min-width: 768px) {
    .btn-full-mobile { width: auto; }
}

/* Variantes de tamaño de botones */
.btn-small {
    padding: 10px 18px;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

.btn-large {
    padding: 16px 24px;
    font-size: clamp(1rem, 2.2vw, 1.1rem);
}

@media (min-width: 480px) {
    .btn-large {
        padding: 18px 28px;
    }
}

@media (min-width: 768px) {
    .btn-large {
        padding: 20px 32px;
    }
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* HEADER - Mobile First */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

@media (min-width: 480px) {
    header {
        padding: 15px 0;
    }
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span { color: var(--accent-gold); }

/* HERO SECTION - Mobile First */
.hero {
    position: relative;
    padding: 100px 0 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 480px) {
    .hero {
        padding: 120px 0 70px;
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }
}

@media (min-width: 992px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        padding: 160px 0 100px;
        gap: 80px;
    }
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.05);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (min-width: 480px) {
    .hero-badges {
        gap: 10px;
        margin-bottom: 25px;
    }
    .badge {
        padding: 6px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-gold);
    animation: pulse 2s infinite;
}

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

.hero-actions {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

@media (min-width: 480px) {
    .hero-actions {
        gap: 15px;
        flex-direction: row;
    }
}

/* VISUAL HERO (CANVAS) - Mobile First */
.hero-visual {
    position: relative;
    width: 100%;
    height: 280px;
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

@media (min-width: 480px) {
    .hero-visual {
        height: 320px;
    }
}

@media (min-width: 768px) {
    .hero-visual {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .hero-visual {
        height: 500px;
    }
}

#scarcity-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.overlay-stats {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.stat-item {
    margin-bottom: 4px;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media (min-width: 480px) {
    .overlay-stats {
        top: 15px;
        left: 15px;
        right: auto;
        padding: 12px 16px;
    }
    .stat-item {
        font-size: 0.85rem;
        gap: 15px;
        min-width: 180px;
    }
}

.stat-val { font-weight: 700; color: white; }

/* SECCIONES GENERALES - Mobile First */
section {
    padding: 50px 0;
}

@media (min-width: 480px) {
    section {
        padding: 60px 0;
    }
}

@media (min-width: 768px) {
    section {
        padding: 70px 0;
    }
}

@media (min-width: 992px) {
    section {
        padding: 100px 0;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* GRID RESPONSIVE */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.card-icon { font-size: 1.5rem; margin-bottom: 15px; color: var(--danger); }
.card h3 { font-family: var(--font-heading); margin-bottom: 10px; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; }

@media (min-width: 480px) {
    .card {
        padding: 25px;
    }
    .card-icon { font-size: 1.75rem; margin-bottom: 18px; }
    .card h3 { font-size: 1.2rem; }
    .card p { font-size: 0.93rem; }
}

@media (min-width: 768px) {
    .card {
        padding: 30px;
    }
    .card-icon { font-size: 2rem; margin-bottom: 20px; }
    .card h3 { font-size: 1.25rem; }
    .card p { font-size: 0.95rem; }
}

/* FEATURE ROW - Mobile First */
.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

@media (min-width: 480px) {
    .feature-row {
        gap: 40px;
        margin-bottom: 60px;
    }
}

@media (min-width: 768px) {
    .feature-row {
        gap: 50px;
        margin-bottom: 70px;
    }
}

@media (min-width: 992px) {
    .feature-row {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 80px;
    }
}

.feature-row.reverse .feature-img {
    order: -1; /* Imagen arriba en móvil */
}

@media (min-width: 992px) {
    .feature-row.reverse {
        direction: rtl; /* Imagen a la derecha en desktop */
    }
    .feature-row.reverse .feature-text {
        direction: ltr; /* Restaurar texto */
    }
}

.feature-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 15px;
}

.feature-text ul {
    list-style: none;
    margin-top: 15px;
}

.feature-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (min-width: 480px) {
    .feature-text h2 {
        margin-bottom: 18px;
    }
    .feature-text ul {
        margin-top: 18px;
    }
    .feature-text li {
        margin-bottom: 11px;
        font-size: 0.92rem;
    }
}

@media (min-width: 768px) {
    .feature-text h2 {
        margin-bottom: 20px;
    }
    .feature-text ul {
        margin-top: 20px;
    }
    .feature-text li {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }
}

.feature-text li::before {
    content: "✓";
    color: var(--accent-gold);
    font-weight: bold;
    flex-shrink: 0;
}

.feature-img {
    background: linear-gradient(45deg, #111, #1a1a1a);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

@media (min-width: 480px) {
    .feature-img {
        padding: 18px;
    }
}

@media (min-width: 768px) {
    .feature-img {
        padding: 20px;
    }
}

/* TECH STACK - Mobile First */
.tech-stack {
    background: var(--surface-color);
    padding: 40px 0;
    text-align: center;
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.tech-item {
    font-weight: 600;
    color: #fff;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    font-size: 0.85rem;
}

@media (min-width: 480px) {
    .tech-stack {
        padding: 50px 0;
    }
    .tech-logos {
        gap: 15px;
        margin-top: 25px;
    }
    .tech-item {
        padding: 7px 14px;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .tech-stack {
        padding: 60px 0;
    }
    .tech-logos {
        gap: 20px;
        margin-top: 30px;
    }
    .tech-item {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}

/* DEMO BUTTON - Mobile First */
.demo-wrapper {
    text-align: center;
    background: radial-gradient(circle at center, #1a1500 0%, #050505 70%);
    border: 1px solid var(--accent-gold);
    border-radius: 16px;
    padding: 40px 15px;
}

.demo-btn-large {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    width: 100%;
    max-width: 300px;
}

.demo-btn-large:hover {
    transform: scale(1.05);
}

@media (min-width: 480px) {
    .demo-wrapper {
        padding: 50px 18px;
    }
    .demo-btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .demo-wrapper {
        padding: 60px 20px;
    }
    .demo-btn-large {
        padding: 18px 36px;
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {
    .demo-btn-large {
        padding: 20px 40px;
        font-size: 1.2rem;
        width: auto;
        max-width: none;
    }
}

/* OFFER CARD - Mobile First */
.offer-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--accent-gold);
    padding: 20px 15px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.offer-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: black;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    white-space: nowrap;
}

.price-block {
    margin: 20px 0;
    text-align: center;
}

.offer-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
    margin-bottom: 15px;
}

.offer-actions {
    text-align: center;
}

.price-big {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-family: var(--font-heading);
    color: white;
}
.price-desc { color: var(--accent-gold); font-weight: 500; }

@media (min-width: 480px) {
    .offer-title {
        margin-bottom: 18px;
    }
}

@media (min-width: 768px) {
    .offer-title {
        margin-bottom: 20px;
    }
}

@media (min-width: 480px) {
    .offer-card {
        padding: 25px 20px;
    }
    .offer-badge {
        top: -14px;
        padding: 5px 14px;
        font-size: 0.75rem;
    }
    .price-block {
        margin: 25px 0;
    }
}

@media (min-width: 768px) {
    .offer-card {
        padding: 30px 25px;
    }
    .offer-badge {
        top: -15px;
        padding: 5px 15px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    .price-block {
        margin: 30px 0;
    }
}

/* FOOTER - Mobile First */
footer {
    padding: 40px 0 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-link {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
    color: white;
    font-family: var(--font-heading);
    text-decoration: none;
}

.linkedin-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

@media (min-width: 480px) {
    footer {
        padding: 50px 0 20px;
        font-size: 0.88rem;
    }
    .contact-link {
        font-size: 1.35rem;
    }
}

@media (min-width: 768px) {
    footer {
        padding: 60px 0 20px;
        font-size: 0.9rem;
    }
    .contact-link {
        font-size: 1.5rem;
    }
}
