/* ============================================
   CityRide – Custom Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

:root {
    --cr-dark: #0d1b2a;
    --cr-navy: #1b2838;
    --cr-blue: #1565c0;
    --cr-accent: #00e676;
    --cr-accent-dark: #00c853;
    --cr-light: #f0f4f8;
    --cr-text: #2d3748;
    --cr-muted: #718096;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--cr-text);
    background-color: #ffffff;
}

/* ---- Hero ---- */
.cr-hero {
    padding: 80px 20px 60px;
    background: linear-gradient(160deg, var(--cr-dark) 0%, var(--cr-navy) 60%, #1a3a5c 100%);
    border-radius: 0 0 40px 40px;
    margin: -24px -12px 60px;
    position: relative;
    overflow: hidden;
}

.cr-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cr-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cr-hero-badge {
    display: inline-block;
    background: rgba(0, 230, 118, 0.15);
    color: var(--cr-accent);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cr-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cr-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ---- Buttons ---- */
.cr-btn-primary {
    background: var(--cr-accent);
    color: var(--cr-dark);
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.3s;
}

.cr-btn-primary:hover {
    background: var(--cr-accent-dark);
    color: var(--cr-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.3);
}

.cr-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.3s;
}

.cr-btn-outline:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.cr-btn-outline-dark {
    background: transparent;
    color: var(--cr-dark);
    border: 2px solid var(--cr-dark);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s;
}

.cr-btn-outline-dark:hover {
    background: var(--cr-dark);
    color: #ffffff;
}

/* ---- Sections ---- */
.cr-section {
    padding: 60px 0;
}

.cr-section-dark {
    background: var(--cr-dark);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 40px 0;
}

.cr-section-accent {
    background: var(--cr-light);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 40px 0;
}

.cr-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.cr-section-subtitle {
    text-align: center;
    color: var(--cr-muted);
    font-size: 1.05rem;
}

/* ---- Steps ---- */
.cr-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.3s;
}

.cr-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--cr-accent);
}

.cr-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cr-accent);
    color: var(--cr-dark);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-step-icon {
    font-size: 2.5rem;
    color: var(--cr-blue);
    margin-bottom: 16px;
}

.cr-step-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.cr-step-card p {
    color: var(--cr-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---- Pricing ---- */
.cr-price-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    color: #ffffff;
    position: relative;
    transition: all 0.3s;
}

.cr-price-card:hover {
    border-color: var(--cr-accent);
    transform: translateY(-4px);
}

.cr-price-featured {
    border-color: var(--cr-accent);
    background: rgba(0, 230, 118, 0.06);
}

.cr-price-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--cr-accent);
    color: var(--cr-dark);
    padding: 4px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cr-price-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--cr-accent);
}

.cr-price-card h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.cr-price {
    margin-bottom: 8px;
}

.cr-price-currency {
    font-size: 1rem;
    vertical-align: top;
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.6);
}

.cr-price-amount {
    font-family: 'Space Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
}

.cr-price-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -4px;
}

.cr-price-detail {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    color: var(--cr-accent);
    margin: 12px 0;
}

.cr-price-example {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

/* ---- Payment Methods ---- */
.cr-pay-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 16px;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
}

.cr-pay-card:hover {
    border-color: var(--cr-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.cr-pay-card i {
    font-size: 2rem;
    color: var(--cr-blue);
    display: block;
    margin-bottom: 10px;
}

.cr-pay-card span {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.cr-pay-card small {
    color: var(--cr-muted);
    font-size: 0.8rem;
}

/* ---- Locations ---- */
.cr-location-list {
    list-style: none;
    padding: 0;
}

.cr-location-list li {
    padding: 8px 0;
    font-size: 1.05rem;
}

.cr-location-list li i {
    color: var(--cr-accent-dark);
    margin-right: 8px;
}

.cr-map-placeholder {
    background: linear-gradient(135deg, var(--cr-dark), var(--cr-navy));
    border-radius: 24px;
    padding: 80px 40px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
}

.cr-map-placeholder i {
    font-size: 4rem;
    display: block;
    margin-bottom: 12px;
}

/* ---- Features List ---- */
.cr-feature-list {
    list-style: none;
    padding: 0;
}

.cr-feature-list li {
    padding: 8px 0;
    font-size: 1rem;
}

.cr-feature-list li i {
    color: var(--cr-accent-dark);
    margin-right: 8px;
}

/* ---- Provider Visual ---- */
.cr-provider-visual {
    background: var(--cr-light);
    border-radius: 24px;
    padding: 48px;
}

.cr-provider-visual > i {
    font-size: 4rem;
    color: var(--cr-blue);
    display: block;
    margin-bottom: 24px;
}

.cr-provider-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.cr-provider-stats div {
    text-align: center;
}

.cr-provider-stats strong {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: var(--cr-dark);
}

.cr-provider-stats small {
    color: var(--cr-muted);
    font-size: 0.8rem;
}

/* ---- API Example ---- */
.cr-api-example {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 24px;
    display: inline-block;
}

.cr-api-example code {
    font-family: 'Space Mono', monospace;
    color: var(--cr-accent);
    font-size: 0.9rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .cr-hero-title {
        font-size: 2.4rem;
    }
    
    .cr-hero {
        padding: 50px 16px 40px;
    }
    
    .cr-section-dark,
    .cr-section-accent {
        padding: 40px 20px;
        margin: 20px -12px;
        border-radius: 16px;
    }
    
    .cr-price-amount {
        font-size: 2.4rem;
    }
    
    .cr-provider-stats {
        gap: 16px;
    }
}
