:root {
    /* Colors */
    --primary: #0B3C5D;
    --primary-light: #1D5D8A;
    --accent: #3282B8;
    --accent-soft: rgba(50, 130, 184, 0.1);
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);

    /* Spacing */
    --p-sm: 12px;
    --p-md: 20px;
    --p-lg: 32px;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(11, 60, 93, 0.1), 0 4px 6px -2px rgba(11, 60, 93, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(11, 60, 93, 0.1), 0 10px 10px -5px rgba(11, 60, 93, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

/* Mobile Container */
.app-container {
    width: 100%;
    max-width: 430px; /* iPhone 14 Pro Max size roughly */
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
}

/* Typography */
h1 { font-size: 24px; font-weight: 700; color: var(--primary); }
h2 { font-size: 20px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
p { font-size: 14px; color: var(--text-muted); }
.small { font-size: 12px; }

/* Components */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: var(--radius);
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    gap: 8px;
}

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

.btn-primary:active {
    transform: scale(0.98);
    background: var(--primary-light);
}

.btn-ghost {
    background: var(--accent-soft);
    color: var(--primary);
}

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* Neumorphism subtle */
.neu-inset {
    background: var(--bg);
    box-shadow: inset 4px 4px 8px #e2e8f0, inset -4px -4px 8px #ffffff;
    border: none;
}

/* Layout Parts */
header {
    padding: var(--p-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(8px);
}

.location-picker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Home Screen Specifics */
.scroll-section {
    padding: 0 var(--p-md);
    margin-bottom: var(--p-lg);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.banner-slider {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: var(--p-md);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--p-lg);
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

/* Booking Cards */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.booking-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s;
    border: 1px solid var(--border);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.booking-card:active {
    transform: scale(0.97);
}

.booking-card.rapid {
    background: linear-gradient(to right, #FFF1F1, #FFFFFF);
    border-color: #FECACA;
}

.booking-card.standard {
    background: linear-gradient(to right, #F0F9FF, #FFFFFF);
    border-color: #BAE6FD;
}

.booking-card.normal {
    background: linear-gradient(to right, #F0FDF4, #FFFFFF);
    border-color: #BBF7D0;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rapid .card-icon { background: #FEE2E2; color: #DC2626; }
.standard .card-icon { background: #E0F2FE; color: #0284C7; }
.normal .card-icon { background: #DCFCE7; color: #16A34A; }

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
}

.cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.cat-icon svg { width: 32px; height: 32px; color: var(--primary); }

.category-item:active .cat-icon {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.cat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-main);
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 430px;
    background: var(--white);
    padding: 12px 24px 32px 24px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item svg {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes moveTech {
    0% { top: 60%; left: 30%; }
    100% { top: 45%; left: 45%; }
}

/* Splash Screen Special */
.splash-container {
    height: 100vh;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.logo-main {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.tagline {
    font-size: 16px;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Tracking Map */
.map-view {
    height: 60vh;
    background: #E5E7EB;
    position: relative;
    overflow: hidden;
}

.tracking-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: var(--p-md);
    box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
}

/* Input Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 16px;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Utilities */
.mb-20 { margin-bottom: 20px; }
.mt-10 { margin-top: 10px; }
.flex-1 { flex: 1; }
.gap-10 { gap: 10px; }
.row { display: flex; align-items: center; }
.space-between { justify-content: space-between; }
