/* ========================================
   WEATHER TRIP PLANNER — DESIGN SYSTEM
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Colors — Curated dark palette with weather accents */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(25, 34, 56, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #38bdf8;
    --accent-cyan: #22d3ee;
    --accent-purple: #a78bfa;
    --accent-orange: #fb923c;
    --accent-yellow: #fbbf24;
    --accent-green: #34d399;
    --accent-pink: #f472b6;
    --accent-red: #f87171;

    --gradient-primary: linear-gradient(135deg, #38bdf8, #a78bfa);
    --gradient-warm: linear-gradient(135deg, #fb923c, #f472b6);
    --gradient-cool: linear-gradient(135deg, #22d3ee, #38bdf8);
    --gradient-hero: linear-gradient(180deg, #0a0e1a 0%, #111827 50%, #0f172a 100%);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(56, 189, 248, 0.3);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-hero);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   BACKGROUND PARTICLES
   ======================================== */
.bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 14, 26, 0.75);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-base);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

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

.header-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.title-gradient {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ========================================
   PLANNER CARD (Form)
   ======================================== */
.planner-card {
    width: 100%;
    max-width: 620px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease 0.2s both;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.12), transparent 70%);
    pointer-events: none;
}

.trip-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-label svg {
    color: var(--accent-blue);
}

.input-wrapper {
    position: relative;
}

input[type="text"],
input[type="date"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition-fast);
    outline: none;
}

input[type="text"]:focus,
input[type="date"]:focus {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

input[type="text"]::placeholder {
    color: var(--text-muted);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6);
    cursor: pointer;
}

/* City Suggestions Dropdown */
.city-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1e293b;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    max-height: 220px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    box-shadow: var(--shadow-lg);
}

.city-suggestions.visible {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

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

.suggestion-item:hover {
    background: rgba(56, 189, 248, 0.08);
    color: var(--text-primary);
}

.suggestion-item .country {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.3);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    box-shadow: none;
}

.btn-icon {
    display: flex;
    transition: var(--transition-fast);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Loading state for button */
.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-icon {
    opacity: 0;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   LOADING SECTION
   ======================================== */
.loading-section {
    display: none;
    min-height: 80vh;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    position: relative;
    z-index: 1;
}

.loading-section.visible {
    display: flex;
}

.loading-container {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

/* Weather Loader Animation */
.weather-loader {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    position: relative;
}

.loader-sun {
    position: absolute;
    top: 15px;
    left: 35px;
    width: 50px;
    height: 50px;
}

.sun-core {
    width: 30px;
    height: 30px;
    background: var(--accent-yellow);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    animation: sunPulse 2s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(251, 191, 36, 0.7); }
}

.sun-ray {
    position: absolute;
    width: 3px;
    height: 10px;
    background: var(--accent-yellow);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    animation: sunSpin 8s linear infinite;
}

.sun-ray:nth-child(2) { transform: rotate(0deg) translateY(-22px); }
.sun-ray:nth-child(3) { transform: rotate(45deg) translateY(-22px); }
.sun-ray:nth-child(4) { transform: rotate(90deg) translateY(-22px); }
.sun-ray:nth-child(5) { transform: rotate(135deg) translateY(-22px); }
.sun-ray:nth-child(6) { transform: rotate(180deg) translateY(-22px); }
.sun-ray:nth-child(7) { transform: rotate(225deg) translateY(-22px); }
.sun-ray:nth-child(8) { transform: rotate(270deg) translateY(-22px); }
.sun-ray:nth-child(9) { transform: rotate(315deg) translateY(-22px); }

@keyframes sunSpin {
    to { transform: rotate(360deg); }
}

.loader-cloud {
    position: absolute;
    width: 70px;
    height: 30px;
    background: rgba(148, 163, 184, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.loader-cloud::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(148, 163, 184, 0.4);
    border-radius: 50%;
    top: -15px;
    left: 15px;
}

.loader-cloud::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(148, 163, 184, 0.35);
    border-radius: 50%;
    top: -8px;
    left: 38px;
}

.loader-cloud-1 {
    bottom: 20px;
    left: 5px;
    animation: cloudFloat1 3s ease-in-out infinite;
}

.loader-cloud-2 {
    bottom: 35px;
    right: 0;
    width: 50px;
    height: 22px;
    opacity: 0.6;
    animation: cloudFloat2 4s ease-in-out infinite 1s;
}

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

@keyframes cloudFloat2 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-8px); }
}

.loading-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.loading-step.active {
    color: var(--accent-cyan);
}

.loading-step.done {
    color: var(--accent-green);
}

.step-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: var(--transition-base);
}

.loading-step.active .step-indicator {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
    animation: pulse 1.5s infinite;
}

.loading-step.done .step-indicator {
    background: var(--accent-green);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

/* ========================================
   RESULTS SECTION
   ======================================== */
.results-section {
    display: none;
    padding: 100px 24px 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.results-section.visible {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.results-header {
    margin-bottom: 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-bottom: 20px;
}

.back-btn:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-accent);
}

.results-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.results-dates {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Weather Overview Strip */
.weather-overview {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
}

.weather-overview::-webkit-scrollbar {
    height: 4px;
}

.weather-overview::-webkit-scrollbar-track {
    background: transparent;
}

.weather-overview::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

.weather-day-chip {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    min-width: 90px;
    transition: var(--transition-fast);
    cursor: default;
}

.weather-day-chip:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.chip-day {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.chip-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.chip-temp {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chip-temp .temp-low {
    color: var(--text-muted);
    font-weight: 400;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple), var(--accent-pink), transparent);
    border-radius: 2px;
}

.timeline-day {
    position: relative;
    margin-bottom: 32px;
    animation: fadeInUp 0.5s ease both;
}

.timeline-day:last-child {
    margin-bottom: 0;
}

/* Stagger animation */
.timeline-day:nth-child(1) { animation-delay: 0.1s; }
.timeline-day:nth-child(2) { animation-delay: 0.2s; }
.timeline-day:nth-child(3) { animation-delay: 0.3s; }
.timeline-day:nth-child(4) { animation-delay: 0.4s; }
.timeline-day:nth-child(5) { animation-delay: 0.5s; }
.timeline-day:nth-child(6) { animation-delay: 0.6s; }
.timeline-day:nth-child(7) { animation-delay: 0.7s; }

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
    z-index: 2;
}

.timeline-day:nth-child(even) .timeline-dot {
    background: var(--accent-purple);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-fast);
}

.timeline-card:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
    box-shadow: var(--shadow-glow);
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}

.timeline-date {
    display: flex;
    flex-direction: column;
}

.timeline-date-day {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.timeline-date-full {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-weather-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-weather-badge .weather-emoji {
    font-size: 1.1rem;
}

.timeline-activities {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

.activity-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    white-space: nowrap;
    min-width: 70px;
    padding-top: 2px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.activity-description {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    padding: 80px 24px 100px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-slow);
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent-blue);
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.step-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 24px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #7f1d1d;
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: var(--radius-md);
    color: #fca5a5;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 200;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
}

.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    display: flex;
    color: var(--accent-red);
}

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

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }

    .hero {
        padding: 80px 16px 40px;
    }

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

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

    .planner-card {
        padding: 24px;
    }

    .form-row-dates {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .results-title {
        font-size: 1.5rem;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -23px;
    }

    .timeline-card-header {
        flex-direction: column;
    }

    .activity-item {
        flex-direction: column;
        gap: 4px;
    }

    .activity-time {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .header-nav {
        display: none;
    }

    .weather-overview {
        gap: 6px;
    }

    .weather-day-chip {
        min-width: 75px;
        padding: 10px 12px;
    }
}
