:root {
    --bg: #F2F7F5;
    --card-bg: #ffffff;
    --border: rgba(0, 0, 0, 0.05); /* very light */
    --accent: #10b981;
    --train: #3b82f6;
    --bus: #f59e0b;
    --metro: #a855f7;
    --text: #0f172a;
    --text-muted: #64748b;
    --font: 'Red Hat Display', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    animation: fadeInDown 0.8s ease forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.logo i {
    color: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    color: var(--accent);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--text);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.6s ease forwards;
    animation-delay: var(--delay);
}

.word.accent {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    animation: slideUpFade 0.6s ease forwards, glow 2s ease-in-out infinite;
    animation-delay: var(--delay), 0.6s;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.3s;
}

/* Cards */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    width: 320px;
    height: 280px;
    background: var(--card-bg);
    border: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.03);
    border-radius: 28px;
    padding: 2rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: cardEntrance 0.6s ease forwards;
    animation-delay: var(--delay);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: auto;
    transition: all 0.3s ease;
}

.card-icon.flight {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent);
}

.flight-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.card:hover .card-icon.flight {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.card-icon.train {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--train);
}

.train-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.card:hover .card-icon.train {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.card-icon.bus {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--bus);
}

.bus-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.card:hover .card-icon.bus {
    background: rgba(245, 158, 11, 0.2);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-content {
    margin-top: auto;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.card:hover h3 {
    transform: translateX(5px);
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.card:hover p {
    transform: translateX(5px);
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--bg);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.card:hover .card-arrow {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
    transform: translateX(5px);
}

.train-card:hover .card-arrow {
    background: var(--train);
    border-color: var(--train);
}

.bus-card:hover .card-arrow {
    background: var(--bus);
    border-color: var(--bus);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }
    50% { text-shadow: 0 0 40px rgba(16, 185, 129, 0.8); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Mobile - No Scroll, Fit Screen */
@media (max-width: 768px) {
    html, body {
        height: 100vh;
        overflow: hidden;
    }
    
    .header {
        padding: 1rem 1.25rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .hero {
        padding: 1.5rem 1rem;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .title {
        font-size: 1.75rem;
        white-space: nowrap;
        margin-bottom: 0.25rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cards-container {
        flex-direction: column;
        gap: 0.75rem;
        flex: 1;
        justify-content: center;
    }
    
    .card {
        width: 100%;
        height: auto;
        min-height: 90px;
        padding: 1rem;
        flex-direction: row;
        align-items: center;
        border-radius: 16px;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 0;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .card-content {
        margin-top: 0;
        flex: 1;
    }
    
    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.15rem;
    }
    
    .card p {
        font-size: 0.8rem;
    }
    
    .card-arrow {
        position: static;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
}

@media (min-width: 769px) {
    body {
        max-width: 480px;
        margin: 0 auto;
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }
}



/* Add these styles after the bus-card styles */

.card-icon.metro {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.2);
    color: var(--metro);
}

.metro-card:hover {
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
}

.card:hover .card-icon.metro {
    background: rgba(236, 72, 153, 0.2);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.metro-card:hover .card-arrow {
    background: var(--metro);
    border-color: var(--metro);
}