:root {
    --bg-color: #0b0f17;
    --card-bg: #141b28;
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-gold: #f59e0b;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    border-bottom: 1px solid var(--card-border);
    padding: 18px 0;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    background: rgba(11, 15, 23, 0.85);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: 20px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.badge {
    font-size: 11px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

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

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--text-main);
}

/* Hero */
.hero {
    padding: 80px 0 50px;
    text-align: center;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Quick Connect Banner */
.quick-connect-banner {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.12) 0%, rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid rgba(10, 132, 255, 0.35);
    border-radius: 14px;
    padding: 20px 24px;
    margin: 0 auto 28px;
    max-width: 740px;
    text-align: left;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.quick-connect-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.quick-connect-icon {
    font-size: 26px;
    line-height: 1;
}

.quick-connect-title-group {
    display: flex;
    flex-direction: column;
}

.quick-connect-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.quick-connect-sub {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

.quick-connect-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-connect-inputs input {
    flex: 1;
    min-width: 180px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.quick-connect-inputs input:focus {
    border-color: #0a84ff;
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);
}

.quick-connect-inputs input#quickDevId {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: 1px;
    color: #38bdf8;
}

.btn-quick-go {
    background: #0a84ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-quick-go:hover {
    background: #0071e3;
    transform: translateY(-1px);
}

/* Installer Card */
.installer-card {
    background: #0f1523;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 auto 36px;
    max-width: 740px;
    text-align: left;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.installer-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.installer-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #080b11;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.installer-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #38bdf8;
    overflow-x: auto;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    margin-left: 12px;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.2);
}

.installer-footer {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.installer-footer code {
    color: #93c5fd;
}

/* Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, transform 0.1s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--card-border);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, border-color 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

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

/* Payment Badges */
.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.pay-badge {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Features */
.features {
    padding: 80px 0;
    border-top: 1px solid var(--card-border);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    border-top: 1px solid var(--card-border);
    background: rgba(20, 27, 40, 0.4);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #182235 0%, #141b28 100%);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.pricing-tier {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
}

.pricing-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    min-height: 42px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 14px;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.btn-buy {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-buy:hover {
    background: rgba(255, 255, 255, 0.2);
}

.featured-btn {
    background: var(--primary);
}

.featured-btn:hover {
    background: var(--primary-hover);
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 36px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}
