/* ══════════════════════════════════════════════════════════════════
   INEXMAPS — Landing Page Styles
   Accent color is controlled via --accent. Change one variable to
   retheme the entire page.
══════════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ── */
:root {
    --accent:         #3B6EF8;
    --accent-light:   #EEF2FF;
    --accent-hover:   #2855D6;
    --accent-shadow:  rgba(59, 110, 248, 0.28);

    --text-1:         #111827;
    --text-2:         #6B7280;
    --text-3:         #9CA3AF;

    --border:         #E5E7EB;
    --border-focus:   #93AAFD;

    --bg:             #FFFFFF;
    --bg-soft:        #F9FAFB;
    --bg-muted:       #F3F4F6;

    --radius-xs:      8px;
    --radius-sm:      12px;
    --radius:         18px;
    --radius-lg:      24px;

    --shadow-xs:      0 1px 2px rgba(0,0,0,.05);
    --shadow-sm:      0 1px 4px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.04);
    --shadow-md:      0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:      0 8px 40px rgba(0,0,0,.12);
    --shadow-xl:      0 20px 60px rgba(0,0,0,.15);

    --transition:     .18s ease;
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-1);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent);
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-shadow);
}

.btn-ghost {
    color: var(--text-2);
    border-color: transparent;
    background: transparent;
}
.btn-ghost:hover {
    color: var(--text-1);
    background: var(--bg-muted);
}

.btn-outline {
    color: var(--text-1);
    border-color: var(--border);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-white {
    background: #fff;
    color: var(--accent);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
}


/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-1);
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -.2px;
}

.logo-text strong {
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    padding: 6px 14px;
    border-radius: 50px;
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
    color: var(--text-1);
    background: var(--bg-muted);
}

.nav .btn {
    margin-left: 8px;
}


/* ══════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════ */
.section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 100px 28px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    background: linear-gradient(160deg, var(--bg-soft) 0%, #fff 60%);
    overflow: hidden;
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 88px 28px 72px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 22px;
    letter-spacing: .3px;
}

.hero-text h1 {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    color: var(--text-1);
}

.hero-text p {
    font-size: 17px;
    color: var(--text-2);
    margin-bottom: 36px;
    line-height: 1.75;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 28px;
}

.hero-social-proof {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
}

/* ── Builder Mockup ── */
.hero-visual {
    position: relative;
}

.mockup-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    user-select: none;
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    margin-left: 8px;
    letter-spacing: .3px;
}

.mockup-body {
    display: flex;
    height: 280px;
}

.mockup-sidebar {
    width: 120px;
    flex-shrink: 0;
    background: var(--bg-soft);
    border-right: 1px solid var(--border);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mockup-panel-title {
    height: 7px;
    width: 55%;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 6px;
}

.mockup-control {
    height: 7px;
    background: #E9EBF0;
    border-radius: 4px;
}

.mockup-control.w-full  { width: 100%; }
.mockup-control.w-medium { width: 75%; }
.mockup-control.w-short { width: 50%; }

.mockup-swatch-row {
    display: flex;
    gap: 5px;
    padding: 2px 0;
}

.mockup-swatch {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.mockup-divider {
    height: 1px;
    background: var(--border);
    margin: 2px 0;
}

.mockup-btn-row {
    display: flex;
    gap: 5px;
    margin-top: 4px;
}

.mockup-btn {
    height: 20px;
    flex: 1;
    border-radius: 50px;
}

.mockup-btn.accent { background: var(--accent); opacity: .85; }
.mockup-btn.outline { border: 1.5px solid var(--border); }

.mockup-map {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.mockup-map img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .8;
}

.mockup-state-highlight {
    position: absolute;
    pointer-events: none;
}

.mockup-tooltip {
    display: block;
    background: var(--text-1);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 4px 8px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.mockup-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 12px;
    border: 4px solid transparent;
    border-top-color: var(--text-1);
}

/* Floating badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 14px 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-1);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.fb-icon {
    font-size: 16px;
    line-height: 1;
}

.badge-tl {
    top: -14px;
    left: -24px;
}

.badge-br {
    bottom: -14px;
    right: -14px;
}


/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.features {
    background: var(--bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-focus);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -.1px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}


/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.how-it-works {
    background: var(--bg-soft);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin-bottom: 52px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 8px;
}

.step-num {
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 14px var(--accent-shadow);
}

.step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

.step-arrow {
    flex-shrink: 0;
    margin-top: 14px;
    color: var(--border);
}

.step-arrow svg {
    width: 28px;
    height: 28px;
}

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


/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.pricing {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    transition: box-shadow var(--transition);
}

.pricing-card:not(.featured):hover {
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 12px 40px var(--accent-shadow);
    z-index: 1;
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #F59E0B;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: .3px;
}

.plan-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 14px;
    opacity: .7;
}

.plan-price {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -2px;
}

.price-val {
    letter-spacing: -1px;
}

.price-period {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
}

.plan-desc {
    font-size: 13px;
    margin-bottom: 28px;
    opacity: .65;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: 14px;
    font-weight: 500;
}

.plan-features .check {
    color: var(--accent);
    font-weight: 700;
    margin-right: 6px;
}

.pricing-card.featured .plan-features .check {
    color: #A5F3C1;
}

.plan-features .muted {
    opacity: .4;
}

.pricing-card.featured .btn-outline {
    border-color: rgba(255,255,255,.4);
    color: #fff;
}


/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
    background: var(--accent);
    color: #fff;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 17px;
    margin-bottom: 32px;
    opacity: .8;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-2);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 50px;
    transition: color var(--transition), background var(--transition);
}

.footer-links a:hover {
    color: var(--text-1);
    background: var(--bg-muted);
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-3);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-3);
    width: 100%;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 56px 28px 48px;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .floating-badge {
        display: none;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .step {
        max-width: 100%;
    }

    .nav-links {
        display: none;
    }

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

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-links {
        margin-left: 0;
    }

    .section-inner {
        padding: 72px 20px;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        text-align: center;
        justify-content: center;
    }

    .mockup-body {
        height: 220px;
    }

    .mockup-sidebar {
        width: 90px;
    }
}
