/**
 * HOME 2026 - Modern Futuristic Portfolio Design
 * Pure CSS - No Tailwind
 * Fast, lightweight, database-driven
 */

/* ============================================
   CSS VARIABLES - Theme Support
   ============================================ */
:root {
    /* Light Theme Colors */
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8ed;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --accent-primary: #007a8c;
    --accent-secondary: #007aff;
    --accent-glow: rgba(0, 122, 140, 0.3);
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.3);
    --panel-strong-bg: rgba(255, 255, 255, 0.82);
    --panel-strong-alt: rgba(250, 250, 252, 0.94);
    --panel-strong-border: rgba(15, 23, 42, 0.08);
    --input-bg: rgba(255, 255, 255, 0.64);
    --input-border: rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px var(--accent-glow);
}

[data-theme="dark"] {
    /* Dark Theme Colors */
    --bg-primary: #0d0e13;
    --bg-secondary: #121318;
    --bg-tertiary: #1e1f25;
    --text-primary: #e3e1e9;
    --text-secondary: #bbc9cf;
    --accent-primary: #00d4ff;
    --accent-secondary: #43d9e9;
    --accent-glow: rgba(0, 209, 255, 0.2);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(26, 27, 35, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --panel-strong-bg: rgba(22, 23, 31, 0.9);
    --panel-strong-alt: rgba(27, 28, 38, 0.98);
    --panel-strong-border: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(17, 18, 24, 0.78);
    --input-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 209, 255, 0.15);
}

/* Dark theme contact button - use dark text for contrast on cyan */
[data-theme="dark"] .contact-submit {
    color: #071019;
}

/* Dark theme sidebar toggle - ensure icon is visible */
[data-theme="dark"] .sidebar-toggle svg {
    color: #ffffff;
}

[data-theme="dark"] .sidebar-toggle:hover svg {
    color: #071019;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-display {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.font-technical {
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.font-mono {
    font-family: 'Space Grotesk', monospace;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px var(--accent-glow);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   GLASS EFFECT
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.glass-strong {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.header-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--accent-primary);
}

.header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.header-nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.header-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 24px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   SIDEBAR TOGGLE (Mobile)
   ============================================ */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    z-index: 1001;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: var(--accent-primary);
}

.sidebar-toggle i,
.sidebar-toggle .public-icon,
.sidebar-toggle svg {
    font-size: 20px;
    color: var(--accent-primary);
}

.sidebar-toggle:hover i,
.sidebar-toggle:hover .public-icon,
.sidebar-toggle:hover svg {
    color: var(--bg-primary);
}

/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    z-index: 1001;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--accent-primary);
    transform: rotate(15deg);
}

.theme-toggle i,
.theme-toggle .public-icon,
.theme-toggle svg {
    font-size: 20px;
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.theme-toggle:hover i,
.theme-toggle:hover .public-icon,
.theme-toggle:hover svg {
    color: var(--bg-primary);
}

/* Dark theme theme toggle - ensure icon is visible */
[data-theme="dark"] .theme-toggle svg {
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle:hover svg {
    color: #071019;
}

/* ============================================
   MOBILE MENU
   ============================================ */
@media (max-width: 768px) {
    .header {
        display: none;
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   SIDEBAR (Mobile Navigation)
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    z-index: 2000;
    padding: 80px 24px 24px;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.sidebar-menu i,
.sidebar-menu .public-icon {
    width: 20px;
    text-align: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 0% 0%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(67, 217, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 100px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title-accent {
    display: block;
    color: var(--accent-primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Floating Card */
.hero-float-card {
    position: absolute;
    bottom: 60px;
    left: 40px;
    padding: 20px;
    display: none;
}

@media (min-width: 1200px) {
    .hero-float-card {
        display: block;
        animation: float 4s ease-in-out infinite;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-float-card .card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.hero-float-card .card-icon i,
.hero-float-card .card-icon .public-icon {
    font-size: 24px;
    color: var(--bg-primary);
}

.hero-float-card .card-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.hero-float-card .card-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   PROJECTS SECTION (Bento Grid)
   ============================================ */
.projects {
    padding: 100px 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 24px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
    margin-top: 8px;
}

.section-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--accent-primary);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.5s ease;
}

.bento-item:hover {
    transform: scale(1.02);
}

.bento-item.featured {
    grid-column: span 8;
}

.bento-item.medium {
    grid-column: span 4;
}

.bento-item.small {
    grid-column: span 6;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-item {
        display: flex;
        flex-direction: column;
    }

    .bento-item.featured,
    .bento-item.medium,
    .bento-item.small {
        grid-column: span 12;
    }

    .bento-image,
    .bento-item.featured .bento-image,
    .bento-item.medium .bento-image,
    .bento-item.small .bento-image,
    .bento-placeholder,
    .bento-item.featured .bento-placeholder,
    .bento-item.medium .bento-placeholder,
    .bento-item.small .bento-placeholder {
        aspect-ratio: 16 / 10;
    }

    .bento-overlay {
        display: none;
    }

    .bento-content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 20px 20px 22px;
        background: linear-gradient(180deg, rgba(11, 15, 25, 0) 0%, rgba(11, 15, 25, 0.16) 100%);
    }

    .bento-title {
        font-size: clamp(1.85rem, 7.6vw, 2.5rem);
        margin-bottom: 10px;
    }

    .bento-description {
        max-width: none;
    }

    .bento-arrow {
        display: none;
    }
}

.bento-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.bento-item.featured .bento-image {
    aspect-ratio: 16/9;
}

.bento-item.medium .bento-image {
    aspect-ratio: 3/4;
}

.bento-item.small .bento-image {
    aspect-ratio: 1/1;
}

.bento-item:hover .bento-image {
    opacity: 0.7;
}

/* Project Image Placeholder */
.bento-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.bento-item.featured .bento-placeholder {
    aspect-ratio: 16/9;
}

.bento-item.medium .bento-placeholder {
    aspect-ratio: 3/4;
}

.bento-item.small .bento-placeholder {
    aspect-ratio: 1/1;
}

.bento-placeholder svg {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 300px;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 60%);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
}

.bento-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.bento-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    color: var(--accent-primary);
}

.bento-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.bento-description {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 400px;
}

.bento-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.bento-item:hover .bento-arrow {
    opacity: 1;
    transform: translateX(0);
}

.bento-arrow i {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-item {
        display: flex;
        flex-direction: column;
    }

    .bento-image,
    .bento-item.featured .bento-image,
    .bento-item.medium .bento-image,
    .bento-item.small .bento-image,
    .bento-placeholder,
    .bento-item.featured .bento-placeholder,
    .bento-item.medium .bento-placeholder,
    .bento-item.small .bento-placeholder {
        aspect-ratio: 16 / 10;
    }

    .bento-overlay,
    .bento-arrow {
        display: none;
    }

    .bento-content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 20px 20px 22px;
        background: linear-gradient(180deg, rgba(11, 15, 25, 0) 0%, rgba(11, 15, 25, 0.16) 100%);
    }

    .bento-title {
        font-size: clamp(1.85rem, 7.6vw, 2.5rem);
        margin-bottom: 10px;
    }

    .bento-description {
        max-width: none;
    }
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills {
    padding: 100px 24px;
    background: var(--bg-tertiary);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-shell {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-title {
        max-width: none;
    }
}

.skills-intro {
    max-width: 500px;
}

.skills-intro .section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.skills-intro h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
}

.skill-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.skill-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.skill-icon i,
.skill-icon .public-icon {
    font-size: 24px;
    color: var(--accent-primary);
}

.skill-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.skill-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Stats Card */
.stats-card {
    padding: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.stats-card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.stats-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.stats-dot.red { background: #ff6b6b; }
.stats-dot.green { background: #51cf66; }
.stats-dot.blue { background: var(--accent-primary); }

.stats-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 16px;
}

.stats-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease;
}

.stats-bar-fill.blue { background: var(--accent-primary); }
.stats-bar-fill.green { background: #51cf66; }
.stats-bar-fill.purple { background: #845ef7; }

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.stat-item {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.stat-value.blue { color: var(--accent-primary); }
.stat-value.green { color: #1e7e34; }

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote {
    padding: 100px 24px;
    text-align: center;
}

.quote-icon {
    font-size: 64px;
    color: var(--accent-primary);
    margin-bottom: 32px;
}

.quote-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto 32px;
}

.quote-author {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a,
.footer-links button {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

.footer-links a:focus,
.footer-links button:focus {
    outline: none;
    box-shadow: none;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.footer-status i,
.footer-status .public-icon {
    font-size: 16px;
}

.footer-designer {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-designer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-designer a:hover {
    color: var(--accent-primary);
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Decorative Glows */
.glow-primary {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    pointer-events: none;
}

/* ============================================
   SATELLITE FEED - Social Links Panel
   ============================================ */
.satellite-feed {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
}

.satellite-feed::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background: var(--accent-primary);
    opacity: 0.05;
    transform: rotate(45deg) translate(64px, -64px);
    pointer-events: none;
}

.satellite-feed h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.satellite-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.satellite-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-secondary);
}

.satellite-link:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.satellite-link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.satellite-link-left i {
    color: var(--accent-primary);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.satellite-link-left span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.satellite-link-right i {
    font-size: 12px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
}

.satellite-link:hover .satellite-link-right i {
    transform: translateX(4px);
    color: var(--accent-primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 24px;
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 122, 140, 0.09), transparent 22%),
        linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: 56px;
    align-items: stretch;
}

.contact-copy {
    align-self: center;
    padding: 18px 0;
}

.contact-kicker {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 18px;
}

.contact-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 12ch;
    margin-bottom: 28px;
}

.contact-description {
    max-width: 540px;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.contact-card-list {
    display: grid;
    gap: 18px;
    margin-top: 44px;
    max-width: 480px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border-radius: 26px;
    background: var(--panel-strong-bg);
    border: 1px solid var(--panel-strong-border);
    box-shadow: var(--shadow-soft);
}

.contact-card__icon {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 122, 140, 0.16), rgba(0, 122, 140, 0.08));
    border: 1px solid rgba(0, 122, 140, 0.18);
}

.contact-card__icon i,
.contact-card__icon .public-icon {
    font-size: 30px;
    color: var(--accent-primary);
}

.contact-card__content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.contact-card__content p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.contact-form-panel {
    padding: 30px;
    border-radius: 28px;
    background: var(--panel-strong-alt);
    border: 1px solid var(--panel-strong-border);
    box-shadow: var(--shadow-soft);
}

.contact-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 2vw, 2rem);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-field {
    width: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-primary);
    font: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contact-field::placeholder {
    color: var(--text-secondary);
}

.contact-field--message {
    min-height: 160px;
    resize: vertical;
}

.contact-field:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 140, 0.1);
}

.contact-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 19px 24px;
    border-radius: 16px;
    background: var(--accent-primary);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.contact-submit svg {
    fill: currentColor;
}

.contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-form-status {
    min-height: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .contact-section {
        padding: 92px 24px;
    }

    .contact-shell {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-copy,
    .contact-form-panel {
        min-width: 0;
    }

    .contact-copy {
        padding: 0;
    }

    .contact-title,
    .contact-description,
    .contact-card-list {
        max-width: none;
    }

    .contact-form-panel,
    .contact-card {
        padding: 22px;
    }

    .contact-card {
        align-items: flex-start;
    }

    .contact-card__icon {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }
}
