/* Import Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Neumorphic Palette */
:root {
    --bg-main: #f5f4ef;
    --bg-card: #f5f4ef;
    --bg-darker: #eae8df;
    
    --brand-green-deep: #004b23;
    --brand-green-light: #38b000;
    --brand-green-glow: rgba(56, 176, 0, 0.2);
    --accent-gold: #c6a052;
    --accent-red: #d90429;
    
    --text-primary: #1b201c;
    --text-secondary: #4a544f;
    --text-light: #ffffff;
    
    /* Neumorphic Shadows */
    --nm-shadow-flat: 8px 8px 16px #dcdacb, -8px -8px 16px #ffffff;
    --nm-shadow-inset: inset 5px 5px 10px #dcdacb, inset -5px -5px 10px #ffffff;
    --nm-shadow-button: 6px 6px 12px #dcdacb, -6px -6px 12px #ffffff;
    --nm-shadow-button-hover: 4px 4px 8px #dcdacb, -4px -4px 8px #ffffff;
    --nm-shadow-button-active: inset 3px 3px 6px #dcdacb, inset -3px -3px 6px #ffffff;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--brand-green-deep);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base Neumorphic Classes */
.nm-card {
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--nm-shadow-flat);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 30px;
    transition: var(--transition-smooth);
}

.nm-well {
    background: var(--bg-darker);
    border-radius: 20px;
    box-shadow: var(--nm-shadow-inset);
    padding: 24px;
}

.nm-btn-primary {
    background: var(--brand-green-deep);
    color: var(--text-light);
    border: none;
    border-radius: 16px;
    padding: 16px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 4px 4px 10px rgba(0, 75, 35, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.nm-btn-primary:hover {
    background: #003a1b;
    transform: translateY(-2px);
    box-shadow: 6px 6px 14px rgba(0, 75, 35, 0.3);
}

.pulse-button {
    animation: pulseGlow 2.4s ease-in-out infinite;
    position: relative;
}

.pulse-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: 0 0 0 0 rgba(56, 176, 0, 0.4);
    transition: box-shadow 0.3s ease;
}

.pulse-button:hover::after,
.pulse-button:focus-visible::after {
    box-shadow: 0 0 0 10px rgba(56, 176, 0, 0.14);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(56, 176, 0, 0.35);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 18px rgba(56, 176, 0, 0.08);
    }
}

.nm-btn-primary:active {
    transform: translateY(1px);
    box-shadow: 2px 2px 5px rgba(0, 75, 35, 0.2);
}

.nm-btn-neutral {
    background: var(--bg-card);
    color: var(--brand-green-deep);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 16px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--nm-shadow-button);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.nm-btn-neutral:hover {
    box-shadow: var(--nm-shadow-button-hover);
    color: var(--brand-green-light);
}

.nm-btn-neutral:active {
    box-shadow: var(--nm-shadow-button-active);
}

/* Form Styles */
.nm-input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.choice-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.choice-pill {
    flex: 1;
    min-width: 120px;
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    background: var(--bg-card);
    box-shadow: var(--nm-shadow-button);
    color: var(--brand-green-deep);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.choice-pill.active {
    background: var(--brand-green-deep);
    color: var(--text-light);
    box-shadow: 4px 4px 10px rgba(0, 75, 35, 0.2);
}

.select-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.icon-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 176, 0, 0.12), rgba(0, 75, 35, 0.14));
    color: var(--brand-green-deep);
    box-shadow: inset 2px 2px 6px rgba(255,255,255,0.75), 2px 2px 6px rgba(0,0,0,0.08);
    font-size: 0.85rem;
}

.icon-diamond::before {
    content: "◈";
}

.icon-crown::before {
    content: "⌖";
}

.flow-stepper {
    display: flex;
    gap: 12px;
    margin: 24px 0 18px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 140px;
    text-align: center;
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--bg-darker);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
}

.flow-step.active {
    background: var(--brand-green-deep);
    color: var(--text-light);
}

.flow-panel {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.flow-panel.active {
    display: block;
}

.form-note {
    margin: 16px 0 18px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-actions .nm-btn-neutral,
.form-actions .nm-btn-primary {
    flex: 1;
}

.auth-switch {
    display: flex;
    gap: 10px;
    margin: 16px 0 10px;
}

.auth-switch-btn {
    border: none;
    background: var(--bg-darker);
    color: var(--brand-green-deep);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
}

.auth-switch-btn.active {
    background: var(--brand-green-deep);
    color: var(--text-light);
}

.coach-invite-banner {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(56, 176, 0, 0.12), rgba(198, 160, 82, 0.16));
    border-radius: 14px;
    color: var(--brand-green-deep);
    font-weight: 700;
}

.auth-status {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: var(--bg-darker);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-status.success {
    color: var(--brand-green-deep);
    background: rgba(56, 176, 0, 0.12);
}

.auth-status.error {
    color: var(--accent-red);
    background: rgba(217, 4, 41, 0.08);
}

.dashboard-state {
    margin-top: 18px;
    display: grid;
    gap: 16px;
}

.dashboard-card {
    background: var(--bg-darker);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--nm-shadow-inset);
}

.dashboard-card h4 {
    margin-bottom: 8px;
}

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

.dashboard-card .nm-btn-primary,
.dashboard-card .nm-btn-neutral {
    margin-top: 14px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 12, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1200;
    animation: fadeIn 0.25s ease-out;
}

.modal-card {
    max-width: 480px;
    width: 100%;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.modal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.modal-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-card .nm-btn-primary {
    width: 100%;
}

.login-modal-fields {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

#eligibilityNextBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.nm-input-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-green-deep);
    padding-left: 6px;
}

.nm-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.95rem;
    color: var(--text-primary);
    box-shadow: var(--nm-shadow-inset);
    transition: var(--transition-smooth);
}

.nm-input:focus {
    border-color: var(--brand-green-light);
    box-shadow: var(--nm-shadow-inset), 0 0 0 3px var(--brand-green-glow);
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 244, 239, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 8px;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--brand-green-deep);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-item:hover {
    color: var(--brand-green-deep);
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 12px;
}

/* Hamburger menu for mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--brand-green-deep);
    margin: 4px 0;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Sections Base */
section {
    padding: 80px 24px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    padding: 60px 24px 80px;
    background: radial-gradient(circle at top right, rgba(56, 176, 0, 0.05), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content .highlight {
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, var(--brand-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-badge-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-darker);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: var(--nm-shadow-inset);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-green-deep);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-green-light);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-green-light);
    animation: flash 1.5s infinite alternate;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    padding: 16px;
    border-radius: 32px;
}

.hero-image-card img {
    border-radius: 20px;
    width: 100%;
}

/* Call Ledger Ticker Widget */
.call-ledger-widget {
    background: #111512;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0eae2;
    padding: 24px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ledger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.ledger-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-green-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ledger-live-pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-green-light);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.ledger-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0b0a5;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
}

.ledger-stream {
    height: 200px;
    overflow-y: hidden;
    position: relative;
}

.ledger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.85rem;
    font-family: monospace;
    animation: slideInUp 0.4s ease-out;
}

.ledger-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ledger-call-id {
    color: #a0b0a5;
}

.ledger-network-tag {
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-mtn { background: rgba(255, 204, 0, 0.15); color: #ffcc00; }
.tag-glo { background: rgba(56, 176, 0, 0.15); color: #38b000; }
.tag-airtel { background: rgba(217, 4, 41, 0.15); color: #d90429; }
.tag-9mobile { background: rgba(0, 95, 86, 0.15); color: #00bdab; }

.ledger-duration {
    color: #a0b0a5;
}

.ledger-amount {
    color: var(--brand-green-light);
    font-weight: 700;
}

/* Estimator Widget */
.estimator-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.estimator-inputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.slider-label {
    color: var(--brand-green-deep);
}

.slider-value {
    color: var(--brand-green-light);
    background: var(--bg-darker);
    padding: 2px 10px;
    border-radius: 8px;
    box-shadow: var(--nm-shadow-inset);
    font-family: monospace;
}

/* Custom Range Input styling */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: var(--bg-darker);
    border-radius: 4px;
    box-shadow: var(--nm-shadow-inset);
}

input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--brand-green-deep);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

input[type=range]::-webkit-slider-thumb:hover {
    background: var(--brand-green-light);
    transform: scale(1.1);
}

.select-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.select-card {
    background: var(--bg-card);
    border: 2px solid transparent;
    box-shadow: var(--nm-shadow-button);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.select-card.active {
    border-color: var(--brand-green-light);
    box-shadow: var(--nm-shadow-inset);
}

.select-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--brand-green-deep);
}

.select-card-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Estimator Results Card */
.estimator-results {
    background: var(--bg-darker);
    border-radius: 24px;
    box-shadow: var(--nm-shadow-inset);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-header {
    border-bottom: 1px solid rgba(27, 32, 28, 0.05);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.result-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.result-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.result-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--brand-green-deep);
}

.result-val.monthly {
    font-size: 2.2rem;
    color: var(--brand-green-light);
}

.result-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 20px;
    text-align: center;
}

/* Value Props / Monopolies Grid */
.value-props-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.value-props-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-prop-item {
    display: flex;
    gap: 16px;
}

.value-prop-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-card);
    box-shadow: var(--nm-shadow-button);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green-deep);
    font-size: 1.2rem;
}

.value-prop-text h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.value-prop-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.image-card-right {
    box-shadow: var(--nm-shadow-flat);
    border-radius: 28px;
    padding: 16px;
}

.image-card-right img {
    border-radius: 20px;
}

/* Features Grid (Grid Cards) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: var(--nm-shadow-button);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand-green-light);
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Hardware Products Section */
.product-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.product-tab-btn {
    border: none;
    cursor: pointer;
    background: var(--bg-card);
    box-shadow: var(--nm-shadow-button);
    border-radius: 12px;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--brand-green-deep);
    transition: var(--transition-smooth);
}

.product-tab-btn.active {
    box-shadow: var(--nm-shadow-inset);
    color: var(--brand-green-light);
}

.product-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.product-tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.product-gallery {
    padding: 14px;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--nm-shadow-flat);
}

.product-gallery img {
    border-radius: 16px;
    width: 100%;
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.product-meta {
    display: inline-flex;
    gap: 8px;
    background: var(--bg-darker);
    box-shadow: var(--nm-shadow-inset);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-green-deep);
    margin-bottom: 20px;
}

.product-specs {
    margin: 20px 0 30px;
    list-style: none;
}

.product-specs li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.product-specs li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-green-light);
    font-weight: 900;
}

/* FAQ Grid */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--nm-shadow-flat);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-green-deep);
    user-select: none;
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Whitelist Urgent Form section */
.whitelist-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.whitelist-form-box {
    padding: 40px;
    border-radius: 28px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.whitelist-urgency-banner {
    background: rgba(217, 4, 41, 0.05);
    border: 1px solid rgba(217, 4, 41, 0.1);
    color: var(--accent-red);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.whitelist-pioneer-price {
    text-align: center;
    margin: 20px 0;
    padding: 14px;
    background: var(--bg-darker);
    border-radius: 12px;
    box-shadow: var(--nm-shadow-inset);
}

.price-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.price-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--brand-green-deep);
}

.price-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Blog Previews */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--nm-shadow-inset);
    margin-bottom: 20px;
}

.blog-img-wrapper img {
    width: 100%;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand-green-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-read-more:hover {
    color: var(--brand-green-deep);
}

/* SEO Post Page Styles */
.blog-post-header {
    padding: 60px 24px;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(56, 176, 0, 0.03), transparent 40%);
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.blog-post-banner {
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--nm-shadow-flat);
    margin-bottom: 40px;
}

.blog-post-banner img {
    border-radius: 16px;
    width: 100%;
}

.blog-post-body {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.blog-post-body p {
    margin-bottom: 24px;
}

.blog-post-body h2 {
    font-size: 1.6rem;
    margin: 40px 0 16px;
}

.blog-post-body h3 {
    font-size: 1.3rem;
    margin: 30px 0 12px;
}

.blog-post-body ul, .blog-post-body ol {
    margin: 0 0 24px 24px;
}

.blog-post-body li {
    margin-bottom: 8px;
}

.blog-post-body blockquote {
    border-left: 4px solid var(--brand-green-light);
    padding: 16px 24px;
    margin: 30px 0;
    background: var(--bg-darker);
    border-radius: 0 16px 16px 0;
    font-style: italic;
}

/* Footer styling */
footer {
    background: #111512;
    color: #a0b0a5;
    padding: 80px 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.footer-social-icon:hover {
    background: var(--brand-green-light);
    color: #ffffff;
}

.footer-links-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 0.9rem;
    color: #a0b0a5;
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 10px rgba(56, 176, 0, 0.5); }
    100% { transform: scale(0.9); opacity: 0.8; }
}

@keyframes flash {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid, .value-props-grid, .whitelist-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid, .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-tab-content.active {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .estimator-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        flex-direction: column;
        padding: 30px 24px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .features-grid, .blog-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .select-card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =====================================================
   NEW COMPONENTS — Login Modal, Dashboard, Congrats
===================================================== */

/* Modal icon wrapper */
.modal-icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--brand-green-light);
}

/* Fade out animation for modals */
.modal-fade-out {
    animation: fadeOut 0.28s ease-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.96); }
}

/* ----------------------------
   LOGIN MODAL WITH FIELDS
----------------------------- */
.login-modal-card {
    max-width: 440px;
    text-align: left;
}

.login-modal-card h3 {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.login-modal-card > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.login-modal-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.password-field-wrap {
    position: relative;
}

.password-field-wrap .nm-input {
    padding-right: 52px;
}

.toggle-pw-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.toggle-pw-btn:hover {
    color: var(--brand-green-deep);
}

/* ----------------------------
   LOGIN INLINE PANEL (inside form-box)
----------------------------- */
.login-inline-panel {
    text-align: center;
    padding: 24px 0;
}

.login-inline-icon {
    font-size: 2.8rem;
    color: var(--brand-green-light);
    margin-bottom: 12px;
}

.login-inline-msg {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ----------------------------
   3D CONGRATULATORY MODAL
----------------------------- */
.congrats-overlay {
    backdrop-filter: blur(6px);
}

.congrats-card {
    position: relative;
    text-align: center;
    max-width: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card) 0%, #f0f9e8 100%);
    border: 1px solid rgba(56, 176, 0, 0.15);
    animation: congratsEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes congratsEntrance {
    from { opacity: 0; transform: scale(0.5) rotateY(-20deg); }
    to   { opacity: 1; transform: scale(1) rotateY(0deg); }
}

.congrats-badge-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        var(--brand-green-light) 0deg,
        var(--brand-green-deep) 120deg,
        var(--accent-gold) 240deg,
        var(--brand-green-light) 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: rotateBadge 3s linear infinite;
    box-shadow: 0 0 20px rgba(56, 176, 0, 0.4), 0 0 40px rgba(198, 160, 82, 0.2);
}

@keyframes rotateBadge {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.congrats-badge-inner {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.congrats-emoji {
    font-size: 2.4rem;
    animation: bounce 0.8s ease infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-6px); }
}

.congrats-title {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--brand-green-deep), var(--brand-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.congrats-sub {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.congrats-sub strong {
    color: var(--brand-green-deep);
}

.congrats-sparkles {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 18px;
}

.congrats-sparkles span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: sparkle 1s ease infinite;
}

.congrats-sparkles span:nth-child(1) { background: var(--brand-green-light); animation-delay: 0s; }
.congrats-sparkles span:nth-child(2) { background: var(--accent-gold);        animation-delay: 0.2s; }
.congrats-sparkles span:nth-child(3) { background: var(--brand-green-deep);   animation-delay: 0.4s; }
.congrats-sparkles span:nth-child(4) { background: var(--accent-gold);        animation-delay: 0.6s; }
.congrats-sparkles span:nth-child(5) { background: var(--brand-green-light); animation-delay: 0.8s; }

@keyframes sparkle {
    0%, 100% { transform: scale(1);   opacity: 0.6; }
    50%       { transform: scale(1.8); opacity: 1;   }
}

.congrats-btn {
    width: 100%;
    font-size: 1rem;
}

/* ----------------------------
   PIONEER DASHBOARD — Both States
----------------------------- */
.pioneer-dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

/* Header with avatar */
.pdb-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-darker);
    border-radius: 20px;
    box-shadow: var(--nm-shadow-inset);
}

.pdb-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green-deep), var(--brand-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 75, 35, 0.3);
}

.pdb-avatar.pending {
    background: linear-gradient(135deg, #c6a052, #e0b96a);
    box-shadow: 0 4px 14px rgba(198, 160, 82, 0.3);
}

.pdb-greeting h3 {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.pdb-greeting p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pdb-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-green-light);
    background: rgba(56, 176, 0, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.pdb-tag.pending-tag {
    color: var(--accent-gold);
    background: rgba(198, 160, 82, 0.12);
}

/* Status Card */
.pioneer-status-card {
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--nm-shadow-flat);
    background: var(--bg-card);
}

.pioneer-status-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pioneer-status-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Activated (green glow) card */
.activated-card {
    border: 1px solid rgba(56, 176, 0, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, #edfaec 100%);
}

.status-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-green-light);
}

.status-dot.pulsing {
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(56, 176, 0, 0.6);
}

.status-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-green-light);
}

.activated-shield {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 176, 0, 0.1);
    border: 1px solid rgba(56, 176, 0, 0.2);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-green-deep);
    margin-top: 8px;
}

/* Payment card */
.payment-card {
    border: 1px solid rgba(198, 160, 82, 0.2);
}

.fee-display-block {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 75, 35, 0.04), rgba(56, 176, 0, 0.06));
    border: 1px solid rgba(56, 176, 0, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
}

.fee-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.fee-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    line-height: 1;
    margin-bottom: 6px;
}

.fee-note {
    font-size: 0.75rem;
    color: var(--accent-red);
    margin: 0;
}

.pay-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
}

/* Earnings Teaser Section in Dashboard */
.earnings-teaser-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--nm-shadow-flat);
}

.earnings-teaser-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.earnings-teaser-header h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.earnings-teaser-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.teaser-toggle-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 0.85rem;
}

.dashboard-estimator {
    animation: fadeIn 0.3s ease-out;
}

.db-results-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.db-result-box {
    background: var(--bg-darker);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--nm-shadow-inset);
}

.db-result-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.db-result-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-green-deep);
}

.monthly-box .db-result-val {
    color: var(--brand-green-light);
    font-size: 1.8rem;
}

/* Coach Connect Section (Activated users) */
.coach-connect-section {
    background: linear-gradient(135deg, rgba(0, 75, 35, 0.04), rgba(56, 176, 0, 0.06));
    border: 1px solid rgba(56, 176, 0, 0.12);
    border-radius: 20px;
    padding: 24px;
}

.coach-cta-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.coach-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coach-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.whatsapp-btn {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.telegram-btn {
    background: #229ED9;
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.25);
}

.telegram-btn:hover {
    background: #1a8fc4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 158, 217, 0.35);
}

.commence-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--brand-green-deep), #006a33);
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 75, 35, 0.35);
}

.commence-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 75, 35, 0.45);
    transform: translateY(-3px);
}
