/* ========================================
   SHOPPI CLICK - ESTILOS UNIFICADOS
   index.php + register.php + webhook.php
   ======================================== */

/* ========================================
   VARIABLES CSS
   ======================================== */

/* --- Desde index.php --- */
:root {
    --primary: #00A896;
    --primary-dark: #028090;
    --secondary: #05668D;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --white: #ffffff;
    --promo: #f59e0b;
}

/* [DUPLICADO] register.php tiene el mismo :root */
/*
:root {
    --primary: #00A896;
    --primary-dark: #028090;
    --secondary: #05668D;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --promo: #f59e0b;
    --white: #ffffff;
}
*/

/* [DUPLICADO] webhook.php tiene el mismo :root + --warning */
/* NOTA: webhook.php agrega --warning: #f59e0b; que no está en index. Agregarla arriba si se necesita */
/*
:root {
    --primary: #00A896;
    --primary-dark: #028090;
    --secondary: #05668D;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --white: #ffffff;
}
*/

/* ========================================
   RESET Y BASE
   ======================================== */

/* --- Desde index.php --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* [DUPLICADO] register.php */
/* * { margin: 0; padding: 0; box-sizing: border-box; } */

/* [DUPLICADO] webhook.php */
/* * { margin: 0; padding: 0; box-sizing: border-box; } */

/* --- Desde register.php (index no tenía html) --- */
html { scroll-behavior: smooth; }

/* [DUPLICADO] webhook.php */
/* html { scroll-behavior: smooth; } */

/* --- Desde index.php --- */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php */
/* AJUSTAR: register.php usa background: var(--bg), min-height: 100vh, display: flex, flex-direction: column */
/*
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
*/

/* [DUPLICADO CON CONTENIDO DIFERENTE] webhook.php */
/* AJUSTAR: webhook.php usa background: var(--bg), min-height: 100vh, display: flex, flex-direction: column */
/*
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
*/

/* --- Desde index.php --- */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }

/* [DUPLICADO] webhook.php (sin h4) */
/* h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; } */

/* --- Desde index.php --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* [DUPLICADO] register.php */
/* .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } */

/* [DUPLICADO] webhook.php */
/* .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } */


/* ========================================
   NAVBAR
   ======================================== */

/* --- Desde index.php (position: fixed) --- */
.navbar {
    /*position: fixed; top: 0; left: 0; right: 0;*/
    position: sticky;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php (position: sticky, z-index: 100) */
/* AJUSTAR: register.php usa position: sticky, top: 0, z-index: 100 */
/*.navbar-2 {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}*/

/* [DUPLICADO CON CONTENIDO DIFERENTE] webhook.php (sin position) */
/* AJUSTAR: webhook.php no tiene position ni z-index */
/*.navbar-3 {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
}*/

/* --- Desde index.php --- */
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

/* [DUPLICADO] register.php */
/* .navbar .container { display: flex; justify-content: space-between; align-items: center; } */

/* [DUPLICADO] webhook.php */
/* .navbar .container { display: flex; justify-content: space-between; align-items: center; } */

/* --- Desde index.php --- */
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
    text-decoration: none;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php (con display:flex, gap, img) */
/* AJUSTAR: register.php agrega display:flex, align-items, gap, img */
/*.navbar-brand-2 {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; font-size: 1.5rem;
    color: var(--secondary); text-decoration: none;
}*/

/* [DUPLICADO] webhook.php (igual que register) */
/*
.navbar-brand {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; font-size: 1.5rem;
    color: var(--secondary); text-decoration: none;
}
*/

/* --- Desde index.php --- */
.navbar-brand span { color: var(--primary); }

/* [DUPLICADO] register.php */
/* .navbar-brand span { color: var(--primary); } */

/* [DUPLICADO] webhook.php */
/* .navbar-brand span { color: var(--primary); } */

/* --- Desde index.php (logo-img) --- */
.logo-img {
    height: 50px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s;
}
.logo-img:hover {
    transform: scale(1.05);
}

/* --- Desde index.php (navbar-brand con img) --- */
.navbar-brand img { height: 50px; }

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php (height: 40px) */
/* AJUSTAR: register.php usa height: 40px */
/*.navbar-brand img-2 { height: 40px; }*/

/* [DUPLICADO] webhook.php (igual que register) */
/* .navbar-brand img { height: 40px; } */

/* --- Desde index.php --- */
.navbar-cta {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.navbar-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* --- Desde register.php (navbar-back) --- */
.navbar-back {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.3rem;
    transition: color 0.3s;
}
.navbar-back:hover { color: var(--primary); }


/* ========================================
   HERO (index.php)
   ======================================== */

.hero {
    padding: 9rem 0 5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,168,150,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(0,168,150,0.1);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--primary); }
.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }


/* ========================================
   BOTONES (index.php)
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0,168,150,0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,168,150,0.5);
}
.btn-outline {
    background: white;
    color: var(--secondary);
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php (width:100%, background: var(--primary)) */
/* AJUSTAR: register.php usa width:100%, padding:1rem, border-radius:10px, display:inline-block */
.btn-2 {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.btn-2:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.4);
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] webhook.php (flex:1, min-width:180px, padding:1rem 1.5rem) */
/* AJUSTAR: webhook.php usa flex:1, min-width:180px, padding:1rem 1.5rem, border-radius:12px */
.btn-3 {
    flex: 1;
    min-width: 180px;
    padding: 1rem 1.5rem;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    display: inline-block;
    border: none;
    cursor: pointer;
}

/* --- Desde webhook.php (btn-primary) --- */
.btn-primary-2 {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0,168,150,0.3);
}
.btn-primary-2:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,168,150,0.4);
}

/* --- Desde register.php (btn-secondary) --- */
.btn-secondary {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] webhook.php */
/* AJUSTAR: webhook.php usa color: var(--secondary) y hover con transform */
.btn-secondary-2 {
    background: white;
    color: var(--secondary);
    border: 2px solid var(--border);
}
.btn-secondary-2:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* --- Desde register.php (btn-success) --- */
.btn-success {
    background: var(--success);
}
.btn-success:hover {
    background: #059669;
}

/* --- Desde register.php (btn-group) --- */
.btn-group { display: flex; gap: 1rem; margin-top: 1.5rem; }
.btn-group .btn { flex: 1; }

/* [DUPLICADO CON CONTENIDO DIFERENTE] webhook.php (gap:0.8rem, flex-wrap:wrap) */
/* AJUSTAR: webhook.php usa gap:0.8rem, flex-wrap:wrap */
.btn-group-2 {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}


/* ========================================
   HERO MOCKUP (index.php)
   ======================================== */

.hero-mockup {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(5,102,141,0.2);
    padding: 1.5rem;
    transform: rotate(-2deg);
    transition: transform 0.5s;
}
.hero-mockup:hover { transform: rotate(0deg) scale(1.02); }
.mockup-header { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; background: #e2e8f0; }
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }
.mockup-body {
    background: linear-gradient(135deg, #f0f9ff, #f0fdfa);
    border-radius: 12px;
    padding: 2rem;
    min-height: 300px;
}
.mockup-product {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mockup-img {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
}
.mockup-info { flex: 1; }
.mockup-title { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.mockup-price { color: var(--primary); font-weight: 700; font-size: 0.85rem; }


/* ========================================
   SECCIONES GENERALES (index.php)
   ======================================== */

section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}
.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}


/* ========================================
   HOW IT WORKS (index.php)
   ======================================== */

.how-it-works { background: var(--bg); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,168,150,0.15);
}
.step-number {
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0,168,150,0.4);
}
.step-icon { font-size: 3rem; margin: 1.5rem 0 1rem; }
.step-card h3 { color: var(--secondary); margin-bottom: 0.8rem; font-size: 1.3rem; }
.step-card p { color: var(--text-light); font-size: 0.95rem; }


/* ========================================
   FEATURES (index.php)
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature-card {
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,168,150,0.1);
}
.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}
.feature-card h3 { color: var(--secondary); margin-bottom: 0.6rem; font-size: 1.15rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }


/* ========================================
   PRICING - EFECTO SEÑUELO (index.php)
   ======================================== */

.pricing { background: var(--bg); }
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.billing-option {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    position: relative;
}
.billing-option.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0,168,150,0.3);
}
.billing-option .save-badge {
    position: absolute;
    top: -8px; right: -5px;
    background: var(--promo);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

/******** Principio*/
/* ========================================
PRICING - GRID INTELIGENTE (3, 4 o más planes)
======================================== */
.plans-grid {
    display: grid;
    /* MAGIA: Se ajusta automáticamente. Si hay 3, hace 3 columnas. Si hay 4, hace 4. */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch; /* Estira todas las tarjetas a la misma altura */
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%; /* Asegura altura uniforme */
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* El plan destacado (Emprendedor) */
.plan-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    box-shadow: 0 20px 50px rgba(0,168,150,0.25);
    transform: scale(1.03); /* Destaca un poco sin romper la grilla */
    z-index: 10;
}

.plan-card.featured:hover { 
    transform: scale(1.05) translateY(-8px); 
}

/* ========================================
RESPONSIVE PARA PLANES
======================================== */
/* En tablets: se ajusta a 2 o 3 columnas automáticamente */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .plan-card.featured {
        transform: scale(1); /* Quitamos el zoom en tablets para evitar encimamientos */
    }
    .plan-card.featured:hover { 
        transform: translateY(-8px); 
    }
}

/* En móviles: 1 sola columna, perfecto para scroll vertical */
@media (max-width: 640px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}
/*****Fin*/
/*.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

/* --- Desde index.php (plan-card para pricing) --- */
/*.plan-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.plan-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    box-shadow: 0 20px 50px rgba(0,168,150,0.25);
    transform: scale(1.03);
    z-index: 2;
}
.plan-card.featured:hover { transform: scale(1.03) translateY(-8px); }

/* --- Desde index.php (plan-badge para pricing) --- */
.plan-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 14px rgba(0,168,150,0.4);
    white-space: nowrap;
}

/* --- Desde index.php (plan-name para pricing) --- */
.plan-name {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- Desde index.php (plan-price para pricing) --- */
.plan-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
    min-height: 100px;
}
.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
}
.plan-card.featured .plan-price .amount {
    font-size: 3.2rem;
    color: var(--primary);
}
.plan-price .currency {
    font-size: 1.5rem;
    color: var(--text-light);
    vertical-align: top;
}
.plan-price .period {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}
.plan-price .original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
    margin-right: 0.5rem;
}
.plan-price .savings {
    display: inline-block;
    background: rgba(16,185,129,0.1);
    color: var(--success);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}
.plan-price .promo-tag {
    display: inline-block;
    background: var(--promo);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* --- Desde index.php (plan-features para pricing) --- */
.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}
.plan-features li {
    padding: 0.5rem 0;
    color: var(--text);
    font-size: 0.95rem;
    padding-left: 1.8rem;
    position: relative;
}
.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}
.plan-features li.disabled {
    color: #cbd5e1;
    text-decoration: line-through;
}
.plan-features li.disabled::before {
    content: "✕";
    color: #cbd5e1;
}

.plan-btn { width: 100%; padding: 1rem; text-align: center; }
.plan-card.featured .plan-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 14px rgba(0,168,150,0.4);
}
.plan-card.featured .plan-btn:hover {
    box-shadow: 0 8px 20px rgba(0,168,150,0.5);
}
.plan-recommendation {
    text-align: center;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}


/* ========================================
   TESTIMONIOS (index.php)
   ======================================== */

.testimonials { background: white; }
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 280px;
}
.testimonial-card {
    background: linear-gradient(135deg, #f0f9ff, #f0fdfa);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}
.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}
.testimonial-stars { color: var(--accent); font-size: 1.3rem; margin-bottom: 1rem; }
.testimonial-text {
    font-size: 1.1rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.testimonial-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}
.testimonial-info { text-align: left; }
.testimonial-name { font-weight: 700; color: var(--secondary); font-family: 'Montserrat', sans-serif; }
.testimonial-business { color: var(--text-light); font-size: 0.9rem; }
.testimonial-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.testimonial-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}
.testimonial-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}


/* ========================================
   CARRUSEL DE TIENDAS (index.php)
   ======================================== */

.store-showcase { background: var(--bg); }
.store-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
}
.store-carousel::-webkit-scrollbar { height: 6px; }
.store-carousel::-webkit-scrollbar-track { background: var(--border); border-radius: 3px; }
.store-carousel::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.store-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,168,150,0.15);
}
.store-logo {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    overflow: hidden;
}
.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-name {
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}
.store-category {
    display: inline-block;
    background: rgba(0,168,150,0.1);
    color: var(--primary-dark);
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.store-location {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}
.store-visit {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}
.store-carousel-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    background: white;
    border-radius: 16px;
    font-style: italic;
}

.store-logo-dir {
    width: 95%;
    height: 90px;
    border-radius: 0;
    background: linear-gradient(135deg, #f0f9ff, #f0fdfa);
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(0, 168, 150, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.2rem;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-logo-dir img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   USE CASES (index.php)
   ======================================== */

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.usecase-card {
    background: linear-gradient(135deg, #f0f9ff, #f0fdfa);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}
.usecase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,168,150,0.15);
}
.usecase-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.usecase-card h4 { color: var(--secondary); margin-bottom: 0.5rem; font-size: 1.1rem; }
.usecase-card p { color: var(--text-light); font-size: 0.9rem; }


/* ========================================
   FINAL CTA (index.php)
   ======================================== */

.final-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
}
.final-cta h2 { font-size: 2.5rem; margin-bottom: 1rem; color: white; }
.final-cta p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.final-cta .btn-primary { background: white; color: var(--secondary); }
.final-cta .btn-primary:hover { background: #f0f9ff; }


/* ========================================
   FOOTER
   ======================================== */

/* --- Desde index.php --- */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    text-align: center;
}
footer a { color: var(--primary); text-decoration: none; }
footer a:hover { color: white; }

/* --- Desde index.php (footer-brand) --- */
.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}
.footer-brand span { color: var(--primary); }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php (padding:2rem 0 1.5rem, margin-top:auto) */
/* AJUSTAR: register.php usa padding:2rem 0 1.5rem y margin-top:auto */
footer-2 {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 0 1.5rem;
    text-align: center;
    margin-top: auto;
}

/* [DUPLICADO] webhook.php (igual que register) */
/*
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 0 1.5rem;
    text-align: center;
}
*/

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php (display:flex, align-items, justify-content, gap, font-size:1.3rem) */
/* AJUSTAR: register.php usa display:flex, align-items:center, justify-content:center, gap:0.5rem, font-size:1.3rem */
.footer-brand-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* [DUPLICADO] webhook.php (igual que register) */
/*
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
}
*/

/* --- Desde index.php (footer-brand con img de 75px) --- */
.footer-brand img { height: 75px; }

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php (height: 32px) */
/* AJUSTAR: register.php usa height: 32px */
.footer-brand img-2 { height: 32px; }

/* [DUPLICADO] webhook.php (igual que register) */
/* .footer-brand img { height: 32px; } */


/* ========================================
   SIDEBAR (register.php)
   ======================================== */

.sidebar {
    position: sticky;
    top: 100px;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php - plan-card para sidebar */
/* AJUSTAR: register.php usa background: gradient, border:2px solid, padding:2rem, margin-bottom:1.5rem */
.plan-card-2 {
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdfa 100%);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,168,150,0.1);
}

.plan-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php - plan-name para sidebar */
/* AJUSTAR: register.php usa font-family:Montserrat, font-size:1.3rem */
.plan-name-2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 700;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php - plan-badge para sidebar */
/* AJUSTAR: register.php usa background:var(--primary), padding:0.3rem 0.8rem */
.plan-badge-2 {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php - plan-price para sidebar */
/* AJUSTAR: register.php usa border-bottom: 2px solid rgba(0,168,150,0.2) */
.plan-price-2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0,168,150,0.2);
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php - plan-price .amount para sidebar */
/* AJUSTAR: register.php usa color: var(--primary) */
.plan-price .amount-2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

/* [DUPLICADO] register.php */
/* .plan-price .currency { font-size: 1.5rem; color: var(--text-light); vertical-align: top; } */
/* .plan-price .period { color: var(--text-light); font-size: 0.9rem; } */
/* .plan-price .original { text-decoration: line-through; color: #94a3b8; font-size: 1rem; margin-right: 0.5rem; } */

.plan-price .promo-badge {
    background: var(--promo);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
    margin-left: 0.5rem;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php - plan-features para sidebar */
/* AJUSTAR: register.php usa padding:0.4rem 0, font-size:0.9rem, padding-left:1.5rem */
.plan-features-2 {
    list-style: none;
}
.plan-features-2 li {
    padding: 0.4rem 0;
    color: var(--text);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}
.plan-features-2 li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1rem;
}


/* ========== STEPPER COMPACTO ========== */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 1.5rem auto 2rem;
    padding: 1.2rem 1.5rem;
    /*background: linear-gradient(135deg, rgba(0, 168, 150, 0.06) 0%, rgba(2, 128, 144, 0.06) 100%);
    border-radius: 14px;
    border: 1px solid rgba(0, 168, 150, 0.12);*/
    max-width: 420px; /* ← Limita el ancho */
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    flex: 0 0 auto; /* ← No se estira */
    min-width: 60px;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 2.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.step-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
    white-space: nowrap;
}

/* Paso activo */
.step.active .step-circle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 6px 16px rgba(0, 168, 150, 0.35);
    transform: scale(1.08);
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

/* Paso completado */
.step.completed .step-circle {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-color: var(--success);
    color: white;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.step.completed .step-label {
    color: var(--success);
}

/* Conector entre pasos */
.step-connector {
    flex: 1;
    height: 2.5px;
    background: var(--border);
    margin: 0 0.4rem;
    margin-bottom: 1.2rem;
    border-radius: 2px;
    transition: background 0.4s;
    position: relative;
    z-index: 1;
    max-width: 80px; /* ← Limita el largo del conector */
}

.step-connector.active {
    background: linear-gradient(90deg, var(--success) 0%, var(--primary) 100%);
    box-shadow: 0 1px 4px rgba(0, 168, 150, 0.2);
}

/* Responsive */
@media (max-width: 640px) {
    .step-indicator {
        padding: 1rem 1rem;
        max-width: 100%;
        margin: 1rem auto 1.5rem;
    }
    .step-circle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .step-label {
        font-size: 0.6rem;
    }
    .step-connector {
        max-width: 50px;
        margin: 0 0.3rem;
    }
}

/* ========================================
   MAIN LAYOUT (register.php)
   ======================================== */

.main-content {
    flex: 1;
    padding: 3rem 0;
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] webhook.php (padding:3rem 1.5rem, display:flex, align-items, justify-content) */
/* AJUSTAR: webhook.php usa padding:3rem 1.5rem, display:flex, align-items:center, justify-content:center */
.main-content-2 {
    flex: 1;
    padding: 3rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}


/* ========================================
   FORM (register.php)
   ======================================== */

.form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}
.form-header h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}
.form-header p {
    color: var(--text-light);
    font-size: 1rem;
}
.form-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1.8rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
}
.form-section-title:first-of-type { margin-top: 0; }
.form-group { margin-bottom: 1.1rem; }
label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text);
    font-size: 0.9rem;
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    background: white;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.1);
}
.hint { font-size: 0.78rem; color: var(--text-light); margin-top: 0.3rem; }
.slug-input { display: flex; align-items: center; gap: 0.5rem; }
.slug-prefix {
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.9rem;
    background: var(--bg);
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 2px solid var(--border);
}
.error {
    background: #fef2f2;
    color: var(--danger);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--danger);
    font-size: 0.9rem;
}

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }


/* ========================================
   CATEGORÍAS (register.php)
   ======================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}
.category-option { position: relative; }
.category-option input { position: absolute; opacity: 0; pointer-events: none; }
.category-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.4rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-size: 0.78rem;
    background: white;
    min-height: 80px;
}
.category-option label .cat-icon { font-size: 1.6rem; margin-bottom: 0.3rem; }
.category-option input:checked + label {
    border-color: var(--primary);
    background: rgba(0, 168, 150, 0.08);
    color: var(--primary);
    font-weight: 600;
    transform: scale(1.02);
}
.category-option label:hover { border-color: var(--secondary); }


/* ========================================
   SUMMARY PASO 3 (register.php)
   ======================================== */

.summary-box {
    background: var(--bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--text-light); }
.summary-row .value { font-weight: 600; color: var(--text); text-align: right; }
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0 0;
    margin-top: 0.5rem;
    border-top: 2px solid var(--border);
    font-size: 1.2rem;
}
.summary-total .value {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}
.summary-total .original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
    margin-right: 0.5rem;
    font-weight: 400;
}


/* ========================================
   TRUST BADGES (register.php)
   ======================================== */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    font-size: 0.8rem;
}
.trust-badge-icon {
    font-size: 1rem;
}


/* ========================================
   WEBHOOK - RESULT CARD (webhook.php)
   ======================================== */

.result-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    max-width: 640px;
    width: 100%;
    overflow: hidden;
}
.result-header {
    padding: 3rem 2.5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
}
.result-header.success {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.result-header.pending {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
}
.result-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 1s ease;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.result-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}
.result-header p {
    font-size: 1.05rem;
    opacity: 0.95;
}
.result-body {
    padding: 2rem 2.5rem 2.5rem;
}
.credentials {
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdfa 100%);
    border: 2px solid var(--primary);
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
}
.credentials-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.credentials-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,168,150,0.15);
    font-size: 0.9rem;
}
.credentials-row:last-child { border-bottom: none; }
.credentials-row .label { color: var(--text-light); }
.credentials-row .value {
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
    text-align: right;
    max-width: 60%;
}
.credentials-warning {
    background: #fef3c7;
    color: #92400e;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.next-steps {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}
.next-steps-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.next-step-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.6rem 0;
    align-items: flex-start;
}
.next-step-icon {
    width: 28px; height: 28px;
    background: rgba(0,168,150,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
}
.next-step-text {
    color: var(--text);
    font-size: 0.9rem;
    padding-top: 0.2rem;
}
.next-step-text strong { color: var(--secondary); }


/* ========================================
   IMAGEN WEBHOOK (webhook.php)
   ======================================== */

.imagenWebhook {
    max-width: 200px;
    width: 200px;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 10px 25px rgba(0, 168, 150, 0.15));
    transition: transform 0.3s ease;
}
.imagenWebhook:hover {
    transform: scale(1.02);
}


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

/* --- Desde index.php --- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-cta { justify-content: center; }
    .hero-mockup { transform: rotate(0); margin-top: 2rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; }
    .plan-card.featured { transform: scale(1); }
    .plan-card.featured:hover { transform: translateY(-8px); }
    .section-title h2 { font-size: 1.8rem; }
    .billing-toggle { flex-wrap: wrap; }
    .billing-option { flex: 1 1 45%; }
}

/* [DUPLICADO CON CONTENIDO DIFERENTE] register.php */
/* AJUSTAR: register.php tiene reglas específicas para register-grid, sidebar, form-wrapper, category-grid, row-2, form-header h2, plan-price .amount */
@media (max-width: 900px) {
    .register-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .sidebar {
        position: static;
        order: 2;
    }
    .form-wrapper {
        order: 1;
        padding: 1.5rem;
    }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .row-2 { grid-template-columns: 1fr; }
    .form-header h2 { font-size: 1.4rem; }
    .plan-price .amount { font-size: 2.2rem; }
}

/* --- Desde register.php (480px) --- */
@media (max-width: 480px) {
    .main-content { padding: 1.5rem 0; }
    .form-wrapper { padding: 1.2rem; border-radius: 16px; }
    .trust-badges { gap: 0.8rem; }
    .trust-badge { font-size: 0.7rem; }
}

/* --- Desde webhook.php (640px) --- */
@media (max-width: 640px) {
    .result-header { padding: 2rem 1.5rem 1.5rem; }
    .result-header h1 { font-size: 1.5rem; }
    .result-body { padding: 1.5rem; }
    .result-icon { font-size: 4rem; }
    .btn-group { flex-direction: column; }
    .btn { min-width: 100%; }
    .credentials-row { flex-direction: column; gap: 0.2rem; }
    .credentials-row .value { text-align: left; max-width: 100%; }

    .register-container { padding: 1.5rem; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .row-2 { grid-template-columns: 1fr; }
    
    /* Ajuste del stepper en móvil */
    .step-indicator {
        margin-left: auto;
        margin-right: auto;
        margin-top: 1rem;
        padding-left: 2rem;
        padding-right: 2rem;
        gap: 0.5rem;
    }
    .step {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .step:not(:last-child)::after {
        width: 0.5rem;
        right: -0.5rem;
    }
}
@media (max-width: 768px) {
    .section-title {
        flex-direction: column;
        text-align: center !important;
    }
    .section-title > div {
        text-align: center !important;
    }
}

.grecaptcha-badge {
    bottom: 10px !important;
    right: 10px !important;
    opacity: 0.7;
}