* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #0a0a0a;
    color: #ffffff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgb(48, 209, 88);
    text-decoration: none;
    justify-self: start;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(48, 209, 88);
}

.header-right-elements {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.dark-mode-switch {
    cursor: pointer;
}

.switch-track {
    width: 50px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    padding: 2px;
}

.switch-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dark-mode-switch.active .switch-track {
    background: rgb(48, 209, 88);
}

.dark-mode-switch.active .switch-thumb {
    transform: translateX(26px);
    color: #f59e0b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(18, 27, 38, 255) 0%, rgba(30, 41, 59, 255) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bikers.jpeg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
}

.app-store-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: translateY(-3px);
}

.app-store-badge img {
    height: 56px;
    width: auto;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: #1a1a1a;
}

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

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(48, 209, 88), rgb(34, 197, 94));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: #0a0a0a;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(48, 209, 88), rgb(34, 197, 94));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step p {
    color: #cccccc;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(18, 27, 38, 255), rgba(30, 41, 59, 255));
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #000000;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: #aaaaaa;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #aaaaaa;
}

/* Light Mode Styles (when dark mode is disabled) */
body.light-mode {
    background: #ffffff;
    color: #333333;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-links a {
    color: #333333;
}

body.light-mode .nav-links a:hover {
    color: rgb(48, 209, 88);
}

body.light-mode .features {
    background: #f8fafc;
}

body.light-mode .feature-card {
    background: white;
    color: #333333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .feature-card h3 {
    color: #1e293b;
}

body.light-mode .feature-card p {
    color: #64748b;
}

body.light-mode .how-it-works {
    background: white;
}

body.light-mode .section-header h2 {
    color: #1e293b;
}

body.light-mode .section-header p {
    color: #64748b;
}

body.light-mode .step h3 {
    color: #1e293b;
}

body.light-mode .step p {
    color: #64748b;
}

body.light-mode footer {
    background: rgba(18, 27, 38, 255);
}

body.light-mode .footer-section p,
body.light-mode .footer-section a {
    color: #94a3b8;
}

body.light-mode .footer-section a:hover {
    color: white;
}

body.light-mode .footer-bottom {
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Terms of Service Page */
.terms-section {
    padding: 8rem 2rem 6rem;
    background: #1a1a1a;
    min-height: 100vh;
}

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

.terms-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.terms-header p {
    font-size: 1.1rem;
    color: #cccccc;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: #2a2a2a;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terms-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem 0 1rem 0;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terms-content ul {
    color: #cccccc;
    margin: 1rem 0 1rem 2rem;
    line-height: 1.6;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.terms-important-notice {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
}

.terms-highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
}

.terms-warning-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
}

/* Light mode styles for terms page */
body.light-mode .terms-section {
    background: #f8fafc;
}

body.light-mode .terms-header h1 {
    color: #1e293b;
}

body.light-mode .terms-header p {
    color: #64748b;
}

body.light-mode .terms-content {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .terms-content h2 {
    color: #1e293b;
}

body.light-mode .terms-content p,
body.light-mode .terms-content ul {
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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