/* ============================================
   EYKOS — Global Styles
   Dark theme · Glassmorphism · Modern UI
   ============================================ */

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

:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-tertiary: #1a1a2e;
    --bg-card: rgba(26, 26, 46, 0.6);
    --bg-card-hover: rgba(36, 36, 66, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-border: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0f5;
    --text-secondary: #9d9db5;
    --text-muted: #6b6b85;

    --accent-purple: #7c3aed;
    --accent-blue: #3b82f6;
    --accent-violet: #8b5cf6;
    --accent-indigo: #6366f1;
    --gradient-main: linear-gradient(135deg, #7c3aed, #3b82f6);
    --gradient-hover: linear-gradient(135deg, #6d28d9, #2563eb);
    --gradient-text: linear-gradient(135deg, #a78bfa, #60a5fa);
    --gradient-subtle: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(59, 130, 246, 0.15));

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
}

/* --- Bootstrap Icons sizing --- */
.pillar-icon i,
.detail-icon i,
.encryption-icon i {
    font-size: 1.75rem;
}

.security-icon i {
    font-size: 1.35rem;
}

.audience-emoji i {
    font-size: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.file-icon i {
    font-size: 1rem;
}

.feature-list li i {
    color: var(--accent-violet);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.highlight-item i {
    color: var(--accent-violet);
    flex-shrink: 0;
    font-size: 1rem;
}

.detail-card h4 i {
    margin-right: 6px;
    color: var(--accent-violet);
}

.btn i.bi-discord {
    font-size: 1.15em;
}

/* --- Hero teaser note --- */
.hero-teaser-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-style: italic;
}

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

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.45);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-xl {
    padding: 18px 44px;
    font-size: 1.1rem;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-mobile {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* ===========================================
   NAVBAR
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 1001;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

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

.mobile-link {
    display: block;
    padding: 16px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-link:hover {
    color: var(--accent-violet);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
    top: -15%;
    right: -10%;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
    bottom: -10%;
    left: -5%;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    top: 40%;
    left: 30%;
    animation: float 15s ease-in-out infinite 3s;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-violet);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-purple), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-violet);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-full);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

/* ===========================================
   PILLARS SECTION
   =========================================== */
.pillars {
    padding: 120px 0;
    position: relative;
}

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

.pillar-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition);
}

.pillar-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.pillar-featured {
    background: var(--gradient-subtle);
    border-color: rgba(124, 58, 237, 0.15);
}

.pillar-featured::before {
    opacity: 1;
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--accent-violet);
    margin-bottom: 24px;
}

.pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.pillar-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-violet);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===========================================
   FEATURES SHOWCASE (Home)
   =========================================== */
.features-showcase {
    padding: 100px 0;
    position: relative;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-text {
    padding: 20px 0;
}

.feature-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-violet);
    margin-bottom: 16px;
}

.feature-text h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

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

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.feature-list li svg {
    color: var(--accent-violet);
    flex-shrink: 0;
}

/* --- Feature Mockups --- */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-mockup {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Servers Mockup */
.mockup-servers {
    display: grid;
    grid-template-columns: 60px 180px 1fr;
    min-height: 320px;
}

.mockup-sidebar {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-right: 1px solid var(--border-color);
}

.mockup-server-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    transition: border-radius var(--transition);
}

.mockup-server-icon.active {
    background: var(--gradient-main);
    border-radius: 12px;
}

.mockup-server-icon.add {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-violet);
    font-size: 1.2rem;
    border: 1px dashed var(--border-hover);
    background: transparent;
}

.mockup-divider {
    width: 24px;
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

.mockup-channels {
    padding: 16px 12px;
    border-right: 1px solid var(--border-color);
}

.mockup-category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 12px 8px 4px;
}

.mockup-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: default;
}

.mockup-channel.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.channel-hash {
    color: var(--text-muted);
    font-weight: 600;
}

.channel-voice {
    font-size: 0.75rem;
}

.mockup-chat {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-message {
    display: flex;
    gap: 12px;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-main);
    flex-shrink: 0;
}

.msg-content {
    flex: 1;
}

.msg-author {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.msg-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

/* Drive Mockup */
.mockup-drive {
    padding: 0;
}

.drive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.drive-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.drive-title svg {
    color: var(--accent-violet);
}

.drive-space {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.drive-bar {
    width: 80px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.drive-fill {
    width: 24%;
    height: 100%;
    background: var(--gradient-main);
    border-radius: 2px;
}

.drive-files {
    padding: 8px 0;
}

.drive-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    transition: background var(--transition-fast);
}

.drive-file:hover {
    background: rgba(255, 255, 255, 0.02);
}

.file-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.file-img {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.file-doc {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.file-zip {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.file-vid {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-name {
    font-size: 0.85rem;
    font-weight: 500;
}

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

/* Security Mockup */
.mockup-security {
    padding: 32px;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.security-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

.security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-sm);
    color: var(--accent-violet);
    flex-shrink: 0;
}

/* ===========================================
   AUDIENCE SECTION
   =========================================== */
.audience {
    padding: 120px 0;
}

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

.audience-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.audience-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.audience-emoji {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.audience-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.audience-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===========================================
   FINAL CTA
   =========================================== */
.final-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 70%);
    top: -20%;
    left: 20%;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    bottom: -20%;
    right: 20%;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
}

/* ===========================================
   PAGE HERO (Sub-pages)
   =========================================== */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

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

/* ===========================================
   FEATURES DETAIL PAGE
   =========================================== */
.features-detail {
    padding: 60px 0 120px;
}

.detail-block {
    margin-bottom: 80px;
}

.detail-block:last-child {
    margin-bottom: 0;
}

.detail-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--accent-violet);
    flex-shrink: 0;
}

.detail-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.detail-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

.detail-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.detail-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.detail-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* ===========================================
   SECURITY DETAIL PAGE
   =========================================== */
.security-detail {
    padding: 60px 0 120px;
}

.security-block {
    margin-bottom: 64px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.security-block:last-of-type {
    margin-bottom: 48px;
}

.security-block-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.security-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.security-block-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.security-block-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.security-block-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.security-prose p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.security-prose p:last-child {
    margin-bottom: 0;
}

.security-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight-item svg {
    color: var(--accent-violet);
    flex-shrink: 0;
}

.encryption-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-lg);
}

.encryption-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-violet);
    flex-shrink: 0;
}

.encryption-banner h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.encryption-banner p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================================
   LEGAL PAGES
   =========================================== */
.page-legal {
    padding: 140px 0 40px;
}

.legal-content {
    padding: 20px 0 100px;
}

.legal-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.legal-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-block h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

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

.legal-block ul {
    margin: 12px 0;
    padding-left: 0;
}

.legal-block li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-block li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-violet);
}

.legal-block a {
    color: var(--accent-violet);
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

.legal-block a:hover {
    color: var(--accent-blue);
}

.legal-highlight {
    padding: 20px 24px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 16px 0;
}

.legal-no-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.no-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.no-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: #ef4444;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===========================================
   404 PAGE
   =========================================== */
.page-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

.error-code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 0;
}

.error-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: -20px;
}

.error-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    position: relative;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: var(--gradient-main);
    filter: blur(1px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

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

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

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.link-disabled {
    color: var(--text-muted) !important;
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-violet);
    font-weight: 500;
}

/* ===========================================
   LEGAL PAGES
   =========================================== */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-content {
    padding: 40px 0 120px;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 32px;
    transition: all var(--transition);
}

.legal-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.legal-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-violet);
    padding-bottom: 8px;
    display: inline-block;
}

.legal-card h4 {
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-card ul {
    list-style: none;
    margin-bottom: 16px;
}

.legal-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.legal-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-violet);
    font-weight: bold;
}

.legal-card a {
    color: var(--accent-violet);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -30px);
    }

    50% {
        transform: translate(-15px, 20px);
    }

    75% {
        transform: translate(25px, 15px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes scrollPulse {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }

    100% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }

    .mockup-servers {
        grid-template-columns: 50px 150px 1fr;
    }

    .security-block-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .pillars-grid,
    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .mockup-servers {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .mockup-sidebar {
        flex-direction: row;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 10px;
    }

    .mockup-channels {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .security-block {
        padding: 24px;
    }

    .security-block-header {
        flex-direction: column;
        gap: 12px;
    }

    .encryption-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }

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