/* Code Scalpel — Modern Design */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --text-primary: #f0f0f5;
    --text-secondary: #9898a8;
    --text-muted: #5a5a70;
    --accent-cyan: #00d4ff;
    --accent-violet: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --gradient-prism: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #f43f5e 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 212, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* [20260114_REFACTOR] Shared layout primitives used across pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: 6rem 2rem;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
}

.card-inner {
    padding: 22px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: top;
}

.table thead th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 700;
    text-align: left;
}

.table tbody tr:hover td {
    background: rgba(0, 212, 255, 0.04);
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}

.code-block pre {
    margin: 0;
    padding: 14px 16px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border-subtle);
}

/* Animated Background */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, 5%); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-prism);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bg-primary);
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

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

.btn-ghost:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-primary {
    background: var(--gradient-prism);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

/* [20260114_FEATURE] Shared input styling for search/filter controls */
.input {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    outline: none;
}

.input::placeholder {
    color: var(--text-muted);
}

.input:focus {
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-prism);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

/* Differentiators Section */
#differentiators {
    background: var(--bg-secondary);
}

.diff-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.diff-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-prism);
    opacity: 0;
    transition: opacity 0.3s;
}

.diff-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

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

.diff-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.diff-icon.cyan { background: rgba(0, 212, 255, 0.15); color: var(--accent-cyan); }
.diff-icon.violet { background: rgba(139, 92, 246, 0.15); color: var(--accent-violet); }
.diff-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.diff-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.diff-icon.rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }

.diff-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.diff-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.diff-comparison {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.vs-them {
    color: var(--text-muted);
    text-decoration: line-through;
}

.vs-us {
    color: var(--accent-emerald);
    font-weight: 500;
}

/* Pricing Section */
#pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.15);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-prism);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-tier {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.pricing-tools-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.pricing-tools-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-emerald);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
}

/* Tools Section */
.tools-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.tools-tier {
    margin-bottom: 3rem;
}

.tools-tier-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tools-tier-badge {
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tools-tier-badge.community {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

.tools-tier-badge.pro {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-violet);
}

.tools-tier-badge.enterprise {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
}

.tools-tier-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.tool-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s;
}

.tool-item:hover {
    border-color: var(--border-glow);
    background: var(--bg-tertiary);
}

.tool-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.tool-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .grid2,
    .grid3 {
        grid-template-columns: 1fr;
    }
}

/* Code/Mono text */
code, .mono {
    font-family: 'JetBrains Mono', monospace;
}

.small {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
