/* ============================================================
   Pages CSS — DeepOcean (Platform & Developers)
   ============================================================ */

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
    position: relative;
    padding: 140px 24px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero-dev {
    min-height: 90vh;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.page-tag-blue { color: var(--accent); border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.05); }
.page-tag-purple { color: var(--purple); border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.05); }

.page-hero-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--text-1) 0%, var(--text-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto 40px;
}

.page-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn-purple {
    background: var(--purple);
    color: white;
}
.btn-purple:hover {
    background: #7c3aed;
    opacity: 1;
}

/* ── BEAM OVERRIDES ──────────────────────────────────────── */
.hero-beam-purple {
    background: linear-gradient(180deg, transparent, var(--purple), transparent);
}
.hero-beam-purple::after {
    background: radial-gradient(ellipse at top, var(--purple-glow) 0%, transparent 70%);
}

/* ── CODE PREVIEW ────────────────────────────────────────── */
.code-preview {
    margin: 0 auto;
    max-width: 640px;
    background: #0d0d0d;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    text-align: left;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
    overflow: hidden;
}

.code-chrome {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}

.code-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.code-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-filename {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-3);
}

.code-block {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    line-height: 1.6;
    color: #e5e5e5;
    overflow-x: auto;
}

.code-kw { color: #ff7b72; }
.code-str { color: #a5d6ff; }
.code-punct { color: #c9d1d9; }
.code-fn { color: #d2a8ff; }
.code-num { color: #79c0ff; }

/* ── PAGE SECTIONS ───────────────────────────────────────── */
.page-section {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.page-section-alt {
    max-width: none;
    padding: 100px 24px;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.page-section-alt .page-section-header, .page-section-alt .steps-list, .page-section-alt .quickstart-steps {
    max-width: 1100px;
    margin: 0 auto;
}

.page-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--text-1);
}

/* ── MODULES & TOOLS GRID ────────────────────────────────── */
.modules-grid, .tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.module-card, .tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.module-card:hover, .tool-card:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.module-icon, .tool-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}

.module-blue, .tool-blue     { background: rgba(59,130,246,0.1); color: var(--accent); }
.module-cyan, .tool-cyan     { background: rgba(6,182,212,0.1);  color: var(--cyan); }
.module-purple, .tool-purple { background: rgba(139,92,246,0.1); color: var(--purple); }
.module-amber, .tool-amber   { background: rgba(245,158,11,0.1); color: var(--amber); }

.module-title, .tool-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 12px;
}

.module-desc, .tool-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2);
    margin-bottom: 24px;
}

.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.module-tags span {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-3);
    background: var(--bg-2);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-1);
    transition: color 0.2s;
}
.tool-link:hover { color: var(--accent); }

.cli-snippet {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--text-3);
    margin-bottom: 20px;
}

/* ── STEPS LIST (How it works) ───────────────────────────── */
.steps-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-item {
    position: relative;
}

.step-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--border-2);
    margin-bottom: 16px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2);
}

/* ── QUICK START STEPS ───────────────────────────────────── */
.quickstart-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
}

.qs-step {
    display: flex;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-lg);
}

.qs-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--purple-glow);
    color: var(--purple);
    font-weight: 700;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.qs-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 12px;
    margin-top: 4px;
}

.qs-content p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

.qs-content .cli-snippet {
    margin-bottom: 0;
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.page-cta {
    padding: 120px 24px;
    text-align: center;
    position: relative;
}

.page-cta-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--text-1);
    margin-bottom: 16px;
}

.page-cta-desc {
    font-size: 18px;
    color: var(--text-2);
    margin-bottom: 40px;
}

.page-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .modules-grid, .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .page-hero-title { font-size: 48px; letter-spacing: -2px; }
    .page-hero-desc { font-size: 16px; }
    .page-hero-actions { flex-direction: column; width: 100%; }
    .page-hero-actions .btn { width: 100%; justify-content: center; }
    
    .section-title { font-size: 32px; }
    .modules-grid, .tools-grid, .steps-list { grid-template-columns: 1fr; }
    
    .page-cta-title { font-size: 36px; }
    .page-cta-actions { flex-direction: column; width: 100%; }
    .page-cta-actions .btn { width: 100%; justify-content: center; }
}

/* Pricing */
.pricing-section { max-width: 800px; margin: 80px auto; text-align: center; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 48px; margin-top: 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.price-val { font-size: 56px; font-weight: 700; color: var(--text-1); letter-spacing: -2px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.price-currency { font-size: 24px; font-weight: 500; color: var(--text-2); padding-bottom: 12px; }
.price-period { font-size: 16px; font-weight: 400; color: var(--text-2); padding-bottom: 12px; }
.price-desc { font-size: 16px; color: var(--text-2); margin-top: 16px; line-height: 1.5; }
.price-features { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-feature { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
@media (max-width: 600px) { .price-features { grid-template-columns: 1fr; } }
