/* --- Design System & Variables (Cursor/Linear/Vercel inspired) --- */
:root {
    /* Neutral Palette */
    --bg-dark: #08090b;
    --bg-dark-card: #121316;
    --bg-light: #ffffff;
    --bg-light-card: #f7f8fa;
    
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #e5e7eb;
    
    --text-dark: #f3f4f6;
    --text-dark-muted: #8e919a;
    --text-light: #111317;
    --text-light-muted: #646872;
    
    /* Subtle Accents (Use sparingly) */
    --cyan: #06b6d4;
    --blue: #2563eb;
    --violet: #8b5cf6;
    --green: #10b981;
    
    /* Layout Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Global Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset Rules --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-dark);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.hidden {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: inherit;
}

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

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-dark-muted); }
.white-section .text-muted { color: var(--text-light-muted); }
.highlight-cyan { color: var(--cyan); }
.text-cyan { color: var(--cyan); }
.text-violet { color: var(--violet); }
.text-blue { color: var(--blue); }

section {
    padding: 7rem 0;
    position: relative;
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-dark);
}

.white-section {
    background-color: var(--bg-light);
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
}

.section-headline {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.section-subheadline {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 3rem auto;
    color: var(--text-dark-muted);
}

.white-section .section-subheadline {
    color: var(--text-light-muted);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-size: 0.9rem;
    outline: none;
}

/* Dark Section Button Overrides */
.btn-primary {
    background: #ffffff;
    color: var(--bg-dark);
    border-color: #ffffff;
}

.btn-primary:hover {
    background: #e5e7eb;
    border-color: #e5e7eb;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: var(--border-dark);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* White Section Button Overrides */
.white-section .btn-primary {
    background: var(--text-light);
    color: #ffffff;
    border-color: var(--text-light);
}

.white-section .btn-primary:hover {
    background: #27272a;
    border-color: #27272a;
}

.white-section .btn-secondary {
    background: #ffffff;
    color: var(--text-light);
    border-color: var(--border-light);
}

.white-section .btn-secondary:hover {
    background: var(--bg-light-card);
}

.btn-large {
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
}

.btn-full-width {
    width: 100%;
}

.btn-small {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

/* --- Header & Navbar --- */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark-muted);
}

.nav-link:hover, .nav-link.active-nav-item {
    color: #ffffff;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 1.5px;
    background-color: #ffffff;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 9rem;
    padding-bottom: 4.5rem;
    background: radial-gradient(ellipse at top, #16171d 0%, var(--bg-dark) 70%);
}

.badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    max-width: 850px;
    margin: 0 auto 1.25rem auto;
    letter-spacing: -0.04em;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-trust {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    margin-bottom: 3.5rem;
}

/* --- Interactive Mockup Dashboard --- */
.dashboard-mockup-wrapper {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dashboard-header {
    background: rgba(24, 25, 29, 0.5);
    border-bottom: 1px solid var(--border-dark);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.window-dots {
    display: flex;
    gap: 0.35rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #3f3f46; }
.dot-yellow { background: #27272a; }
.dot-green { background: #18181b; }

.dashboard-tabs {
    display: flex;
    gap: 0.25rem;
}

.mockup-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dark-muted);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
}

.mockup-tab-btn:hover {
    color: #ffffff;
}

.mockup-tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.user-quota-mini {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
}

.quota-value {
    color: #ffffff;
    font-weight: 500;
}

.dashboard-content-area {
    padding: 1.25rem;
    background-color: #0b0c0e;
    min-height: 360px;
}

.mockup-tab-content {
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.mockup-tab-content.active {
    display: block;
}

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

/* Studio Workspace Tab */
.production-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.25rem;
}

.card-title-mini {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mockup-textarea {
    width: 100%;
    height: 140px;
    background: #121316;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 0.65rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.85rem;
    resize: none;
    margin-bottom: 0.75rem;
    outline: none;
}

.asset-model-selector {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.mock-select {
    background: #121316;
    border: 1px solid var(--border-dark);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    outline: none;
}

.prod-output-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark-muted);
}

.status-indicator {
    color: var(--cyan);
}

.scenes-scroller {
    height: 180px;
    overflow-y: auto;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background: #121316;
    padding: 0.4rem;
    margin-bottom: 0.75rem;
}

.scenes-scroller::-webkit-scrollbar {
    width: 4px;
}
.scenes-scroller::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.scene-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.scene-num {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

.scene-info {
    flex: 1;
}

.scene-script {
    font-size: 0.75rem;
    color: var(--text-dark);
}

.scene-asset-tags {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.asset-tag {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dark-muted);
    font-size: 0.65rem;
    padding: 0.05rem 0.35rem;
    border-radius: 20px;
}

.scene-thumb-placeholder {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.timeline-bar-mock {
    font-size: 0.7rem;
}

.timeline-ticks {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark-muted);
    margin-bottom: 0.15rem;
}

.timeline-track {
    height: 26px;
    border-radius: var(--radius-sm);
    display: flex;
    overflow: hidden;
    border: 1px solid var(--border-dark);
}

.timeline-block {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 500;
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-gradient {
    background: rgba(255, 255, 255, 0.03);
}

/* Cinem Max Tab */
.seo-tab-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.25rem;
}

.mockup-input {
    width: 100%;
    background: #121316;
    border: 1px solid var(--border-dark);
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

.seo-input-group {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.competitor-list-mini {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-dark-muted);
}

.competitor-list-mini li {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.scorecard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.score-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.score-num {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
}

.score-label {
    font-size: 0.65rem;
    color: var(--text-dark-muted);
}

.seo-pack-preview {
    background: #121316;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 0.65rem;
}

.seo-pack-preview strong {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.seo-pack-text {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-dark-muted);
    white-space: pre-wrap;
}

/* NPlus Tab */
.niche-tab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.calc-row {
    margin-bottom: 0.75rem;
}

.calc-row label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dark-muted);
    margin-bottom: 0.25rem;
}

.slider {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 4px;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.views-value-display {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 0.15rem;
}

.estimated-revenue-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 0.75rem;
}

.rev-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-dark-muted);
}

.rev-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.intelligence-signals {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-dark-muted);
}

.intelligence-signals li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.intelligence-signals li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--text-dark-muted);
}

/* API status layout */
.api-vault-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.25rem;
}

.vault-text-desc {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
    margin-bottom: 0.75rem;
}

.active-keys-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.key-status-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.key-badge {
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-sm);
    font-size: 0.6rem;
    font-weight: bold;
}

.badge-green { background: rgba(16, 185, 129, 0.1); color: var(--green); }

.log-console {
    background: #121316;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 0.65rem;
    font-family: monospace;
    font-size: 0.7rem;
    height: 160px;
    overflow-y: auto;
    color: var(--text-dark-muted);
}

.log-console p {
    margin-bottom: 0.25rem;
}

/* --- How It Works Section --- */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: left;
}

.step-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark-muted);
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

/* --- Feature Grid Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    text-align: left;
}

.feature-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: #a1a1aa;
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-light-muted);
}

/* --- BYOK Section Layout --- */
.byok-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    text-align: left;
}

.byok-provider-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.byok-provider-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.provider-desc {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

.byok-note {
    font-size: 0.8rem;
    margin-top: 2rem;
}

/* --- Dual Column Layout (Max / NPlus) --- */
.dual-column-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.dual-column-layout.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.dual-column-layout.reverse .layout-text {
    order: 2;
}
.dual-column-layout.reverse .layout-visual {
    order: 1;
}

.section-mini-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.badge-violet { background: rgba(139, 92, 246, 0.1); color: #a78bfa; }
.badge-cyan { background: rgba(6, 182, 212, 0.1); color: #22d3ee; }
.badge-blue { background: rgba(37, 99, 235, 0.1); color: #60a5fa; }

.layout-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-lead-text {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.check-list-icon {
    list-style: none;
    margin-bottom: 1.5rem;
}

.check-list-icon li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.check-list-icon li span {
    color: var(--cyan);
}

.white-section .check-list-icon li span {
    color: var(--violet);
}

/* Max Visuals */
.analytics-card {
    background: #121316;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.card-header {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.radar-competitor-row {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.comp-tag {
    color: var(--text-dark-muted);
    margin-right: 0.35rem;
}

.stats-pills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 0.35rem;
    font-size: 0.7rem;
    flex: 1;
    text-align: center;
}

.pill-title {
    display: block;
    color: var(--text-dark-muted);
}

.pill-value {
    font-weight: bold;
}

.audit-recommendation-box {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
}

.rec-title {
    font-weight: bold;
    color: #a78bfa;
    margin-bottom: 0.15rem;
}

/* NPlus Visuals */
.niche-card-visual {
    background: #121316;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.niche-card-header {
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.niche-table-container {
    overflow-x: auto;
}

.niche-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.niche-table th {
    text-align: left;
    padding: 0.35rem 0.5rem;
    color: var(--text-dark-muted);
    border-bottom: 1px solid var(--border-dark);
}

.niche-table td {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.high-score td { color: var(--green); font-weight: 500; }
.medium-score td { color: #ffffff; }
.low-score td { color: var(--text-dark-muted); }

/* --- Extensions Marketing Section --- */
.extensions-marketing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.ext-marketing-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ext-marketing-card h3 {
    font-size: 1.1rem;
    color: var(--text-light);
}

.ext-pill {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    border: 1px solid transparent;
}

.ext-pill.free {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    border-color: rgba(16, 185, 129, 0.2);
}

.ext-marketing-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ext-marketing-card p {
    font-size: 0.85rem;
    color: var(--text-light-muted);
}

.ext-marketing-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ext-marketing-card ul li {
    font-size: 0.8rem;
    position: relative;
    padding-left: 1rem;
    color: var(--text-light);
}

.ext-marketing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--violet);
    font-weight: bold;
}

.ext-badge-group {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.ext-pill.byok {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
    border-color: rgba(37, 99, 235, 0.2);
}

.ext-pill.meta {
    background: rgba(139, 92, 246, 0.1);
    color: var(--violet);
    border-color: rgba(139, 92, 246, 0.2);
}

.ext-pill.gemini {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    border-color: rgba(6, 182, 212, 0.2);
}

.ext-pill.soon {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.2);
}

.ext-pill.grok {
    background: #121316;
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.ext-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.ext-note {
    font-size: 0.7rem;
    color: var(--text-light-muted);
    margin-top: 0.25rem;
    line-height: 1.3;
}

/* --- Pricing Section --- */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 34px;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--blue);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.discount-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 99px;
    font-weight: bold;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    border-radius: 99px;
}

.plan-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.plan-desc {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 0.9rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.duration {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 1.75rem;
    flex: 1;
}

.plan-features li {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.plan-features li.disabled {
    color: var(--text-dark-muted);
    opacity: 0.35;
}

.pricing-guarantee-badges {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    flex-wrap: wrap;
}

/* --- Payment Section Layout --- */
.payment-steps-layout {
    display: grid;
    grid-template-columns: 1.12fr 1.88fr;
    gap: 3rem;
    margin-top: 1rem;
    text-align: left;
}

.payment-instructions h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.step-ol {
    list-style: none;
    counter-reset: item;
}

.step-ol li {
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2rem;
}

.step-ol li::before {
    content: counter(item) "";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--text-light);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
}

.step-ol li strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.step-ol li p {
    font-size: 0.85rem;
    color: var(--text-light-muted);
}

.payment-form-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.payment-form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: #9ea1a6;
}

.form-control-file {
    font-size: 0.8rem;
}

.payment-status-message {
    text-align: center;
    padding: 1.5rem 0;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.payment-status-message h4 {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.payment-status-message p {
    font-size: 0.85rem;
    color: var(--text-light-muted);
    margin-bottom: 1.25rem;
}

/* --- FAQ Section --- */
.faq-accordion-wrapper {
    max-width: 760px;
    margin: 1rem auto 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--border-dark);
    padding: 1rem 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.35rem 0;
    outline: none;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--cyan);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.faq-answer p {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    padding: 0.5rem 0;
    line-height: 1.6;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-dark-muted);
}

/* --- Final CTA Section --- */
.final-cta-section {
    padding: 6rem 0;
    background: radial-gradient(circle at bottom, #16171d 0%, var(--bg-dark) 80%);
}

/* --- Footer --- */
.footer-wrapper {
    background: #060708;
    border-top: 1px solid var(--border-dark);
    padding: 4rem 0 1.5rem 0;
    text-align: left;
    font-size: 0.8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    gap: 2.5rem;
}

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

.brand-desc {
    font-size: 0.8rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-links-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links-col a, .footer-links-col p {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    margin-bottom: 0.6rem;
}

.footer-links-col a:hover {
    color: #ffffff;
}

.footer-email {
    color: #ffffff !important;
    font-weight: 500;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-dark);
}

/* --- Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-dark-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.payment-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.account-card {
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-dark);
}

.card-easypaisa {
    background: rgba(16, 185, 129, 0.05);
}

.card-jazzcash {
    background: rgba(249, 115, 22, 0.05);
}

.wallet-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}
.wallet-badge.ep { background: var(--green); color: #ffffff; }
.wallet-badge.jc { background: #ea580c; color: #ffffff; }

.acc-details {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.acc-details .label {
    color: var(--text-dark-muted);
}

.modal-alert-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.85rem;
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
    color: #f59e0b;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .section-headline {
        font-size: 2rem;
    }
    .hero-headline {
        font-size: 2.5rem;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-dark);
        z-index: 99;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-cta-group {
        flex-direction: column;
        width: 80%;
        gap: 0.75rem;
    }
    .nav-login-btn, .nav-cta-group .btn-primary {
        width: 100%;
    }
    
    /* Columns collapse on mobile */
    .production-layout,
    .seo-tab-layout,
    .niche-tab-layout,
    .api-vault-layout,
    .how-it-works-steps,
    .features-grid,
    .extensions-marketing-grid,
    .byok-grid,
    .pricing-grid,
    .payment-steps-layout,
    .footer-grid,
    .dual-column-layout,
    .dual-column-layout.reverse {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .dual-column-layout.reverse .layout-text {
        order: 1;
    }
    .dual-column-layout.reverse .layout-visual {
        order: 2;
    }
    .dashboard-tabs {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.25rem;
    }
    .window-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    .hero-ctas {
        flex-direction: column;
        padding: 0 1rem;
    }
}


