/* CSS Design System for Curiosigo */

:root {
    --bg-main: #f4f6f9;
    --bg-panel: rgba(255, 255, 255, 0.85);
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-glow: rgba(0, 86, 204, 0.08);
    --border-light: rgba(0, 0, 0, 0.08);
    
    --primary: #0056cc; /* Brand Cobalt Blue */
    --primary-glow: rgba(0, 86, 204, 0.15);
    --primary-light: #00e1d9; /* Brand Teal/Cyan */
    --primary-dark: #003d99;
    
    --accent-emerald: #10b981;
    --accent-emerald-bg: rgba(16, 185, 129, 0.08);
    
    --accent-rose: #f43f5e;
    --accent-rose-bg: rgba(244, 63, 94, 0.08);
    
    --accent-amber: #eab308; /* Brand Gold Star */
    --accent-amber-bg: rgba(234, 179, 8, 0.08);

    --text-primary: #0f172a; /* Deep Slate Gray */
    --text-secondary: #334155; /* Medium Slate Gray */
    --text-muted: #64748b; /* Soft Muted Slate */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Glowing Background Blobs */
.glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-bg::before, .glow-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.15;
    animation: floatGlow 20s infinite alternate ease-in-out;
}

.glow-bg::before {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    right: 10%;
}

.glow-bg::after {
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(80px, 50px) scale(1.15);
    }
}

/* Layout Container */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
}

/* App Header & Navigation */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 0.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-link:hover {
    transform: translateY(-1px);
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary) 40%, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.app-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(0, 86, 204, 0.06);
}

.login-btn-header {
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 86, 204, 0.15);
}

.login-btn-header:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 86, 204, 0.25);
}

.logout-btn-header {
    background: transparent;
    color: var(--accent-rose);
    border: 1px solid var(--accent-rose);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.logout-btn-header:hover {
    background: var(--accent-rose-bg);
    transform: translateY(-1px);
}


/* Main Grid Layout */
.main-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 2rem;
    align-items: start;
}

.preview-panel {
    min-width: 0; /* Allows panel to shrink and prevents wide content from overflowing */
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism Panel styles */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 86, 204, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.05),
                0 0 20px rgba(0,0,0,0.3);
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-left: 4px solid var(--primary);
    padding-left: 0.75rem;
}

/* Inputs and Forms Styling */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group label .required {
    color: var(--accent-rose);
}

input[type="text"], select, textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

input[type="text"]:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.small-textarea {
    min-height: 80px;
}

.row-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

/* Select Styling Override */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

/* Primary Generation Button */
.primary-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 1.1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px var(--primary-glow);
    margin-top: 1rem;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 204, 0.4);
}

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

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: 0.6s;
}

.primary-btn:hover .btn-glow {
    left: 100%;
}

/* Secondary Button styling */
.secondary-btn {
    background-color: var(--border-light);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

/* Right Panel: Preview Dashboard Header */
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.preview-header .panel-title {
    margin-bottom: 0;
}

.export-actions {
    display: flex;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.export-actions.disabled {
    opacity: 0.2;
    pointer-events: none;
}

.export-btn {
    padding: 0.6rem 1.1rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.export-btn.excel {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 4px 15px rgba(22, 101, 52, 0.2);
}

.export-btn.excel:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 6px 20px rgba(22, 101, 52, 0.35);
}

.export-btn.drive {
    background: linear-gradient(135deg, #2563eb, #0284c7);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.export-btn.drive:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* States Viewport styling */
.preview-viewport {
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.state-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    animation: fadeIn 0.4s ease;
}

.state-container.active {
    display: flex;
}

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

/* Empty State Styling */
.empty-illustration {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.65;
    animation: pulseIcon 4s infinite alternate;
}

@keyframes pulseIcon {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(99,102,241,0)); }
    100% { transform: scale(1.08); filter: drop-shadow(0 0 15px rgba(99,102,241,0.25)); }
}

.state-container h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.state-container p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 440px;
    line-height: 1.6;
}

/* Error State */
.error-illustration-img {
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Spinner Loader styling */
.spinner-wrapper {
    margin-bottom: 1.5rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(79, 70, 229, 0.1);
    border-top: 3px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Step Pipeline progress tracker */
.pipeline-progress {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    text-align: left;
}

.pipeline-progress .step {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.pipeline-progress .step.active {
    color: var(--primary-light);
    border-color: rgba(99,102,241,0.3);
    background-color: rgba(99,102,241,0.05);
    font-weight: 500;
}

.pipeline-progress .step.done {
    color: var(--accent-emerald);
    border-color: rgba(16,185,129,0.3);
    background-color: rgba(16,185,129,0.05);
}

/* Output Itinerary Presentation Styling */
#outputState {
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
}

.itinerary-meta {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
}

.itinerary-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.meta-chips {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.meta-chip {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    color: var(--text-secondary);
}

/* Dietary Alert Banner */
.dietary-alert {
    background-color: var(--accent-amber-bg);
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: #78350f;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.dietary-alert strong {
    color: #92400e;
}

/* Days Tabs styling */
.days-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.days-tabs::-webkit-scrollbar {
    height: 4px;
}

.days-tabs::-webkit-scrollbar-thumb {
    background-color: var(--border-light);
    border-radius: 2px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    border-radius: 8px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255,255,255,0.03);
}

.tab-btn.active {
    color: #ffffff;
    background-color: var(--primary);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

/* Day Section details */
.day-view {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.3s ease;
}

.day-view.active {
    display: flex;
}

.day-theme-banner {
    background-color: rgba(0, 86, 204, 0.03);
    border: 1px dashed var(--border-light);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.day-theme-banner span {
    color: var(--primary-light);
    font-weight: 600;
}

/* Timeline Activity slots styling */
.itinerary-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    transition: var(--transition-smooth);
}

.activity-card:hover {
    transform: translateX(4px);
    border-color: var(--primary-light);
    background-color: #ffffff;
}

/* Constraint status coloring and badge */
.activity-card.passed {
    border-left: 4px solid var(--accent-emerald);
}

.activity-card.flagged {
    border-left: 4px solid var(--accent-amber);
    background-color: rgba(245, 158, 11, 0.03);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.card-time {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-light);
    background-color: rgba(0, 225, 217, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 225, 217, 0.15);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-badge.pass {
    background-color: var(--accent-emerald-bg);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-badge.warn {
    background-color: var(--accent-amber-bg);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

/* time-location-group removed */

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.35rem;
}

.card-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.card-location::before {
    content: '📍';
}

.card-notes {
    background-color: rgba(0, 86, 204, 0.03);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border: 1px solid rgba(0, 86, 204, 0.05);
}

.activity-card.flagged .card-notes {
    border-color: rgba(245, 158, 11, 0.1);
}

/* Screenshot Upload Zone Styles */
.upload-zone {
    border: 2px dashed var(--border-light);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-smooth);
    position: relative;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--primary-light);
    background-color: rgba(0, 225, 217, 0.06);
    box-shadow: 0 0 10px rgba(0, 225, 217, 0.1);
}

.upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.upload-icon {
    font-size: 1.6rem;
    transition: var(--transition-smooth);
}

.upload-zone:hover .upload-icon {
    transform: scale(1.15);
}

.upload-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.browse-link {
    color: var(--primary-light);
    text-decoration: underline;
    font-weight: 600;
}

.preview-thumbnail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
}

.preview-thumbnail img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.preview-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.preview-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
    z-index: 10;
}

.preview-close:hover {
    color: var(--accent-rose);
}

/* Airplane Loader & Trivia Styles */
.loader-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    position: relative;
    margin-bottom: 1rem;
}

.earth-loader {
    font-size: 3.2rem;
    display: inline-block;
    animation: pulseGlobe 2s ease-in-out infinite alternate;
}

.earth-loader::after {
    content: '🌍';
    animation: rotateGlobe 1.5s steps(3, end) infinite;
}

@keyframes rotateGlobe {
    0% { content: '🌍'; }
    33.33% { content: '🌎'; }
    66.66% { content: '🌏'; }
}

@keyframes pulseGlobe {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(0, 86, 204, 0.15)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(0, 225, 217, 0.35)); }
}

.trivia-container {
    background-color: rgba(0, 86, 204, 0.04);
    border: 1px solid rgba(0, 86, 204, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem auto 0 auto;
    text-align: left;
    max-width: 420px;
    box-shadow: 0 4px 15px rgba(0, 86, 204, 0.02);
}

.trivia-header {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

#triviaFact {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Website Link badge styling */
.card-website-link {
    margin-left: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.45rem;
    background-color: rgba(0, 86, 204, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 86, 204, 0.15);
    transition: var(--transition-smooth);
    line-height: 1.2;
}

.card-website-link:hover {
    background-color: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
}

/* Card Address details */
.card-address {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 0.25rem;
}

/* Ticket Badge inline styles */
.ticket-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    margin-left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    vertical-align: middle;
}

.ticket-badge.acquired {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ticket-badge.required {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--accent-rose);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Day Date Badge */
.day-date-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-right: 0.75rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

/* Cute Error Message Text */
.error-message-text {
    margin: 0 auto 1.5rem auto;
    color: var(--accent-rose);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    max-width: 320px;
    line-height: 1.5;
    text-align: center;
}

/* App Footer Copyright Styling */
.app-footer {
    text-align: center;
    padding: 1.5rem 0 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-links {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-link:hover {
    color: var(--primary-light);
    transform: translateY(-1px);
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 1rem;
    margin: 0.5rem auto 1.5rem 0;
    background: var(--bg-panel);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    width: fit-content;
}

.dash-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-tab:hover {
    color: var(--primary);
    background: rgba(0, 86, 204, 0.04);
}

.dash-tab.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 86, 204, 0.15);
}

/* Saved Trips Container */
.saved-trips-container {
    max-width: 800px;
    margin: 2rem auto;
    width: 100%;
}

.text-center {
    text-align: center;
}

.padding-3 {
    padding: 3rem 2rem;
}

/* Hero Section */
.hero-section {
    padding: 5rem 2.5rem;
    margin: 2rem 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.hero-btn {
    font-size: 1.05rem;
    padding: 0.9rem 2rem;
    border-radius: 12px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 86, 204, 0.06);
    border-color: rgba(0, 86, 204, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Grid & Cards */
.pricing-header {
    margin-top: 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 86, 204, 0.08);
}

.featured-tier {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 86, 204, 0.06);
    transform: scale(1.03);
}

.featured-tier:hover {
    transform: translateY(-4px) scale(1.03);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.06em;
}

.tier-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tier-price {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
}

.price-suffix {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.tier-description {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.tier-divider {
    border: 0;
    border-top: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tier-features li {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.pricing-action-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.95rem;
    border-radius: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

/* Login Page Card */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    margin: 2rem 0;
}

.login-card {
    max-width: 440px;
    width: 100%;
    padding: 3rem 2.5rem;
}

/* About Us Page */
.about-section {
    padding: 4rem 3.5rem;
    margin: 1.5rem 0;
}

.about-para {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Billing Toggle Switch */
.billing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

.toggle-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.toggle-label.active {
    color: var(--primary);
}

.discount-badge {
    background: var(--accent-emerald-bg);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.25rem;
    display: inline-block;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 30px;
    border: none;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.toggle-switch.yearly {
    background: var(--primary);
}

.toggle-switch.yearly::after {
    left: 27px;
}

/* Footer separator */
.footer-separator {
    color: var(--text-muted);
    opacity: 0.5;
    font-size: 0.85rem;
}





