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

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

:root {
    --bg: #0a0a0a;
    --bg-card: #111111;
    --border: #222222;
    --border-hover: #333333;
    --text-primary: #f0f0f0;
    --text-secondary: #888888;
    --text-hint: #444444;
    --amber: #f59e0b;
    --amber-hover: #fbbf24;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }

header {
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img { height: 28px; width: auto; }

.logo-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--amber);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.nav a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.15s;
}

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

.btn-nav {
    background: var(--amber) !important;
    color: #0a0a0a !important;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px !important;
    font-weight: 600;
    transition: background 0.15s !important;
}

.btn-nav:hover { background: var(--amber-hover) !important; }

main {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 4rem 2rem 5rem;
    flex: 1;
}

.hero-section { margin-bottom: 4rem; }

.hero-badge {
    display: inline-block;
    background: rgba(245,158,11,0.1);
    color: var(--amber);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(245,158,11,0.2);
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-sub {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    background: var(--amber);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    display: inline-block;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-hint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.tools-section { margin-bottom: 4rem; }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s;
    position: relative;
}

.tool-card:hover { border-color: var(--border-hover); }

.tool-coming-soon { opacity: 0.5; cursor: default; }

.tool-icon {
    width: 40px;
    height: 40px;
    background: rgba(245,158,11,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    font-size: 18px;
    flex-shrink: 0;
}

.tool-info h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.tool-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tool-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(245,158,11,0.1);
    color: var(--amber);
    border: 1px solid rgba(245,158,11,0.2);
}

.tool-badge-soon {
    background: var(--bg);
    color: var(--text-hint);
    border-color: var(--border);
}

.why-section { margin-bottom: 4rem; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.why-icon {
    font-size: 20px;
    margin-bottom: 0.75rem;
}

.why-card h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.why-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-sub {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 1.5rem;
}

.auth-error {
    background: #1a0a0a;
    border: 1px solid #5a1a1a;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #f87171;
    margin-bottom: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.15s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--amber);
}

.form-group input::placeholder { color: var(--text-hint); }

.auth-form .btn-primary { width: 100%; text-align: center; padding: 12px; }

.auth-switch {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0.75rem;
}

.auth-switch a { color: var(--amber); }

.auth-legal {
    font-size: 12px;
    color: var(--text-hint);
    text-align: center;
    line-height: 1.6;
}

.auth-legal a { color: var(--text-hint); text-decoration: underline; }

.dashboard-hero { margin-bottom: 2rem; }

.dashboard-hero h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.card-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-hint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

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

.plan-name-display {
    font-size: 18px;
    font-weight: 600;
    color: var(--amber);
}

.btn-upgrade {
    background: var(--amber);
    color: #0a0a0a;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.15s;
}

.btn-upgrade:hover { background: var(--amber-hover); }

.tool-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.15s;
    margin: -10px;
}

.tool-link:hover { background: var(--bg); }

.tool-link-icon {
    width: 36px;
    height: 36px;
    background: rgba(245,158,11,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    font-size: 16px;
    flex-shrink: 0;
}

.tool-link-name {
    font-size: 14px;
    font-weight: 500;
}

.tool-link-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.tool-link-arrow {
    margin-left: auto;
    color: var(--text-hint);
}

footer {
    border-top: 1px solid var(--border);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-hint);
}

footer a {
    color: var(--text-hint);
    transition: color 0.15s;
}

footer a:hover { color: var(--text-secondary); }

@media (max-width: 600px) {
    main { padding: 2.5rem 1rem 4rem; }
    .hero-section h1 { font-size: 32px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

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

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

.plan-card-featured {
    border-color: var(--amber);
}

.plan-card-muted {
    opacity: 0.6;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber);
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.plan-badge-soon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #888;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid #333;
}

.plan-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 0.25rem;
}

.plan-amount {
    font-size: 36px;
    font-weight: 600;
}

.plan-period {
    font-size: 14px;
    color: var(--text-hint);
    margin-left: 2px;
}

.plan-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 1.5rem;
}

.plan-features li {
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check { color: var(--amber); flex-shrink: 0; }
.muted { color: #444; flex-shrink: 0; }

.btn-plan {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    text-align: center;
    display: block;
}

.btn-plan-primary {
    background: var(--amber);
    color: #0a0a0a;
    border: none;
}

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

.btn-plan-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-plan-secondary:hover {
    border-color: var(--border-hover);
}

.btn-plan-disabled {
    background: transparent;
    color: #444;
    border: 1px solid var(--border);
    cursor: not-allowed;
}

.faq-section { margin-bottom: 4rem; }

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

.faq-item h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 700px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

.tool-link-locked {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed var(--border);
}

.btn-unlock {
    margin-left: auto;
    background: var(--amber);
    color: #0a0a0a;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-unlock:hover { background: var(--amber-hover); }

.tool-selector {
    margin-bottom: 2rem;
    text-align: center;
}

.tool-selector-label {
    font-size: 12px;
    color: var(--text-hint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.tool-selector-grid {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-selector-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.15s;
}

.tool-selector-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.tool-selector-btn.active {
    border-color: var(--amber);
    color: var(--amber);
    background: rgba(245, 158, 11, 0.05);
}

.tool-selector-soon {
    opacity: 0.4;
    cursor: not-allowed !important;
}

.tool-selector-icon {
    font-size: 16px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    border-top: 1px solid #222;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 1000;
    font-size: 13px;
    color: #888;
}

.cookie-banner a {
    color: #f59e0b;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-accept {
    background: #f59e0b;
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: Inter, sans-serif;
}

.cookie-decline {
    background: transparent;
    color: #666;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: 13px;
    cursor: pointer;
    font-family: Inter, sans-serif;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}