/* CivicLens - Premium Dark Design System */

/* CSS Variables - Sophisticated Dark Theme */
:root {
    --primary: #0a0f14;
    --primary-light: #10b981;
    --primary-dark: #050709;
    --accent: #14b8a6;
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #0ea5e9 100%);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --neutral-50: #f0fdfa;
    --neutral-100: #ccfbf1;
    --neutral-200: #99f6e4;
    --neutral-300: #5eead4;
    --neutral-400: #2dd4bf;
    --neutral-500: #14b8a6;
    --neutral-600: #0d9488;
    --neutral-700: #1a2634;
    --neutral-800: #0f1720;
    --neutral-900: #070b0f;
    --glass-bg: rgba(16, 185, 129, 0.08);
    --glass-border: rgba(20, 184, 166, 0.2);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(16, 185, 129, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(16, 185, 129, 0.2);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--neutral-900);
    color: var(--neutral-100);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.glass-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--neutral-300);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(66, 153, 225, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid rgba(66, 153, 225, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--neutral-400);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    min-height: 3.5rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-400);
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-loader {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
}

.spinner {
    animation: spin 1s linear infinite;
    width: 24px;
    height: 24px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid rgba(66, 153, 225, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--neutral-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background: var(--neutral-800);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    padding: 2rem;
    background: var(--neutral-900);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 153, 225, 0.3);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.problem-card p {
    color: var(--neutral-400);
    font-size: 0.9rem;
}

/* Analyze Section */
.analyze-section {
    padding: 5rem 0;
}

.analyze-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-panel,
.results-panel {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-textarea,
.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    resize: vertical;
}

.form-textarea:focus,
.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}

.sample-complaints {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sample-label {
    font-size: 0.875rem;
    color: var(--neutral-400);
}

.sample-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.sample-chip {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--neutral-300);
    cursor: pointer;
    transition: var(--transition);
}

.sample-chip:hover {
    background: rgba(66, 153, 225, 0.1);
    border-color: var(--accent);
}

/* GPS Location Input */
.location-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.location-input-wrapper .form-input {
    flex: 1;
}

.gps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.gps-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

.gps-btn.loading {
    animation: pulse 1s infinite;
}

.gps-btn.success {
    background: var(--success);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Cooldown Warning */
.cooldown-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    color: var(--warning);
}

.cooldown-icon {
    font-size: 1.5rem;
}

.cooldown-text {
    font-size: 0.9rem;
}

.cooldown-text strong {
    color: white;
}

/* Disabled button state */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Results Panel */
.results-placeholder {
    text-align: center;
    padding: 3rem;
    color: var(--neutral-400);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.results-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-header h3 {
    color: var(--success);
}

.results-time {
    font-size: 0.875rem;
    color: var(--neutral-400);
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-card {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius-md);
    text-align: center;
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--neutral-400);
}

.result-value {
    font-size: 1.125rem;
    font-weight: 600;
}

.sentiment-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.sentiment-badge.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.sentiment-badge.neutral {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.sentiment-badge.positive {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.urgency-meter {
    position: relative;
}

.urgency-bar {
    height: 6px;
    background: var(--neutral-700);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.urgency-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--urgency, 0%);
    background: var(--accent-gradient);
    transition: width 0.5s ease;
}

.urgency-text {
    font-size: 0.875rem;
    text-transform: capitalize;
}

.ai-summary {
    padding: 1rem;
    background: rgba(66, 153, 225, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.summary-text {
    color: var(--neutral-300);
    font-size: 0.9rem;
    line-height: 1.6;
}

.recommendations {
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-md);
}

.recommendations-header {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.recommendations-list {
    list-style: none;
}

.recommendations-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--neutral-300);
}

.recommendations-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--neutral-800);
}

.map-container {
    overflow: hidden;
}

.map-controls {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: var(--neutral-300);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.issue-map {
    height: 400px;
    background: var(--neutral-900);
}

.map-fallback {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-900);
}

.fallback-content {
    text-align: center;
    color: var(--neutral-400);
}

.fallback-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

/* Insights Section */
.insights-section {
    padding: 5rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.insight-card {
    padding: 2rem;
    background: var(--neutral-800);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.insight-icon {
    font-size: 1.5rem;
}

.insight-header h3 {
    font-size: 1rem;
    color: var(--neutral-400);
    font-weight: 500;
}

.insight-value {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.value-unit {
    font-size: 1.25rem;
    color: var(--neutral-400);
}

.insight-trend {
    font-size: 0.875rem;
    color: var(--neutral-400);
    margin-top: 0.5rem;
}

.insight-trend.positive {
    color: var(--success);
}

.impact-statement {
    padding: 3rem;
    text-align: center;
}

.impact-statement h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.impact-statement p {
    color: var(--neutral-400);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.tech-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    color: var(--neutral-400);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--neutral-500);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .analyze-container {
        grid-template-columns: 1fr;
    }

    .result-cards {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Analytics Dashboard */
.insights-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

.analytics-chart {
    padding: 2rem;
    margin-bottom: 2rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.category-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-bar-item {
    display: grid;
    grid-template-columns: 150px 1fr 50px;
    align-items: center;
    gap: 1rem;
}

.category-label {
    font-size: 0.9rem;
    color: var(--neutral-300);
}

.category-bar-track {
    height: 24px;
    background: var(--neutral-700);
    border-radius: 12px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 12px;
    transition: width 0.5s ease;
}

.category-count {
    font-weight: 600;
    text-align: right;
    color: var(--accent);
}

/* Recent Issues Feed */
.recent-issues {
    padding: 2rem;
    margin-bottom: 2rem;
}

.recent-issues h3 {
    margin: 0 0 1rem 0;
}

.issues-feed {
    max-height: 300px;
    overflow-y: auto;
}

.feed-empty {
    color: var(--neutral-400);
    text-align: center;
    padding: 2rem;
}

.issue-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.issue-item-icon {
    font-size: 1.5rem;
}

.issue-item-content {
    flex: 1;
}

.issue-item-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.issue-item-meta {
    font-size: 0.8rem;
    color: var(--neutral-400);
    display: flex;
    gap: 1rem;
}

.urgency-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.urgency-badge.critical {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.urgency-badge.high {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
}

.urgency-badge.medium {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.urgency-badge.low {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

/* ========== MULTI-PAGE STYLES ========== */

/* Page Header */
.page-header {
    padding: 8rem 1.5rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, var(--neutral-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    color: var(--neutral-400);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--accent);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--neutral-800);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 153, 225, 0.3);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--neutral-400);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-link {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--neutral-800);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.step-card {
    padding: 2rem;
    background: var(--neutral-900);
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--neutral-400);
    font-size: 0.875rem;
}

.step-connector {
    font-size: 1.5rem;
    color: var(--accent);
}

.cta-center {
    text-align: center;
}

/* Tech Stack Section */
.tech-section {
    padding: 5rem 0;
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: var(--neutral-800);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 153, 225, 0.3);
}

.tech-logo {
    font-size: 2.5rem;
}

.tech-item span {
    font-weight: 500;
    color: var(--neutral-300);
}

/* Map Full Page */
.map-fullpage .issue-map {
    height: 500px;
}

.map-legend {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.map-legend h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legend-items {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--neutral-300);
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-marker.critical {
    background: #ef4444;
}

.legend-marker.high {
    background: #f97316;
}

.legend-marker.medium {
    background: #f59e0b;
}

.legend-marker.low {
    background: #22c55e;
}

/* Responsive for Multi-page */
@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        gap: 1rem;
    }

    .tech-item {
        padding: 1rem 1.5rem;
    }

    .legend-items {
        gap: 1rem;
    }

    .map-fullpage .issue-map {
        height: 400px;
    }
}