/* ── Navora Design System ── */
:root {
    --navy: #0B2545;
    --navy-light: #0F3460;
    --teal: #00BCD4;
    --cyan: #17A2B8;
    --green: #34A853;
    --gradient: linear-gradient(135deg, var(--teal), var(--green));
    --gradient-hero: linear-gradient(160deg, #0B2545 0%, #0F3460 50%, #0d3b66 100%);
}

* { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333; margin: 0; overflow-x: hidden;
}

/* ── Navbar ── */
#mainNav {
    background: rgba(11, 37, 69, 0.95); backdrop-filter: blur(10px);
    transition: background 0.3s;
}
#mainNav .nav-link { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em; padding: 0.5rem 1rem !important; transition: color 0.2s; }
#mainNav .nav-link:hover { color: var(--teal) !important; }

/* ── Buttons ── */
.btn-gradient {
    background: var(--gradient); color: #fff; border: none; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,188,212,0.35); color: #fff; }

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.3); color: #fff; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem; background: transparent; transition: all 0.2s;
}
.btn-outline-light-custom:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: #fff; }

/* ── Hero ── */
.hero {
    background: var(--gradient-hero); min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,188,212,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(52,168,83,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
.hero .lead { font-size: clamp(1rem, 2vw, 1.2rem); opacity: 0.85; }
.hero-badge {
    display: inline-block; background: rgba(0,188,212,0.15); color: var(--teal);
    font-size: 0.8rem; font-weight: 600; padding: 0.35rem 1rem; border-radius: 50px;
    letter-spacing: 0.03em;
}

/* ── Section ── */
.section { padding: 5rem 0; }
.section-dark { background: #f8f9fb; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--navy); }
.section-subtitle { font-size: 1.05rem; color: #6c757d; max-width: 600px; }

/* ── Feature cards ── */
.feature-card {
    background: #fff; border-radius: 16px; padding: 2rem; height: 100%;
    border: 1px solid #eef0f4; transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,37,69,0.08); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--gradient); color: #fff; font-size: 1.4rem; margin-bottom: 1.2rem;
}
.feature-card h5 { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.feature-card p { color: #6c757d; font-size: 0.92rem; line-height: 1.6; margin-bottom: 0; }

/* ── Pricing ── */
.pricing-card {
    background: #fff; border-radius: 16px; padding: 2.5rem 2rem; text-align: center;
    border: 1px solid #eef0f4; height: 100%; transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,37,69,0.08); }
.pricing-card.featured { border: 2px solid var(--teal); }
.pricing-card.featured::before {
    content: 'POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gradient); color: #fff; font-size: 0.7rem; font-weight: 700;
    padding: 0.25rem 1rem; border-radius: 50px; letter-spacing: 0.08em;
}
.pricing-amount { font-size: 2.8rem; font-weight: 800; color: var(--navy); }
.pricing-unit { font-size: 0.9rem; color: #6c757d; font-weight: 500; }
.pricing-card h4 { font-weight: 700; color: var(--navy); font-size: 1.2rem; }
.pricing-card ul { list-style: none; padding: 0; text-align: left; }
.pricing-card ul li { padding: 0.5rem 0; font-size: 0.9rem; color: #555; border-bottom: 1px solid #f0f0f0; }
.pricing-card ul li:last-child { border: none; }
.pricing-card ul li i { color: var(--teal); margin-right: 0.5rem; }

/* ── Code block ── */
.code-block {
    background: #0d1b2a; border-radius: 12px; padding: 1.5rem; font-size: 0.82rem;
    color: #a8d8ea; font-family: 'Menlo', 'Consolas', monospace; overflow-x: auto;
    line-height: 1.7;
}
.code-block .keyword { color: var(--teal); }
.code-block .string { color: var(--green); }
.code-block .comment { color: #5a6a7a; }

/* ── Contact / CTA ── */
.cta-section {
    background: var(--gradient-hero); padding: 5rem 0; text-align: center;
}

/* ── Docs page ── */
.docs-sidebar a.docs-link {
    color: #6c757d; text-decoration: none; font-size: 0.88rem; display: block;
    padding: 0.25rem 0.75rem; border-left: 2px solid transparent; transition: all 0.15s;
}
.docs-sidebar a.docs-link:hover { color: var(--teal); border-left-color: var(--teal); }
.docs-section { margin-bottom: 2rem; }
.docs-heading {
    font-weight: 700; color: var(--navy); margin-bottom: 1rem; padding-top: 0.5rem;
}
.badge-method {
    background: var(--gradient); color: #fff; font-size: 0.7rem; font-weight: 700;
    padding: 0.2rem 0.7rem; border-radius: 4px; vertical-align: middle; margin-right: 0.5rem;
    letter-spacing: 0.04em;
}
.docs-table { font-size: 0.88rem; }
.docs-table thead th { background: #f8f9fb; font-weight: 600; color: var(--navy); border-bottom: 2px solid #e9ecef; }
.docs-table td { vertical-align: middle; }
.docs-table code { color: var(--teal); font-size: 0.82rem; background: rgba(0,188,212,0.08); padding: 0.15rem 0.4rem; border-radius: 4px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 7rem 0 4rem; }
    .section { padding: 3.5rem 0; }
}