/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-light: #F5F5F5;
    --color-white: #FFFFFF;
    --color-teal: #76ABAE;
    --color-teal-dark: #4F787A;
    --color-teal-light: rgba(118, 171, 174, 0.1);
    --color-teal-glow: rgba(118, 171, 174, 0.35);
    --color-dark: #303841;
    --color-dark-light: #444E5A;
    --color-dark-card: #20272F;
    --color-orange: #FF5722;
    --color-orange-hover: #E64A19;
    --color-orange-glow: rgba(255, 87, 34, 0.3);
    --color-text-dark: #303841;
    --color-text-muted: #667085;
    --color-text-light: #F5F5F5;
    --color-border: #E4E7EC;
    
    /* STATIC THEME: Light Page */
    --page-bg: #F5F5F5;
    --page-bg-card: #FFFFFF;
    --page-text: #303841;
    --page-text-muted: #667085;
    --page-border: #E4E7EC;
    
    /* STATIC THEME: Dark Mockup */
    --mock-bg: #303841;
    --mock-bg-card: #20272F;
    --mock-text: #FFFFFF;
    --mock-text-muted: rgba(255, 255, 255, 0.5);
    --mock-border: rgba(255, 255, 255, 0.08);
    --mock-input-bg: rgba(255, 255, 255, 0.04);
    --mock-text-color-dark: #FFFFFF;
    
    /* Typography */
    --font-heading: 'League Spartan', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transition and Shadow Tokens */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 8px 24px rgba(255, 87, 34, 0.25);
    --shadow-teal: 0 8px 24px rgba(118, 171, 174, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--page-bg);
    color: var(--page-text);
    line-height: 1.6;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--page-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-teal);
    border-radius: var(--radius-full);
    border: 3px solid var(--page-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal-dark);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
}

p {
    color: var(--color-text-muted);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Ambient Background Glow Follower */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(118, 171, 174, 0.18) 0%, rgba(255, 87, 34, 0.04) 30%, rgba(245, 245, 245, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0;
    transition: opacity 0.8s ease;
    filter: blur(45px);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

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

.btn-accent {
    background-color: var(--color-teal);
    color: var(--color-white);
    box-shadow: var(--shadow-teal);
}

.btn-accent:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(118, 171, 174, 0.35);
}

.btn-teal {
    background-color: var(--color-teal);
    color: var(--color-white);
    box-shadow: var(--shadow-teal);
}

.btn-teal:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(118, 171, 174, 0.35);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-teal);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}
.btn-link:hover {
    color: var(--color-teal-dark);
}
.text-red {
    color: #E53935 !important;
}
.text-red:hover {
    color: #C62828 !important;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--page-bg-card);
    opacity: 0.96;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--page-border);
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Navbar compactado al hacer scroll */
.navbar.scrolled {
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar.scrolled .navbar-container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.navbar.scrolled .logo-img {
    height: 40px;
    transition: height 0.3s ease;
}

.logo-img {
    transition: height 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

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

/* Adaptative logo switching */
.logo-for-dark { display: none; }
.logo-for-light { display: block; }
body.dark-theme .logo-for-light { display: none; }
body.dark-theme .logo-for-dark { display: block; }

/* Phone Mockup Logo switcher */
.phone-logo-for-light { display: none; }
.phone-logo-for-dark { display: block; }
body.dark-theme .phone-logo-for-dark { display: none; }
body.dark-theme .phone-logo-for-light { display: block; }

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--page-text);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-fast);
    outline: none;
}

.theme-toggle-btn:hover {
    background-color: rgba(118, 171, 174, 0.1);
    color: var(--color-teal);
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--page-text);
    position: relative;
    padding: 6px 0;
}

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

.nav-link:hover {
    color: var(--color-teal);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-dark);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-loja {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-teal-light);
    color: var(--color-teal-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(118, 171, 174, 0.2);
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--color-teal);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

/* Hero Lead Form */
.hero-form {
    display: flex;
    gap: 12px;
    background-color: var(--color-white);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 520px;
    margin-bottom: 32px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.hero-form:focus-within {
    border-color: var(--color-teal);
    box-shadow: 0 12px 30px rgba(118, 171, 174, 0.15);
}

.hero-form .input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    padding-left: 12px;
}

.hero-form .icon-input {
    font-size: 1.4rem;
    color: var(--color-text-muted);
}

.hero-form input {
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
}

.hero-trust {
    display: flex;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.trust-item i {
    color: var(--color-teal);
    font-size: 1.1rem;
}

/* Hero Preview: Mobile Frame Mockup */
.hero-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background-color: var(--color-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--color-dark-light);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--mock-bg-card);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.phone-header {
    height: 36px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--mock-text);
    font-size: 0.75rem;
    z-index: 10;
    transition: color 0.4s ease;
}

.phone-notch {
    width: 110px;
    height: 18px;
    background-color: var(--mock-bg);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.4s ease;
}

.phone-icons {
    display: flex;
    gap: 4px;
}

.phone-app-bar {
    background-color: var(--mock-bg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--mock-border);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.phone-logo-img {
    height: 24px;
    width: auto;
}

.app-cart {
    position: relative;
    color: var(--mock-text);
    font-size: 1.2rem;
    transition: color 0.4s ease;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 0.65rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.phone-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    overflow-y: auto;
}

.search-animation-box {
    width: 100%;
}

.mock-search-bar {
    background-color: var(--mock-bg);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mock-text-muted);
    font-size: 0.85rem;
    border: 1px solid var(--mock-border);
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.mock-search-bar i {
    color: var(--color-teal);
}

.mock-results-preview.grid-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mock-result-card {
    background-color: var(--mock-bg);
    border-radius: var(--radius-sm);
    padding: 8px;
    border: 1px solid var(--mock-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background-color 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}

.card-header-prod {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.prod-title {
    color: var(--mock-text);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.4s ease;
}

.card-shop-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--mock-text-muted);
    margin-bottom: 2px;
    transition: color 0.4s ease;
}

.shop-name {
    font-weight: 500;
}

.shop-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #FFC107;
    font-weight: 600;
}

.review-count {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.shop-badge {
    background-color: rgba(118, 171, 174, 0.2);
    color: var(--color-teal);
    padding: 2px 6px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Simulator product-focused details metadata */
.shop-name-detail {
    font-weight: 600;
    color: var(--color-dark);
}

.text-yellow {
    color: #FFC107 !important;
}

.card-prod {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-teal-dark);
}

.card-stock {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-stock.available {
    color: #4CAF50;
}

.card-stock.low {
    color: #FFC107;
}

/* Animations for Mobile Cards */
@keyframes fadeInUpMock {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    animation: fadeInUpMock 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
}

/* Interactive Floating Badges around phone */
.floating-badge {
    position: absolute;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    z-index: 10;
}

.floating-badge h6 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.floating-badge p {
    font-size: 0.75rem;
    margin: 0;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-teal-light);
    color: var(--color-teal-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.badge-1 {
    top: 15%;
    left: -40px;
    animation: floatingAnimation 6s ease-in-out infinite;
}

.badge-2 {
    bottom: 20%;
    right: -40px;
    animation: floatingAnimation 6s ease-in-out infinite 3s;
}

@keyframes floatingAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ==========================================================================
   Features Overview (Grid)
   ========================================================================== */
.features-overview {
    padding: 100px 0;
    background-color: var(--color-white);
    position: relative;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 60px;
}

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

.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(48, 56, 65, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(118, 171, 174, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-teal-light);
    color: var(--color-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background-color: var(--color-teal);
    color: var(--color-white);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Section Layout structures
   ========================================================================== */
.section-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.layout-reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.layout-info h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.layout-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ==========================================================================
   Comparator Interactive Section
   ========================================================================== */
.comparator-interactive {
    background-color: var(--color-bg-light);
}

.product-selector-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.selector-btn:hover {
    border-color: var(--color-teal);
    background-color: var(--color-teal-light);
    color: var(--color-teal-dark);
}

.selector-btn.active {
    background-color: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
    box-shadow: var(--shadow-teal);
}

.comparator-stats {
    display: flex;
    gap: 40px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-teal);
    line-height: 1;
}

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

/* Simulator Container UI (Light Card, inside has search details) */
.simulator-card {
    background-color: var(--page-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--page-border);
    overflow: hidden;
    color: var(--page-text);
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.sim-header {
    padding: 24px;
    background-color: var(--page-bg-card);
    border-bottom: 1px solid var(--page-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.sim-search-bar {
    background-color: var(--page-bg);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 260px;
    font-size: 0.85rem;
    color: var(--page-text-muted);
    border: 1px solid var(--page-border);
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
    position: relative;
}

.sim-search-bar i {
    color: var(--color-teal);
}

.sim-loading-dots {
    position: absolute;
    right: 12px;
    font-size: 1.1rem;
    color: var(--color-teal);
    opacity: 0;
    transition: var(--transition-fast);
}

.sim-loading-dots.active {
    opacity: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.sim-filter-info {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.sim-results-list {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    min-height: 350px;
    background-color: var(--page-bg);
}

/* Simulator Card Grid Item (Amazon/Temu style) */
.sim-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background-color: var(--page-bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--page-border);
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUpMock 0.5s ease forwards;
    gap: 10px;
    position: relative;
}

.sim-row:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    box-shadow: var(--shadow-md);
}

.sim-shop-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-dark);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.shop-details h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.shop-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.shop-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.sim-price-info {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sim-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.sim-row.cheapest {
    border-color: rgba(118, 171, 174, 0.4);
    background-color: rgba(118, 171, 174, 0.05);
}

.sim-row.cheapest .sim-price {
    color: var(--color-teal-dark);
}

.badge-cheapest-label {
    background-color: var(--color-teal);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 4px;
}

.sim-status-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.sim-status-pill.in-stock {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.sim-status-pill.low-stock {
    background-color: rgba(255, 193, 7, 0.1);
    color: #F57F17;
}

/* ==========================================================================
   Payment Interactive Section
   ========================================================================== */
.payment-interactive {
    padding: 100px 0;
    background-color: var(--color-white);
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.payment-methods-card, .payment-tracking-card {
    background-color: var(--page-bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--page-border);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.payment-methods-card h3, .payment-tracking-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.section-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.payment-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background-color: var(--page-bg);
    border: 1px solid var(--page-border);
    cursor: pointer;
    text-align: left;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}

.payment-tab:hover {
    border-color: var(--color-teal);
    transform: translateY(-2px);
}

.payment-tab.active {
    border-color: var(--color-teal);
    background-color: var(--color-teal-light);
    box-shadow: 0 4px 12px rgba(118, 171, 174, 0.1);
}

.tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.brand-ahorita {
    background-color: #005F9E;
    color: var(--color-white);
}

.brand-deuna {
    background-color: #FFE000;
    color: #303841;
}

.tab-text strong {
    display: block;
    font-size: 1rem;
    color: var(--page-text);
    transition: color 0.4s ease;
}

.tab-text span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.payment-details-box {
    background-color: var(--page-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--page-border);
    animation: fadeInUpMock 0.4s ease forwards;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.payment-info-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-teal-dark);
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 8px;
}

.payment-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.details-row {
    display: flex;
    justify-content: space-between;
}

.details-row strong {
    color: var(--color-dark);
}

.qr-code-placeholder {
    width: 140px;
    height: 140px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-sm);
    margin: 16px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    gap: 8px;
}

.qr-code-placeholder i {
    font-size: 2.2rem;
    color: var(--color-dark-light);
}

/* Order Pipeline Tracking Visuals */
.status-pipeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    padding: 0 10px;
    gap: 8px;
}

.status-pipeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: var(--color-border);
    z-index: 1;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.step-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.2;
    hyphens: auto;
}

.status-step.active .step-num {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(118, 171, 174, 0.2);
}

.status-step.active .step-title {
    color: var(--color-teal-dark);
}

.status-step.completed .step-num {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.status-step.completed .step-title {
    color: var(--color-dark);
}

/* Tracker Simulation Controls */
.tracker-simulator-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 200px;
}

.mock-receipt-uploader {
    background-color: var(--page-bg);
    border: 2px dashed var(--page-border);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.mock-receipt-uploader:hover {
    border-color: var(--color-teal);
    background-color: var(--color-teal-light);
}

.upload-icon {
    font-size: 2.4rem;
    color: var(--color-teal);
    margin-bottom: 12px;
}

.upload-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.order-status-card-preview {
    background-color: var(--page-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--page-border);
    overflow: hidden;
    animation: fadeInUpMock 0.4s ease forwards;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.status-card-header {
    background-color: #FAFBFB;
    padding: 12px 18px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-id {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-dark);
}

.status-badge {
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--color-orange);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.status-badge.reported {
    background-color: rgba(0, 95, 158, 0.1);
    color: #005F9E;
}

.status-badge.confirmed {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.status-badge.ready {
    background-color: rgba(118, 171, 174, 0.2);
    color: var(--color-teal-dark);
}

.status-card-body {
    padding: 18px;
}

.status-shop {
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.status-items {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.status-action-row {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.status-action-row p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-dark);
}

/* ==========================================================================
   Forum and Reputation (Neighborhood Forum Mockup)
   ========================================================================== */
.community-reputation {
    background-color: var(--color-bg-light);
}

.reputation-levels {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rep-level-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.rep-level-card.active {
    border-left: 4px solid var(--color-teal);
    box-shadow: var(--shadow-sm);
}

.level-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.rep-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.tier-nuevo .rep-badge {
    background-color: #E4E7EC;
    color: #475467;
}

.tier-vecino .rep-badge {
    background-color: var(--color-teal-light);
    color: var(--color-teal-dark);
}

.tier-experto .rep-badge {
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--color-orange);
}

.rep-level-card h4 {
    font-size: 1.05rem;
    color: var(--color-dark);
}

.level-desc {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Forum UI Container (Dark Mockup for visual punch) */
.forum-mock-container {
    background-color: var(--color-dark-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.forum-header {
    background-color: var(--color-dark);
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
}

.forum-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forum-stats {
    font-size: 0.75rem;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.forum-stats::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #4CAF50;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

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

.forum-feed {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 480px;
    overflow-y: auto;
}

.forum-thread {
    background-color: var(--color-dark);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thread-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 0.8rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.text-teal { color: var(--color-teal) !important; }
.text-orange { color: var(--color-orange) !important; }

.user-tier {
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    margin-left: 6px;
    font-weight: 600;
}

.tier-badge-nuevo { background-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.6); }
.tier-badge-vecino { background-color: rgba(118, 171, 174, 0.15); color: var(--color-teal); }
.tier-badge-experto { background-color: rgba(255, 87, 34, 0.15); color: var(--color-orange); }

.thread-question {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.thread-replies {
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding-left: 14px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}

.reply-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.reply-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.reply-actions {
    margin-top: 4px;
}

.upvote-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.upvote-btn:hover {
    color: var(--color-teal);
}

.upvote-btn.voted {
    color: var(--color-teal);
    font-weight: 700;
}

.forum-quick-reply {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.forum-quick-reply input {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    flex-grow: 1;
    outline: none;
}

.forum-quick-reply input:focus {
    border-color: var(--color-teal);
}

/* ==========================================================================
   Pre-Registration Section & Full Form
   ========================================================================== */
.registration-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.registration-card {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
}

.reg-info {
    padding: 60px;
    background-color: var(--color-dark-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reg-info h2 {
    color: var(--color-white);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.reg-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-item i {
    font-size: 1.6rem;
    color: var(--color-teal);
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 4px;
}

.benefit-item div {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Lead Registration Form styling */
.reg-form-container {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.lead-registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.col-span-2 {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
}

.form-group input, .form-group select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background-color: var(--color-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(118, 171, 174, 0.25);
}

.form-group select option {
    background-color: var(--color-dark-card);
    color: var(--color-white);
}

.form-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1.4;
}

.form-terms input {
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.form-terms label {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

/* Success Card inside form block */
.registration-success-box {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUpMock 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: var(--color-teal-light);
    color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 24px;
    animation: scaleUp 0.5s ease forwards;
}

@keyframes scaleUp {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.registration-success-box h3 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.registration-success-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 320px;
    margin: 0 auto;
}

.already-registered-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 16px;
    animation: fadeInUpMock 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.already-registered-box h3 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.already-registered-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 44px;
    width: auto;
    align-self: flex-start;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-teal);
    padding-left: 4px;
}

.inactive-phase {
    pointer-events: none;
    opacity: 0.55;
    font-size: 0.85rem !important;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact i {
    color: var(--color-teal);
    font-size: 1.1rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-credits {
    font-weight: 500;
}

/* ==========================================================================
   Responsive Adaptations (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-form {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-preview {
        max-width: 380px;
        margin: 0 auto;
    }
    
    .section-layout, .section-layout.layout-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-card {
        grid-template-columns: 1fr;
    }
    
    .reg-info, .reg-form-container {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .floating-badge {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-flex !important;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-bg-light);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(48, 56, 65, 0.03);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta.mobile-only {
        width: calc(100% - 48px);
        margin: 16px 24px 24px;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .layout-info h2 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .sim-price-info {
        gap: 10px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .col-span-2 {
        grid-column: span 1;
    }

    /* Status pipeline: reducir tamano de circulos y texto en tablet/mobile */
    .step-num {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .step-title {
        font-size: 0.6rem;
        letter-spacing: 0.2px;
    }

    .status-pipeline {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    /* Status pipeline ultra-compacto: solo numeros, titulos debajo pero mas pequenos */
    .step-num {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
        border-width: 2px;
    }

    .step-title {
        font-size: 0.55rem;
        margin-top: 6px;
        letter-spacing: 0;
    }

    .status-pipeline {
        gap: 4px;
        padding: 0 4px;
        margin-bottom: 28px;
    }

    .status-pipeline::before {
        top: 13px;
        left: 14px;
        right: 14px;
    }

    .hero-form {
        flex-direction: column;
        background: none;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    
    .hero-form .input-group {
        background-color: var(--color-white);
        border: 1px solid var(--color-border);
        padding: 12px 16px;
        border-radius: var(--radius-md);
    }
    
    .hero-form button {
        width: 100%;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .reg-info, .reg-form-container {
        padding: 24px 16px;
    }
    
    .reg-info h2 {
        font-size: 1.8rem;
    }
    
    .benefit-item {
        gap: 12px;
    }
    
    .benefit-item i {
        font-size: 1.3rem;
    }
    
    .floating-badge {
        display: none;
    }
    
    .phone-frame {
        width: 285px;
        height: 570px;
        padding: 10px;
        border-radius: 32px;
        margin: 0 auto;
    }
    
    .phone-screen {
        border-radius: 24px;
    }
    
    .phone-notch {
        width: 90px;
        height: 15px;
    }
    
    .payment-methods-card, .payment-tracking-card {
        padding: 24px 16px;
    }
    
    .sim-results-list {
        padding: 10px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        min-height: auto;
    }
    
    .sim-row {
        padding: 10px;
        gap: 6px;
    }
    
    .prod-grid-img {
        height: 85px;
        font-size: 1.8rem;
    }
    
    .sim-row h4 {
        font-size: 0.85rem;
    }
    
    .prod-desc-detail {
        font-size: 0.65rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .sim-row .sim-price-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2px;
        border-top: none;
        padding-top: 0;
        margin-top: 0;
        width: 100%;
        display: flex;
    }
    
    .sim-row .sim-price {
        font-size: 1rem;
    }
    
    .sim-row .sim-status-pill {
        font-size: 0.55rem;
        padding: 1px 4px;
    }
    
    .sim-row .sim-shop-info {
        padding-top: 6px;
        gap: 6px;
        margin-top: auto;
        display: flex;
        align-items: center;
    }
    
    .sim-row .shop-avatar {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
    }
    
    .sim-row .shop-details {
        gap: 0;
        display: flex;
        flex-direction: column;
    }
    
    .sim-row .shop-name-detail {
        font-size: 0.7rem;
    }
    
    .sim-row .shop-rating {
        font-size: 0.6rem;
    }
    
    .sim-search-bar {
        width: 100%;
    }
}

/* ==========================================================================
   Scroll Reveal Animations (IntersectionObserver-driven)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

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

/* Variaciones de delay para escalonar animaciones en grids */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* Direccion variantes para mas variedad */
.reveal.reveal-left { transform: translateX(-30px); }
.reveal.reveal-right { transform: translateX(30px); }
.reveal.reveal-left.revealed,
.reveal.reveal-right.revealed { transform: translateX(0); }

/* Respeta usuarios con sensibilidad vestibular */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .bg-glow,
    .animate-card,
    .floating-badge,
    .phone-frame,
    .feature-card.tilt-effect {
        animation: none !important;
        transition: none !important;
    }
    * {
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Boton Volver Arriba (Floating)
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-dark);
    color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background-color: var(--color-teal);
    transform: translateY(-3px) scale(1.05);
}

/* ==========================================================================
   Sticky CTA Movil (barra flotante inferior con CTA de registro)
   ========================================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--page-border);
    padding: 12px 16px;
    display: none;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 950;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-sticky-cta-text {
    flex: 1;
    min-width: 0;
}

.mobile-sticky-cta-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-dark);
    line-height: 1.2;
}

.mobile-sticky-cta-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.mobile-sticky-cta .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Barra CTA movil visible solo en pantallas pequenas */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }

    /* Padding inferior para que el sticky CTA no tape el footer */
    .footer {
        padding-bottom: 80px;
    }

    /* El boton volver arriba sube para no chocar con el sticky CTA */
    .scroll-top-btn {
        bottom: 80px;
    }
}

/* ==========================================================================
   Product Grid Layout Custom Classes (Temu/Amazon style)
   ========================================================================== */
.mock-prod-img {
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: rgba(255, 255, 255, 0.25);
    font-size: 2.2rem;
}

.mock-prod-img .grid-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--color-teal);
    color: var(--color-white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--radius-full);
}

.mock-prod-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prod-desc-short {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.3;
}

.card-delivery {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background-color: rgba(118, 171, 174, 0.1);
    padding: 1px 6px;
    border-radius: var(--radius-full);
}

/* Simulator Grid Item Styles */
.prod-grid-img {
    width: 100%;
    height: 150px;
    background-color: var(--page-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-teal);
    font-size: 2.8rem;
    border: 1px solid var(--page-border);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.prod-grid-img .grid-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--color-teal);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.sim-row h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-text);
    margin: 0;
    transition: color 0.4s ease;
}

.prod-desc-detail {
    font-size: 0.8rem;
    color: var(--page-text-muted);
    line-height: 1.4;
    margin: 0;
    transition: color 0.4s ease;
}

.sim-row .sim-shop-info {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--page-border);
    padding-top: 12px;
    margin-top: auto;
    transition: border-color 0.4s ease;
}

.sim-row .shop-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
    background-color: var(--color-dark);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
}

.sim-row .shop-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sim-row .shop-name-detail {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--page-text);
    transition: color 0.4s ease;
}

.sim-row .shop-rating {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 3px;
    color: #FFC107;
    font-weight: 600;
}

.sim-row .review-count {
    color: var(--page-text-muted);
    font-weight: 400;
    transition: color 0.4s ease;
}

.sim-row .shop-meta {
    font-size: 0.75rem;
    color: var(--page-text-muted);
    transition: color 0.4s ease;
}

.sim-row .sim-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    width: 100%;
}

.sim-row .sim-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-teal);
}

.sim-row .sim-status-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
}
