@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00E676;
    --primary-dark: #00C853;
    --secondary: #651FFF;
    --background: #050508;
    --surface: #121218;
    --surface-hover: #1A1A22;
    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;
    --border: #2A2A35;
    --gradient-main: linear-gradient(135deg, #00E676 0%, #651FFF 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);

    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* Header */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.5);
    background: #fff;
}

.btn-store {
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    gap: 12px;
    padding: 16px 32px;
}

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

.btn-store svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

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

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text span {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: initial;
}

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

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--surface);
    border-radius: 40px;
    border: 8px solid #2A2A35;
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1a1a20;
    /* Placeholder for app screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 230, 118, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-muted);
}

/* Legal Pages */
.legal-page {
    padding-top: 140px;
    min-height: 80vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 60px;
    border-radius: var(--radius-lg);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: #fff;
}

.legal-content p,
.legal-content ul {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    background: #020203;
}

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

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

.footer-col h3 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

.footer-col ul li a {
    color: var(--text-muted);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        display: none;
    }

    .role-split {
        grid-template-columns: 1fr;
    }
}

/* User Role Selection */
.roles-section {
    padding: 100px 0;
    position: relative;
}

.role-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.role-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

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

.role-card.partner:hover {
    border-color: var(--secondary);
}

.role-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.role-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.role-card.driver .role-badge {
    background: rgba(0, 230, 118, 0.15);
    color: var(--primary);
}

.role-card.partner .role-badge {
    background: rgba(101, 31, 255, 0.15);
    color: var(--secondary);
}

.role-card h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.role-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.role-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.role-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.role-card.driver .role-features li svg {
    fill: var(--primary);
}

.role-card.partner .role-features li svg {
    fill: var(--secondary);
}

.role-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-top: 16px;
    transition: 0.3s;
}

.role-card.driver .role-btn {
    color: var(--primary);
}

.role-card.partner .role-btn {
    color: var(--secondary);
}

.role-btn:hover {
    gap: 12px;
    filter: brightness(1.2);
}