/* === DESIGN SYSTEM — ENTERPRISE THEME === */
:root {
    --bg-primary: #06070d;
    --bg-secondary: #0c0e17;
    --bg-card: #111422;
    --bg-card-hover: #171b2e;

    --text-primary: #e8eaf0;
    --text-secondary: #8b90a5;
    --text-muted: #565a70;

    --accent: #76b900;
    --accent-light: #8fc926;
    --accent-glow: rgba(118, 185, 0, 0.2);
    --accent-gradient: linear-gradient(135deg, #76b900, #8fc926);

    --nv-green: #76b900;
    --nv-dark: #1a1a2e;
    --success: #00d2d3;
    --danger: #ff6b6b;
    --warning: #ffd93d;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 40px var(--accent-glow);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--nv-green); }

/* === GRID BACKGROUND === */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(118, 185, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 185, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
}

/* === LAYOUT === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { position: relative; z-index: 1; padding: 100px 0; }
.section-dark { background: var(--bg-secondary); }

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--nv-green);
    background: rgba(118, 185, 0, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

/* === HEADER === */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 7, 13, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(118, 185, 0, 0.08);
    padding: 0 24px;
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-icon { font-size: 1.3rem; }
.logo-accent { color: var(--nv-green); }

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.currency-switcher {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    padding: 3px;
}

.currency-btn, .currency-btn-footer {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.currency-btn.active, .currency-btn-footer.active {
    background: var(--nv-green);
    color: #000;
}

.currency-btn:hover:not(.active), .currency-btn-footer:hover:not(.active) {
    color: var(--text-primary);
}

/* === HERO === */
#hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
}

.hero-content { max-width: 820px; }

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(118, 185, 0, 0.08);
    border: 1px solid rgba(118, 185, 0, 0.2);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    animation: badgeFade 1s ease-out;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(118, 185, 0, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(118, 185, 0, 0); }
}

@keyframes badgeFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: heroFade 0.8s ease-out 0.2s both;
}

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

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    animation: heroFade 0.8s ease-out 0.4s both;
}

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

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: heroFade 0.8s ease-out 0.5s both;
}

.trust-item {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(118, 185, 0, 0.06);
    border: 1px solid rgba(118, 185, 0, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

/* === SIGNUP FORM === */
.hero-cta-group { animation: heroFade 0.8s ease-out 0.6s both; }
.signup-form { max-width: 520px; margin: 0 auto; }

.form-row {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(118, 185, 0, 0.15);
    border-radius: var(--radius);
    padding: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-row:focus-within {
    border-color: var(--nv-green);
    box-shadow: var(--shadow-glow);
}

.form-row input {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
}

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

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 28px;
    background: var(--accent-gradient);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(118, 185, 0, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-secondary:hover {
    border-color: var(--nv-green);
    color: var(--nv-green);
    background: rgba(118, 185, 0, 0.04);
}

.form-trust {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.form-trust strong { color: var(--warning); }

/* === TERMINAL DEMO === */
.terminal-demo {
    max-width: 600px;
    margin: 48px auto 0;
    background: #0d1117;
    border: 1px solid rgba(118, 185, 0, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: heroFade 0.8s ease-out 0.8s both;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: auto;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 180px;
}

.term-line { display: flex; align-items: center; gap: 8px; }
.term-prompt { color: var(--nv-green); font-weight: 700; }
.term-cmd { color: var(--text-primary); }

.term-cursor {
    color: var(--nv-green);
    animation: termBlink 1s infinite;
}

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

.term-output {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.term-output .term-success { color: var(--nv-green); font-weight: 600; }
.term-output .term-info { color: var(--text-muted); }
.term-output .term-highlight { color: var(--warning); }

/* === ARCHITECTURE DIAGRAM === */
.arch-diagram {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arch-layer {
    text-align: center;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.arch-highlight {
    border-color: var(--nv-green);
    background: rgba(118, 185, 0, 0.06);
    box-shadow: var(--shadow-glow);
}

.arch-label { font-weight: 700; font-size: 1rem; }
.arch-sublabel { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.arch-arrow { color: var(--nv-green); font-size: 1.2rem; font-weight: 700; padding: 4px 0; }

.arch-layer .arch-arrow { padding: 0; margin-bottom: 4px; }

/* === SECURITY GRID === */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.security-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s;
    position: relative;
}

.security-card:hover {
    border-color: rgba(118, 185, 0, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.security-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nv-green);
    opacity: 0.6;
    margin-bottom: 12px;
}

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

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

/* === CHECKLIST COMPARISON === */
.checklist-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.checklist-col {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.checklist-col h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }

.checklist-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist-col li { font-size: 0.9rem; color: var(--text-muted); }

.checklist-good {
    border-color: rgba(118, 185, 0, 0.25);
    background: rgba(118, 185, 0, 0.03);
}

.checklist-good li { color: var(--text-primary); }

.checklist-time {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(118, 185, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--nv-green);
}

/* === PRICING === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.pricing-featured {
    border-color: var(--nv-green);
    background: rgba(118, 185, 0, 0.04);
    box-shadow: var(--shadow-glow);
    transform: scale(1.04);
}

.pricing-featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: var(--radius-full);
}

.pricing-tier { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.pricing-price { font-size: 1rem; margin-bottom: 24px; }

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency { font-size: 1.6rem; font-weight: 700; color: var(--text-muted); vertical-align: super; }
.price-period { font-size: 1rem; color: var(--text-muted); }

.pricing-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pricing-features li { font-size: 0.875rem; color: var(--text-secondary); }
.pricing-features li.disabled { color: var(--text-muted); opacity: 0.5; }

.pricing-card .cta-primary,
.pricing-card .cta-secondary {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* === FAQ === */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover { border-color: rgba(118, 185, 0, 0.2); }

.faq-item summary {
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--nv-green);
    transition: transform 0.3s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* === FINAL CTA === */
.final-cta-content { text-align: center; max-width: 600px; margin: 0 auto; }

.final-cta-content h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 16px; }

.final-cta-content p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1.1rem; }

.final-cta-content strong { color: var(--nv-green); }

/* === FOOTER === */
#site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(118, 185, 0, 0.08);
    padding: 40px 24px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); margin-left: 8px; }
.footer-right { display: flex; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text-primary); }

.footer-currency {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
    padding: 3px;
}

.footer-bottom { text-align: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* === KIT.COM FORM OVERRIDES === */
.kit-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.kit-form-wrapper .formkit-form { max-width: 100% !important; }
.kit-form-wrapper .formkit-form [data-style="clean"] { padding: 0 !important; }

.kit-form-wrapper .formkit-fields {
    display: flex !important;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(118, 185, 0, 0.15);
    border-radius: var(--radius);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.kit-form-wrapper .formkit-fields:focus-within {
    border-color: var(--nv-green);
    box-shadow: var(--shadow-glow);
}

.kit-form-wrapper .formkit-input {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-family: var(--font-sans) !important;
    font-size: 1rem !important;
    padding: 14px 16px !important;
    border-radius: 0 !important;
}

.kit-form-wrapper .formkit-input::placeholder {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

.kit-form-wrapper .formkit-submit {
    background: var(--accent-gradient) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: var(--font-sans) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    margin-bottom: 0 !important;
    white-space: nowrap;
}

.kit-form-wrapper .formkit-submit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px var(--accent-glow) !important;
}

.kit-form-wrapper .formkit-submit > span { padding: 14px 24px !important; }

.kit-form-wrapper .formkit-alert-success {
    background: rgba(118, 185, 0, 0.1) !important;
    border-color: var(--nv-green) !important;
    color: var(--nv-green) !important;
    border-radius: var(--radius) !important;
}

.kit-form-wrapper .formkit-alert-error {
    background: rgba(255, 107, 107, 0.1) !important;
    border-color: var(--danger) !important;
    color: var(--danger) !important;
    border-radius: var(--radius) !important;
}

.kit-form-wrapper .formkit-powered-by-convertkit-container { display: none !important; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .hero-title { font-size: 2.2rem; }

    .form-row {
        flex-direction: column;
        gap: 0;
        background: transparent;
        border: none;
        padding: 0;
    }

    .form-row:focus-within { box-shadow: none; border-color: transparent; }

    .form-row input {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(118, 185, 0, 0.15);
        border-radius: var(--radius);
        margin-bottom: 8px;
    }

    .cta-primary { width: 100%; justify-content: center; }
    .trust-badges { flex-direction: column; align-items: center; }
    .security-grid { grid-template-columns: 1fr; }
    .checklist-compare { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-featured { transform: scale(1); }
    .pricing-featured:hover { transform: translateY(-4px); }
    .section-header h2 { font-size: 1.8rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-right { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .section { padding: 60px 0; }
    .currency-switcher { display: none; }
}
