@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --nst-blue: #2563eb;
    --nst-blue-dark: #1d4ed8;
    --nst-blue-light: #eff6ff;
    --nst-green: #10b981;
    --nst-green-light: #ecfdf5;
    --nst-orange: #f59e0b;
    --nst-text: #0f172a;
    --nst-muted: #64748b;
    --nst-border: #e2e8f0;
    --nst-bg: #ffffff;
    --nst-bg-soft: #f8fafc;
    --nst-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --nst-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body.landing {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--nst-text);
    background: var(--nst-bg);
    line-height: 1.6;
}

.landing a { text-decoration: none; }

/* Navbar */
.landing-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nst-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.landing-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--nst-text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.landing-nav .brand-badge {
    background: linear-gradient(135deg, var(--nst-blue), #3b82f6);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.landing-nav .nav-link {
    color: var(--nst-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 0.5rem;
    transition: all 0.15s;
}

.landing-nav .nav-link:hover {
    color: var(--nst-blue);
    background: var(--nst-blue-light);
}

.landing-nav .nav-link.active-nav {
    color: var(--nst-blue);
    background: var(--nst-blue-light);
    font-weight: 600;
}

.btn-nst-primary {
    background: var(--nst-blue);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 0.5rem;
    transition: background 0.15s;
}

.btn-nst-primary:hover {
    background: var(--nst-blue-dark);
    color: #fff;
}

.btn-nst-outline {
    background: #fff;
    border: 1px solid var(--nst-border);
    color: var(--nst-text);
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 0.5rem;
}

.btn-nst-outline:hover {
    border-color: var(--nst-blue);
    color: var(--nst-blue);
    background: var(--nst-blue-light);
}

/* Hero */
.hero-section {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 60%);
    padding: 4rem 0 3rem;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--nst-blue-light);
    color: var(--nst-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--nst-blue), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--nst-muted);
    max-width: 540px;
    margin-bottom: 1.75rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-badge {
    background: #fff;
    border: 1px solid var(--nst-border);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nst-muted);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

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

.hero-stat {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1.25rem;
    box-shadow: var(--nst-shadow);
}

.hero-stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--nst-text);
}

.hero-stat span {
    font-size: 0.8rem;
    color: var(--nst-muted);
}

/* Hero card panel */
.hero-panel {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    box-shadow: var(--nst-shadow-lg);
    overflow: hidden;
}

.hero-panel-header {
    background: var(--nst-bg-soft);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--nst-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-panel-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.auth-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--nst-green-light);
    color: #059669;
}

.service-table {
    width: 100%;
    font-size: 0.85rem;
}

.service-table th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nst-muted);
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--nst-border);
}

.service-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.service-table tr:last-child td { border-bottom: none; }

.status-online {
    color: #059669;
    font-weight: 600;
    font-size: 0.8rem;
}

.status-offline {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.8rem;
}

.hero-panel-footer {
    padding: 0.75rem 1.25rem;
    background: #fafbfc;
    border-top: 1px solid var(--nst-border);
    font-size: 0.8rem;
    color: var(--nst-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Flash demo card */
.flash-demo {
    background: linear-gradient(135deg, #f0f9ff, #ecfdf5);
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.flash-progress {
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.flash-progress-bar {
    height: 100%;
    width: 83%;
    background: linear-gradient(90deg, var(--nst-blue), var(--nst-green));
    border-radius: 999px;
}

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-chip {
    background: #fff;
    border: 1px solid var(--nst-border);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--nst-muted);
}

/* Stats bar */
.stats-bar {
    background: #fff;
    border-top: 1px solid var(--nst-border);
    border-bottom: 1px solid var(--nst-border);
    padding: 2.5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--nst-blue);
    line-height: 1.2;
}

.stat-item .label {
    font-size: 0.875rem;
    color: var(--nst-muted);
    font-weight: 500;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: var(--nst-bg-soft);
}

.section-eyebrow {
    color: var(--nst-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--nst-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

/* Tool cards */
.tool-card {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--nst-shadow);
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nst-shadow-lg);
}

.tool-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.tool-card-icon.blue { background: var(--nst-blue-light); color: var(--nst-blue); }
.tool-card-icon.green { background: var(--nst-green-light); color: var(--nst-green); }
.tool-card-icon.orange { background: #fff7ed; color: var(--nst-orange); }
.tool-card-icon.purple { background: #ede9fe; color: #7c3aed; }

.tool-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: var(--nst-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.tool-tag {
    background: var(--nst-bg-soft);
    color: var(--nst-muted);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 0.375rem;
}

/* Steps */
.step-card {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    box-shadow: var(--nst-shadow);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--nst-blue);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--nst-muted);
    margin: 0;
}

.otp-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: #92400e;
    margin-top: 2rem;
}

/* FAQ */
.faq-item {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    background: #fff;
    color: var(--nst-text);
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--nst-blue-light);
    color: var(--nst-blue);
}

.faq-item .accordion-body {
    color: var(--nst-muted);
    font-size: 0.9rem;
    padding: 0 1.25rem 1.25rem;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--nst-shadow);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--nst-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nst-blue), #6366f1);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-location {
    font-size: 0.8rem;
    color: var(--nst-muted);
}

/* Partner cards */
.partner-card {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--nst-shadow);
    transition: transform 0.2s;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--nst-shadow-lg);
}

.partner-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1rem 0 0.75rem;
}

.partner-card p {
    color: var(--nst-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Footer */
.landing-footer {
    background: var(--nst-bg-soft);
    border-top: 1px solid var(--nst-border);
    padding: 3.5rem 0 1.5rem;
}

.landing-footer h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.landing-footer a {
    color: var(--nst-muted);
    font-size: 0.9rem;
    display: block;
    padding: 0.25rem 0;
}

.landing-footer a:hover {
    color: var(--nst-blue);
}

.footer-bottom {
    border-top: 1px solid var(--nst-border);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--nst-muted);
}

@media (max-width: 991px) {
    .hero-section { padding: 2.5rem 0 2rem; }
    .section { padding: 3rem 0; }
}

/* Reseller landing */
.reseller-hero {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 70%);
    padding: 4rem 0 3rem;
}

.reseller-hero-card {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--nst-shadow-lg);
}

.reseller-hero-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nst-border);
}

.reseller-hero-card-header i {
    font-size: 2rem;
    color: var(--nst-blue);
}

.reseller-hero-card-header strong {
    display: block;
    font-size: 1.05rem;
}

.reseller-hero-card-header span {
    font-size: 0.85rem;
    color: var(--nst-muted);
}

.reseller-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reseller-feature-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--nst-muted);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.reseller-feature-list code {
    font-size: 0.75rem;
    background: var(--nst-bg-soft);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
}

.reseller-api-points {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.reseller-api-points li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--nst-muted);
    border-bottom: 1px solid #f1f5f9;
}

.reseller-api-points li:last-child { border-bottom: none; }

.reseller-api-points code {
    background: var(--nst-bg-soft);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
}

.code-panel {
    background: #fff;
    border: 1px solid var(--nst-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--nst-shadow);
}

.code-panel-header {
    background: var(--nst-bg-soft);
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nst-muted);
    border-bottom: 1px solid var(--nst-border);
}

.code-panel-body {
    margin: 0;
    padding: 1.25rem;
    font-size: 0.85rem;
    background: #fafbfc;
    color: #334155;
    overflow-x: auto;
}

.reseller-cta {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    padding: 4rem 0;
}
