/* HostBill Pro public homepage — ported from
   Source-Data/hostbillpro_homepage_reference.html (2026-07-15).
   Shares --navy/--indigo/--cyan/--white/--slate tokens with variables.css
   but keeps its own copy here since the reference used slightly different
   values for this dark full-bleed marketing page than the admin/portal
   panels' lighter surface tokens. */

.homepage-body {
    background: var(--navy, #0A0F1E);
    color: var(--white, #F0F4FF);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.homepage-body * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(107, 72, 255, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 212, 200, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 60% 10%, rgba(107, 72, 255, 0.08) 0%, transparent 50%);
    animation: meshShift 18s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0.8; transform: scale(1.06) translateY(-20px); }
}

.homepage-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 15, 30, 0.75);
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--slate, #8892AA); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white, #F0F4FF); }
.btn-nav {
    background: var(--indigo, #6B48FF); color: #fff; border: none; border-radius: 8px;
    padding: 9px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif; text-decoration: none; display: inline-block;
    transition: background 0.2s, transform 0.15s;
}
.btn-nav:hover { background: var(--indigo-light, #8B6FFF); transform: translateY(-1px); }

.logo-wordmark { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--white, #F0F4FF); letter-spacing: -0.5px; }
.logo-wordmark span { color: var(--cyan, #00D4C8); }

.hero {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(107, 72, 255, 0.15); border: 1px solid rgba(107, 72, 255, 0.4);
    border-radius: 100px; padding: 6px 16px;
    font-size: 12px; font-weight: 600; color: var(--cyan, #00D4C8);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease both;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan, #00D4C8); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 700; line-height: 1.08; letter-spacing: -2px;
    max-width: 820px; margin: 0 auto 24px;
    animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--indigo-light, #8B6FFF) 0%, var(--cyan, #00D4C8) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub { font-size: 18px; color: var(--slate, #8892AA); max-width: 520px; margin: 0 auto 48px; line-height: 1.7; animation: fadeUp 0.8s 0.2s ease both; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 72px; animation: fadeUp 0.8s 0.3s ease both; }

.btn-primary {
    background: linear-gradient(135deg, var(--indigo, #6B48FF) 0%, #4A2FCC 100%);
    color: #fff; border: none; border-radius: 12px;
    padding: 14px 28px; font-size: 16px; font-weight: 600; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 0 40px rgba(107, 72, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(107, 72, 255, 0.6); }

.btn-ghost {
    color: var(--white, #F0F4FF); background: transparent;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); border-radius: 12px;
    padding: 14px 28px; font-size: 16px; font-weight: 500; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: border-color 0.2s, background 0.2s;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04); }

.stats-strip { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s 0.4s ease both; }
.stat { text-align: center; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: var(--white, #F0F4FF); display: block; }
.stat-label { font-size: 13px; color: var(--slate, #8892AA); }

.hero-visual { position: relative; z-index: 1; padding: 0 24px 80px; display: flex; justify-content: center; animation: fadeUp 0.9s 0.5s ease both; }
.dashboard-frame {
    width: 100%; max-width: 900px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(107, 72, 255, 0.1);
}
.df-toolbar { background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08)); padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.df-url { margin-left: 12px; background: rgba(255, 255, 255, 0.06); border-radius: 6px; padding: 4px 14px; font-size: 12px; color: var(--slate, #8892AA); font-family: monospace; }
.df-body { display: grid; grid-template-columns: 200px 1fr; min-height: 320px; }
.df-sidebar { border-right: 1px solid var(--border, rgba(255, 255, 255, 0.08)); padding: 20px 0; }
.df-nav-item { padding: 10px 20px; font-size: 13px; color: var(--slate, #8892AA); display: flex; align-items: center; gap: 10px; }
.df-nav-item.active { color: var(--white, #F0F4FF); background: rgba(107, 72, 255, 0.15); border-left: 2px solid var(--indigo, #6B48FF); }
.df-nav-item svg { opacity: 0.7; }
.df-main { padding: 24px; }
.df-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 20px; color: var(--white, #F0F4FF); }
.df-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.df-card { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); border-radius: 12px; padding: 16px; }
.df-card-label { font-size: 11px; color: var(--slate, #8892AA); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.df-card-val { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--white, #F0F4FF); }
.df-card-val.cyan { color: var(--cyan, #00D4C8); }
.df-card-val.indigo { color: var(--indigo-light, #8B6FFF); }
.df-chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.df-chart { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); border-radius: 12px; padding: 16px; height: 100px; position: relative; overflow: hidden; }
.df-chart-label { font-size: 11px; color: var(--slate, #8892AA); margin-bottom: 10px; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.bar { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--indigo, #6B48FF) 0%, rgba(107, 72, 255, 0.3) 100%); animation: barGrow 1s ease both; transform-origin: bottom; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bar:nth-child(2) { animation-delay: .05s; } .bar:nth-child(3) { animation-delay: .1s; }
.bar:nth-child(4) { animation-delay: .15s; } .bar:nth-child(5) { animation-delay: .2s; }
.bar:nth-child(6) { animation-delay: .25s; } .bar:nth-child(7) { animation-delay: .3s; }

.homepage-body section { position: relative; z-index: 1; }
.homepage-body .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan, #00D4C8); margin-bottom: 12px; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; }
.section-sub { color: var(--slate, #8892AA); font-size: 17px; max-width: 520px; line-height: 1.7; }

.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.feature-card { background: var(--card, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); border-radius: 16px; padding: 28px; transition: border-color 0.3s, transform 0.3s, background 0.3s; }
.feature-card:hover { border-color: rgba(107, 72, 255, 0.4); transform: translateY(-4px); background: rgba(107, 72, 255, 0.06); }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(107, 72, 255, 0.15); border: 1px solid rgba(107, 72, 255, 0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 20px; }
.feature-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-text { font-size: 14px; color: var(--slate, #8892AA); line-height: 1.65; }

.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.price-card { background: var(--card, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); border-radius: 20px; padding: 32px; position: relative; transition: transform 0.3s; }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { background: linear-gradient(135deg, rgba(107, 72, 255, 0.2) 0%, rgba(0, 212, 200, 0.08) 100%); border-color: rgba(107, 72, 255, 0.5); box-shadow: 0 0 60px rgba(107, 72, 255, 0.15); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--indigo, #6B48FF), var(--cyan, #00D4C8)); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 100px; padding: 4px 14px; white-space: nowrap; }
.price-plan { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--slate, #8892AA); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.price-amount sup { font-size: 24px; vertical-align: top; margin-top: 8px; display: inline-block; }
.price-cycle { font-size: 13px; color: var(--slate, #8892AA); margin-bottom: 28px; }
.price-features { list-style: none; margin-bottom: 28px; padding: 0; }
.price-features li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08)); display: flex; align-items: center; gap: 10px; color: var(--slate, #8892AA); }
.price-features li:last-child { border-bottom: none; }
.price-features li .ck { color: var(--cyan, #00D4C8); font-size: 16px; }
.btn-price { width: 100%; border-radius: 10px; padding: 12px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: 'Space Grotesk', sans-serif; border: none; transition: transform 0.2s, opacity 0.2s; text-decoration: none; display: inline-block; text-align: center; }
.btn-price:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-price.primary { background: linear-gradient(135deg, var(--indigo, #6B48FF), #4A2FCC); color: #fff; }
.btn-price.ghost { background: transparent; border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); color: var(--white, #F0F4FF); }

.integrations { padding: 80px 0; }
.int-header { text-align: center; margin-bottom: 50px; }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.int-card { background: var(--card, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); border-radius: 14px; padding: 20px 16px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.int-card:hover { border-color: rgba(107, 72, 255, 0.4); transform: translateY(-3px); }
.int-icon { font-size: 28px; margin-bottom: 8px; }
.int-name { font-size: 13px; font-weight: 600; color: var(--white, #F0F4FF); margin-bottom: 2px; }
.int-type { font-size: 11px; color: var(--slate, #8892AA); }

.cta-section { padding: 100px 0; }
.cta-banner { background: linear-gradient(135deg, rgba(107, 72, 255, 0.25) 0%, rgba(0, 212, 200, 0.1) 100%); border: 1px solid rgba(107, 72, 255, 0.3); border-radius: 24px; padding: 60px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(107, 72, 255, 0.15) 0%, transparent 70%); animation: ctaPulse 4s ease-in-out infinite; }
@keyframes ctaPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.cta-banner h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; position: relative; }
.cta-banner p { color: var(--slate, #8892AA); font-size: 17px; margin-bottom: 36px; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.homepage-footer { border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08)); padding: 48px 0 32px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--slate, #8892AA); margin-top: 12px; max-width: 240px; line-height: 1.6; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; margin-bottom: 16px; color: var(--white, #F0F4FF); }
.footer-col a { display: block; font-size: 13px; color: var(--slate, #8892AA); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white, #F0F4FF); }
.footer-bottom { border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08)); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--slate, #8892AA); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .features-grid, .pricing-grid { grid-template-columns: 1fr; }
    .int-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
