:root {
    /* Brand Colors */
    --navy-900: #1B2635;
    --navy-800: #233044;
    --navy-700: #2C3E50;
    /* HeavenMark Primary */

    --amber-500: #FFC107;
    /* RunHost Primary */
    --amber-600: #F59E0B;

    /* Primary Mappings */
    --primary-600: #2C3E50;
    --primary-700: #1B2635;
    --primary-800: #111827;

    /* Accents */
    --accent-green: #10B981;
    --accent-purple: #8B5CF6;
    --accent-amber: #FFC107;

    /* Neutrals */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Gradients */
    /* Mix of Navy and Amber for a unique brand look */
    --gradient-primary: linear-gradient(135deg, #2C3E50 0%, #1B2635 100%);
    --gradient-brand-mix: linear-gradient(135deg, #2C3E50 0%, #475569 50%, #F59E0B 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-hero: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
    --gradient-amber: linear-gradient(135deg, #FFC107 0%, #F59E0B 100%);

    /* Shadows */
    --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 -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 41, 59, 0.1), 0 4px 6px -2px rgba(30, 41, 59, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(30, 41, 59, 0.1), 0 10px 10px -5px rgba(30, 41, 59, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(30, 41, 59, 0.25);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Background Elements */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--gray-200) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: -2;
}

.bg-gradient-1 {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.bg-gradient-2 {
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, -30px) scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    padding: 24px 0;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) translateY(-2px) scale(1.01);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.runhost-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    transition: all 0.3s ease;
}

.logo-divider {
    font-size: 14px;
    color: var(--gray-400);
    margin: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    font-weight: 500;
}

.heavenmark-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.85;
}

.heavenmark-logo:hover {
    opacity: 1;
}

.heavenmark-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    transition: all 0.3s ease;
}

.logo:hover,
.heavenmark-logo:hover {
    transform: scale(1.05);
}

.logo:active,
.heavenmark-logo:active {
    transform: scale(0.98);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.pill {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 500;
}

.authorized-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.verified-badge {
    display: flex;
    color: #FCD34D;
}

/* Hero */
.hero {
    background: var(--gradient-hero);
    padding: 220px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    border: 1px solid var(--primary-600);
}

.badge-icon {
    font-size: 1.125rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
}

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

.outline-text {
    color: var(--gray-900);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--accent-green);
    font-weight: 700;
}

.trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-stars {
    color: #FBBF24;
    font-size: 1.125rem;
    letter-spacing: 2px;
}

.trustpilot-star {
    flex-shrink: 0;
}

.trust-icon svg {
    color: var(--primary-600);
}

.trust-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.3;
}

.trust-text strong {
    color: var(--gray-900);
    font-weight: 600;
}

.trust-text span {
    color: var(--gray-600);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.highlight-pill {
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0 8px;
}

.highlight-pill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    z-index: -1;
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Cards */
.comparison-section {
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card.current {
    opacity: 0.85;
}

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

.pricing-card.recommended {
    border: 2px solid var(--primary-600);
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    box-shadow: var(--shadow-2xl);
    transform: scale(1.02);
}

.pricing-card.recommended:hover {
    transform: scale(1.02) translateY(-4px);
}

.recommended-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-amber);
    color: var(--navy-900);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-lg);
}

.card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 16px;
}

.recommended-label {
    color: var(--primary-600);
}

.provider-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.provider-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.google-logo {
    background: var(--gray-100);
}

.runhost-logo {
    background: var(--gradient-primary);
    color: white;
}

.runhost-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
}

.reseller-badge {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.price-display {
    text-align: center;
    margin-bottom: 32px;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    margin-bottom: 8px;
}

.price-main.featured {
    color: var(--primary-700);
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    margin-right: 4px;
}

.amount {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
}

.period {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-left: 4px;
}

.price-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.billing-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-style: italic;
}

.cost-breakdown {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.cost-breakdown.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(118, 75, 162, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 2px solid var(--gray-200);
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.feature-list.dimmed {
    opacity: 0.6;
}

.feature-list svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Savings Highlight */
.savings-highlight {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1E293B 100%);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.savings-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.2), transparent 70%);
}

.savings-content {
    position: relative;
    z-index: 2;
}

.savings-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

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

.savings-label {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.savings-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    line-height: 1;
}

.savings-value.primary {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.savings-divider {
    width: 1px;
    height: 60px;
    background: var(--gray-700);
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    font-family: inherit;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(99, 102, 241, 0.4);
}

.cta-primary.large {
    padding: 18px 40px;
    font-size: 1.25rem;
}

/* Stats Bar */
.stats-bar {
    background: white;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Guarantees */
.guarantees-section {
    background: var(--gray-50);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.guarantee-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-600);
}

.guarantee-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.guarantee-icon.blue {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1E40AF;
}

.guarantee-icon.green {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    color: #065F46;
}

.guarantee-icon.purple {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    color: #6B21A8;
}

.guarantee-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.guarantee-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.guarantee-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Process Timeline */
.process-section {
    background: white;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--primary-600), transparent);
    min-height: 60px;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    background: var(--gradient-hero);
    padding: 100px 0;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content>p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--primary-700);
    border: 2px solid var(--primary-600);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-secondary.large {
    padding: 18px 40px;
    font-size: 1.25rem;
}

.cta-secondary:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.cta-trust svg {
    color: var(--accent-green);
}

/* Footer */
/* Story Footer */
.story-footer {
    background: var(--navy-900);
    color: var(--gray-300);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.story-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 12px 32px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.story-divider {
    color: var(--gray-600);
    font-size: 1.25rem;
    font-weight: 300;
}

.story-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 48px;
}

.story-text p {
    margin-bottom: 24px;
}

.story-text strong {
    color: var(--amber-500);
    font-weight: 600;
}

.story-copyright {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 968px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.recommended {
        transform: scale(1);
    }

    .savings-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .savings-divider {
        width: 100%;
        height: 1px;
    }

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

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

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

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

@media (max-width: 640px) {
    .hero {
        padding: 140px 0 60px;
    }

    .navbar {
        padding: 16px 0;
    }

    .brand {
        padding: 6px 12px;
    }

    .runhost-logo-img {
        height: 24px;
    }

    .logo-divider {
        margin: 0 10px;
        font-size: 12px;
        width: 20px;
        height: 20px;
    }

    .heavenmark-logo-img {
        height: 20px;
    }

    .authorized-badge {
        padding: 6px;
        border-radius: 8px;
    }

    .authorized-badge>span {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .amount {
        font-size: 3rem;
    }

    .savings-value {
        font-size: 2rem;
    }

    .trust-row {
        flex-direction: column;
        gap: 20px;
    }

    .trust-divider {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
    }

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-2xl);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--gray-600);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--gray-900);
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

/* Signature Pad */
.signature-pad-container {
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    position: relative;
    cursor: crosshair;
    transition: border-color 0.2s;
}

.signature-pad-container:hover {
    border-color: var(--gray-400);
}

canvas#signaturePad {
    width: 100%;
    height: 150px;
    display: block;
    border-radius: 10px;
}

.signature-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gray-400);
    pointer-events: none;
    font-size: 1.25rem;
    font-family: 'Nothing You Could Do', cursive;
    /* Optional */
    opacity: 0.5;
}

.clear-signature {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: white;
    border: 1px solid var(--gray-300);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.clear-signature:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.form-agreement {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 32px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.form-agreement input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
}

.form-agreement a {
    color: var(--primary-600);
    text-decoration: underline;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Success Modal */
.success-container {
    text-align: center;
    max-width: 400px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

/* Success Overlay Full Screen */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-overlay.active {
    display: flex;
    opacity: 1;
}

.success-card {
    background: white;
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-header {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    padding: 40px 32px;
    text-align: center;
    color: white;
}

.success-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gray-200);
    /* Fallback */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--amber-500);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.success-icon-large svg {
    width: 40px;
    height: 40px;
}

.success-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-subtitle {
    font-size: 1rem;
    color: var(--gray-400);
}

.success-body {
    padding: 32px;
}

.success-alert {
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--blue-800);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.success-alert svg {
    flex-shrink: 0;
}

.payment-instruction {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px dashed var(--gray-300);
}

.payment-instruction h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.payment-instruction p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 8px;
}

.payment-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.payment-amount {
    color: var(--navy-900);
    font-size: 1.125rem;
}

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

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--gray-300);
    padding: 12px 24px;
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-download:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--navy-900);
}

.success-footer-note {
    background: var(--gray-50);
    padding: 16px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-200);
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 640px) {

    /* Modal adjustments */
    .modal-container {
        padding: 24px;
        border-radius: 16px;
        max-height: 95vh;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-header p {
        font-size: 0.875rem;
    }

    /* Form inputs */
    .form-group label {
        font-size: 0.875rem;
    }

    .form-input {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 12px 16px;
    }

    /* Signature pad */
    #signaturePad {
        height: 150px;
    }

    .signature-actions {
        flex-direction: column;
        gap: 8px;
    }

    .signature-actions button {
        width: 100%;
        justify-content: center;
    }

    /* Form agreement */
    .form-agreement {
        font-size: 0.8125rem;
    }

    .form-agreement label {
        line-height: 1.6;
    }

    /* Submit button */
    .cta-primary {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Success overlay */
    .success-card {
        padding: 0;
        border-radius: 16px;
        max-width: 100%;
    }

    .success-header {
        padding: 24px 20px;
    }

    .success-icon-large {
        width: 60px;
        height: 60px;
    }

    .success-icon-large svg {
        width: 32px;
        height: 32px;
    }

    .success-header h2 {
        font-size: 1.5rem;
    }

    .success-subtitle {
        font-size: 0.875rem;
    }

    .success-body {
        padding: 20px;
    }

    .success-alert {
        padding: 12px;
        font-size: 0.875rem;
        flex-direction: column;
        text-align: center;
    }

    .payment-instruction {
        padding: 16px;
    }

    .payment-instruction h4 {
        font-size: 1rem;
    }

    .payment-instruction p {
        font-size: 0.875rem;
    }

    .payment-row {
        font-size: 0.875rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .payment-amount {
        font-size: 1rem;
        font-weight: 700;
    }

    .btn-download {
        padding: 14px 20px;
        font-size: 0.9375rem;
    }

    .success-footer-note {
        font-size: 0.75rem;
        padding: 12px;
    }

    /* Story section */
    .story-title {
        font-size: 1.5rem;
    }

    .story-text {
        font-size: 1rem;
    }

    .logo-group {
        padding: 10px 24px;
        gap: 12px;
    }

    .logo-group img {
        max-height: 24px;
    }

    /* Pricing cards */
    .pricing-header h3 {
        font-size: 1.25rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .pricing-features li {
        font-size: 0.875rem;
        padding: 10px 0;
    }

    /* Stats */
    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Guarantee cards */
    .guarantee-card h3 {
        font-size: 1.125rem;
    }

    .guarantee-card p {
        font-size: 0.875rem;
    }

    /* Migration steps */
    .migration-step h4 {
        font-size: 1rem;
    }

    .migration-step p {
        font-size: 0.875rem;
    }

    /* Comparison table - make it scrollable */
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table table {
        min-width: 600px;
    }

    /* Adjust padding for mobile */
    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    /* Timeline adjustments */
    .timeline-step {
        padding-left: 40px;
    }

    .timeline-step::before {
        left: 0;
        width: 24px;
        height: 24px;
    }

    .timeline-number {
        font-size: 0.75rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    .modal-container {
        padding: 20px;
    }

    .success-header h2 {
        font-size: 1.25rem;
    }

    .pricing-amount {
        font-size: 2rem;
    }
}