/* ==========================================
   CABIGO LANDING PAGE STYLES
   Premium Blue & Gold Theme
   ========================================== */

/* ========== VARIABLES ========== */
:root {
    --primary-teal: #2D9B9B;
    --dark-navy: #1A3A52;
    --orange-accent: #F5A623;
    --light-teal: #E8F6F6;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --success: #28A745;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

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

/* ========== NAVIGATION ========== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%232D9B9B" d="M50 10 C35 10 25 20 25 35 C25 50 50 90 50 90 S75 50 75 35 C75 20 65 10 50 10 Z"/><path fill="%231A3A52" d="M45 30 Q50 40 55 30 L50 60 Z"/></svg>') no-repeat center;
    background-size: contain;
}

/* Fallback for actual logo image when provided */
.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: var(--primary-teal);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-teal);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--light-gray);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.2);
    color: var(--orange-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--orange-accent) 0%, #FFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-hero {
    background: var(--orange-accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.3);
    background: #E09519;
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-accent);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== PHONE MOCKUP ========== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark-gray);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
}

.app-preview {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.app-logo {
    font-weight: 800;
    color: var(--primary-teal);
    font-size: 1.2rem;
}

.map-placeholder {
    flex: 1;
    background: linear-gradient(135deg, var(--light-teal) 0%, #D0F0F0 100%);
    border-radius: 15px;
    margin: 1rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-pin {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

.route-line {
    position: absolute;
    width: 3px;
    height: 100px;
    background: var(--primary-teal);
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.ride-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ride-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ride-card.active {
    background: var(--primary-teal);
    color: var(--white);
}

.price {
    font-weight: 700;
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ========== COVERAGE SECTION ========== */
.coverage {
    padding: 6rem 0;
    background: var(--light-gray);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.city-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.city-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.city-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.city-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.city-card p {
    color: var(--gray);
}

/* ========== SIGNUP SECTIONS ========== */
.signup-section,
.driver-section {
    padding: 6rem 0;
    background: var(--white);
}

.driver-section {
    background: var(--light-gray);
}

.signup-content,
.driver-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.signup-info h2,
.driver-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
}

.signup-info p,
.driver-info p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    color: var(--dark-gray);
}

.driver-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit h4 {
    color: var(--dark-navy);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--gray);
    margin: 0;
    font-size: 1rem;
}

/* ========== FORMS ========== */
.signup-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.driver-section .signup-form-container {
    background: var(--white);
}

.signup-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.btn-submit {
    width: 100%;
    background: var(--primary-teal);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--orange-accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--orange-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.dpc-notice {
    color: var(--orange-accent) !important;
    font-weight: 600;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.success-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.modal-content h3 {
    font-size: 2rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.modal-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.btn-modal {
    background: var(--primary-teal);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 968px) {
    .hero-content,
    .signup-content,
    .driver-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

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

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .hero-stats {
        gap: 2rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .signup-form-container {
        padding: 1.5rem;
    }

    .modal-content {
        margin: 20px;
        padding: 2rem;
    }
}
