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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Primary Colors */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-600);
}

/* Buttons */
.btn-primary {
    background: var(--primary-600);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: var(--primary-700);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: white;
    color: var(--primary-600);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    border: 2px solid var(--primary-600);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--gray-50);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: var(--gray-100);
    color: var(--gray-900);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    display: block;
    text-align: center;
    width: 100%;
}

.btn-outline:hover {
    background: #e5e7eb;
}

.btn-white {
    background: white;
    color: var(--primary-600);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--gray-100);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-lg:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-50) 0%, white 50%, var(--primary-50) 100%);
    padding: 5rem 1rem 8rem;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
}

/* Features Section */
.features {
    padding: 5rem 1rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid;
}

.feature-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #93c5fd;
}

.feature-green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #6ee7b7;
}

.feature-purple {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    border-color: #c084fc;
}

.feature-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-color: #fb923c;
}

.feature-red {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    border-color: #f87171;
}

.feature-indigo {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-color: #a5b4fc;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.icon-blue {
    background: #2563eb;
}

.icon-green {
    background: #059669;
}

.icon-purple {
    background: #9333ea;
}

.icon-orange {
    background: #ea580c;
}

.icon-red {
    background: #dc2626;
}

.icon-indigo {
    background: #4f46e5;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--gray-600);
}

/* Pricing Section */
.pricing {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.pricing-simple {
    max-width: 50rem;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #e5e7eb;
    position: relative;
}

.pricing-featured {
    background: var(--primary-600);
    border: 4px solid var(--primary-700);
    transform: scale(1);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #fbbf24;
    color: var(--gray-900);
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 1rem 0 0.5rem;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.pricing-featured .pricing-tier {
    color: white;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pricing-featured .price-amount {
    color: white;
}

.price-period {
    color: var(--gray-600);
}

.pricing-featured .price-period {
    color: var(--primary-100);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pricing-features svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-featured .pricing-features svg {
    color: #86efac;
}

.pricing-features span {
    color: var(--gray-600);
}

.pricing-featured .pricing-features span {
    color: white;
}

/* New Per-Driver Pricing Styles */
.pricing-single {
    max-width: 100%;
}

.pricing-breakdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pricing-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.pricing-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-value {
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.pricing-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-600);
}

.pricing-example {
    background: var(--gray-50);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.pricing-example h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.pricing-examples-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-examples-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.example-label {
    font-weight: 500;
    color: var(--gray-700);
}

.example-price {
    font-weight: 600;
    color: var(--primary-600);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

/* CTA Section */
.cta {
    padding: 5rem 1rem;
    background: var(--primary-600);
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--primary-100);
    margin-bottom: 2rem;
}

.cta-note {
    color: var(--primary-100);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #111827;
    color: #d1d5db;
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.875rem;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

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

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

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

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-featured {
        transform: scale(1.05);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 639px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .btn-primary {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    .hero {
        padding: 3rem 1rem 5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}
