/* ── Gratify Tier 3 Landing Pages - Shared Styles ── */
/* Design system: matches gratifypay.com (Inter Tight, blue #0171FF) */
/* With gratifypages.com State of Onboarding dark hero gradient */

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

:root {
    --blue: #0171FF;
    --blue-dark: #005AD4;
    --blue-light: #7dd3fc;
    --blue-glow: #60a5fa;
    --black: #000000;
    --gray-900: #0f172a;
    --gray-body: #64748b;
    --gray-light: #f8fafc;
    --gray-border: #e2e8f0;
    --white: #ffffff;
    --max-width: 1100px;
    --nav-height: 72px;
    --hero-gradient: linear-gradient(135deg, #0a1628, #0f2440 40%, #153560);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-body);
    font-size: 16px;
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
}
.nav-logo { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    text-decoration: none;
    color: var(--gray-body);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 12px 22px !important;
    border-radius: 6px;
    font-weight: 500 !important;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* ── HERO ── */
.hero {
    margin-top: var(--nav-height);
    background: var(--hero-gradient);
    padding: 80px 40px 80px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(1, 113, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 95, 170, 0.2);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero h1 .accent {
    background: linear-gradient(to right, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

/* ── FORM PLACEHOLDER ── */
.form-container {
    background: rgba(15, 36, 64, 0.6);
    border: 1px solid rgba(125, 211, 252, 0.15);
    border-radius: 16px;
    padding: 36px 32px;
    backdrop-filter: blur(20px);
}
.form-container h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.form-container p.form-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}
/* HubSpot form placeholder - Ryan will replace this div */
.hubspot-form-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(125, 211, 252, 0.25);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

/* ── SECTIONS ── */
.section {
    padding: 80px 40px;
}
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.section-header p {
    font-size: 17px;
    color: var(--gray-body);
    max-width: 600px;
    margin: 0 auto;
}

/* ── BENEFIT CARDS ── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: box-shadow 0.3s, transform 0.2s;
}
.benefit-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.benefit-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}
.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.benefit-card p {
    font-size: 15px;
    color: var(--gray-body);
    line-height: 1.6;
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--hero-gradient);
    padding: 48px 40px;
}
.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item h3 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(to right, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

/* ── HOW IT WORKS ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    counter-reset: step;
}
.step {
    text-align: center;
    counter-increment: step;
}
.step-number {
    width: 56px; height: 56px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 20px;
}
.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.step p {
    font-size: 15px;
    color: var(--gray-body);
    line-height: 1.6;
}

/* ── BOTTOM CTA ── */
.bottom-cta {
    background: var(--gray-light);
    padding: 80px 40px;
    text-align: center;
}
.bottom-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.bottom-cta p {
    font-size: 17px;
    color: var(--gray-body);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

/* ── FOOTER ── */
.footer {
    background: var(--gray-900);
    padding: 40px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}
.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr; gap: 32px; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav-links { display: none; }
}
@media (max-width: 600px) {
    .hero { padding: 48px 20px; }
    .section { padding: 56px 20px; }
    .nav { padding: 0 20px; }
    .form-container { padding: 24px 20px; }
}
