/* ============================================
   Ride24 Landing Page Styles
   ============================================ */

/* ---------- Variables ---------- */
:root {
    --maroon: #5b0e15;
    --maroon-dark: #3d0810;
    --maroon-deep: #2a0509;
    --gold: #e2a528;
    --gold-light: #f0c14b;
    --cream: #faf3e2;
    --cream-soft: #f8edd3;
    --cream-bg: #fdf7e6;
    --text-dark: #2a0509;
    --text-muted: #6b6b6b;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ---------- Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--cream-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--gold);
}

.accent-dark {
    color: var(--maroon);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: var(--gold);
    color: var(--maroon-dark);
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-dark {
    background: var(--maroon);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--maroon-dark);
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, var(--maroon-deep) 0%, var(--maroon-dark) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.navbar .brand {
    color: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    color: var(--maroon);
    letter-spacing: 0.5px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.nav-cta {
    padding: 10px 18px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 22px;
    color: var(--white);
    cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 90% 20%, rgba(226, 165, 40, 0.08) 0, transparent 40%),
        radial-gradient(circle at 5% 90%, rgba(91, 14, 21, 0.05) 0, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--maroon-dark);
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--gold);
}

.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.store-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 170px;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.store-btn i {
    font-size: 28px;
}

.store-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.store-btn small {
    font-size: 10px;
    opacity: 0.85;
    text-transform: none;
}

.store-btn strong {
    font-size: 16px;
    font-weight: 600;
}

.store-dark {
    background: var(--maroon-dark);
    color: var(--white);
}

.store-gold {
    background: var(--gold);
    color: var(--maroon-dark);
}

.store-light {
    background: var(--white);
    color: var(--maroon-dark);
}

/* Hero visual */
.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-target {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 22px solid var(--maroon);
    background: var(--gold);
    z-index: 1;
}

.hero-target::after {
    content: '';
    position: absolute;
    inset: 38%;
    background: var(--maroon);
    border-radius: 50%;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22));
}

/* ---------- Features ---------- */
.features {
    padding: 40px 0 60px;
    background: var(--cream-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: transparent;
    padding: 18px 8px;
    border-radius: var(--radius-md);
    box-shadow: none;
    transition: transform 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--gold);
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---------- Promo Cards ---------- */
.promos {
    padding: 30px 0 60px;
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.promo-card {
    border-radius: var(--radius-lg);
    padding: 36px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-height: 320px;
}

.promo-dark {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    color: var(--white);
}

.promo-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #d99a1f 100%);
    color: var(--maroon-dark);
}

.promo-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-content > p {
    font-size: 14px;
    margin-bottom: 18px;
    opacity: 0.95;
}

.promo-list {
    margin-bottom: 22px;
}

.promo-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 8px;
}

.promo-list i {
    color: var(--gold);
    font-size: 16px;
}

.promo-list.dark i {
    color: var(--maroon);
}

.promo-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image img {
    max-height: 300px;
    width: auto;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.25));
}

/* ---------- How It Works ---------- */
.how-works {
    padding: 70px 0 80px;
    background: var(--cream-bg);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 50px;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: transparent;
    box-shadow: none;
    padding: 6px 4px;
    position: relative;
    transition: transform 0.25s ease;
}

.step:hover {
    transform: translateY(-3px);
}

/* Arrow connector between consecutive steps */
.step:not(:last-child)::after {
    content: '\203A';
    position: absolute;
    right: -18px;
    top: 16px;
    color: var(--maroon);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.45;
    pointer-events: none;
}

.step-icon {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--cream);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--maroon);
    box-shadow: 0 4px 12px rgba(91, 14, 21, 0.08);
}

.step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    background: var(--gold);
    color: var(--maroon-dark);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cream-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.step-text {
    text-align: left;
    padding-top: 2px;
}

.step h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--maroon-dark);
    margin-bottom: 4px;
}

.step p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---------- Ready CTA ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
    padding: 50px 0;
    color: var(--white);
}

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

.cta-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(180deg, var(--maroon-deep) 0%, var(--maroon-dark) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-col .brand {
    margin-bottom: 16px;
}

.brand-light {
    color: var(--white);
}

.footer-about {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 18px;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.socials a:hover {
    background: var(--gold);
    color: var(--maroon-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-col h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a,
.footer-contact li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        min-height: 420px;
    }

    .hero-target {
        right: 50%;
        transform: translate(50%, -50%);
        width: 300px;
        height: 300px;
    }

    .hero-image {
        max-width: 520px;
    }

    .store-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step:not(:last-child)::after {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero {
        padding: 50px 0 70px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-image {
        max-width: 100%;
    }

    .promo-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 22px;
    }

    .promo-list li {
        justify-content: center;
    }

    .promo-image img {
        max-height: 240px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

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

    .store-btn {
        min-width: 0;
        flex: 1 1 auto;
    }
}
