/* ============================================
   CIVICFIX ABOUT PAGE BRAND STYLES
   ============================================ */

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: rgba(16, 185, 129, 0.15);
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #6366f1;
    --secondary-light: rgba(99, 102, 241, 0.15);
    --dark: #0a0f1a;
    --dark-secondary: #111827;
    --dark-tertiary: #1e293b;
    --gray-900: #f1f5f9;
    --gray-800: #e2e8f0;
    --gray-700: #cbd5e1;
    --gray-600: #94a3b8;
    --gray-500: #64748b;
    --gray-400: #475569;
    --gray-300: #334155;
    --gray-200: #1e293b;
    --gray-100: #0f172a;
    --gradient: linear-gradient(135deg, #10b981, #6366f1);
    --gradient-hover: linear-gradient(135deg, #059669, #4f46e5);
    --card-bg: rgba(17, 24, 39, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* NAVIGATION */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.nav.scrolled {
    padding: 14px 0;
    background: rgba(10, 15, 26, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--gray-900);
}

.nav-brand img { width: 42px; height: 42px; border-radius: 12px; }

.btn-nav {
    padding: 12px 28px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* HERO SECTION */
.about-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
}

.glow-1 { top: -200px; right: -100px; }
.glow-2 { bottom: -200px; left: -100px; }

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 24px;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    font-weight: 700;
}

/* STORY NARRATIVE */
.story-narrative {
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.meta-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

.story-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 32px;
}

.story-content p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.story-card {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
}

.story-card h3 {
    color: var(--gray-900);
    margin-bottom: 16px;
}

.image-stack {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--dark-secondary);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.badge-icon { font-size: 2rem; }
.badge-text { font-weight: 800; color: var(--gray-900); margin-top: 8px; }

/* MISSION VISION */
.mission-vision {
    padding-bottom: 100px;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mv-card {
    padding: 60px 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
}

.mv-icon { font-size: 3rem; margin-bottom: 24px; }
.mv-card h3 { font-size: 2rem; color: var(--gray-900); margin-bottom: 20px; }

/* CORE VALUES */
.core-values {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.value-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
}

.v-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item h4 { font-size: 1.25rem; color: var(--gray-900); margin-bottom: 8px; }

/* TECH IMPACT */
.tech-impact {
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-glass-frame img {
    width: 100%;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
}

.impact-list {
    list-style: none;
    margin-top: 40px;
}

.impact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.check {
    color: var(--primary);
    font-weight: 900;
}

/* FINAL CTA SECTION */
.about-cta {
    padding-bottom: 120px;
}

.cta-card {
    background: var(--gradient);
    border-radius: 48px;
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary-white {
    padding: 18px 48px;
    background: #fff;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-outline {
    padding: 18px 48px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* FOOTER */
.footer {
    background: var(--dark-secondary);
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
}

.footer-col h4 { color: var(--gray-900); margin-bottom: 24px; font-weight: 800; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--gray-600); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 16px; }
.social-icon { 
    width: 44px; 
    height: 44px; 
    background: rgba(255,255,255,0.05); 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    color: var(--gray-600); 
    transition: all 0.3s;
}
.social-icon:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 80px; 
    color: var(--gray-600); 
    font-size: 0.875rem; 
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .story-grid, .tech-grid, .mv-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .values-grid { grid-template-columns: 1fr; }
    .about-hero h1 { font-size: 2.5rem; }
    .cta-content h2 { font-size: 2.5rem; }
    .cta-btns { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
