/* ============================================
   OSINT Bot - Introduction Webpage Styles
   Dark cybersecurity theme with neon accents
   ============================================ */

/* ── CSS Variables ────────────────────────── */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d15;
    --bg-card: #12121c;
    --bg-card-hover: #181828;
    --bg-terminal: #0c0c14;
    --border-color: #1e1e2e;
    --border-glow: #00ff8833;
    --text-primary: #e4e4f0;
    --text-secondary: #8888a8;
    --text-muted: #555570;
    --accent-green: #00ff88;
    --accent-cyan: #00d4ff;
    --accent-purple: #a855f7;
    --accent-red: #ff4466;
    --accent-yellow: #ffbb33;
    --accent-orange: #ff8844;
    --gradient-main: linear-gradient(135deg, #00ff88, #00d4ff);
    --gradient-hero: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #a855f7 100%);
    --gradient-card-osint: linear-gradient(135deg, #00ff8820, #00d4ff10);
    --gradient-card-image: linear-gradient(135deg, #a855f720, #ff446610);
    --gradient-card-security: linear-gradient(135deg, #00d4ff20, #a855f710);
    --gradient-card-ctf: linear-gradient(135deg, #ffbb3320, #ff884410);
    --gradient-card-network: linear-gradient(135deg, #00d4ff20, #00ff8810);
    --gradient-card-util: linear-gradient(135deg, #a855f720, #00d4ff10);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.08);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

::selection {
    background: #00ff8833;
    color: #fff;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: var(--transition);
}

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

code {
    font-family: var(--font-mono);
    background: #00ff8815;
    color: var(--accent-green);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}

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

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

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.accent {
    color: var(--accent-green);
}

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

/* ── Matrix Background ────────────────────── */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.04;
    pointer-events: none;
}

/* ── Navigation ───────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 0 24px;
}

#navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo img {
    border-radius: 8px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.nav-cta {
    background: var(--gradient-main) !important;
    color: #0a0a0f !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600 !important;
    -webkit-text-fill-color: #0a0a0f !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    transform: translateY(-1px);
}

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

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

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ── Hero Section ─────────────────────────── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00ff8810;
    border: 1px solid #00ff8825;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--accent-green);
    font-weight: 500;
    margin-bottom: 24px;
    font-family: var(--font-mono);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

.hero-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #0a0a0f;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
    color: #0a0a0f;
}

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

.btn-secondary:hover {
    border-color: var(--accent-green);
    background: #00ff8808;
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.btn-outline:hover {
    background: #00ff8815;
    color: var(--accent-green);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

/* Terminal */
.hero-terminal {
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #0a0a12;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.terminal-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.9;
    min-height: 220px;
}

.terminal-line {
    opacity: 0;
    animation: terminal-line-in 0.4s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.8s; }
.terminal-line:nth-child(3) { animation-delay: 1.4s; }
.terminal-line:nth-child(4) { animation-delay: 2.0s; }
.terminal-line:nth-child(5) { animation-delay: 2.6s; }
.terminal-line:nth-child(6) { animation-delay: 3.2s; }
.terminal-line:nth-child(7) { animation-delay: 3.8s; }

@keyframes terminal-line-in {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.terminal-line.output {
    color: var(--text-secondary);
}

.terminal-line .cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-green);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

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

/* ── Section Headers ──────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent-green);
    background: #00ff8810;
    border: 1px solid #00ff8820;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

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

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

/* ── Features Grid ────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

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

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

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

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00ff8810;
    border: 1px solid #00ff8820;
    border-radius: var(--radius-md);
    color: var(--accent-green);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ── Modules Grid ─────────────────────────── */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}

.module-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.module-card:hover::after {
    opacity: 1;
}

.category-osint::after { background: var(--gradient-card-osint); }
.category-image::after { background: var(--gradient-card-image); }
.category-security::after { background: var(--gradient-card-security); }
.category-ctf::after { background: var(--gradient-card-ctf); }
.category-network::after { background: var(--gradient-card-network); }
.category-util::after { background: var(--gradient-card-util); }

.module-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.module-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.category-osint .module-icon-wrap { background: #00ff8815; color: var(--accent-green); }
.category-image .module-icon-wrap { background: #a855f715; color: var(--accent-purple); }
.category-security .module-icon-wrap { background: #00d4ff15; color: var(--accent-cyan); }
.category-ctf .module-icon-wrap { background: #ffbb3315; color: var(--accent-yellow); }
.category-network .module-icon-wrap { background: #00d4ff15; color: var(--accent-cyan); }
.category-util .module-icon-wrap { background: #a855f715; color: var(--accent-purple); }

.module-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.module-count {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.module-commands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.cmd-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cmd-chip:hover {
    border-color: #00ff8830;
    background: #00ff8808;
}

.cmd-chip code {
    background: none;
    padding: 0;
    color: var(--accent-green);
    font-weight: 600;
}

/* ── Commands Showcase ────────────────────── */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.showcase-card:hover {
    border-color: #00ff8825;
    transform: translateY(-2px);
}

.showcase-example, .showcase-response {
    padding: 16px 20px;
}

.showcase-response {
    background: #00ff8805;
    border-top: 1px solid var(--border-color);
}

.example-prompt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.prompt-user {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.prompt-bot {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
}

.prompt-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.example-msg {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.example-msg code {
    font-size: 0.85rem;
}

.bot-msg {
    color: var(--text-primary);
}

/* ── Security Grid ────────────────────────── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.security-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.security-item:hover {
    border-color: #00ff8825;
}

.security-check {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00ff8810;
    border-radius: 50%;
}

.security-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.security-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Deploy Grid ──────────────────────────── */
.deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.deploy-card:hover {
    border-color: #00ff8830;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.deploy-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00ff8810;
    border: 1px solid #00ff8820;
    border-radius: var(--radius-md);
    color: var(--accent-green);
    margin-bottom: 20px;
}

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

.deploy-code {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 2;
    color: var(--text-secondary);
}

.deploy-code code {
    display: block;
    background: none;
    color: var(--text-secondary);
    padding: 0;
}

.deploy-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-green);
    background: #00ff8815;
    padding: 3px 10px;
    border-radius: 100px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Architecture Diagram ─────────────────── */
.arch-diagram {
    max-width: 700px;
    margin: 0 auto 40px;
}

.arch-layer {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 8px;
}

.arch-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-green);
    font-family: var(--font-mono);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.arch-boxes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.arch-box {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: #ffffff05;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.arch-arrow {
    display: flex;
    justify-content: center;
    padding: 4px 0;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tech-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
}

.tech-badge:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* ── CTA Section ──────────────────────────── */
.cta-section {
    background: var(--bg-secondary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────── */
#footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

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

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 280px;
}

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

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

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

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 6px;
}

/* ── Scroll to Top ────────────────────────── */
#scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

#scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* ── Animations ───────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    .deploy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .deploy-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-terminal {
        order: -1;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .features-grid,
    .modules-grid,
    .security-grid,
    .deploy-grid {
        grid-template-columns: 1fr;
    }

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

    .showcase-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .deploy-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 70px 0;
    }

    .arch-boxes {
        flex-direction: column;
    }

    .arch-box {
        min-width: auto;
    }
}

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

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

    .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}
