/* ================================
   RIDEON LANDING PAGE STYLES
   Brand Identity: Modern PSV Management Platform
   ================================ */

/* ================================
   CSS RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ================================
   CSS VARIABLES (Brand Colors)
   ================================ */
:root {
    --rideon-red: #E63946;
    --rideon-orange: #F7892B;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #E63946 0%, #F7892B 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ================================
   CONTAINER & LAYOUT
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary,
.btn-nav-cta,
.btn-cta-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--rideon-red);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-nav-cta:hover,
.btn-cta-primary:hover {
    background: var(--rideon-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.site-logo {
    height: 50px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rideon-red);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--rideon-red);
}

.btn-nav-cta {
    padding: 10px 24px;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05) 0%, rgba(247, 137, 43, 0.05) 100%);
    padding: 100px 0;
}

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

.hero-content {
    max-width: 600px;
}

.hero-headline {
    font-size: 52px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 600;
    color: var(--rideon-red);
    margin-bottom: 20px;
}

.hero-overview {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ================================
   VALUE PROPOSITION SECTION
   ================================ */
.value-proposition-section {
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--dark-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto 50px;
}

.value-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rideon-red);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.card-title {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--dark-gray);
}

.card-description {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.feature-list {
    margin: 20px 0;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--dark-gray);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rideon-red);
    font-weight: 700;
    font-size: 20px;
}

.card-benefit {
    margin-top: 20px;
    padding: 16px;
    background: var(--white);
    border-left: 4px solid var(--rideon-red);
    border-radius: 4px;
    font-size: 15px;
}

.card-benefit strong {
    color: var(--rideon-red);
}

/* ================================
   FINANCIAL TRACKING SECTION
   ================================ */
.financial-tracking-section {
    background: var(--light-gray);
}

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

.financial-text,
.fare-text {
    max-width: 600px;
}

.section-description {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.feature-list-detailed {
    margin: 30px 0;
}

.feature-list-detailed li {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.feature-list-detailed li:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.feature-list-detailed strong {
    display: block;
    font-size: 18px;
    color: var(--rideon-red);
    margin-bottom: 8px;
}

.feature-list-detailed span {
    font-size: 15px;
    color: var(--medium-gray);
}

.section-benefit {
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border-left: 4px solid var(--rideon-orange);
    border-radius: 4px;
    font-size: 16px;
}

.section-benefit strong {
    color: var(--rideon-orange);
}

.financial-image,
.fare-image {
    display: flex;
    justify-content: center;
}

.feature-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ================================
   FARE PRICING SECTION
   ================================ */
.fare-pricing-section {
    background: var(--white);
}

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

/* ================================
   WHY RIDEON SECTION
   ================================ */
.why-rideon-section {
    background: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rideon-orange);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.benefit-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.benefit-description {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.6;
}

.why-rideon-summary {
    text-align: center;
    font-size: 20px;
    color: var(--dark-gray);
    margin-top: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.why-rideon-summary strong {
    color: var(--rideon-red);
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-headline {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-motivational {
    font-size: 20px;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.btn-cta-primary {
    background: var(--white);
    color: var(--rideon-red);
    font-size: 18px;
    padding: 16px 40px;
}

.btn-cta-primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px) scale(1.05);
}

/* ================================
   FOOTER SECTION
   ================================ */
.site-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-weight: 600;
    color: var(--rideon-orange);
    margin-bottom: 12px;
}

.footer-description {
    font-size: 14px;
    color: #CCCCCC;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #CCCCCC;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--rideon-orange);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--rideon-red);
    transform: translateY(-4px);
}

.social-icons i {
    font-size: 18px;
    color: var(--white);
}

.dark-mode-container {
    margin-top: 20px;
}

.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 16px;
}

.dark-mode-toggle:hover {
    background: var(--rideon-orange);
    border-color: var(--rideon-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #CCCCCC;
}

/* ================================
   DARK MODE STYLES
   ================================ */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .site-header {
    background: #2a2a2a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

body.dark-mode .nav-link {
    color: #e0e0e0;
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(247, 137, 43, 0.1) 100%);
}

body.dark-mode .hero-headline,
body.dark-mode .section-title,
body.dark-mode .card-title,
body.dark-mode .benefit-title {
    color: #ffffff;
}

body.dark-mode .value-card,
body.dark-mode .benefit-card {
    background: #2a2a2a;
}

body.dark-mode .financial-tracking-section,
body.dark-mode .why-rideon-section {
    background: #1a1a1a;
}

body.dark-mode .feature-list-detailed li,
body.dark-mode .card-benefit,
body.dark-mode .section-benefit {
    background: #2a2a2a;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {

    .hero-section .container,
    .financial-content,
    .fare-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-headline {
        font-size: 42px;
    }

    .section-title {
        font-size: 36px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .main-navigation .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        text-align: center;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .hero-overview {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .value-cards-wrapper {
        grid-template-columns: 1fr;
    }

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

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

    .cta-headline {
        font-size: 32px;
    }

    .cta-motivational {
        font-size: 18px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn-primary,
    .btn-cta-primary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .value-card,
    .benefit-card {
        padding: 24px;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
    text-align: center;
}

.mb-small {
    margin-bottom: 16px;
}

.mb-medium {
    margin-bottom: 32px;
}

.mb-large {
    margin-bottom: 48px;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ================================
   ACCESSIBILITY
   ================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--rideon-red);
    outline-offset: 2px;
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {

    .site-header,
    .cta-section,
    .site-footer {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}