/* General Styling & Variables */
:root {
    --primary-color: #8B5CF6;
    --primary-hover: #7C3AED;
    --bg-dark: #000D33;
    --bg-navy: #002171;
    --bg-light: #f8f9fa;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --success: #10b981;
    --gradient-hero: linear-gradient(135deg, #0011DD 0%, #000D33 100%);
    --gradient-accent: linear-gradient(135deg, #7928CA 0%, #FF0080 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(255, 0, 128, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--bg-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.95) 0%, rgba(9, 13, 22, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-accent);
    opacity: 0.45;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    color: #00e5ff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: #00e5ff;
    border-bottom-color: #00e5ff;
}

.cta-nav-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.cta-nav-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 90, 254, 0.3);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Button Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 128, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--text-light);
    padding: 9rem 2rem 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 90, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.alpha-badge {
    background-color: rgba(0, 229, 255, 0.15);
    color: #00e5ff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.alpha-badge .material-icons {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #00e5ff 30%, #3D5AFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Dashboard Mockup HTML/CSS Graphics */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 480px;
    background-color: #0f172a;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background-color: #1e293b;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 0.35rem;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dots span:nth-child(1) { background-color: #ef4444; }
.mockup-dots span:nth-child(2) { background-color: #f59e0b; }
.mockup-dots span:nth-child(3) { background-color: #10b981; }

.mockup-search {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
    border-radius: 4px;
    flex-grow: 1;
    font-family: monospace;
}

.mockup-body {
    display: grid;
    grid-template-columns: 60px 1fr;
    height: 280px;
}

.mockup-sidebar {
    background-color: #1e293b;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
}

.mockup-item.active {
    background-color: var(--primary-color);
}

.mockup-main {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: #0b0f19;
}

.mockup-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.widget {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-left: 3px solid #10b981;
}

.card-blue {
    background: linear-gradient(135deg, rgba(61, 90, 254, 0.1) 0%, rgba(61, 90, 254, 0.02) 100%);
    border-left: 3px solid var(--primary-color);
}

.widget-title {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
}

.widget-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-top: 0.15rem;
}

.mockup-chart {
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.chart-bar {
    width: 25px;
    background: linear-gradient(to top, var(--primary-color), #00e5ff);
    border-radius: 4px 4px 0 0;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
}

.list-item strong {
    color: white;
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-dark);
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    color: var(--text-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    background-color: rgba(61, 90, 254, 0.15);
    color: #00e5ff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(61, 90, 254, 0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    margin-bottom: 0.35rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Section Header Utility */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--bg-dark);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(0,0,0,0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(61, 90, 254, 0.2);
}

.feature-icon-wrapper {
    background-color: rgba(61, 90, 254, 0.08);
    color: var(--primary-color);
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper .material-icons {
    font-size: 2rem;
}

.feature-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--bg-dark);
}

.feature-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* App Sync Section */
.app-section {
    background-color: var(--bg-navy);
    color: var(--text-light);
    padding: 7rem 2rem;
    overflow: hidden;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.app-visual {
    display: flex;
    justify-content: center;
}

/* Smartphone CSS Mockup */
.phone-mockup {
    width: 240px;
    height: 480px;
    background-color: #0f172a;
    border-radius: 36px;
    border: 10px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4), var(--shadow-glow);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.phone-camera {
    width: 40px;
    height: 4px;
    background-color: #334155;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    flex-grow: 1;
    background-color: #090d16;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    justify-content: center;
}

.phone-header .material-icons {
    font-size: 1rem;
    color: #00e5ff;
}

.phone-scanner-box {
    flex-grow: 1;
    border: 2px dashed rgba(61, 90, 254, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.phone-qr-img {
    width: 100px;
    height: 100px;
    opacity: 0.8;
}

.scanner-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00e5ff;
    box-shadow: 0 0 8px #00e5ff;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 10%; }
    50% { top: 90%; }
    100% { top: 10%; }
}

.phone-status {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--success);
}

.app-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.app-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.app-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.app-steps li {
    display: flex;
    gap: 1rem;
}

.step-num {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00e5ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.app-steps li strong {
    font-size: 1.05rem;
    color: white;
    display: block;
    margin-bottom: 0.15rem;
}

.app-steps li p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Pricing Section (Interactive & Premium Space-Saving Layout) */
.pricing-section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Plan Tabs Segmented Selector */
.plan-tabs-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 3.5rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4px;
    border-radius: 50px;
    max-width: 520px;
    height: 54px;
    margin-left: auto;
    margin-right: auto;
}

.dark-mode .plan-tabs-container {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
}

.active-pill-backdrop {
    position: absolute;
    height: calc(100% - 8px);
    width: calc(25% - 8px);
    top: 4px;
    left: 4px;
    background: var(--gradient-accent);
    border-radius: 50px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3);
}

.plan-tab-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    height: 100%;
    flex: 1;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    outline: none;
    z-index: 2;
}

.plan-tab-btn:hover {
    color: var(--bg-dark);
}

.dark-mode .plan-tab-btn:hover {
    color: white;
}

.plan-tab-btn.active {
    color: white !important;
}

/* Main Interactive Card */
.pricing-interactive-card {
    position: relative;
    background-color: white;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 950px;
    margin: 0 auto;
    transition: var(--transition-smooth), border-color 0.5s ease, box-shadow 0.5s ease;
    z-index: 1;
}

.dark-mode .pricing-interactive-card {
    background-color: #0d1326;
    border-color: rgba(255, 255, 255, 0.05);
}

/* Glowing mesh gradient background lights */
.pricing-interactive-card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    transition: background 0.6s ease;
    z-index: 0;
}

.pricing-interactive-card.theme-esencial::before {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
}

.pricing-interactive-card.theme-avanzado::before {
    background: radial-gradient(circle, #ff0080 0%, transparent 70%);
}

.pricing-interactive-card.theme-pro::before {
    background: radial-gradient(circle, #00e5ff 0%, transparent 70%);
}

.pricing-interactive-card.theme-extras::before {
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
}

/* Shadows glow according to active plan */
.pricing-interactive-card.theme-esencial {
    box-shadow: 0 15px 40px -10px rgba(139, 92, 246, 0.15), var(--shadow-sm);
    border-color: rgba(139, 92, 246, 0.2);
}
.pricing-interactive-card.theme-avanzado {
    box-shadow: 0 15px 40px -10px rgba(255, 0, 128, 0.18), var(--shadow-sm);
    border-color: rgba(255, 0, 128, 0.2);
}
.pricing-interactive-card.theme-pro {
    box-shadow: 0 15px 40px -10px rgba(0, 229, 255, 0.18), var(--shadow-sm);
    border-color: rgba(0, 229, 255, 0.2);
}
.pricing-interactive-card.theme-extras {
    box-shadow: 0 15px 40px -10px rgba(245, 158, 11, 0.18), var(--shadow-sm);
    border-color: rgba(245, 158, 11, 0.2);
}

.dark-mode .pricing-interactive-card.theme-esencial {
    box-shadow: 0 15px 40px -10px rgba(139, 92, 246, 0.25);
}
.dark-mode .pricing-interactive-card.theme-avanzado {
    box-shadow: 0 15px 40px -10px rgba(255, 0, 128, 0.3);
}
.dark-mode .pricing-interactive-card.theme-pro {
    box-shadow: 0 15px 40px -10px rgba(0, 229, 255, 0.3);
}
.dark-mode .pricing-interactive-card.theme-extras {
    box-shadow: 0 15px 40px -10px rgba(245, 158, 11, 0.3);
}

/* Slides Carousel Structure */
.pricing-slides-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.pricing-slides-container {
    display: flex;
    width: 400%;
    transform: translateX(0);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.plan-panel {
    width: 25%;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.plan-panel.active-slide-panel {
    opacity: 1;
}

@media (max-width: 768px) {
    .plan-panel {
        grid-template-columns: 1fr;
    }
}

.plan-left-column {
    padding: 3.5rem 3rem;
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.dark-mode .plan-left-column {
    border-right-color: rgba(255, 255, 255, 0.08);
}

.plan-right-column {
    padding: 3.5rem 3rem;
    background-color: rgba(248, 249, 250, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.dark-mode .plan-right-column {
    background-color: rgba(255, 255, 255, 0.01);
}

.plan-right-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 0.25rem;
}

.dark-mode .plan-right-column h4 {
    color: white;
}

/* Badge styling */
.plan-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.header-esencial {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    border-color: rgba(139, 92, 246, 0.15);
}

.header-avanzado {
    background: rgba(255, 0, 128, 0.1);
    color: #ff0080;
    border-color: rgba(255, 0, 128, 0.15);
}

.header-pro {
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.15);
}

.header-extras {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.15);
}

.price-name {
    font-size: 2.2rem;
    color: var(--bg-dark);
}

.dark-mode .price-name {
    color: white;
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Premium Price Display */
.dynamic-price-display {
    display: flex;
    align-items: baseline;
    font-family: 'Outfit', sans-serif;
    color: var(--bg-dark);
    margin: 0.5rem 0;
}

.dark-mode .dynamic-price-display {
    color: white;
}

.dynamic-price-display .currency-symbol {
    font-size: 1.8rem;
    font-weight: 700;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.dynamic-price-display .price-number {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.dynamic-price-display .price-period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.25rem;
}

/* Micro-feature Cards */
.features-micro-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.feature-micro-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    transition: var(--transition-smooth);
    text-align: left;
}

.dark-mode .feature-micro-card {
    background: rgba(15, 23, 42, 0.3);
    border-color: rgba(255, 255, 255, 0.04);
}

.feature-micro-card:hover {
    transform: translateX(4px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.dark-mode .feature-micro-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-micro-card .material-icons {
    color: var(--success);
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.feature-micro-card strong {
    font-size: 0.85rem;
    color: var(--bg-dark);
    display: block;
    line-height: 1.3;
}

.dark-mode .feature-micro-card strong {
    color: white;
}

.feature-micro-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.15rem;
    line-height: 1.3;
}

.text-success {
    color: var(--success);
}

/* Summary Box Growth & Pro */
.plan-summary-box {
    background-color: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
    text-align: left;
}

.plan-summary-box .material-icons {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.plan-summary-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.plan-summary-box.pro-box {
    background-color: rgba(0, 229, 255, 0.03);
    border-color: rgba(0, 229, 255, 0.15);
}

.plan-summary-box.pro-box .material-icons {
    color: #00e5ff;
}

/* Standalone Add-ons Simulator Styles */
.addons-standalone-section {
    max-width: 950px;
    margin: 2.5rem auto 0 auto;
    width: 100%;
}

.addons-standalone-card {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dark-mode .addons-standalone-card {
    background-color: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.addons-standalone-card::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.addons-standalone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-bottom: 1.5rem;
}

.dark-mode .addons-standalone-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.addons-title-area {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
}

.addons-title-area h3 {
    font-size: 1.5rem;
    color: var(--bg-dark);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.dark-mode .addons-title-area h3 {
    color: white;
}

.addons-title-area p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.addons-icon-badge {
    font-size: 2rem;
    background: rgba(139, 92, 246, 0.08);
    padding: 0.65rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.dark-mode .addons-icon-badge {
    background: rgba(139, 92, 246, 0.15);
}

.addons-calculator-badge {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.dark-mode .addons-calculator-badge {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.calc-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.calc-price {
    display: flex;
    align-items: baseline;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
}

.calc-currency {
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 0.15rem;
}

.calc-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.calc-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .addons-standalone-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .addons-calculator-badge {
        width: 100%;
        align-items: center;
    }
}

/* Addons Grid and Card Option Elements */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
}

@media (max-width: 480px) {
    .addons-grid {
        grid-template-columns: 1fr;
    }
}

.addon-card {
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    position: relative;
    transition: var(--transition-smooth);
    user-select: none;
    text-align: left;
}

.dark-mode .addon-card {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.05);
}

.addon-card:hover {
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.04);
    transform: translateY(-2px);
}

.addon-card.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(255, 0, 128, 0.05) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.addon-icon {
    font-size: 1.35rem;
    transition: transform 0.3s ease;
}

.addon-card:hover .addon-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Addon Counter Control & Badge Styles */
.addon-counter-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 20px;
    padding: 2px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-mode .addon-counter-control {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
}

.counter-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background-color: white;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.dark-mode .counter-btn {
    background-color: #1e293b;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.counter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.counter-btn:active {
    transform: scale(0.9);
}

.counter-value {
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    color: var(--bg-dark);
}

.dark-mode .counter-value {
    color: white;
}

.addon-card.active .counter-value {
    color: var(--primary-color);
}

.dark-mode .addon-card.active .counter-value {
    color: #c084fc;
}

/* Custom check badge for toggleable addons */
.addon-check-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    background-color: transparent;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.dark-mode .addon-check-badge {
    border-color: rgba(255, 255, 255, 0.25);
}

.addon-check-badge .material-icons {
    font-size: 0.85rem;
    font-weight: 900;
}

.addon-card.active .addon-check-badge {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.addon-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.addon-details strong {
    font-size: 0.85rem;
    color: var(--bg-dark);
    line-height: 1.2;
}

.dark-mode .addon-details strong {
    color: white;
}

.addon-card.active .addon-details strong {
    color: var(--primary-color);
}

.dark-mode .addon-card.active .addon-details strong {
    color: #c084fc;
}

.addon-details span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.addon-card.active .addon-details span {
    color: var(--bg-dark);
    opacity: 0.8;
}

.dark-mode .addon-card.active .addon-details span {
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.faq-section {
    padding: 7rem 2rem;
    background-color: #f1f5f9;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--bg-dark);
    cursor: pointer;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* Active FAQ Item */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Safe upper bound for text */
}

/* AdSense section */
.ads-section {
    padding: 3rem 2rem;
    background-color: white;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

/* Footer styling */
.main-footer {
    position: relative;
    background: linear-gradient(180deg, #090d16 0%, #03050a 100%);
    color: var(--text-light);
    padding: 5rem 2rem 2rem 2rem;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.85;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    max-width: 250px;
    height: auto;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    font-family: 'Alegreya Sans SC', sans-serif;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-link-group h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-link-group a:hover {
    color: #00e5ff;
    padding-left: 3px;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #00e5ff;
}

/* Responsiveness (Media Queries) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .app-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .app-content {
        align-items: center;
        text-align: center;
    }
    
    .app-steps {
        align-items: center;
        text-align: left;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0.5rem 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none; /* Controlled by JS class */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 13, 51, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.mobile-active {
        display: flex;
    }
    
    .cta-nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Dark Mode Overrides */
.dark-mode {
    --bg-light: #0b0f19;
    --text-dark: #f8fafc;
    --text-muted: #94a3b8;
}

.dark-mode body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode h4 {
    color: #ffffff;
}

.dark-mode .main-header {
    background-color: rgba(11, 15, 25, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .logo-text {
    color: #ffffff;
}

.dark-mode .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .feature-card,
.dark-mode .price-card {
    background-color: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.2);
}

.dark-mode .faq-section {
    background-color: #080c14;
}

.dark-mode .faq-item {
    background-color: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .faq-question {
    color: #ffffff;
}

.dark-mode .faq-question:hover {
    color: var(--primary-color);
}

.dark-mode .faq-answer {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .section-subtitle,
.dark-mode .price-desc,
.dark-mode .price-features li {
    color: rgba(255, 255, 255, 0.6);
}

.dark-mode .price-card.featured {
    border-color: var(--primary-color);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
}
.theme-toggle-btn:hover {
    color: #00e5ff !important;
    background-color: rgba(255, 255, 255, 0.08);
}