/* Deluge Forge Sales Landing Page Stylesheet - Under 500 lines */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap');

:root {
    --bg-deep: #07090e;
    --bg-surface: #0f1422;
    --bg-card: rgba(17, 22, 37, 0.7);
    --border-color: rgba(255, 255, 255, 0.06);
    --color-cyan: #00f0ff;
    --color-orange: #ff6b00;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --success: #50fa7b;
    --glass-bg: rgba(15, 20, 34, 0.65);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 45%);
    background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header & Navigation */
header.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
    display: flex;
    align-items: center;
}
header.navbar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
nav.nav-menu { display: flex; align-items: center; gap: 32px; }
nav.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
nav.nav-menu a:hover { color: var(--color-cyan); }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #00a8ff 100%);
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover { color: #000000 !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4); }
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }

/* Hero Section */
.hero-section { padding: 90px 0 50px 0; text-align: center; position: relative; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cyan);
    margin-bottom: 24px;
    font-family: monospace;
}
.ping-dot { position: relative; display: flex; height: 8px; width: 8px; }
.ping-dot span:first-child {
    animation: ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    display: inline-flex;
    height: 100%; width: 100%;
    border-radius: 50%;
    background-color: var(--color-cyan);
    opacity: 0.75;
}
.ping-dot span:last-child {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 8px; width: 8px;
    background-color: var(--color-cyan);
}
h1.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #fff;
}
h1.hero-title span.accent-grad {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 60px; }

/* Deluge Workbench Mock UI */
.workbench-container {
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium), 0 0 30px rgba(0, 240, 255, 0.05);
    background: #0b0f19;
}
.workbench-header {
    height: 40px;
    background: #111625;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}
.window-controls { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.workbench-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}
.workbench-body {
    padding: 24px;
    text-align: left;
    font-family: 'Fira Code', monospace;
    font-size: 0.88rem;
    line-height: 1.6;
    background: #080b13;
    overflow-x: auto;
}
.code-line { display: flex; margin-bottom: 2px; }
.line-num {
    width: 32px;
    color: rgba(255, 255, 255, 0.15);
    user-select: none;
    text-align: right;
    padding-right: 16px;
}
.code-content { color: #e2e8f0; }
.code-comment { color: var(--text-muted); }
.code-keyword { color: #ff79c6; }
.code-string { color: #f1fa8c; }
.code-function { color: var(--color-cyan); }
.workbench-footer {
    padding: 12px 24px;
    background: #0a0d17;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Architecture / How it works */
.arch-section { padding: 80px 0; border-top: 1px solid var(--border-color); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.arch-grid { display: grid; grid-template-cols: 1fr 1fr; gap: 48px; align-items: center; }
.arch-visual {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-premium);
}
.flow-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.flow-step:last-child { margin-bottom: 0; }
.flow-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-weight: bold;
}
.flow-text h4 { font-size: 0.95rem; margin-bottom: 2px; }
.flow-text p { font-size: 0.8rem; color: var(--text-secondary); }

/* Interactive Tour Section */
.tour-section {
    padding: 80px 0;
    background: rgba(15, 20, 34, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.tour-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.tour-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.tour-tab-btn.active {
    background: var(--color-cyan);
    color: #07090e;
    border-color: var(--color-cyan);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}
.tour-content-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: grid;
    grid-template-cols: 1.2fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    min-height: 360px;
}
.tour-code-preview {
    background: #080b13;
    padding: 28px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tour-explanation { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.tour-explanation h3 { font-size: 1.6rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.tour-explanation p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1rem; line-height: 1.6; }
.feature-tag-list { display: flex; flex-direction: column; gap: 10px; }
.feature-tag-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background-color: var(--color-cyan); }

/* Feature Cards Grid */
.features-section { padding: 80px 0; }
.grid-cards { display: grid; grid-template-cols: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.card-item:hover { border-color: rgba(0, 240, 255, 0.2); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); }
.card-icon {
    width: 44px; height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--color-cyan);
}
.card-item:hover .card-icon { color: #fff; background: rgba(0, 240, 255, 0.15); border-color: var(--color-cyan); }
.card-item h3 { font-size: 1.2rem; font-weight: 600; }
.card-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

/* Pricing */
.pricing-section { padding: 80px 0; border-top: 1px solid var(--border-color); }
.pricing-grid { display: grid; grid-template-cols: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.price-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.popular { border-color: var(--color-cyan); box-shadow: 0 15px 35px rgba(0, 240, 255, 0.1); }
.popular-badge {
    position: absolute;
    top: -12px; right: 28px;
    background: var(--color-cyan);
    color: #07090e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-desc { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 20px; }
.price-value { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; color: #fff; }
.price-value span { font-size: 0.95rem; font-weight: 400; color: var(--text-secondary); }
.price-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.price-features li {
    font-size: 0.92rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}
.price-features li::before { content: "✓"; color: var(--color-cyan); font-weight: bold; margin-right: 4px; }

/* FAQ */
.faq-section { padding: 80px 0; border-top: 1px solid var(--border-color); }
.faq-container { max-width: 800px; margin: 30px auto 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 18px 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.1rem; font-weight: 600; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: 8px;
    line-height: 1.6;
}
.faq-item.active .faq-answer { max-height: 200px; transition: max-height 0.3s ease-in; }
.faq-icon { font-size: 1.2rem; transition: transform 0.2s; color: var(--color-cyan); }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* CTA Bottom & Footer */
.cta-bottom { padding: 90px 0; text-align: center; border-top: 1px solid var(--border-color); position: relative; overflow: hidden; }
.cta-bottom::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 60%);
    z-index: 1; pointer-events: none;
}
.cta-bottom .container { position: relative; z-index: 2; }
.cta-bottom h2 { font-size: 2.2rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-bottom p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }

footer.lp-footer { border-top: 1px solid var(--border-color); background: #06090f; padding: 40px 0; color: var(--text-muted); }
footer.lp-footer .footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-weight: 600; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--text-secondary); }

@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* Responsiveness */
@media (max-width: 960px) {
    h1.hero-title { font-size: 2.6rem; }
    .arch-grid, .tour-content-box { grid-template-cols: 1fr; }
    .tour-code-preview { border-right: none; border-bottom: 1px solid var(--border-color); }
    .pricing-grid { grid-template-cols: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    header.navbar { height: auto; padding: 12px 0; }
    header.navbar .nav-container { flex-direction: column; gap: 12px; }
    nav.nav-menu { gap: 16px; flex-wrap: wrap; justify-content: center; }
    h1.hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
    footer.lp-footer .footer-container { flex-direction: column; text-align: center; }
}
