* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0a0a14;
    color: #e0e0e0;
    line-height: 1.5;
}

a {
    color: #a99ff0;
}

a:hover {
    color: #c4bbf5;
}

/* ===========================
   DASHBOARD NAV
   =========================== */

.dashboard-nav {
    background: #0d0d1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-nav-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.logout {
    color: #ff6b6b;
}

.nav-link.logout:hover {
    color: #ff8a8a;
}

/* ===========================
   DASHBOARD MAIN
   =========================== */

.dashboard-main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.dashboard-main h1 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
}

.dashboard-main h2 {
    font-size: 1.1rem;
    color: #ccc;
}

/* ===========================
   FORMS (dark theme)
   =========================== */

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ccc;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #e0e0e0;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.help-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

button,
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

button:hover,
.btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
}

.btn.btn-accent {
    background: #6c5ce7;
    color: #fff;
    border-color: #6c5ce7;
}

.btn.btn-accent:hover {
    background: #5b4bd5;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===========================
   FLASH MESSAGES
   =========================== */

.flash {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.flash.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.2);
}

.flash.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.2);
}

.flash.warning {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border-color: rgba(241, 196, 15, 0.2);
}

.flash.info {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.2);
}

.flash a {
    color: inherit;
    text-decoration: underline;
}

/* ===========================
   LOGIN PAGE (dark)
   =========================== */

.login-container {
    max-width: 400px;
    margin: 6rem auto;
    padding: 2.5rem;
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-align: center;
}

.login-container h1 {
    margin-bottom: 0.25rem;
    color: #fff;
}

.login-container .logo-icon {
    color: #6c5ce7;
}

.subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.login-hint {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.login-hint a {
    color: #a99ff0;
    text-decoration: none;
}

.login-hint a:hover {
    color: #c4bbf5;
}

/* ===========================
   SUBSCRIPTION BANNER
   =========================== */

.subscription-banner {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(108, 92, 231, 0.05));
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.subscription-banner h3 {
    color: #fff;
    margin-bottom: 0.25rem;
}

.subscription-banner p {
    color: #888;
    font-size: 0.9rem;
}

/* ===========================
   DASHBOARD CONFIG SECTIONS
   =========================== */

.config-section {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
}

.section-content table {
    width: 100%;
}

.section-content td {
    padding: 0.5rem 0;
    color: #ccc;
}

.section-content td:first-child {
    color: #888;
    width: 40%;
}

.keyword-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-list li {
    background: rgba(108, 92, 231, 0.12);
    color: #a99ff0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.empty-state {
    color: #555;
    font-style: italic;
}

.custom-prompt {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.custom-prompt strong {
    color: #ccc;
}

.custom-prompt pre {
    background: #0d0d1a;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.85rem;
    white-space: pre-wrap;
    color: #aaa;
    margin-top: 0.5rem;
}

.note {
    background: rgba(241, 196, 15, 0.08);
    border: 1px solid rgba(241, 196, 15, 0.15);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #f1c40f;
}

.note code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

/* ===========================
   DEFAULT PROMPT DETAILS
   =========================== */

.default-prompt-details {
    margin: 1.5rem 0;
    background: #0d0d1a;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.default-prompt-details summary {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    color: #888;
}

.default-prompt-details summary:hover {
    color: #ccc;
}

.default-prompt {
    margin: 0;
    padding: 1rem;
    background: #16162a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    color: #aaa;
}

/* ===========================
   TEST SECTION
   =========================== */

.test-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.06);
}

.test-section h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #fff;
}

.test-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(46, 204, 113, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.test-result h3 {
    margin-bottom: 0.75rem;
    color: #2ecc71;
    font-size: 1rem;
}

.test-result blockquote {
    margin: 0;
    padding: 1rem;
    background: #16162a;
    border-radius: 6px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.test-result .token-info {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #666;
}

/* Model select optgroups */
select optgroup {
    font-weight: 600;
    color: #a99ff0;
    background: #16162a;
}

select option {
    font-weight: normal;
    padding: 0.5rem;
    background: #16162a;
    color: #e0e0e0;
}

/* ===========================
   RUN PAGE
   =========================== */

.run-section {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.run-section p {
    margin-bottom: 1.5rem;
    color: #888;
}

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

.run-form .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
    color: #ccc;
}

.run-form .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.run-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
}

.run-btn:hover {
    background: #27ae60;
}

.cost-info {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    color: #3498db;
}

/* ===========================
   RUN PROGRESS
   =========================== */

.run-progress-section {
    background: #16162a;
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.progress-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cancel {
    padding: 0.4rem 1rem;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 6px;
    color: #e74c3c;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel:hover {
    background: rgba(231, 76, 60, 0.25);
}

.btn-cancel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.progress-header h2 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
}

.progress-status {
    font-size: 0.85rem;
    color: #a99ff0;
}

.progress-bar-wrap {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    border-radius: 4px;
    transition: width 0.5s ease;
}

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

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

.progress-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.progress-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ccc;
}

@media (max-width: 768px) {
    .progress-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   RESULTS
   =========================== */

.results-section {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.results-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.results-summary .count {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.2);
}

.badge.warning {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border-color: rgba(241, 196, 15, 0.2);
}

.cost-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    font-weight: 500;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.lead-cost {
    margin-left: auto;
    font-size: 0.8rem;
    color: #666;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.leads-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
}

.lead-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.lead-header .author {
    font-weight: 600;
    color: #a99ff0;
    text-decoration: none;
}

.lead-header .author:hover {
    text-decoration: underline;
    color: #c4bbf5;
}

.lead-header .followers {
    font-size: 0.85rem;
    color: #666;
}

.lead-tweet {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #6c5ce7;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #ccc;
}

.lead-reply {
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid rgba(46, 204, 113, 0.15);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.lead-reply strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2ecc71;
    font-size: 0.9rem;
}

.lead-reply p {
    margin: 0;
    color: #ccc;
}

.lead-actions {
    display: flex;
    gap: 0.5rem;
}

.btn.small {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: #555;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.error-section {
    background: #16162a;
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.error-section h2 {
    color: #e74c3c;
}

.error-section pre {
    background: #0d0d1a;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    color: #e74c3c;
}

.back-link {
    margin-top: 2rem;
}

.back-link a {
    color: #666;
    text-decoration: none;
}

.back-link a:hover {
    color: #a99ff0;
}

/* ===========================
   RUN NOW BUTTON ON DASHBOARD
   =========================== */

.run-now-info h2 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #fff;
}

.run-now-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* ===========================
   SUBSCRIBE PAGE
   =========================== */

.page-subtitle {
    color: #888;
    margin-bottom: 2rem;
}

.subscribe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.subscribe-card {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.subscribe-card-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.subscribe-card-header h2 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.subscribe-card-header p {
    color: #888;
    font-size: 0.9rem;
}

.subscribe-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.subscribe-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ccc;
}

.subscribe-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.subscribe-price .amount-small {
    font-size: 1rem;
    color: #888;
    margin-right: 0.25rem;
}

.subscribe-price .period {
    font-size: 1rem;
    color: #666;
}

.subscribe-card-body {
    padding: 2rem;
}

.subscribe-card-body .plan-features {
    margin-bottom: 2rem;
}

.payment-provider {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

.btn-crypto {
    background: #f7931a;
    border-color: #f7931a;
}

.btn-crypto:hover {
    background: #e8851a;
    border-color: #e8851a;
}

/* ===========================
   CRYPTO PAYMENT PAGE
   =========================== */

.crypto-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.tier-card {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.tier-card.tier-popular {
    border-color: #6c5ce7;
    background: rgba(108, 92, 231, 0.08);
}

.tier-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #6c5ce7;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.tier-duration {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.tier-savings {
    font-size: 0.85rem;
    color: #2ecc71;
    margin-bottom: 1rem;
    min-height: 1.2rem;
}

.crypto-info {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.crypto-info h3 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.crypto-info p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.crypto-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.crypto-badge {
    background: rgba(247, 147, 26, 0.1);
    color: #f7931a;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(247, 147, 26, 0.2);
}

/* ===========================
   SUBSCRIPTION STATUS PAGE
   =========================== */

.subscription-status-card {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-header h2 {
    color: #fff;
    margin: 0;
}

.status-badge {
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.25);
}

.status-badge.expired {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.status-details {
    margin-bottom: 1.5rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.status-row:last-child {
    border-bottom: none;
}

.status-label {
    color: #888;
}

.status-value {
    color: #ccc;
}

.status-value a {
    color: #a99ff0;
}

.status-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Payment history table */
.payments-table {
    width: 100%;
    border-collapse: collapse;
}

.payments-table th {
    text-align: left;
    padding: 0.75rem 0;
    color: #888;
    font-weight: 500;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.payments-table td {
    padding: 0.75rem 0;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.payment-status {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.payment-status.completed {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.payment-status.pending {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

/* ===========================
   LANDING PAGE STYLES
   =========================== */

.landing-page {
    background: #0a0a14;
    color: #e0e0e0;
}

/* Landing Nav */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    color: #6c5ce7;
    font-size: 1.1rem;
}

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

.nav-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-btn {
    background: rgba(108, 92, 231, 0.15);
    color: #a99ff0 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    transition: all 0.2s;
}

.nav-btn:hover {
    background: rgba(108, 92, 231, 0.25) !important;
    color: #c4bbf5 !important;
}

/* Hero Section */
.hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 100px;
    color: #a99ff0;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.2rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary-lg {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary-lg:hover {
    background: #5b4bd5;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
    color: #fff;
}

.btn-ghost-lg {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: #999;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-ghost-lg:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.hero-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.proof-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.proof-label {
    font-size: 0.85rem;
    color: #666;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* Sections */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    color: #a99ff0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.how-it-works,
.features-section,
.comparison-section,
.pricing-section,
.faq-section {
    padding: 6rem 0;
}

.how-it-works {
    background: #0d0d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.features-section {
    background: #0a0a14;
}

.pricing-section {
    background: #0d0d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-section {
    background: #0a0a14;
}

.how-it-works h2,
.features-section h2,
.comparison-section h2,
.pricing-section h2,
.faq-section h2,
.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(108, 92, 231, 0.2);
    transform: translateY(-2px);
}

.step-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c5ce7;
    background: rgba(108, 92, 231, 0.12);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(108, 92, 231, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Pricing */
.pricing-sub {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.pricing-card-pro {
    border-color: rgba(108, 92, 231, 0.3);
}

.pricing-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
}

.pro-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 100px;
    color: #a99ff0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.pricing-card-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-name {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a99ff0;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ccc;
}

.plan-price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.plan-price .period {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.plan-desc {
    color: #888;
    font-size: 0.95rem;
}

.pricing-card-body {
    padding: 2rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
    font-size: 0.95rem;
}

.plan-features .check {
    color: #6c5ce7;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.plan-note {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Payment method badges */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

.crypto-callout {
    text-align: center;
    margin-top: 2rem;
}

.crypto-callout p {
    color: #888;
    font-size: 0.95rem;
    background: rgba(247, 147, 26, 0.06);
    border: 1px solid rgba(247, 147, 26, 0.15);
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.75rem;
}

.faq-item h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.landing-footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #0a0a14;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-copy {
    color: #555;
    font-size: 0.85rem;
}

.footer-copy a {
    color: #888;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #a99ff0;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #16162a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
    background: none;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #888;
    font-size: 0.95rem;
}

.modal-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #b89b30;
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.5;
    background: rgba(184, 155, 48, 0.08);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(184, 155, 48, 0.15);
}

.warning-icon {
    flex-shrink: 0;
}

/* Token Display */
.modal-success {
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(46, 204, 113, 0.12);
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 50%;
    color: #2ecc71;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.token-display {
    background: #0a0a14;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.token-display code {
    flex: 1;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #a99ff0;
    word-break: break-all;
    text-align: left;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: #5b4bd5;
}

.copy-btn.copied {
    background: #2ecc71;
}

.token-warnings {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.warning-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #999;
    font-size: 0.9rem;
}

/* Comparison Section */
.comparison-section {
    background: #0d0d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table-wrap {
    margin-top: 3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
    color: #888;
}

.comparison-table thead th {
    font-weight: 600;
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 1.25rem;
}

.comparison-table .row-label {
    font-weight: 600;
    color: #ccc;
}

.comparison-table .highlight-col {
    color: #a99ff0;
    font-weight: 600;
    background: rgba(108, 92, 231, 0.06);
}

.comparison-table thead th.highlight-col {
    color: #a99ff0;
    background: rgba(108, 92, 231, 0.08);
    border-radius: 8px 8px 0 0;
}

.comparison-table tbody tr:last-child td.highlight-col {
    border-radius: 0 0 8px 8px;
}

/* Closing CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, #0a0a14 0%, #12122a 50%, #0a0a14 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .section-inner {
    position: relative;
}

.cta-sub {
    font-size: 1.15rem;
    color: #888;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

/* Trial Badge */
.trial-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.25);
    border-radius: 100px;
    color: #2ecc71;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-proof {
        flex-direction: column;
        gap: 1.5rem;
    }

    .proof-divider {
        width: 40px;
        height: 1px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .nav-links a:not(.nav-btn) {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        margin: 0 -0.5rem;
    }

    .how-it-works h2,
    .features-section h2,
    .comparison-section h2,
    .pricing-section h2,
    .faq-section h2,
    .cta-section h2 {
        font-size: 1.75rem;
    }

    .subscribe-grid {
        grid-template-columns: 1fr;
    }

    .crypto-tiers {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscription-banner {
        flex-direction: column;
        text-align: center;
    }

    .status-actions {
        flex-direction: column;
    }

    .nav-right {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .crypto-tiers {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}
