/* ══════════════════════════════════════════
   BLCKBX Website — style.css
   Anthropic-inspired, BLCKBX-branded
   ══════════════════════════════════════════ */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --border: #1e1e1e;
    --border-light: #2a2a2a;
    --text-primary: #f0f0f0;
    --text-secondary: #999999;
    --text-muted: #666666;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dim: rgba(124, 58, 237, 0.12);
    --accent-glow: rgba(124, 58, 237, 0.25);
    --white: #ffffff;
    --max-width: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
}

.nav-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

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

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

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--accent);
    color: var(--white);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover { background: var(--accent-light); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; text-align: center; }

/* ── Hero ── */
.hero {
    padding: 160px 40px 80px;
    text-align: center;
    overflow: visible;
}

.hero-inner {
    max-width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 18vw;
    font-weight: 700;
    letter-spacing: -1.2vw;
    color: var(--text-primary);
    margin: 0 auto 12px;
    line-height: 0.85;
    text-align: center;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 64px;
    letter-spacing: -0.3px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
    transition: all 0.3s;
}

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

.hero-card-accent {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.hero-card-accent:hover {
    border-color: var(--accent-light);
    background: rgba(124, 58, 237, 0.18);
}

.hero-card-icon {
    margin-bottom: 20px;
}

.card-mark {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-secondary);
}

.card-mark-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.hero-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.hero-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Tagline Section ── */
.tagline-section {
    padding: 100px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tagline {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.tagline-accent {
    color: var(--accent-light);
}

.tagline-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Sections ── */
.section {
    padding: 100px 40px;
}

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

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.15;
}

.section-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ── Problem Grid ── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s;
}

.problem-card:hover {
    border-color: var(--border-light);
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s;
}

.feature:hover {
    border-color: var(--border-light);
}

.feature h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Capabilities Grid ── */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cap-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}

.cap-group:hover {
    border-color: var(--accent);
}

.cap-group h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.cap-group p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Steps ── */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.2s;
}

.pricing-card:hover {
    border-color: var(--border-light);
}

.pricing-featured {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.pricing-featured:hover {
    border-color: var(--accent-light);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-card li:last-child {
    border-bottom: none;
}

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

.community-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.community-card:hover {
    border-color: var(--accent);
}

.community-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.community-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── CTA ── */
.section-cta {
    text-align: center;
    padding: 120px 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.section-cta h2 {
    font-size: 36px;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.3;
}

.section-cta .section-sub {
    margin: 0 auto 32px;
    text-align: center;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 40px 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 48px;
}

.footer-left {
    max-width: 280px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .community-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 48px; letter-spacing: -2px; }
    .hero-subtitle { font-size: 18px; }
    .tagline { font-size: 30px; }
    .section h2 { font-size: 28px; }
    .hero { padding: 120px 20px 60px; }
    .section { padding: 60px 20px; }
    .tagline-section { padding: 60px 20px; }
    .nav-inner { padding: 12px 20px; }
    .problem-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .cap-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-right { gap: 32px; }
    .section-cta h2 { font-size: 26px; }
}