/* ===================================================================
   BROKEN BRIDGE STUDIO - Modern Indie Game Studio Design System
   =================================================================== */

:root {
    /* Color Palette */
    --bg-main: #090c13;
    --bg-surface: #0f1420;
    --bg-surface-elevated: #161c2c;
    --bg-card: rgba(20, 27, 43, 0.75);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 210, 255, 0.35);

    /* Text Colors */
    --text-primary: #f0f4fc;
    --text-secondary: #9aa5bc;
    --text-muted: #64748b;

    /* Theme Accents */
    --accent-cyan: #00d2ff;
    --accent-blue: #3a7bd5;
    --accent-cyan-glow: rgba(0, 210, 255, 0.25);

    /* Project Specific Accents */
    --beast-crimson: #ff4757;
    --beast-glow: rgba(255, 71, 87, 0.25);
    
    --wise-gold: #f59e0b;
    --wise-glow: rgba(245, 158, 11, 0.25);

    /* Shadows & Glassmorphism */
    --glass-blur: blur(16px);
    --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 40px rgba(0, 210, 255, 0.15);

    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-accent: 'Cinzel', serif;

    /* Spacing & Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Ambient Canvas Background */
#ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons & Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #060b14;
    box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 210, 255, 0.4);
    color: #000;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary-compact {
    background: rgba(0, 210, 255, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    border-radius: 9999px;
}

.btn-secondary-compact:hover {
    background: rgba(0, 210, 255, 0.16);
    color: #fff;
    border-color: var(--accent-cyan);
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: var(--transition-smooth);
    background: rgba(9, 12, 19, 0.65);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(9, 12, 19, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    border-bottom-color: var(--border-subtle);
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--accent-cyan);
    font-weight: 700;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
    padding: 10.5rem 0 6rem 0;
    position: relative;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-wrapper {
    margin-bottom: 1.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 2s infinite ease-in-out;
}

.dot-cyan {
    background-color: #00d2ff;
    box-shadow: 0 0 10px #00d2ff;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.15;
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 2.75rem;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 4.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(15, 20, 32, 0.5);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* ===================================================================
   Projects Section
   =================================================================== */
.projects-section {
    padding: 5rem 0 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 0.85rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 2.5rem;
}

/* Project Card */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.card-beast:hover {
    border-color: rgba(255, 71, 87, 0.4);
    box-shadow: 0 16px 48px rgba(255, 71, 87, 0.15);
}

.card-wise:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 16px 48px rgba(245, 158, 11, 0.15);
}

.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .card-img {
    transform: scale(1.04);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 19, 0) 30%, rgba(9, 12, 19, 0.85) 100%);
    pointer-events: none;
}

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.badge {
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.badge-accent {
    background: rgba(255, 71, 87, 0.25);
    color: #ff6b81;
    border: 1px solid rgba(255, 71, 87, 0.5);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.badge-status {
    background: rgba(0, 0, 0, 0.65);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-imminent {
    background: rgba(245, 158, 11, 0.2);
    color: #ffd166;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header-meta {
    margin-bottom: 1rem;
}

.genre-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.card-title {
    font-size: 1.85rem;
    line-height: 1.2;
}

.card-pitch {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.card-pitch strong {
    color: var(--text-primary);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.beast-color {
    background: rgba(255, 71, 87, 0.12);
    color: #ff6b81;
    border: 1px solid rgba(255, 71, 87, 0.25);
}

.wise-color {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.release-indicator {
    display: flex;
    flex-direction: column;
}

.release-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.release-date {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.highlight-date {
    color: #fbbf24;
}

.btn-card-details {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.btn-card-details:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(3px);
}

/* ===================================================================
   About Section
   =================================================================== */
.about-section {
    padding: 5rem 0;
}

.about-box {
    background: linear-gradient(135deg, rgba(15, 20, 32, 0.85) 0%, rgba(9, 12, 19, 0.95) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0.5rem 0 1.5rem 0;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

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

.pillar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.pillar-bullet {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.4rem;
}

.pillar h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.pillar p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(20, 27, 43, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    max-width: 360px;
    width: 100%;
}

.visual-logo {
    width: 140px;
    height: 140px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.25);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(0, 210, 255, 0.3);
}

.domain-tag {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.visual-quote {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.visual-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 700;
}

/* ===================================================================
   Contact Section
   =================================================================== */
.contact-section {
    padding: 5rem 0 7rem 0;
}

.contact-card {
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08) 0%, rgba(15, 20, 32, 0.8) 70%);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 4.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 210, 255, 0.08);
    position: relative;
    backdrop-filter: blur(16px);
}

.contact-badge-container {
    margin-bottom: 1.5rem;
}

.contact-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    max-width: 680px;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 620px;
    margin-bottom: 2.75rem;
}

/* Interactive Email Box */
.email-interactive-box {
    display: flex;
    align-items: center;
    background: rgba(9, 12, 19, 0.85);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 9999px;
    padding: 0.6rem 0.75rem 0.6rem 1.5rem;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: var(--transition-smooth);
    max-width: 100%;
}

.email-interactive-box:hover,
.email-interactive-box:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(0, 210, 255, 0.25);
}

.email-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.email-icon {
    color: var(--accent-cyan);
}

.email-address {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.email-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 210, 255, 0.95);
    color: #060b14;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.contact-footer-note {
    margin-top: 2.25rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===================================================================
   Modals
   =================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.8rem;
    margin: 0.5rem 0 0.2rem 0;
}

.modal-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-img-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16 / 9;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body h4 {
    font-size: 1.15rem;
    margin: 1.25rem 0 0.5rem 0;
    color: var(--accent-cyan);
}

.modal-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.modal-body li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.modal-body li::before {
    content: '•';
    position: absolute;
    left: 0.35rem;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    line-height: 1;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
    background: #06080d;
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.status-pill {
    font-size: 0.75rem;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    display: inline-block;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.domain-pill {
    font-size: 0.75rem;
    font-family: monospace;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(0, 210, 255, 0.25);
}

.footer-email-link a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    word-break: break-all;
}

.footer-copy-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cf-badge {
    color: #8fa0b5;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border-subtle);
}

/* ===================================================================
   Responsive Adjustments
   =================================================================== */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.85rem 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 12, 19, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-links {
        flex-direction: column;
        gap: 1.2rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-secondary-compact span {
        display: none;
    }

    .btn-secondary-compact {
        padding: 0.55rem;
    }

    .hero-stats {
        gap: 1.25rem;
        padding: 1rem 1.5rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .email-interactive-box {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 1.5rem;
        gap: 1.25rem;
        width: 100%;
    }

    .email-actions {
        width: 100%;
        flex-direction: column;
    }

    .email-actions .btn {
        width: 100%;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
