/* ============================================
   Global Styles & Variables
   ============================================ */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #f0f7ff 0%, #f5f0ff 50%, #fff0f5 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="cars" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><g opacity="0.04" fill="%23253BEB"><path d="M 20 30 Q 25 25 30 30 L 50 30 Q 55 25 60 30 L 60 50 Q 55 55 50 55 L 30 55 Q 25 55 20 50 Z M 25 35 Q 25 33 27 33 L 53 33 Q 55 33 55 35 L 55 45 Q 55 47 53 47 L 27 47 Q 25 47 25 45 Z M 30 50 L 30 55 M 50 50 L 50 55"/><path d="M 20 70 Q 25 65 30 70 L 50 70 Q 55 65 60 70 L 60 90 Q 55 95 50 95 L 30 95 Q 25 95 20 90 Z M 25 75 Q 25 73 27 73 L 53 73 Q 55 73 55 75 L 55 85 Q 55 87 53 87 L 27 87 Q 25 87 25 85 Z" transform="translate(50,0)"/></g></pattern></defs><rect width="200" height="200" fill="white"/><rect width="200" height="200" fill="url(%23cars)"/></svg>');
    background-size: 100%, 100%, 250px 250px;
    pointer-events: none;
    z-index: -1;
}

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

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 252, 0.98) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(37, 99, 235, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ============================================
   User Menu Dropdown
   ============================================ */
.user-menu-container {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    display: none;
    flex-direction: column;
    z-index: 101;
    margin-top: 5px;
    animation: slideDown 0.3s ease;
}

.user-dropdown.show {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: 15px 20px;
    font-weight: bold;
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 8px 8px 0 0;
    text-align: center;
    font-size: 13px;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 5px 0;
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    padding-left: 24px;
    color: var(--primary-color);
}

.dropdown-item.logout-item {
    color: var(--danger-color);
    border-top: 1px solid var(--border-color);
}

.dropdown-item.logout-item:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%),
                linear-gradient(45deg, rgba(6, 182, 212, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><pattern id="heroParking" x="0" y="0" width="150" height="150" patternUnits="userSpaceOnUse"><g opacity="0.08"><path d="M 30 40 Q 35 35 40 40 L 80 40 Q 85 35 90 40 L 90 100 Q 85 105 80 105 L 40 105 Q 35 105 30 100 Z" fill="none" stroke="%23253BEB" stroke-width="2"/><circle cx="45" cy="50" r="6" fill="%23253BEB"/><circle cx="75" cy="50" r="6" fill="%23253BEB"/><rect x="35" y="55" width="50" height="40" opacity="0.3" fill="%2306B6D4"/><circle cx="45" cy="95" r="8" fill="%23253BEB"/><circle cx="75" cy="95" r="8" fill="%23253BEB"/></g></pattern></defs><rect width="300" height="300" fill="white"/><rect width="300" height="300" fill="url(%23heroParking)"/></svg>');
    background-size: auto, auto, 200px 200px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite reverse;
}

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

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 16px 42px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

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

.parking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.spot {
    width: 60px;
    height: 80px;
    border-radius: 5px;
    background-color: #dbe3ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 42px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
}

/* ============================================
   Problem Section
   ============================================ */
.problem-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #f5ecff 50%, #fff5f8 100%);
    display: none;
    position: relative;
    padding: 80px 0;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.problem-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.problem-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 255, 0.95) 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.problem-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.problem-box::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.problem-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.problem-box .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.problem-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.problem-box p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Background Section
   ============================================ */
.background-section {
    display: none;
}

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

.background-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

.benefits-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.background-graphic {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chart {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    justify-content: center;
    height: 300px;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
}

.bar {
    width: 80px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    font-weight: bold;
    padding-top: 10px;
    transition: all 0.3s ease;
}

.bar:hover {
    transform: scaleY(1.1);
}

.chart-label {
    text-align: center;
    color: var(--text-light);
    margin-top: 20px;
}

.bar-traffic {
    height: 45%;
}

.bar-time {
    height: 60%;
}

.bar-emissions {
    height: 35%;
}

.bar-satisfaction {
    height: 50%;
}

.coverage-card {
    margin-top: 30px;
    padding: 15px;
    background: #e8f4f8;
    border-radius: 8px;
    border-left: 4px solid #0084ff;
}

.coverage-heading {
    margin-top: 0;
    color: #0084ff;
}

.coverage-item {
    margin: 10px 0;
    font-size: 14px;
}

/* ============================================
   Solution Section
   ============================================ */
.solution-section {
    background: linear-gradient(135deg, #f5f0ff 0%, #f0f7ff 50%, #e0f7ff 100%);
    display: none;
    position: relative;
    padding: 80px 0;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="solutions" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><g opacity="0.05"><circle cx="50" cy="30" r="25" fill="%23253BEB" stroke="%2306B6D4" stroke-width="3"/><path d="M 30 50 L 70 50 M 50 50 L 50 80" stroke="%23253BEB" stroke-width="2" fill="none"/><path d="M 35 60 L 50 75 L 65 60" fill="none" stroke="%2306B6D4" stroke-width="2"/></g></pattern></defs><rect width="400" height="400" fill="white"/><rect width="400" height="400" fill="url(%23solutions)"/></svg>');
    background-size: 150px 150px;
    pointer-events: none;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.solution-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 255, 0.95) 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.solution-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.solution-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.card-details ul {
    list-style: none;
    color: var(--text-dark);
}

.card-details li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.card-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    background: linear-gradient(135deg, #e0f7ff 0%, #f0f4ff 50%, #ffe0f5 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: moveX 10s ease-in-out infinite;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: moveX 12s ease-in-out infinite reverse;
}

@keyframes moveX {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(30px); }
}

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

.feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 248, 255, 0.95) 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.08);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scale(1.2) translate(20px, -20px);
}

.feature-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Architecture Section
   ============================================ */
.architecture-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f0ff 50%, #fff0f8 100%);
    position: relative;
    overflow: hidden;
}

.architecture-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.architecture-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite reverse;
}

.architecture-diagram {
    background-color: var(--light-bg);
    padding: 50px;
    border-radius: 10px;
    overflow-x: auto;
}

.architecture-layer {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.layer-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 32px;
    border-radius: 10px;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.layer-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.layer-box:hover::before {
    opacity: 1;
}

.layer-box:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.layer-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.layer-box p {
    font-size: 14px;
    opacity: 0.9;
}

.arrow {
    font-size: 30px;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #f5f0ff 50%, #ffe0f5 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 60%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 40%, rgba(37, 99, 235, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.9;
}

.contact-details {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 255, 0.95) 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.contact-item {
    padding: 15px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.95) 100%);
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 16px 42px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f172a 100%);
    color: #ffffff;
    padding: 60px 0 30px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(37, 99, 235, 0) 0%, 
        rgba(37, 99, 235, 0.5) 50%, 
        rgba(37, 99, 235, 0) 100%);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* ============================================
   Booking Section
   ============================================ */
.booking-section {
    background: linear-gradient(135deg, #f8f0ff 0%, #f0f8ff 50%, #fff8f0 100%);
    position: relative;
    overflow: hidden;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><defs><pattern id="carPattern" x="0" y="0" width="150" height="150" patternUnits="userSpaceOnUse"><g opacity="0.06" fill="%23253BEB" stroke="%2306B6D4" stroke-width="1"><rect x="30" y="40" width="90" height="60" rx="8" fill="none" stroke-width="2"/><circle cx="50" cy="100" r="12"/><circle cx="110" cy="100" r="12"/><path d="M 35 50 L 40 40 L 110 40 L 115 50" fill="%2306B6D4" opacity="0.3"/><line x1="75" y1="40" x2="75" y2="100" stroke="%23253BEB" opacity="0.2" stroke-width="1"/></g></pattern></defs><rect width="500" height="500" fill="white"/><rect width="500" height="500" fill="url(%23carPattern)"/></svg>'),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    background-size: 200px 200px, 100%, 100%;
    pointer-events: none;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.booking-filters {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.95) 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: flex-end;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
}

.booking-search-hint {
    grid-column: 1 / -1;
    margin: -8px 0 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.location-search-panel,
.admin-report-grid > div,
.admin-facility-management {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.location-search-controls {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.location-search-controls label {
    grid-column: 1 / -1;
    font-weight: 600;
}

#parkingMap {
    width: 100%;
    height: 380px;
    margin: 14px 0;
    border-radius: 10px;
    background: #e2e8f0;
}

#mapStatus,
#routeSummary {
    color: var(--text-light);
    margin: 8px 0;
}

.nearby-lots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.nearby-lot-card {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nearby-lot-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.nearby-lot-card button {
    margin-top: 8px;
}

.navigation-link {
    display: inline-block;
    text-decoration: none;
    margin-top: 8px;
}

.admin-section {
    background: #f1f5f9;
}

.admin-toolbar,
.admin-stats,
.admin-report-grid,
.admin-facility-form {
    display: grid;
    gap: 14px;
    margin: 18px 0;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}

.admin-toolbar label,
.admin-facility-form label {
    display: grid;
    gap: 6px;
}

.admin-toolbar input,
.admin-facility-form input,
.admin-facility-form select {
    min-height: 40px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.admin-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-stat-card {
    padding: 18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.admin-stat-card strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.admin-report-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-report-grid table,
.admin-facility-management table {
    width: 100%;
    border-collapse: collapse;
}

.admin-report-grid th,
.admin-report-grid td,
.admin-facility-management th,
.admin-facility-management td {
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.admin-facility-form {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: end;
}

.admin-facility-management {
    overflow-x: auto;
}

.admin-facility-management button {
    cursor: pointer;
}

.booking-filters::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.95) 100%);
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-control:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

.search-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.search-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.search-button:hover::before {
    width: 250px;
    height: 250px;
}

.search-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.parking-display {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.lot-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 255, 0.95) 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
    height: fit-content;
    position: sticky;
    top: 100px;
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.lot-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.lot-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.lot-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.lot-stats span {
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
}

.lot-stats strong {
    color: var(--primary-color);
    font-weight: 700;
}

.parking-grid-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.95) 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.parking-grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(37, 99, 235, 0) 0%, 
        rgba(37, 99, 235, 0.3) 50%, 
        rgba(37, 99, 235, 0) 100%);
}

.parking-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
}

.slot-availability-status {
    margin: 12px 0 0;
    color: var(--text-light);
}

.parking-spot {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 12px;
    border: 2px solid transparent;
    position: relative;
}

.parking-spot.available {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.parking-spot.available:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

.parking-spot.available.selected {
    border-color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 6px 15px rgba(16, 185, 129, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.3);
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 6px 15px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 8px 20px rgba(16, 185, 129, 0.6); }
}

.parking-spot.occupied {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    cursor: not-allowed;
    opacity: 0.6;
}

.parking-spot.reserved {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    cursor: not-allowed;
    opacity: 0.7;
}

.parking-spot.maintenance,
.parking-spot.unavailable {
    background: #64748b;
    cursor: not-allowed;
    opacity: 0.75;
}

.admin-booking-management {
    margin-top: 22px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow-x: auto;
}

.booking-summary {
    background: linear-gradient(135deg, rgba(248, 250, 255, 0.95) 0%, rgba(240, 247, 255, 0.95) 100%);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
}

.booking-summary h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.summary-details {
    display: grid;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    font-weight: 700;
    color: var(--text-dark);
}

.price-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 2px solid var(--border-color);
    font-size: 18px;
    font-weight: bold;
}

.book-button {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.book-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.book-button:hover::before {
    width: 400px;
    height: 400px;
}

.book-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.book-button:disabled {
    background: linear-gradient(135deg, #cbd5e1 0%, #a1acb8 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 16px;
}

.empty-state a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.empty-state a:hover {
    text-decoration: underline;
}

/* ============================================
   My Bookings Section
   ============================================ */
.my-bookings-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f0ff 50%, #fff0f8 100%);
    position: relative;
    overflow: hidden;
}

.my-bookings-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.my-bookings-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite reverse;
}

.bookings-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.booking-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.95) 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.booking-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
}

.booking-card-header h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.booking-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.3);
}

.booking-card-body {
    padding: 20px;
}

.booking-detail {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.booking-detail-icon {
    min-width: 20px;
}

.booking-detail-text {
    flex: 1;
}

.booking-detail-label {
    color: var(--text-light);
    font-weight: 500;
}

.booking-detail-value {
    color: var(--text-dark);
    font-weight: 600;
}

.booking-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.booking-action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================
   Profile Section
   ============================================ */
.profile-section {
    background: linear-gradient(135deg, #f5f0ff 0%, #f0f8ff 50%, #fff5f0 100%);
    position: relative;
    overflow: hidden;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: moveX 10s ease-in-out infinite;
}

.profile-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: moveX 12s ease-in-out infinite reverse;
}

.profile-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.auth-required-message {
    text-align: center;
    padding: 30px;
    background-color: #f0f4ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.auth-required-message p {
    margin: 0;
    color: var(--text-dark);
    font-size: 16px;
}

.auth-required-message a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-required-message a:hover {
    text-decoration: underline;
}

.profile-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 15px;
    box-shadow: var(--shadow);
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 10px 0;
}

.profile-email {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.profile-info {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.info-value {
    color: var(--text-dark);
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.btn-logout {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--danger-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-edit-profile {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-edit-profile:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Modal Styles
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-top: 6px solid var(--primary-color);
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--text-dark);
    margin-top: -10px;
}

.close {
    color: var(--text-light);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: var(--text-dark);
}

#modalBookingDetails {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(240, 147, 251, 0.08) 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.modal-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.modal-detail:last-child {
    border-bottom: none;
}

.modal-detail-label {
    font-weight: 600;
    color: var(--text-light);
}

.modal-detail-value {
    font-weight: 700;
    color: var(--text-dark);
}

.payment-methods {
    margin: 30px 0;
}

.payment-methods h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #047857;
    font-weight: 700;
    background: linear-gradient(135deg, #047857, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-options-scrollable {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-height: 250px;
    overflow-y: scroll;
    padding-right: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
}

/* Custom Scrollbar Styling */
.payment-options-scrollable::-webkit-scrollbar {
    width: 10px;
}

.payment-options-scrollable::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #e0e7ff 0%, #fce7f3 100%);
    border-radius: 10px;
}

.payment-options-scrollable::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.payment-options-scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
}


.payment-btn {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.payment-btn:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #667eea 0%, #4facfe 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.payment-btn.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.confirm-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confirm-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.confirm-button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* ============================================
   Security Badge
   ============================================ */
.security-badge {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f3fdf8 0%, #ecfdf5 100%);
    border: 2px solid #10b981;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #047857;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
}

/* ============================================
   User Menu & Login Button
   ============================================ */
.user-menu-icon {
    padding: 8px 12px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    border-radius: 5px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-menu-icon:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* ============================================
   Login & Signup Forms
   ============================================ */
.login-modal-content {
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 14px;
    animation: slideDown 0.3s ease-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: slideDown 0.3s ease-out, gradientShift 8s ease infinite;
    scrollbar-width: thin;
    scrollbar-color: #7c3aed #f3e8ff;
}

.login-modal-content::-webkit-scrollbar {
    width: 10px;
}

.login-modal-content::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f3e8ff 0%, #e0e7ff 100%);
    border-radius: 10px;
}

.login-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7c3aed 0%, #ec4899 45%, #3b82f6 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5);
}

.login-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6d28d9 0%, #db2777 50%, #2563eb 100%);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-container {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 28px;
}

.login-subtitle {
    color: var(--text-light);
    font-size: 14px;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-light);
}

.remember-me input {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--secondary-color);
}

.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.login-button:active {
    transform: translateY(0);
}

.cancel-button {
    width: 100% !important;
    padding: 12px !important;
    background: #64748b !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow) !important;
}

.cancel-button:hover {
    background: #475569 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.cancel-button:active {
    transform: translateY(0) !important;
}

.signup-prompt {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

.signup-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: var(--secondary-color);
}

.agree-terms {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-light);
}

.agree-terms input {
    width: auto;
    cursor: pointer;
}

.security-info {
    margin-top: 20px;
    padding: 12px;
    background: #ecfdf5;
    border-left: 4px solid var(--success-color);
    border-radius: 4px;
    font-size: 12px;
    color: #047857;
    line-height: 1.5;
}

.security-info p {
    margin: 0;
}

.security-note {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.helper-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    background: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
}

.secondary-cancel-button {
    margin-top: 10px;
    background-color: #64748b !important;
    color: white !important;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .parking-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 10px;
    }

    .login-modal-content {
        width: 95%;
    }

    .payment-options-scrollable {
        grid-template-columns: 1fr;
    }

    .section h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .background-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .chart {
        height: 200px;
        gap: 20px;
    }

    .bar {
        width: 60px;
    }

    .architecture-layer {
        flex-direction: column;
        gap: 15px;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .footer .container {
        flex-direction: column;
    }

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

    .features-grid,
    .problem-content,
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

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

    .parking-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .spot {
        width: 50px;
        height: 70px;
        font-size: 18px;
    }

    .nav-links a {
        font-size: 14px;
        gap: 15px;
    }
}
