:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2a3f;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --gradient-main: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-ocean: linear-gradient(135deg, #0ea5e9, #06b6d4);
    --gradient-walk: linear-gradient(135deg, #10b981, #34d399);
    --gradient-still: linear-gradient(135deg, #8b5cf6, #a78bfa);
    --gradient-photo: linear-gradient(135deg, #f59e0b, #fcd34d);
    --gradient-supply: linear-gradient(135deg, #f59e0b, #fbbf24);
    --gradient-stillmind: linear-gradient(135deg, #6366f1, #a855f7);
    --accent-indigo: #818cf8;
    --shadow-glow-indigo: 0 0 24px rgba(129, 140, 248, 0.3);
    --border-color: rgba(148, 163, 184, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
    --shadow-glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-glow-green: 0 0 20px rgba(16, 185, 129, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============ NAVBAR ============ */
.navbar {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .brand {
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    margin-right: 2rem;
    letter-spacing: -0.5px;
}

.navbar .nav-links {
    display: flex;
    gap: 0.25rem;
}

.navbar .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.auth-links {
    margin-left: auto;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: var(--accent-blue);
}

/* ============ MAIN CONTENT ============ */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.content-narrow {
    max-width: 900px;
}

/* ============ HOME PAGE ============ */
.hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    letter-spacing: -2px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ============ SECTION HEADERS ============ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.focus-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 560px;
    margin: 2rem auto 0;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ============ PROJECT CARDS (Home & Builds) ============ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.2);
    background: var(--bg-card-hover);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card.ocean::before { background: var(--gradient-ocean); }
.project-card.walk::before { background: var(--gradient-walk); }
.project-card.still::before { background: var(--gradient-still); }
.project-card.photo::before { background: var(--gradient-photo); }
.project-card.supply::before { background: var(--gradient-supply); }
.project-card.stillmind::before { background: var(--gradient-stillmind); }

.project-card:hover.ocean { box-shadow: var(--shadow-glow-cyan); }
.project-card:hover.walk { box-shadow: var(--shadow-glow-green); }
.project-card:hover.still { box-shadow: var(--shadow-glow-purple); }
.project-card:hover.photo { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
.project-card:hover.supply { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
.project-card:hover.stillmind { box-shadow: var(--shadow-glow-indigo); }

.project-card-emoji {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.project-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    object-fit: cover;
}

.project-card-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.5px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    padding: 0.25rem 0.6rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-blue);
}

.tag.green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.tag.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.tag.orange { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); }
.tag.cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.tag.pink { background: rgba(236, 72, 153, 0.1); color: var(--accent-pink); }

/* ============ XP BAR (Gamification) ============ */
.xp-section {
    margin: 4rem 0;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.xp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.xp-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.xp-level {
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 600;
}

.xp-bar-track {
    width: 100%;
    height: 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.xp-bar-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 100px;
    transition: width 1.5s ease;
    position: relative;
}

.xp-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.xp-milestones {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============ PHILOSOPHY SECTION ============ */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.philosophy-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease;
}

.philosophy-card:hover {
    border-color: rgba(148, 163, 184, 0.2);
}

.philosophy-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.philosophy-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.philosophy-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ============ ABOUT PAGE ============ */
.about-hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -1.5px;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.about-card.full-width {
    grid-column: 1 / -1;
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.skill-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.skill-bar-track {
    height: 6px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease;
}

.skill-bar-fill.blue { background: var(--accent-blue); }
.skill-bar-fill.green { background: var(--accent-green); }
.skill-bar-fill.purple { background: var(--accent-purple); }
.skill-bar-fill.orange { background: var(--accent-orange); }
.skill-bar-fill.cyan { background: var(--accent-cyan); }

/* ============ BUILD DETAIL PAGE ============ */
.build-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.build-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.build-hero-info h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    letter-spacing: -1px;
}

.build-hero-info .tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
}

.build-hero-info .platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-badge.ios {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.platform-badge.web {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.platform-badge.coming-soon {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.build-description {
    margin-bottom: 3rem;
}

.build-description h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.build-description p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.build-features {
    margin: 3rem 0;
}

.build-features h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ SCREENSHOT GALLERY ============ */
.screenshots-section {
    margin: 3rem 0;
}

.screenshots-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

.screenshots-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.screenshots-grid::-webkit-scrollbar {
    height: 6px;
}

.screenshots-grid::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 100px;
}

.screenshots-grid::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 100px;
}

.screenshot-item {
    flex-shrink: 0;
    width: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============ CTA / LINKS ============ */
.build-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

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

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ============ FOOTER ============ */
.site-footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer .footer-brand {
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ THOUGHTS ============ */
.thought {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-main);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

/* ============ FORMS ============ */
input, textarea, select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    width: 100%;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ============ LANDING PAGES ============ */
.landing-hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    position: relative;
    margin-bottom: 2rem;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
}

.landing-hero.ocean-theme::before {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
}

.landing-hero.photo-theme::before {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

.landing-hero.walk-theme::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.landing-hero.still-theme::before {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

.landing-hero.stillmind-theme::before {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, transparent 70%);
    width: 700px;
    height: 700px;
}

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

.landing-hero-icon {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.landing-hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    letter-spacing: -1.5px;
}

.landing-hero-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.landing-hero-cta {
    margin-bottom: 1rem;
}

.landing-hero-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.landing-section {
    margin: 4rem 0;
}

/* Loop Steps */
.loop-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.loop-step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
}

.loop-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.loop-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.loop-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.loop-step-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    padding-top: 2rem;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Principles */
.landing-principles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.principle-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.principle-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.principle-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Path Steps (StillPath) */
.path-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.path-step-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
}

.path-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-still);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Landing responsive */
@media (max-width: 768px) {
    .loop-steps {
        flex-direction: column;
        align-items: center;
    }

    .loop-step {
        max-width: 100%;
        width: 100%;
    }

    .loop-step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .landing-hero h1 {
        font-size: 1.8rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ BACK LINK ============ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--accent-blue);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }

    .navbar .brand {
        margin-right: auto;
    }

    .navbar .nav-links {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
        overflow-x: auto;
    }

    .auth-links {
        order: 2;
    }

    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .content {
        padding: 2rem 1rem;
    }

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

    .build-hero {
        flex-direction: column;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-item {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .navbar .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

/* ============ STILLMIND FILES ============ */
.sm-hero {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    min-height: 460px;
    display: flex;
    align-items: flex-end;
}

.sm-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.sm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.25) 0%, rgba(10, 14, 23, 0.7) 55%, rgba(10, 14, 23, 0.97) 100%);
    z-index: 1;
}

.sm-hero-content {
    position: relative;
    z-index: 3;
    padding: 3rem 2.5rem;
    max-width: 720px;
}

.sm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-indigo);
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sm-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1.25rem;
    letter-spacing: -1.5px;
}

.sm-hero-content h1 .gradient-text {
    background: var(--gradient-stillmind);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sm-hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0 0 1.75rem;
    line-height: 1.7;
    max-width: 600px;
}

/* Cinematic hero entrance — "stepping into the world" */
.sm-hero-mist {
    position: absolute;
    inset: -12%;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(38% 48% at 28% 38%, rgba(129, 140, 248, 0.22), transparent 70%),
        radial-gradient(44% 54% at 76% 66%, rgba(168, 85, 247, 0.20), transparent 70%);
    mix-blend-mode: screen;
    opacity: 0.7;
    animation: smMistDrift 18s ease-in-out infinite;
}

.sm-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: radial-gradient(circle at 50% 42%, rgba(5, 7, 13, 0.15) 0%, rgba(5, 7, 13, 0.82) 52%, #05070d 100%);
    animation: smHeroVeil 2s ease-out both;
}

.sm-hero-enter .sm-hero-bg {
    animation: smHeroZoom 8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sm-rise {
    animation: smRise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--d, 0s);
}

.sm-title-glow {
    animation: smTitleGlow 4.5s ease-in-out 2s infinite;
}

@keyframes smHeroZoom {
    from { transform: scale(1.18); }
    to { transform: scale(1); }
}

@keyframes smHeroVeil {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes smRise {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes smTitleGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.25)); }
    50% { filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.65)); }
}

@keyframes smMistDrift {
    0% { transform: translate3d(-3%, 1%, 0) scale(1.08); opacity: 0.45; }
    50% { transform: translate3d(4%, -3%, 0) scale(1.18); opacity: 0.85; }
    100% { transform: translate3d(-3%, 1%, 0) scale(1.08); opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
    .sm-hero-enter .sm-hero-bg,
    .sm-rise,
    .sm-title-glow,
    .sm-hero-mist {
        animation: none;
    }

    .sm-rise {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .sm-hero-veil {
        display: none;
    }
}

/* Sub navigation */
.sm-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sm-subnav a {
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.2s ease;
}

.sm-subnav a:hover {
    color: var(--text-primary);
    border-color: rgba(129, 140, 248, 0.4);
}

.sm-subnav a.active {
    color: white;
    background: var(--gradient-stillmind);
    border-color: transparent;
}

/* Premise / pillar cards */
.sm-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.sm-pillar {
    padding: 1.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease;
}

.sm-pillar:hover { border-color: rgba(129, 140, 248, 0.3); }

.sm-pillar .sm-pillar-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-indigo);
    letter-spacing: 1px;
}

.sm-pillar h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.5rem 0 0.5rem;
}

.sm-pillar p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Character grid */
.sm-character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sm-character {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sm-character:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: var(--shadow-glow-indigo);
}

.sm-character-photo {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.sm-character-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sm-character:hover .sm-character-photo img {
    transform: scale(1.04);
}

.sm-character-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 23, 0.85) 100%);
}

.sm-character.anchor .sm-character-photo {
    aspect-ratio: 4 / 5;
}

.sm-character-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sm-character-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    letter-spacing: -0.5px;
}

.sm-character-title {
    font-size: 0.85rem;
    color: var(--accent-indigo);
    font-weight: 600;
    font-style: italic;
    margin: 0 0 1rem;
}

.sm-character-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex: 1;
}

.sm-skill {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sm-skill-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.4;
}

.sm-skill-label {
    flex-shrink: 0;
    width: 86px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.sm-skill-power { color: var(--text-primary); font-weight: 600; }
.sm-skill-real { color: var(--accent-indigo); font-weight: 600; }

/* World location cards */
.sm-world-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.sm-place {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sm-place:hover {
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow: var(--shadow-md);
}

.sm-place:nth-child(even) {
    grid-template-columns: 1fr 1.1fr;
}

.sm-place:nth-child(even) .sm-place-photo { order: 2; }

.sm-place-photo {
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.sm-place-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sm-place:hover .sm-place-photo img { transform: scale(1.05); }

.sm-place-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sm-place-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-indigo);
    margin-bottom: 0.6rem;
}

.sm-place-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.9rem;
    letter-spacing: -0.5px;
}

.sm-place-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.sm-place-tag {
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(129, 140, 248, 0.12);
    color: var(--accent-indigo);
}

/* Pull quote */
.sm-quote {
    text-align: center;
    max-width: 780px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.sm-quote p {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    font-style: italic;
}

.sm-quote span {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* CTA panel */
.sm-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(129, 140, 248, 0.25);
    border-radius: var(--radius-xl);
    margin: 4rem 0 2rem;
}

.sm-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    letter-spacing: -1px;
}

.sm-cta p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

.sm-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-indigo {
    background: var(--gradient-stillmind);
    color: white;
}

.btn-indigo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-indigo);
}

@media (max-width: 768px) {
    .sm-place,
    .sm-place:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .sm-place:nth-child(even) .sm-place-photo { order: 0; }

    .sm-hero-content { padding: 2rem 1.5rem; }
}

/* Immersive world mode (navbar hidden) */
.sm-world {
    background:
        radial-gradient(circle at 80% -10%, rgba(99, 102, 241, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
        var(--bg-primary);
}

.sm-world .content {
    padding-top: 1.5rem;
}

.sm-exit {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid rgba(129, 140, 248, 0.3);
    backdrop-filter: blur(14px);
    border-radius: 100px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.sm-exit:hover {
    color: var(--text-primary);
    border-color: rgba(129, 140, 248, 0.6);
    box-shadow: var(--shadow-glow-indigo);
}

.sm-exit-arrow {
    font-size: 1rem;
    line-height: 1;
}

.sm-footer a {
    color: var(--accent-indigo);
    text-decoration: none;
}

/* Neural network animation */
.sm-neuro {
    position: relative;
    margin: 4rem 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(129, 140, 248, 0.2);
    background:
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 70%),
        var(--bg-secondary);
    min-height: clamp(420px, 62vh, 620px);
    display: flex;
    align-items: center;
}

.sm-neuro-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
    z-index: 0;
}

.sm-neuro-overlay {
    position: relative;
    z-index: 1;
    pointer-events: none;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2rem;
}

.sm-neuro-overlay h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0 0 1rem;
    text-shadow: 0 2px 24px rgba(10, 14, 23, 0.9);
}

.sm-neuro-overlay p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 16px rgba(10, 14, 23, 0.95);
}

/* Newsletter */
.sm-newsletter {
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    padding: 3.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(129, 140, 248, 0.45);
    background:
        radial-gradient(circle at 12% -15%, rgba(99, 102, 241, 0.24) 0%, transparent 55%),
        radial-gradient(circle at 92% 115%, rgba(168, 85, 247, 0.20) 0%, transparent 55%),
        var(--bg-card);
    box-shadow: 0 0 50px rgba(129, 140, 248, 0.18);
    text-align: center;
}

.sm-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-stillmind);
}

.sm-newsletter-inner {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
}

.sm-newsletter h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0.5rem 0 0.75rem;
}

.sm-newsletter > .sm-newsletter-inner > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.75rem;
}

.sm-newsletter-form {
    display: flex;
    gap: 0.6rem;
    max-width: 480px;
    margin: 0 auto;
}

.sm-newsletter-form input[type="email"] {
    flex: 1;
    width: auto;
    padding: 0.9rem 1.1rem;
    font-size: 1rem;
}

.sm-newsletter-form input[type="email"]:focus {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

.sm-newsletter-form .btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.9rem 1.7rem;
    font-size: 1rem;
}

.sm-newsletter-note {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.sm-newsletter-note.ok { color: var(--accent-green); }
.sm-newsletter-note.err { color: var(--accent-pink); }

.sm-newsletter-meta {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 560px) {
    .sm-newsletter-form {
        flex-direction: column;
    }

    .sm-exit-label {
        display: none;
    }
}

/* ============ THE OTHER SIDE — antagonists & threat ============ */

/* Danger-toned badge variant */
.sm-badge-threat {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.35);
    color: #f87171;
}

/* Antagonist cards reuse the .sm-character layout with a colder, redacted skin */
.sm-antagonist {
    background:
        radial-gradient(circle at 50% 0%, rgba(248, 113, 113, 0.07) 0%, transparent 60%),
        var(--bg-card);
}

.sm-antagonist:hover {
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: 0 0 24px rgba(248, 113, 113, 0.18);
}

.sm-antagonist .sm-character-title { color: #f87171; }

/* Redacted dossier panel that replaces the portrait */
.sm-dossier {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 4px),
        radial-gradient(circle at 50% 130%, rgba(248, 113, 113, 0.16) 0%, transparent 60%),
        #11161f;
    border-bottom: 1px solid rgba(248, 113, 113, 0.18);
}

.sm-dossier-tag {
    position: absolute;
    top: 0.85rem;
    left: 0.95rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(248, 113, 113, 0.8);
}

.sm-dossier-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f87171;
    margin-right: 6px;
    vertical-align: middle;
    box-shadow: 0 0 8px #f87171;
}

.sm-dossier-eyesonly {
    position: absolute;
    top: 0.85rem;
    right: 0.95rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.58rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.sm-dossier-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.sm-redact {
    display: inline-block;
    width: 3.2rem;
    height: 0.95rem;
    background: rgba(0, 0, 0, 0.92);
    border-radius: 2px;
    vertical-align: middle;
}

.sm-dossier::after {
    content: 'CLASSIFIED';
    position: absolute;
    bottom: 0.9rem;
    right: -0.35rem;
    transform: rotate(-7deg);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(248, 113, 113, 0.38);
    border: 2px solid rgba(248, 113, 113, 0.3);
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
}

/* "Real fear" row mirrors .sm-skill-real in the danger palette */
.sm-skill-fear { color: #f87171; font-weight: 600; }

/* Threat panel on the overview page */
.sm-threat {
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    padding: 3.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(248, 113, 113, 0.3);
    background:
        radial-gradient(circle at 12% -15%, rgba(248, 113, 113, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 92% 115%, rgba(190, 18, 60, 0.14) 0%, transparent 55%),
        var(--bg-card);
    text-align: center;
}

.sm-threat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #f87171, #be123c);
}

.sm-threat-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.sm-threat h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0.5rem 0 0.9rem;
}

.sm-threat > .sm-threat-inner > p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 auto 2rem;
    max-width: 620px;
}

/* Opposing creeds: the Order vs the Noise */
.sm-creed {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 auto 2.25rem;
}

.sm-creed-side {
    flex: 1 1 240px;
    max-width: 300px;
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(10, 14, 23, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.sm-creed-side em {
    display: block;
    margin-top: 0.6rem;
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.2px;
    text-transform: none;
    line-height: 1.45;
    color: var(--text-primary);
}

.sm-creed-side.order {
    border-color: rgba(129, 140, 248, 0.35);
    color: var(--accent-indigo);
}

.sm-creed-side.noise {
    border-color: rgba(248, 113, 113, 0.4);
    color: #f87171;
}

.sm-creed-vs {
    align-self: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.btn-noise {
    background: linear-gradient(135deg, #ef4444, #be123c);
    color: white;
}

.btn-noise:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}
