/* -------------------------------------------------------------
 * ZorynCoin PREMIUM DESIGN SYSTEM & WEBSITE STYLING
 * Inspired by Apple, Stripe, Linear, and Notion.
 * ------------------------------------------------------------- */

/* --- CSS Variables & Tokens --- */
:root {
    --bg-primary: #090B10;
    --bg-secondary: #11141B;
    --bg-card: rgba(17, 20, 27, 0.65);
    --accent-orange: #FF7A00;
    --accent-cyan: #00BFFF;
    --text-primary: #FFFFFF;
    --text-secondary: #B7BDC8;
    --text-muted: #626A7A;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-active: rgba(255, 255, 255, 0.15);
    --border-glow-orange: rgba(255, 122, 0, 0.25);
    --border-glow-cyan: rgba(0, 191, 255, 0.25);
    
    --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1200px;
    --header-height: 80px;
}

/* --- Base Reset & Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Grid & Ambient Effects --- */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    pointer-events: none;
    z-index: 2;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

#ambient-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

#ambient-glow-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
}

/* --- Reusable Layouts & Typography --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

section {
    padding: 120px 0;
    position: relative;
    z-index: 4;
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FFF 20%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-orange {
    background: linear-gradient(135deg, #FFF 30%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 24px;
}

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

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

/* --- Buttons & Interactive Elements --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #000000;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.25);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 122, 0, 0.45);
    background-color: #ff8b1f;
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    background-color: rgba(0, 191, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.15);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(9, 11, 16, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(9, 11, 16, 0.85);
    height: 70px;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

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

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.section-hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
}

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

.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 122, 0, 0.05);
    border: 1px solid rgba(255, 122, 0, 0.2);
    padding: 6px 12px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
    animation: pulse 2s infinite;
}

.badge-logo {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 122, 0, 0.3);
}

.badge-text {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-orange);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-orange);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Mascot Container */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-frame {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.03) 0%, transparent 80%), rgba(17, 20, 27, 0.45);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    animation: float 6s ease-in-out infinite;
}

.mascot-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 18px;
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.02));
    background-size: 100% 4px;
    pointer-events: none;
}

/* Mascot Tech Overlay Panels */
.tech-panel {
    position: absolute;
    background: rgba(9, 11, 16, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    pointer-events: none;
}

.tech-panel .panel-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.tech-panel .panel-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-panel.top-left {
    top: 24px;
    left: 24px;
    border-left: 2px solid var(--accent-orange);
}

.tech-panel.bottom-right {
    bottom: 24px;
    right: 24px;
    border-right: 2px solid var(--accent-cyan);
}

.tech-panel.bottom-left {
    bottom: 24px;
    left: 24px;
    border-left: 2px solid var(--text-muted);
}

.status-active {
    color: #00E676 !important;
    animation: pulseSlow 2s infinite;
}

/* --- Section 2: What is ZorynCoin --- */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.about-header .section-title {
    font-size: 3rem;
}

.about-lead {
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* --- Section 3: Why ZorynCoin --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
}

.card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    top: var(--mouse-y, 0px);
    left: var(--mouse-x, 0px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.card-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* --- Section 4: Current Progress --- */
.progress-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.progress-desc {
    margin-bottom: 40px;
}

.stats-panel {
    display: flex;
    gap: 40px;
}

.stat-item {
    border-left: 2px solid var(--border-subtle);
    padding-left: 20px;
}

.stat-val {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Dashboard Terminal Card */
.progress-card {
    background: rgba(17, 20, 27, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: rgba(9, 11, 16, 0.8);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.terminal-buttons span:nth-child(1) { background-color: #FF5F56; }
.terminal-buttons span:nth-child(2) { background-color: #FFBD2E; }
.terminal-buttons span:nth-child(3) { background-color: #27C93F; }

.terminal-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.terminal-body {
    padding: 24px;
}

.progress-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.progress-item:hover {
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.03);
}

.progress-item.completed {
    opacity: 0.75;
}

.status-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.3);
    color: #27C93F;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.status-indicator-pulse {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.3);
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.status-indicator-pulse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.status-indicator-pulse.cyan {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.status-indicator-pulse.cyan::after {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.progress-text {
    flex-grow: 1;
}

.progress-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.progress-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.status-complete {
    background: rgba(39, 201, 63, 0.1);
    color: #27C93F;
}

.status-in-progress {
    background: rgba(255, 122, 0, 0.1);
    color: var(--accent-orange);
}

.status-dev {
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent-cyan);
}

/* --- Section 5: Roadmap --- */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 80px auto 0 auto;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan) 0%, rgba(255, 122, 0, 0.5) 50%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    z-index: 2;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    align-self: flex-end;
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    right: -7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
    transition: var(--transition-smooth);
}

.timeline-item.active .timeline-dot {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7px;
    right: auto;
    border-color: rgba(255, 255, 255, 0.15);
}

.timeline-item.active:nth-child(even) .timeline-dot {
    border-color: var(--accent-orange);
    box-shadow: 0 0 12px var(--accent-orange);
}

.timeline-card {
    width: 90%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    border-color: var(--border-active);
    transform: translateY(-2px);
}

.timeline-phase {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.timeline-tag, .timeline-tag-upcoming {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border-radius: 4px;
}

.timeline-tag {
    background: rgba(255, 122, 0, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.timeline-tag-upcoming {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

/* --- Section 6: Safety Notice --- */
.safety-card {
    background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.03) 0%, transparent 60%), rgba(17, 20, 27, 0.55);
    border: 1px solid var(--border-glow-orange);
    box-shadow: 0 0 35px rgba(255, 122, 0, 0.05);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.safety-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 122, 0, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.safety-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}

.warning-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-title {
    font-size: 1.75rem;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.safety-item {
    background: rgba(9, 11, 16, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px 20px;
}

.safety-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 4px;
}

.safety-value {
    font-size: 1.05rem;
    font-weight: 600;
}

.warning-text {
    color: var(--accent-orange);
}

.safety-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
}

/* --- Section 7: Community --- */
.community-box {
    background: radial-gradient(circle at bottom center, rgba(0, 191, 255, 0.06) 0%, transparent 70%), rgba(17, 20, 27, 0.45);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.community-grid-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 191, 255, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    pointer-events: none;
    opacity: 0.5;
}

.community-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.community-desc {
    font-size: 1.15rem;
    max-width: 580px;
    margin: 0 auto 40px auto;
}

.community-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Footer --- */
.footer {
    background-color: #050608;
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px 0;
    position: relative;
    z-index: 5;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-group {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-mission {
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-weight: 500;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-nav-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Animations & Effects --- */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px var(--accent-orange);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
        box-shadow: 0 0 20px var(--accent-orange);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Reveal Observer Base State */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    section {
        padding: 80px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .system-badge {
        justify-content: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .progress-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand .logo-group {
        justify-content: center;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Mobile menu toggled via JS */
    }
    
    .nav.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(9, 11, 16, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 99;
    }
    
    .nav.active .nav-list {
        flex-direction: column;
        gap: 36px;
        align-items: center;
    }
    
    .nav.active .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: -0.01em;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        transform: scaleX(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .safety-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 40px;
    }
    
    .timeline-item:nth-child(even) {
        align-self: flex-start;
        margin-left: 0;
        padding-left: 40px;
    }
    
    .timeline-dot {
        left: 13px !important;
        right: auto !important;
    }
    
    .community-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .community-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .safety-card {
        padding: 24px;
    }
    
    .community-box {
        padding: 40px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- Brand Logo Styling --- */
.brand-logo {
    border-radius: 50%;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Section: Community Growth Stats --- */
.section-stats {
    padding: 120px 0;
    position: relative;
    z-index: 4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    line-height: 1.1;
}

.stat-lbl {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Responsive adjustments for stats */
@media (max-width: 900px) {
    .section-stats {
        padding: 80px 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto 0 auto;
    }
}

/* --- Cookie Notice Banner --- */
.cookie-notice {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 40px);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: calc(100% - 48px);
    max-width: 620px;
    background: rgba(17, 20, 27, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 16px 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 999;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-notice.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cookie-notice {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
        bottom: 16px;
    }
    .cookie-actions {
        justify-content: center;
    }
    .cookie-actions .btn {
        flex-grow: 1;
    }
}

/* --- Section: Legal Page Layout --- */
.section-legal {
    padding: calc(var(--header-height) + 60px) 0 100px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.legal-header {
    margin-bottom: 40px;
    text-align: left;
}

.legal-header .section-title {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.legal-body p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.legal-body p:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0 32px 0;
    padding-left: 12px;
}

.legal-list li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    flex-shrink: 0;
}

.legal-list.cyan li::before {
    background-color: var(--accent-cyan);
}

.legal-back-btn {
    margin-top: 40px;
    display: inline-flex;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 32px 24px;
    }
    .legal-header .section-title {
        font-size: 2.75rem;
    }
}
