/* ==========================================================================
   CityPages.pro - Modern Styling Sheet (Vanilla CSS)
   ========================================================================== */

/* Design Tokens & Theme Setup */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Theme-specific properties (Default Dark Mode) */
    --bg-primary: #08090d;
    --bg-secondary: #0f111a;
    --bg-card: rgba(20, 22, 33, 0.65);
    --bg-sidebar: rgba(15, 17, 26, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 245, 255, 0.3);
    
    /* Branding Accent Colors */
    --accent-1: #00f5ff; /* Cyber Cyan */
    --accent-2: #8a2be2; /* Neon Purple */
    --accent-gradient: linear-gradient(135deg, #00f5ff 0%, #8a2be2 100%);
    --accent-glow-1: rgba(0, 245, 255, 0.15);
    --accent-glow-2: rgba(138, 43, 226, 0.15);
    --accent-glow-gradient: linear-gradient(135deg, rgba(0, 245, 255, 0.25) 0%, rgba(138, 43, 226, 0.25) 100%);
    
    /* UI Dimensions & System Constants */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(16px);
}

/* Light Theme Overrides */
.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-sidebar: rgba(241, 245, 249, 0.9);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(138, 43, 226, 0.4);
    
    --accent-glow-1: rgba(0, 245, 255, 0.08);
    --accent-glow-2: rgba(138, 43, 226, 0.08);
    --box-shadow-card: 0 8px 32px 0 rgba(148, 163, 184, 0.15);
}

/* Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Generic Layout Helper classes */
.text-center { text-align: center; }
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8a2be2 0%, #00f5ff 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
}
.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    z-index: -2;
    border-radius: calc(var(--border-radius-sm) + 2px);
    filter: blur(8px);
    opacity: 0.4;
    transition: var(--transition-smooth);
}
.btn-glow:hover::before {
    filter: blur(14px);
    opacity: 0.8;
}

.btn-full {
    width: 100%;
}
.btn-xs {
    padding: 8px 16px;
    font-size: 0.85rem;
}
.btn-icon-only {
    padding: 12px;
    border-radius: 50%;
    aspect-ratio: 1;
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.main-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 9, 13, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.light-theme .main-header {
    background: rgba(248, 250, 252, 0.8);
}
.main-header.scrolled {
    height: 70px;
    background: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.logo-icon {
    font-size: 1.6rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotateSlow 20s linear infinite;
}
.logo-accent {
    color: var(--accent-1);
    font-weight: 400;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 30%, rgba(138, 43, 226, 0.15) 0%, rgba(8, 9, 13, 0.96) 80%);
    z-index: 1;
    pointer-events: none;
}
.light-theme .hero-bg-overlay {
    background: radial-gradient(circle at 60% 30%, rgba(0, 245, 255, 0.1) 0%, rgba(248, 250, 252, 0.92) 80%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.badge-container {
    margin-bottom: 24px;
}
.premium-badge {
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--accent-1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Search Bar styling */
.search-box-wrapper {
    position: relative;
    margin-bottom: 32px;
    max-width: 650px;
}
.search-box {
    display: flex;
    align-items: center;
    background: rgba(20, 22, 33, 0.8);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 8px 8px 8px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-card);
    transition: var(--transition-smooth);
}
.light-theme .search-box {
    background: rgba(255, 255, 255, 0.9);
}
.search-box:focus-within {
    border-color: var(--accent-1);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.15);
}

.search-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-right: 16px;
}

.search-box input {
    flex: 1;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 10px 0;
}
.search-box input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    border-radius: var(--border-radius-sm);
    padding: 14px 28px;
}

/* Search Suggestions dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    display: none;
}
.light-theme .search-suggestions {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.search-suggestions.active {
    display: block;
}
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--border-color);
}
.suggestion-item:last-child {
    border-bottom: none;
}
.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.03);
}
.light-theme .suggestion-item:hover {
    background: rgba(0, 0, 0, 0.02);
}
.suggestion-item i {
    color: var(--accent-1);
    font-size: 1.1rem;
}
.suggestion-name {
    font-weight: 600;
    color: var(--text-primary);
}
.suggestion-country {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* Quick city selectors */
.quick-cities {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.quick-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}
.city-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.city-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.city-tag:hover {
    background: var(--accent-glow-1);
    border-color: var(--accent-1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Section Standard Elements
   ========================================================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-1);
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   AI Overview Component Layout
   ========================================================================== */
.ai-overview-section {
    background-color: var(--bg-secondary);
}

.ai-panel-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-card);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
}

/* Sidebar Selector */
.city-sidebar {
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 32px 0;
}
.city-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0 32px 20px 32px;
    border-bottom: 1px solid var(--border-color);
}
.sidebar-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 32px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    border-left: 3px solid transparent;
    transition: var(--transition-smooth);
}
.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}
.light-theme .sidebar-item:hover {
    background: rgba(0, 0, 0, 0.01);
}
.sidebar-item.active {
    background: rgba(0, 245, 255, 0.04);
    color: var(--accent-1);
    border-left-color: var(--accent-1);
}
.sidebar-item i {
    font-size: 1.1rem;
}

/* Main AI Card */
.ai-main-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 520px;
}

.ai-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.city-header-meta h3 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 4px;
}
.city-country {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ai-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.15);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-1);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-1);
    animation: pulseGlow 1.5s infinite alternate;
}

/* Mini scores widget */
.ai-mini-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.score-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.score-badge i {
    color: var(--accent-1);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.score-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}
.score-val {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Tabs list inside AI Card */
.ai-card-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    gap: 24px;
    margin-bottom: 28px;
}
.tab-btn {
    padding: 12px 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.tab-btn:hover {
    color: var(--text-primary);
}
.tab-btn.active {
    color: var(--accent-1);
    border-bottom-color: var(--accent-1);
}

/* Card Body Area */
.ai-card-body {
    flex: 1;
    position: relative;
}

.ai-content-display {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}
.ai-content-display p {
    margin-bottom: 16px;
}
.ai-content-display h4 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin: 20px 0 10px 0;
}
.ai-content-display h4:first-child {
    margin-top: 0;
}

.ai-content-list {
    margin: 12px 0 20px 20px;
    list-style-type: square;
}
.ai-content-list li {
    margin-bottom: 8px;
}

/* Overlay representing loading/synthesizing state */
.ai-generating-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    transition: opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}
.ai-generating-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    box-shadow: 0 0 15px var(--accent-1);
    animation: scanAnimation 2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.generation-loader {
    text-align: center;
    max-width: 320px;
}
.generation-loader p {
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.circle-spin {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0, 245, 255, 0.1);
    border-top: 3px solid var(--accent-1);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

/* Card Footer tag */
.ai-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 32px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.ai-model-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-secondary);
}
.ai-model-tag i {
    color: var(--accent-2);
}

/* ==========================================================================
   Directory Spot Card Component
   ========================================================================== */
.directory-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-group {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 50px;
    box-shadow: var(--box-shadow-card);
    backdrop-filter: var(--glass-blur);
    gap: 4px;
}
.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.filter-btn:hover {
    color: var(--text-primary);
}
.filter-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

/* Grid of spot cards */
.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

/* Individual Card */
.spot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}
.spot-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.08);
}

.spot-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
}
.spot-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.spot-card:hover .spot-card-image img {
    transform: scale(1.1);
}

.spot-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    z-index: 2;
}
.spot-badge.badge-eat { background: linear-gradient(135deg, #ff4e50, #f9d423); }
.spot-badge.badge-stay { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.spot-badge.badge-explore { background: linear-gradient(135deg, #11998e, #38ef7d); }
.spot-badge.badge-culture { background: linear-gradient(135deg, #ea00d9, #711c91); }

.spot-rating {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: var(--glass-blur);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}
.spot-rating i {
    color: #f9d423;
}

.spot-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.spot-city-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 6px;
}

.spot-card-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.25;
}

.spot-card-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.spot-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.spot-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.spot-meta-item i {
    color: var(--accent-1);
}

/* ==========================================================================
   Smart Travel Planner Widget
   ========================================================================== */
.planner-section {
    background-color: var(--bg-secondary);
}

.planner-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: start;
}

/* Config Form Card */
.planner-config-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow-card);
    backdrop-filter: var(--glass-blur);
}

.config-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-2);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.planner-config-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.config-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.itinerary-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Select element wrapper */
.select-wrapper {
    position: relative;
    width: 100%;
}
.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px 20px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    transition: var(--transition-smooth);
}
.light-theme .form-select {
    background: rgba(255, 255, 255, 0.9);
}
.form-select:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}
.select-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.85rem;
}

/* Radio Tiles selector */
.radio-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
}
.tile-label {
    cursor: pointer;
}
.tile-label input {
    display: none;
}
.tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    text-align: center;
    transition: var(--transition-smooth);
}
.tile-label input:checked + .tile-content {
    background: var(--accent-glow-2);
    border-color: var(--accent-2);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.15);
}
.tile-label:hover .tile-content {
    border-color: var(--border-hover);
}

.tile-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}
.tile-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.tile-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: var(--transition-smooth);
}
.tile-label input:checked + .tile-content .tile-icon {
    color: var(--accent-2);
}
.tile-title-mini {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Output Card Screen */
.planner-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow-card);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
}

/* Empty output state */
.planner-result-empty {
    margin: auto;
    text-align: center;
    padding: 40px;
    max-width: 360px;
}
.empty-state-icon {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    opacity: 0.8;
}
.planner-result-empty h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.planner-result-empty p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Loading output state */
.planner-result-loading {
    margin: auto;
    text-align: center;
    padding: 40px;
    max-width: 380px;
}
.planner-result-loading h4 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 8px;
}
.planner-result-loading p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dna-spinner {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto;
}
.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-1);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: bounce 2.0s infinite ease-in-out;
}
.double-bounce2 {
    background-color: var(--accent-2);
    animation-delay: -1.0s;
}

/* Real Result layout */
.planner-result-content {
    padding: 40px;
}
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 32px;
}
.planner-result-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.result-header h4 {
    font-size: 1.45rem;
    line-height: 1.25;
}

/* Itinerary Timeline list */
.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 20px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-day {
    position: relative;
}
.timeline-day-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.timeline-day-bullet {
    width: 14px;
    height: 14px;
    background: var(--accent-2);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    position: absolute;
    left: 14px;
    top: 6px;
    z-index: 5;
}

.timeline-items {
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.timeline-item {
    position: relative;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    transition: var(--transition-smooth);
}
.timeline-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.03);
}

.item-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-1);
    margin-bottom: 4px;
    display: block;
}
.item-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.item-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Utilities Widget Grid Component
   ========================================================================== */
.utilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.utility-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--box-shadow-card);
    backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.utility-icon {
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.utility-card h4 {
    font-size: 1.25rem;
}
.utility-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Weather inner widget layout */
.weather-widget {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-top: auto;
}
.widget-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.widget-label {
    font-weight: 600;
    color: var(--text-muted);
}
.select-mini {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: var(--border-radius-sm);
}
.weather-output {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}
.weather-main {
    display: flex;
    align-items: center;
    gap: 12px;
}
.weather-temp {
    font-size: 1.5rem;
    font-weight: 800;
}
.weather-cond {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
}
.weather-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Transit Inner widget */
.transit-widget {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.transit-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.transit-efficiency {
    color: var(--accent-1);
    font-weight: 700;
}

/* Packing Checklist widget */
.packing-widget {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}
.check-item input {
    cursor: pointer;
    accent-color: var(--accent-2);
}
.check-item.checked {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* ==========================================================================
   Frequently Asked Questions Accordion Component
   ========================================================================== */
.faq-section {
    background-color: var(--bg-primary);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}
.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}
.faq-arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-1);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.05);
}
.faq-content p {
    padding: 0 28px 24px 28px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   Newsletter Call-to-action Section
   ========================================================================== */
.newsletter-section {
    padding: 60px 0;
}
.newsletter-card {
    background: var(--accent-gradient);
    border-radius: var(--border-radius-lg);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.3);
}

.newsletter-content {
    max-width: 500px;
    color: #ffffff;
}
.newsletter-content h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 12px;
}
.newsletter-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 480px;
}
.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    color: #ffffff;
    font-size: 0.95rem;
}
.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}
.newsletter-form .btn {
    background: #ffffff;
    color: var(--accent-2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
}

/* ==========================================================================
   Footer Component Layout
   ========================================================================== */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.brand-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.social-links a:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.05rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.footer-links a:hover {
    color: var(--accent-1);
    padding-left: 4px;
}

.footer-bottom {
    padding: 30px 0;
}
.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}
.seo-foot-note {
    max-width: 500px;
    text-align: right;
    line-height: 1.5;
}

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

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

@keyframes pulseGlow {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 4px var(--accent-1);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 16px var(--accent-1);
    }
}

@keyframes bounce {
    0%, 100% { transform: scale(0.0); }
    50% { transform: scale(1.0); }
}

@keyframes scanAnimation {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* ==========================================================================
   Responsive Media Queries (Responsive Layouts)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .ai-panel-wrapper {
        grid-template-columns: 1fr;
    }
    .city-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 24px 0 0 0;
    }
    .city-sidebar h3 {
        padding: 0 32px 14px 32px;
    }
    .sidebar-list {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 24px;
        gap: 8px;
    }
    .sidebar-item {
        padding: 10px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    .sidebar-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--accent-1);
    }
    .planner-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    section {
        padding: 60px 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-primary);
        padding: 40px 24px;
        border-top: 1px solid var(--border-color);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    .nav-link {
        font-size: 1.15rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .search-box {
        padding: 6px 6px 6px 16px;
    }
    .search-box input {
        font-size: 0.9rem;
    }
    .search-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    .ai-card-tabs {
        overflow-x: auto;
        gap: 16px;
    }
    .tab-btn {
        white-space: nowrap;
    }
    .ai-main-card {
        padding: 24px;
    }
    .city-header-meta h3 {
        font-size: 1.7rem;
    }
    .newsletter-card {
        flex-direction: column;
        padding: 32px;
        text-align: center;
    }
    .newsletter-form {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .seo-foot-note {
        text-align: center;
        margin: 0 auto;
    }
}

/* ==========================================================================
   New Page Layouts (Legal, Contact, Sitemap)
   ========================================================================== */

/* Legal Content Page Styling */
.legal-wrapper {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    min-height: 80vh;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px 60px;
    box-shadow: var(--box-shadow-card);
    backdrop-filter: var(--glass-blur);
}
@media (max-width: 768px) {
    .legal-card {
        padding: 30px 20px;
    }
}

.legal-card h1 {
    font-size: 2.8rem;
    margin-bottom: 8px;
    line-height: 1.15;
}
.legal-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    display: block;
}

.legal-content h2 {
    font-size: 1.65rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-1);
    padding-left: 12px;
}
.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.legal-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}
.legal-content ul, .legal-content ol {
    margin: 16px 0 24px 24px;
    color: var(--text-secondary);
}
.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Contact Us Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin-top: 20px;
}
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.contact-info-heading h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.contact-info-heading p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.contact-detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-glow-1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.contact-detail-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.contact-detail-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Interactive Floating Label Form */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow-card);
    backdrop-filter: var(--glass-blur);
    position: relative;
}

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

.contact-form-group {
    position: relative;
    width: 100%;
}
.contact-form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.light-theme .contact-form-group input,
.light-theme .contact-form-group textarea {
    background: rgba(255, 255, 255, 0.85);
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

.contact-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Label floating behavior class triggered by JS */
.contact-form-group.focused label {
    top: -10px;
    left: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--accent-1);
    border: 1px solid var(--border-color);
}
.light-theme .contact-form-group.focused label {
    background: var(--bg-primary);
}

/* Form success overlay styling */
.contact-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.contact-success-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(56, 239, 125, 0.1);
    border: 2px solid #38ef7d;
    color: #38ef7d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(56, 239, 125, 0.15);
}
.contact-success-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.contact-success-overlay p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
    max-width: 320px;
}

/* Sitemap Layout */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.sitemap-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--box-shadow-card);
    backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sitemap-category-card h3 {
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sitemap-category-card h3 i {
    color: var(--accent-1);
}

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sitemap-list li {
    position: relative;
    padding-left: 20px;
}
.sitemap-list li::before {
    content: '└';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-muted);
    font-weight: bold;
}
.sitemap-list a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.sitemap-list a:hover {
    color: var(--accent-1);
    text-decoration: underline;
}
.sitemap-list .sitemap-sub-list {
    margin-left: 16px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

