/* ==========================================
   RIDEPOOL - CUSTOM STYLES
   ========================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    
    --bg-light: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-light: #1e293b;
    --bg-secondary: #0f172a;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    transition: var(--transition);
    overflow-x: hidden;
}

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

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

/* ========== TOP OFFER BAR ========== */
.top-offer-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.offer-slider {
    display: flex;
    animation: scroll 25s linear infinite;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-right: 50px;
    font-size: 14px;
    font-weight: 500;
}

.offer-item i {
    font-size: 16px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Duplicate items for seamless loop */
.offer-slider::after {
    content: '';
}

/* ========== NAVIGATION ========== */
.navbar {
    background-color: var(--bg-light);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo i {
    font-size: 26px;
    color: var(--primary-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.1);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.theme-toggle {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 8px;
    font-size: 14px;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: rotate(180deg);
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    height: 90vh;
    background-size: cover;
    background-position: center;
}

.carousel-item {
    height: 90vh;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    margin-bottom: 40px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.pool-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.pool-option-btn {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pool-option-btn:hover,
.pool-option-btn.active {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pool-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-xl);
    display: none;
}

.pool-form.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--bg-light);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== SECTION COMMON STYLES ========== */
section {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.section-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background-color: var(--bg-secondary);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-badge i {
    font-size: 28px;
    color: var(--primary-color);
}

.about-badge strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.about-badge span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.about-content {
    padding-left: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: var(--success-color);
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== HOW TO JOIN SECTION ========== */
.how-to-join-section {
    background-color: var(--bg-light);
}

.join-box {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.join-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.join-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.join-icon.find-pool {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.join-icon.offer-pool {
    background: linear-gradient(135deg, var(--accent-color), var(--danger-color));
}

.join-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.join-steps {
    text-align: left;
    margin-bottom: 25px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-item p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-top: 4px;
}

.btn-join {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== APP SECTION ========== */
.app-section {
    background-color: var(--bg-secondary);
}

.phone-mockup {
    position: relative;
    text-align: center;
}

.phone-screen {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
}

.app-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.app-feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.app-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.app-feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ========== RIDES SECTION ========== */
.rides-section {
    background-color: var(--bg-light);
}

.ride-card {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: var(--transition);
    height: 100%;
}

.ride-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.ride-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.ride-route .from,
.ride-route .to {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.ride-route .from i {
    color: var(--success-color);
    font-size: 12px;
}

.ride-route .to i {
    color: var(--danger-color);
    font-size: 14px;
}

.route-line {
    width: 2px;
    height: 25px;
    background: linear-gradient(to bottom, var(--success-color), var(--danger-color));
    margin-left: 6px;
    margin-bottom: 8px;
}

.ride-price {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.ride-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--primary-color);
    font-size: 14px;
}

.ride-driver {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ride-driver img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.driver-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

.rating i {
    color: var(--accent-color);
    font-size: 14px;
}

.btn-book {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-view-all {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-all:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ========== MISSION SECTION ========== */
.mission-section {
    background-color: var(--bg-secondary);
}

.mission-box {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    transition: var(--transition);
}

.mission-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
}

.mission-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.mission-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.mission-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonial-card {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.user-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.stars {
    color: var(--accent-color);
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background-color: var(--bg-secondary);
}

.accordion-item {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(35%) sepia(77%) saturate(3527%) hue-rotate(233deg);
}

.accordion-body {
    padding: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== DOWNLOAD SECTION ========== */
.download-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.download-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
}

.download-section .section-title {
    color: white;
}

.download-section .section-text {
    color: rgba(255, 255, 255, 0.9);
}

.qr-codes {
    display: flex;
    gap: 25px;
    margin: 30px 0;
}

.qr-box {
    text-align: center;
}

.qr-image {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.qr-image img {
    width: 120px;
    height: 120px;
}

.qr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.qr-label i {
    font-size: 18px;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

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

.store-btn i {
    font-size: 28px;
}

.store-btn small {
    display: block;
    font-size: 11px;
    opacity: 0.9;
}

.store-btn strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.phone-showcase {
    position: relative;
    text-align: center;
}

.showcase-phone {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-features {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.feature-badge {
    position: absolute;
    background: white;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 3s ease-in-out infinite;
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

.badge-1 {
    top: 15%;
    left: 0;
    animation-delay: 0s;
}

.badge-2 {
    top: 45%;
    right: 0;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

body.dark-mode .footer {
    background-color: #020617;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 26px;
    color: var(--primary-color);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 16px;
}

.newsletter h5 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-top: 25px;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* ========== MODAL STYLES ========== */
.modal-content {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
}

.modal-header {
    border-bottom: 2px solid var(--border-color);
    padding: 20px 25px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 32px;
    }

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

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .phone-mockup {
        margin-bottom: 30px;
    }

    .qr-codes {
        justify-content: center;
    }

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

@media (max-width: 767px) {
    .top-offer-bar {
        font-size: 13px;
    }

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

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

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

    .pool-options {
        flex-direction: column;
    }

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

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

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

    .qr-codes {
        flex-direction: column;
        align-items: center;
    }

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

    .store-btn {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .pool-form {
        padding: 20px;
    }

    .ride-info {
        flex-direction: column;
        gap: 10px;
    }

    .mission-stats {
        flex-direction: column;
        gap: 20px;
    }
}