/*
   Elemental Hosting - Modern Light Theme
   Theme: Professional Light, Clean Cards, Blue Brand Color
*/

:root {
    /* Page Background Shades */
    --bg-page: #EFF3F8;        /* Main page background - light blue-grey */
    --bg-white: #FFFFFF;       /* Card / panel backgrounds */
    --bg-alt: #E4EAF3;         /* Alternate section background */

    /* Brand Blue */
    --accent-primary: #1D74D4;
    --accent-primary-hover: #1558B0;
    --accent-glow: rgba(29, 116, 212, 0.22);
    --accent-light: rgba(29, 116, 212, 0.07);
    --accent-border: rgba(29, 116, 212, 0.18);

    /* Text Colors */
    --text-primary: #1E293B;
    --text-secondary: #5A6D85;
    --text-inverse: #FFFFFF;

    /* Borders & Shadows */
    --border-color: #DAE2EE;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 100px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE SETUP
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography Utilities */
h1,
h2,
h3,
h4,
.h1,
.h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    overflow-wrap: break-word;
}

.text-gradient {
    background: linear-gradient(135deg, #1558B0 0%, #1D74D4 50%, #5BA4F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-alt);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    background: var(--accent-light);
    color: var(--accent-primary);
    border: 1px solid var(--accent-border);
}

/* ==========================================================================
   CARD PANELS (replaces glassmorphism)
   ========================================================================== */
.glass-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.glass-header {
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .elemental {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-text .hosting {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
}

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile hamburger + dropdown menu */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.nav-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 112px;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 0.5rem 1.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--card-shadow-hover);
    z-index: 999;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
    color: var(--accent-primary);
}

.mobile-menu .mobile-cta {
    margin-top: 1rem;
    border-bottom: none;
    background: var(--accent-primary);
    color: #FFFFFF;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 4px 14px var(--accent-glow);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding-top: 160px;
    padding-bottom: 90px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(150deg, #FFFFFF 0%, var(--bg-page) 65%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.75rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Domain Search Box */
.domain-search-box {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.domain-search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
}

.domain-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.domain-input {
    flex: 1;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.domain-input::placeholder {
    color: var(--text-secondary);
}

.domain-input:focus {
    border-color: var(--accent-primary);
}

.domain-pricing {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.domain-pricing b {
    color: var(--text-primary);
}

/* Hero Dashboard Mockup */
.dashboard-mockup {
    padding: 1.5rem;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-smooth);
    box-shadow: 0 12px 40px rgba(29, 116, 212, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

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

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

.dots span:nth-child(2) {
    background: #FFBD2E;
}

.dots span:nth-child(3) {
    background: #27C93F;
}

.mockup-title {
    margin-left: auto;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-gradient {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #1D74D4, #5BA4F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-info .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-info .value {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.chart-illustration {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.chart-illustration .bar {
    flex: 1;
    background: var(--bg-alt);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}

.bar.gradient-bg {
    background: linear-gradient(to top, var(--accent-primary), #5BA4F0);
    box-shadow: 0 0 12px rgba(29, 116, 212, 0.3);
}

.h-40 { height: 40%; }
.h-60 { height: 60%; }
.h-70 { height: 70%; }
.h-80 { height: 80%; }
.h-90 { height: 90%; }
.h-100 { height: 100%; }

/* ==========================================================================
   ADVANTAGES / WHY CHOOSE US SECTION
   ========================================================================== */
.advantages-section {
    padding: 90px 0;
    background: var(--bg-page);
}

.advantages-section .section-header {
    margin-bottom: 3rem;
}

.advantages-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 3.5rem 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2.5rem;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advantage-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 1.5px solid var(--accent-border);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.advantage-item:hover .advantage-icon {
    background: rgba(29, 116, 212, 0.12);
    border-color: rgba(29, 116, 212, 0.35);
}

.advantage-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.advantage-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 260px;
}

/* ==========================================================================
   TECH / FEATURES SECTION
   ========================================================================== */
.tech-section {
    padding: 100px 0;
    background: var(--bg-alt);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

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

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-border);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-page);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-label.active {
    color: var(--text-primary);
}

.badge-save {
    background: rgba(22, 163, 74, 0.09);
    color: #16A34A;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: var(--accent-primary);
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--accent-light);
    border-color: var(--accent-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-glow);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    position: relative;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 32px rgba(29, 116, 212, 0.14);
    background: linear-gradient(160deg, rgba(29, 116, 212, 0.04) 0%, var(--bg-white) 100%);
    padding: 3.5rem 2.5rem;
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--accent-primary), #5BA4F0);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.plan-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.plan-header > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price {
    display: flex;
    align-items: flex-end;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--text-primary);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.plan-note {
    font-size: 0.8rem;
    color: #16A34A;
}

.plan-features ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.plan-features i {
    color: var(--accent-primary);
    font-weight: bold;
}

.security-badges {
    margin-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.security-badges i {
    color: #16A34A;
    margin-right: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    background: #172540;  /* Deep navy - contrast footer */
    color: var(--text-inverse);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin: 1.5rem 0;
    max-width: 300px;
}

.site-footer .logo-text .elemental {
    color: #FFFFFF;
}

.site-footer .logo-text .hosting {
    color: rgba(255, 255, 255, 0.5);
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    color: #5BA4F0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-email:hover {
    color: white;
    border-color: var(--accent-primary);
    background: rgba(29, 116, 212, 0.18);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: white;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .dashboard-mockup {
        max-width: 600px;
        margin: 0 auto;
        transform: none;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 3rem auto 0;
    }

    .pricing-card.popular {
        padding: 2.5rem;
        transform: translateY(0);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

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

    .advantages-card {
        padding: 2rem 1.5rem;
    }

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

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

    .main-nav {
        display: none;
        /* Add hamburger in real prod */
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu.open {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .billing-toggle {
        flex-wrap: wrap;
        gap: 0.6rem 1rem;
    }
}

/* ==========================================================================
   SALES-PAGE SECTIONS (landing-page-v1 copy)
   Light theme + blue accent - built on the existing design system.
   ========================================================================== */

/* Helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Hero additions --- */
.hero-subhead {
    font-size: 1.35rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1.25rem !important;
    max-width: 520px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    margin-top: 0.5rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-trust i {
    color: var(--accent-primary);
    font-size: 1.05rem;
}

/* --- Problem section --- */
.problem-section {
    padding: 90px 0;
    background: var(--bg-alt);
}

.problem-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem;
}

.problem-intro {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.pain-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.pain-list i {
    color: #E0533D;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-conclusion p {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.problem-conclusion strong {
    color: var(--text-primary);
}

.problem-kicker {
    font-family: var(--font-heading);
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    color: var(--accent-primary) !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0 !important;
}

/* --- Story / credentials section --- */
.story-section {
    padding: 100px 0;
    background: var(--bg-page);
}

.story-prose {
    max-width: 720px;
    margin: 0 auto 4rem;
}

.story-prose p {
    font-size: 1.12rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.story-prose strong {
    color: var(--text-primary);
}

.story-turn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem !important;
    color: var(--text-primary) !important;
    margin: 1.5rem 0 !important;
}

.credentials-block {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.credentials-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.credentials-lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.credential-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.credential-stat {
    padding: 2rem;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.credential-stat p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.credentials-close {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- What's included section --- */
.includes-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

/* --- Pricing: comparison table --- */
.compare-wrapper {
    margin-top: 4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.compare-table thead th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    background: var(--bg-page);
    color: var(--text-primary);
}

.compare-table tbody th[scope="row"] {
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-page);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table .col-popular {
    background: rgba(29, 116, 212, 0.10);
    border-left: 1px solid var(--accent-border);
    border-right: 1px solid var(--accent-border);
}

.compare-table thead .col-popular {
    color: var(--accent-primary);
    border-top: 2px solid var(--accent-primary);
}

.compare-yes {
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.compare-no {
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 1.2rem;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.testimonial-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.quote-mark {
    font-size: 2.5rem;
    color: var(--accent-primary);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin: 0 0 2rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), #5BA4F0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.author-meta strong {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1rem;
}

.author-meta small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* --- What we DON'T do --- */
.dont-section {
    padding: 100px 0;
    background: var(--bg-page);
}

.dont-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

.dont-item {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
}

.dont-icon {
    font-size: 1.75rem;
    color: #E0533D;
    margin-bottom: 1rem;
    line-height: 1;
}

.dont-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.dont-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- FAQ --- */
.faq-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item[open] {
    border-color: var(--accent-border);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.5rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    color: var(--accent-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Final CTA band + P.S. --- */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #172540 0%, #1D3A6B 100%);
    color: var(--text-inverse);
}

.final-cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.cta-highlight {
    color: #5BA4F0;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.cta-kicker {
    font-size: 1.6rem;
    color: #FFFFFF;
    margin: 2.5rem 0 1.5rem;
}

.btn-cta-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: var(--accent-primary);
    padding: 1rem 2.25rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-smooth);
}

.btn-cta-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    color: var(--accent-primary-hover);
}

.cta-subline {
    margin-top: 1.5rem !important;
    font-weight: 600;
    color: #FFFFFF !important;
    font-size: 1rem !important;
}

.cta-micro {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

.ps-note {
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    text-align: left;
}

.ps-note p {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.ps-note strong {
    color: #FFFFFF;
}

.ps-note a {
    color: #8FC4FF;
    font-weight: 600;
    white-space: nowrap;
}

.ps-note a:hover {
    color: #BBD9FF;
}

/* --- Responsive: sales-page sections --- */
@media (max-width: 1024px) {
    .credential-stats {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .problem-card {
        padding: 2rem 1.5rem;
    }

    .pain-list li,
    .problem-conclusion p {
        font-size: 1rem;
    }

    .story-prose p {
        font-size: 1.05rem;
    }

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

    .final-cta h2 {
        font-size: 2rem;
    }

    .faq-item summary {
        font-size: 1rem;
        padding: 1.25rem 1.25rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY & MOTION FALLBACKS
   ========================================================================== */

/* Reveal all content (and stop transforms) for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    .fade-in-up,
    .fade-in-left {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Visible keyboard focus indicator */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-cta-light:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Light focus ring on the dark CTA band */
.final-cta a:focus-visible,
.btn-cta-light:focus-visible {
    outline-color: #FFFFFF;
}

/* Extend the animation stagger for the 7-item "incluye" grid */
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* ==========================================================================
   TOP UTILITY BAR  (phone/WhatsApp · support · social · login)
   ========================================================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1001;
    background: #172540;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-link i {
    color: #5BA4F0;
    font-size: 1.05rem;
}

.top-bar-link:hover {
    color: #FFFFFF;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-social {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.top-bar-social:hover {
    color: #FFFFFF;
    transform: translateY(-1px);
}

.top-bar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-login {
    font-size: 1.25rem;
    color: #FFFFFF;
}

/* Footer contact: stack email + WhatsApp chips */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.footer-contact h4 {
    margin-bottom: 0;
}

@media (max-width: 600px) {

    .tb-soporte {
        display: none;
    }

    .top-bar-left {
        gap: 1rem;
    }

    .top-bar-right {
        gap: 0.75rem;
    }
}

@media (max-width: 380px) {

    .tb-phone {
        display: none;
    }
}

/* ==========================================================================
   PHONE TUNING (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {

    .container {
        padding: 0 1.1rem;
    }

    .hero {
        padding-top: 140px;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero-subhead {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .section-header h2,
    .h2 {
        font-size: 1.9rem;
    }

    .credentials-title {
        font-size: 1.6rem;
    }

    .final-cta h2 {
        font-size: 1.6rem;
    }

    .cta-kicker {
        font-size: 1.35rem;
    }

    .amount {
        font-size: 3rem;
    }

    .pricing-card,
    .pricing-card.popular {
        padding: 2rem 1.5rem;
    }

    .problem-card {
        padding: 1.75rem 1.25rem;
    }

    .feature-card,
    .testimonial-card,
    .dont-item,
    .credential-stat {
        padding: 1.75rem 1.5rem;
    }

    .story-prose p {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.78rem;
    }

    .ps-note {
        padding: 1.25rem 1.25rem;
    }
}

/* ==========================================================================
   COLLAPSIBLE COMPARISON TABLE
   ========================================================================== */
.compare-details {
    margin-top: 3rem;
    text-align: center;
}

.compare-summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent-primary);
    box-shadow: var(--card-shadow);
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.compare-summary::-webkit-details-marker {
    display: none;
}

.compare-summary:hover {
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: var(--card-shadow-hover);
}

.compare-chevron {
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.compare-details[open] .compare-chevron {
    transform: rotate(180deg);
}

/* Override the standalone wrapper spacing now that it lives inside the toggle */
.compare-details .compare-wrapper {
    margin-top: 2rem;
    text-align: left;
}
