/* assets/css/styles.css */

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

:root {
    --brand-orange: #f2673a;
    --brand-orange-soft: #ffb18c;
    --brand-dark: #101318;
    --brand-gray: #4b5563;
    --brand-bg: #050816;
    --glass-bg: rgba(15, 23, 42, 0.65);
    --border-subtle: rgba(148, 163, 184, 0.4);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.45);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
    background: linear-gradient(145deg, #050816 0%, #020617 40%, #0b1120 80%);
    min-height: 100vh;
}

.page-bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(59,130,246,0.25), transparent 60%),
        radial-gradient(circle at 100% 20%, rgba(248,113,113,0.3), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(52,211,153,0.2), transparent 60%);
    opacity: 0.85;
    pointer-events: none;
    z-index: -2;
}

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

.container {
    width: 92%;
    max-width: 1160px;
    margin: 0 auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15,23,42,0.9), rgba(15,23,42,0.75));
    border-bottom: 1px solid rgba(148,163,184,0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 22px;
}

.main-nav a {
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    padding-bottom: 3px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #f97316, #facc15);
    border-radius: 999px;
    transition: width 0.22s ease;
}

.main-nav a:hover {
    opacity: 1;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.13s ease, box-shadow 0.13s ease, background 0.13s ease, color 0.13s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #f97316, #facc15);
    color: #111827;
    box-shadow: 0 10px 30px rgba(251,146,60,0.55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(251,146,60,0.55);
}

.btn-secondary {
    background: rgba(31,41,55,0.95);
    color: #e5e7eb;
    border: 1px solid rgba(148,163,184,0.6);
}

.btn-secondary:hover {
    background: rgba(15,23,42,0.95);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--brand-orange);
    color: var(--brand-orange);
}

.btn-outline:hover {
    background: var(--brand-orange);
    color: #111827;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(148,163,184,0.5);
    color: #e5e7eb;
}

.btn-ghost:hover {
    background: rgba(15,23,42,0.9);
}

.btn-full {
    width: 100%;
}

/* HERO */

.hero {
    padding: 40px 0 36px;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 38px;
}

.hero-text {
    flex: 1 1 320px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.55);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #e5e7eb;
    margin-bottom: 10px;
    background: rgba(15,23,42,0.75);
}

.hero h1 {
    font-size: clamp(2.05rem, 2.7vw + 1.3rem, 2.7rem);
    line-height: 1.15;
    margin: 0 0 10px;
}

.hero h1 .accent {
    color: #f97316;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: #e5e7ebb8;
    max-width: 520px;
}

.hero-cta {
    margin-top: 18px;
}

.hero-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 8px;
}

.hero-metrics {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.metric-value {
    display: block;
    font-size: 1.65rem;
    font-weight: 700;
    color: #f97316;
}

.metric-label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.hero-card-preview {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-caption {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Glass panel */

.glass {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

/* RX card design – credit-card style */

.rx-card {
    width: 340px;
    height: 210px;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #111827;
}

.rx-card-inline {
    margin-bottom: 8px;
}

/* TOP BAR */

.rx-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border-bottom: 2px solid #f97316;
}

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

.rx-card-label {
    background: #f2673a;
    color: #fff;
    padding: 7px 12px;
    border-radius: 12px 12px 0 12px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* MIDDLE CONTENT */

.rx-card-middle {
    flex: 1;
    display: flex;
    padding: 8px 12px 10px;
    gap: 10px;
}

/* Left BIN box */

.rx-bin-box {
    flex: 1.05;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 8px;
    background: #f9fafb;
}

.rx-bin-box p {
    margin: 2px 0;
}

/* Right phone block */

.rx-contact-block {
    flex: 0.95;
    padding: 4px 4px 4px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.74rem;
}

.rx-contact-title {
    font-weight: 600;
    margin: 3px 0 0;
}

.rx-contact-phone {
    margin: 0 0 4px;
}

/* Gray strip */

.rx-card-strip {
    background: #4b5563;
    color: #ffffff;
    text-align: center;
    padding: 6px 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Bottom footer */

.rx-card-bottom {
    background: #ffffff;
    padding: 6px 10px 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.rx-bottom-left {
    color: #4b5563;
}

.rx-bottom-right {
    color: #f2673a;
    font-weight: 600;
}

/* Sections */

.section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
}

.section h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
    max-width: 520px;
}

/* PARALLAX HOW-SECTION */

.parallax-section {
    position: relative;
    color: #e5e7eb;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(96,165,250,0.45), transparent 65%),
        radial-gradient(circle at 100% 100%, rgba(251,146,60,0.6), transparent 65%),
        linear-gradient(135deg, #020617 0%, #020617 40%, #030712 70%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(15,23,42,0.4), transparent 50%);
    pointer-events: none;
}

.parallax-inner {
    position: relative;
    z-index: 1;
}

/* Scroll reveal animation */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Steps – three horizontal tiles with hover zoom */

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    justify-content: space-between;
}

.step-card {
    flex: 1 1 260px;
    max-width: 340px;
    padding: 20px 18px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.step-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(15,23,42,0.7);
    border-color: rgba(251,146,60,0.7);
    background: rgba(15,23,42,0.9);
}

.step-badge {
    position: absolute;
    top: 10px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(248,250,252,0.1);
    border: 1px solid rgba(148,163,184,0.5);
    font-size: 0.8rem;
}

.step-icon {
    margin-top: 10px;
    margin-bottom: 8px;
}

.step-icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(248,250,252,0.05);
    border: 1px solid rgba(252,211,77,0.9);
    font-size: 1.4rem;
}

.step-card h3 {
    font-size: 1rem;
    margin: 10px 0 6px;
}

.step-card p {
    font-size: 0.87rem;
    color: #d1d5db;
}

/* Locator */

.section-header-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.locator-callout {
    max-width: 360px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.86rem;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-top: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.form-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: #cbd5f5;
}

.form-group input,
.form-group select {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.45);
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
    font-size: 0.9rem;
    outline: none;
}

.form-group input::placeholder {
    color: #6b7280;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Locator layout (results only) */

.locator-layout {
    margin-top: 18px;
}

.results-list {
    max-height: 360px;
    overflow-y: auto;
    border-radius: var(--radius-md);
    padding: 10px;
    font-size: 0.85rem;
}

.result-item {
    border-bottom: 1px solid rgba(148,163,184,0.25);
    padding: 8px 4px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item strong {
    display: block;
    margin-bottom: 2px;
}

/* Get card layout – dark block */

.dark-block-section {
    background: radial-gradient(circle at top, #020617 0%, #020617 45%, #020617 100%);
    border-top: 1px solid rgba(15,23,42,0.9);
    border-bottom: 1px solid rgba(15,23,42,0.9);
}

.dark-block-inner {
    background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
    border-radius: var(--radius-lg);
    padding: 26px 24px 22px;
    box-shadow: 0 22px 55px rgba(15,23,42,0.8);
}

.get-card-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    align-items: flex-start;
}

.form-copy {
    flex: 1.1 1 280px;
}

.form-card {
    flex: 1 1 320px;
    padding: 18px 18px 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px 12px;
    margin-top: 4px;
}

.card-preview-caption {
    margin-bottom: 6px;
}

.card-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mt-8 {
    margin-top: 8px;
}

.form-message {
    margin-top: 10px;
    font-size: 0.85rem;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #fb7185;
}

.small-text {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Benefits list */

.benefits-list {
    padding-left: 18px;
    margin-top: 12px;
    font-size: 0.86rem;
    color: #d1d5db;
}

.benefits-list li + li {
    margin-top: 4px;
}

/* Partner logos – marquee slider */

.partner-logos {
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: partnerScroll 30s linear infinite;
    will-change: transform;
}

.partner-logo {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.85);
}

.partner-logo img {
    max-height: 48px;
    object-fit: contain;
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-footnote {
    margin-top: 12px;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148,163,184,0.28);
    background: rgba(15,23,42,0.96);
    padding: 18px 0;
    font-size: 0.84rem;
}

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

.footer-logo {
    height: 26px;
    margin-bottom: 6px;
}

.footer-left p {
    margin: 0;
    color: #9ca3af;
}

.footer-right p {
    margin: 0;
    color: #d1d5db;
}

.footer-right .small-text {
    margin-top: 4px;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column-reverse;
    }
}

@media (max-width: 720px) {
    .main-nav {
        display: none;
    }

    .small-only-hide {
        display: none !important;
    }

    .hero {
        padding-top: 26px;
    }

    .steps-grid {
        justify-content: center;
    }

    .dark-block-inner {
        padding: 20px 16px 18px;
    }
}
