/* ═══════════════════════════════════════════════════════════════
   AIPrunr Marketing — Crextio-Inspired Warm Golden Theme
   Design System: UX Pro Max | Bento Box Grid + Swiss Minimalism
   Typography: Poppins (headings) + Open Sans (body)
   Palette: Warm cream background, golden amber accents
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ───────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
    /* Background */
    --bg-color: #f5f0e8;
    --bg-gradient: linear-gradient(145deg, #ede4d3 0%, #f5f0e8 35%, #faf6ef 65%, #f0e8d4 100%);

    /* Text — high contrast for WCAG AA */
    --text-primary: #1a1408;
    --text-secondary: #5c4d2e;
    --text-muted: #8a7a58;

    /* Accent */
    --gold: #ca8a04;
    --gold-light: #eab308;
    --gold-dark: #a16207;
    --gold-bg: rgba(202, 138, 4, 0.08);
    --gold-border: rgba(202, 138, 4, 0.2);
    --accent-gradient: linear-gradient(135deg, #eab308 0%, #ca8a04 50%, #a16207 100%);

    /* Success */
    --green: #16a34a;
    --green-bg: rgba(22, 163, 74, 0.08);

    /* Cards */
    --card-bg: rgba(255, 255, 255, 0.72);
    --card-bg-hover: rgba(255, 255, 255, 0.92);
    --card-border: rgba(255, 255, 255, 0.6);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.08);
    --card-radius: 24px;

    /* Layout */
    --nav-height: 72px;
    --section-gap: 120px;
    --container-max: 1140px;
    --grid-gap: 24px;

    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --duration: 250ms;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--bg-gradient);
    z-index: -1;
    will-change: transform;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.75rem 0;
}

p {
    margin: 0 0 1rem 0;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ── Container ───────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Gradient Text ───────────────────────────────────────────── */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR & WRAPPER
   ═══════════════════════════════════════════════════════════════ */

/* ── Wrapper for Logo + Navbar Alignment ──────────────────────── */
/* ── Wrapper for Logo + Navbar Alignment ──────────────────────── */
.nav-wrapper {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    /* Responsive width */
    max-width: 1000px;
    /* Approximate width of the hero heading */
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Gap between logo and navbar pill */
}

/* ── Navbar Pill ──────────────────────────────────────────────── */
/* ── Navbar Pill ──────────────────────────────────────────────── */
.navbar {
    position: relative;
    /* Changed from fixed */
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Spread content */
    flex-grow: 1;
    /* Fill remaining space */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    /* Spread links */
    align-items: center;
    width: 100%;
    /* Full width */
}

/* ── Floating Logo ────────────────────────────────────────── */
.floating-logo {
    position: relative;
    /* Changed from fixed */
    z-index: 1001;
    /* Keep slightly higher if overlap needed, though flex handles it */
    cursor: pointer;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.floating-logo img {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    object-fit: cover;
}

/* ── Nav Links ────────────────────────────────────────────── */
.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
    width: 100%;
    /* Full width to allow distribution if needed */
    justify-content: space-around;
    /* Distribute links evenly */
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 12px;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

/* Contact Sales pill */
.nav-links a.btn-primary {
    background: var(--gold);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 14px;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(202, 138, 4, 0.25);
}

.nav-links a.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(202, 138, 4, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold);
    color: #fff;
    padding: 14px 32px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.2);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(202, 138, 4, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
    padding: 14px 32px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.btn-secondary:hover {
    background: var(--gold-bg);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-primary.large {
    font-size: 1.1rem;
    padding: 18px 48px;
    border-radius: 18px;
    background: var(--gold);
    box-shadow: 0 6px 24px rgba(202, 138, 4, 0.3);
}

.btn-primary.large:hover {
    background: var(--gold-dark);
    box-shadow: 0 10px 36px rgba(202, 138, 4, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Warm, centered, clean
   ═══════════════════════════════════════════════════════════════ */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ── Hero Logo ─────────────────────────────────────────── */
.hero-logo {
    display: inline-block;
    margin-bottom: 32px;
}

.hero-logo img {
    border-radius: 16px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-dark) !important;
    -webkit-text-fill-color: var(--gold-dark) !important;
    margin-bottom: 12px;
    opacity: 1 !important;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted) !important;
    -webkit-text-fill-color: var(--text-muted) !important;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
    opacity: 1 !important;
}

.traffic-truth {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 50px;

    /* Gradient Text */
    background: linear-gradient(135deg, #FF512F 0%, #F09819 100%);
    /* Vibrant Orange to Gold */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */

    opacity: 1;
    text-transform: uppercase;
    animation: truthPulse 3s infinite ease-in-out;
    line-height: 1.1;

    /* Glow effect using filter since text is transparent */
    filter: drop-shadow(0 0 8px rgba(255, 81, 47, 0.3));
}

@keyframes truthPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 81, 47, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(240, 152, 25, 0.6));
    }
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-background {
    display: none;
}

.download-counter {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 64px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.dark-bg {
    background: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   GRIDS — Bento-style
   ═══════════════════════════════════════════════════════════════ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--grid-gap);
}

/* ═══════════════════════════════════════════════════════════════
   CARDS — Bento Box, frosted glass
   ═══════════════════════════════════════════════════════════════ */
.card {
    background: var(--card-bg);
    padding: 36px;
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: default;
}

.card:hover {
    background: var(--card-bg-hover);
    border-color: var(--gold-border);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--gold-dark);
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* ── Pricing Alignment ───────────────────────────────────────── */
.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-header {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-desc {
    min-height: 60px;
    display: flex;
    align-items: start;
    justify-content: center;
}

.pricing-features {
    flex-grow: 1;
}

.pricing-footer {
    margin-top: auto;
    width: 100%;
    min-height: 120px;
    /* Space for button + potential extra text */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align button to top of footer area */
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE LIST
   ═══════════════════════════════════════════════════════════════ */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.feature-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.feature-text h3 {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   GLASS CARD (Solution visual)
   ═══════════════════════════════════════════════════════════════ */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--card-radius);
    padding: 36px;
    max-width: 440px;
    margin: 0 auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.status-bad {
    color: #dc2626;
    font-weight: 700;
}

.reco-kill {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════
   STEPS — How It Works
   ═══════════════════════════════════════════════════════════════ */
.step {
    text-align: center;
    padding: 32px 20px;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    transition: all var(--duration) var(--ease);
    cursor: default;
}

.step:hover {
    background: var(--card-bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.step-num {
    width: 52px;
    height: 52px;
    background: var(--gold-bg);
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.step h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   CAPABILITY CARDS — Bento Grid
   ═══════════════════════════════════════════════════════════════ */
.capability-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: var(--card-radius);
    text-align: left;
    transition: all var(--duration) var(--ease);
    box-shadow: var(--card-shadow);
    cursor: default;
}

.capability-card:hover {
    background: var(--card-bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--gold-border);
}

.cap-icon {
    font-size: 1.6rem;
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-bg);
    border-radius: 14px;
    border: 1px solid var(--gold-border);
}

.capability-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.capability-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    margin: 0 32px;
    border-radius: var(--card-radius);
    padding: 100px 40px;
    backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    padding: 48px 0;
    margin-top: 40px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.menu-toggle .bar {
    height: 2px;
    width: 22px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .navbar {
        top: 8px;
        width: calc(100% - 24px);
        padding: 10px 16px;
        border-radius: 16px;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero h2 {
        font-size: 1.2rem !important;
    }

    .hero-sub {
        font-size: 1rem !important;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 24px 0;
        text-align: center;
        border-radius: 16px;
        border: 1px solid var(--card-border);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
        gap: 4px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 4px 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 8px;
    }

    .footer-links a {
        margin: 0 8px;
    }

    .cta-section {
        margin: 0 16px;
        padding: 60px 24px;
        border-radius: 20px;
    }

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

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .traffic-truth {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS (respects prefers-reduced-motion)
   ═══════════════════════════════════════════════════════════════ */
@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}