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

:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: #34D399;
    --secondary: #1F2937;
    --accent: #F59E0B;
    --background: #0F172A;
    --background-light: #1E293B;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --border: #334155;
    --gradient-1: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-2: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

/* Lucide Icon Styles */
.feature-icon svg,
.feature-icon i {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.btn svg,
.btn i {
    width: 20px;
    height: 20px;
}

.store-icon-svg {
    width: 32px;
    height: 32px;
}

.search-icon-svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.service svg,
.service i {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto 8px;
}

.driver-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.driver-benefits li svg,
.driver-benefits li i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.earnings-details svg,
.earnings-details i {
    width: 16px;
    height: 16px;
    display: inline;
    vertical-align: middle;
    margin-right: 4px;
}

.social-links svg,
.social-links i {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.social-links a:hover svg,
.social-links a:hover i {
    color: var(--primary);
}

.mobile-menu-btn svg,
.mobile-menu-btn i {
    width: 24px;
    height: 24px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--background-light);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--border);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    border-radius: 28px;
    overflow: hidden;
    padding: 24px 16px;
}

.app-preview {
    height: 100%;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.greeting {
    font-weight: 600;
    font-size: 1.125rem;
}

.balance {
    background: var(--gradient-1);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.preview-search {
    background: var(--background);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.preview-services {
    display: flex;
    gap: 12px;
}

.service {
    flex: 1;
    text-align: center;
    padding: 16px 8px;
    background: var(--background);
    border-radius: 12px;
    font-size: 0.875rem;
    border: 2px solid transparent;
}

.service.active {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-light);
}

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

.feature-card {
    background: var(--background);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: var(--border);
}

/* Driver Section */
.driver-section {
    padding: 100px 0;
    background: var(--background-light);
}

.driver-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.driver-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.driver-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.driver-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.driver-benefits li {
    padding: 12px 0;
    font-size: 1.125rem;
}

.earnings-card {
    background: var(--background);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

.earnings-header {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.earnings-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.earnings-details {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    text-align: center;
    background: var(--gradient-2);
}

.download-container h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.download-container p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.store-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.store-icon {
    font-size: 2rem;
}

.store-text {
    text-align: left;
}

.store-text .small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.store-text .large {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 60px 0 24px;
    background: var(--secondary);
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    font-size: 1.25rem;
    text-decoration: none;
}

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

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

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

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

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

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

    .steps {
        flex-direction: column;
    }

    .step-connector {
        width: 2px;
        height: 40px;
    }

    .driver-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .driver-benefits {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 32px;
    }

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

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

    .mobile-menu-btn {
        display: block;
    }

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

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

/* =========================
   FOOTER PAGES STYLES
   ========================= */

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Page Content */
.page-content {
    padding: 60px 0 100px;
}

.content-block {
    margin-bottom: 48px;
}

.content-block h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-block h2 svg,
.content-block h2 i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.content-block h4 {
    font-size: 1.125rem;
    margin: 20px 0 8px;
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-block ul {
    list-style: none;
    color: var(--text-muted);
}

.content-block ul li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
}

.legal-content .content-block ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary);
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0;
}

/* Values Grid (About) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.value-item {
    background: var(--background-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.value-item svg,
.value-item i {
    width: 32px;
    height: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.value-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.value-item p {
    font-size: 0.875rem;
    margin: 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text);
}

.benefits-list li svg,
.benefits-list li i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Jobs Grid (Careers) */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.job-card {
    background: var(--background-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary);
}

.job-card h4 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    color: var(--text);
}

.job-card p {
    font-size: 0.875rem;
    margin: 0 0 12px;
}

.job-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Stats Grid (Press) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.stat-card {
    background: var(--background-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
}

.stat-card .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-card .stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* FAQ Items (Help) */
.faq-item {
    background: var(--background-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.faq-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--text);
}

.faq-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Responsive - Footer Pages */
@media (max-width: 968px) {

    .values-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 640px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

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

    .highlight-text {
        font-size: 1.25rem;
    }
}

/* =========================
   JOIN / WAITING LIST STYLES
   ========================= */

/* Category Cards */
.join-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: var(--background-light);
    padding: 32px 24px;
    border-radius: 20px;
    border: 2px solid var(--border);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.category-card.active {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.category-card svg,
.category-card i {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Join Form */
.join-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.join-form {
    background: var(--background-light);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.conditional-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
}

/* Success/Error Messages */
.success-message,
.error-message {
    text-align: center;
    padding: 48px 32px;
    background: var(--background-light);
    border-radius: 24px;
    border: 1px solid var(--border);
}

.success-message svg,
.success-message i {
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin-bottom: 24px;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.error-message svg,
.error-message i {
    width: 48px;
    height: 48px;
    color: #ef4444;
    margin-bottom: 16px;
}

.error-message p {
    color: #ef4444;
}

/* Spin animation for loading */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--background);
    border-radius: 24px;
    border: 1px solid var(--border);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

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

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
}

.modal-close:hover {
    color: var(--text);
}

.modal-close svg,
.modal-close i {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 24px;
}

.modal-body .form-group {
    margin-bottom: 16px;
}

/* Responsive - Join Page */
@media (max-width: 768px) {
    .join-categories {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .join-form {
        padding: 24px;
    }
}