/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Black & White with Orange Accent */
    --primary-color: #FF6B35;      /* XTaxi Orange */
    --primary-dark: #E85A28;
    --primary-light: #FF8A5C;
    --secondary-color: #000000;    /* Black */
    --secondary-dark: #1F2937;
    --accent-color: #FF6B35;       /* Orange */
    
    /* Neutrals */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--gray-900);
    color: white;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transform: translateY(0);
    transition: transform var(--transition-base);
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.btn-accept,
.btn-reject {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-accept {
    background-color: var(--primary-color);
    color: white;
}

.btn-accept:hover {
    background-color: var(--primary-dark);
}

.btn-reject {
    background-color: transparent;
    color: white;
    border: 1px solid var(--gray-600);
}

.btn-reject:hover {
    background-color: var(--gray-800);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-x {
    color: var(--primary-color);
}

.logo-24 {
    color: #000000;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta .btn {
    padding: 0.625rem 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn .icon-right {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Coming Soon Banner
   ========================================================================== */

.coming-soon-banner {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.coming-soon-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.coming-soon-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.coming-soon-content span {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: #000000;
    color: white;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    padding: var(--spacing-md) 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.trust-badges {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.badge span {
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1F2937;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
}

.phone-screen-carousel {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #000000;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.phone-screen.active {
    opacity: 1;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: var(--spacing-2xl) 0;
}

.section-gray {
    background-color: #FAFAFA;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: var(--spacing-lg) auto var(--spacing-md);
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.step-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.feature-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   Driver CTA Section
   ========================================================================== */

.driver-cta {
    background: #1F2937;
    color: white;
}

.driver-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.driver-cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.driver-cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.driver-benefits {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.driver-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    fill: white;
    flex-shrink: 0;
}

.driver-cta-image {
    width: 100%;
    height: 400px;
    background: #374151;
    border-radius: var(--radius-xl);
    background-image: url('/images/driver-hero.jpg');
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   Download Section
   ========================================================================== */

.download-content {
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.5rem;
    background-color: var(--gray-900);
    color: white;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.download-btn:hover {
    background-color: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-btn.disabled {
    background-color: var(--gray-400);
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.download-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.download-store {
    font-size: 1.125rem;
    font-weight: 600;
}

.download-note {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.download-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: #000000;
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: var(--spacing-md);
    filter: brightness(1.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero .container,
    .driver-cta-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        margin-top: var(--spacing-xl);
        justify-content: center;
        padding: var(--spacing-md) 0;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .driver-cta-image {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .steps,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .driver-cta-title {
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Apply animations to sections */
.hero {
    animation: fadeIn 0.8s ease;
}

.hero-title {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.badge {
    animation: fadeInUp 0.8s ease 0.8s both;
}

.step,
.feature-card {
    animation: fadeInUp 0.8s ease both;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* Smooth scrolling and transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
}

/* Button hover animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Card hover effect */
.feature-card,
.step {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover,
.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Requirements & Apply Sections
   ========================================================================== */

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.requirement-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.requirement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.requirement-icon {
    width: 48px;
    height: 48px;
    fill: var(--primary-color);
    margin: 0 auto var(--spacing-md);
}

.requirement-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.requirement-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.apply-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.apply-cta {
    margin-top: var(--spacing-xl);
}

.apply-note {
    margin-top: var(--spacing-md);
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}
