/* ============================================================
   ThumbGen.pro — SEO landing page styles
   Lightweight standalone stylesheet (does not load the app CSS)
   ============================================================ */

:root {
    --yt-bg: #080b12;
    --yt-surface: #111827;
    --yt-surface-hover: #1e293b;
    --yt-border: rgba(148, 163, 184, 0.10);
    --accent-cyan: #22d3ee;
    --accent-coral: #fb923c;
    --accent-violet: #a78bfa;
    --accent-emerald: #34d399;
    --accent-rose: #fb7185;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-disabled: #64748b;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--yt-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Ambient background glow */
.seo-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 40% at 15% 0%, rgba(34, 211, 238, 0.07), transparent 60%),
        radial-gradient(ellipse 50% 35% at 85% 10%, rgba(167, 139, 250, 0.07), transparent 60%),
        var(--yt-bg);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* ---------- Nav ---------- */
.seo-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 11, 18, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--yt-border);
}

.seo-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.seo-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.seo-logo:hover {
    text-decoration: none;
}

.seo-logo .pro {
    color: var(--accent-cyan);
}

.seo-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    flex-wrap: wrap;
}

.seo-nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
}

.seo-nav-links a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.seo-nav-links a.active {
    color: var(--accent-cyan);
}

.seo-nav-cta {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    color: #06131a !important;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    white-space: nowrap;
}

.seo-nav-cta:hover {
    text-decoration: none;
    filter: brightness(1.1);
}

/* ---------- Layout ---------- */
.seo-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.seo-container-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.seo-section {
    padding: 56px 0;
}

.seo-section-alt {
    background: rgba(17, 24, 39, 0.4);
    border-top: 1px solid var(--yt-border);
    border-bottom: 1px solid var(--yt-border);
}

/* ---------- Hero ---------- */
.seo-hero {
    text-align: center;
    padding: 72px 0 48px;
}

.seo-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 20px;
}

.seo-hero .gradient-text,
.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.seo-hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 32px;
}

.seo-hero-sub strong {
    color: var(--text-primary);
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}

/* ---------- Buttons ---------- */
.seo-btn-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.seo-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    color: #06131a;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(34, 211, 238, 0.25);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.seo-btn-primary:hover {
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.seo-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 12px;
    transition: background 0.15s ease;
}

.seo-btn-secondary:hover {
    text-decoration: none;
    background: var(--yt-surface-hover);
}

.seo-btn-note {
    font-size: 0.82rem;
    color: var(--text-disabled);
    margin-top: 14px;
}

/* ---------- Section headings ---------- */
.seo-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-bottom: 16px;
}

.seo-section h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 28px 0 10px;
}

.seo-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.seo-section-header p {
    color: var(--text-secondary);
}

/* ---------- Prose ---------- */
.seo-prose p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.seo-prose p strong,
.seo-prose li strong {
    color: var(--text-primary);
}

.seo-prose ul,
.seo-prose ol {
    color: var(--text-secondary);
    margin: 0 0 16px 22px;
}

.seo-prose li {
    margin-bottom: 8px;
}

/* ---------- Feature grid ---------- */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.seo-card {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: 16px;
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
}

.seo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--card-glow, var(--accent-cyan)), transparent);
    opacity: 0.7;
}

.seo-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--card-glow, var(--accent-cyan)) 12%, transparent);
    color: var(--card-glow, var(--accent-cyan));
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.seo-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.seo-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
}

/* ---------- Steps ---------- */
.seo-steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 0;
}

.seo-steps li {
    counter-increment: step;
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: 16px;
    padding: 26px 24px;
}

.seo-steps li::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    color: #06131a;
    font-family: var(--font-display);
    font-weight: 800;
    margin-bottom: 14px;
}

.seo-steps h3 {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.seo-steps p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
}

/* ---------- Table ---------- */
.seo-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--yt-border);
    border-radius: 14px;
    margin: 18px 0 26px;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 480px;
}

.seo-table th {
    text-align: left;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 13px 18px;
    background: var(--yt-surface);
    border-bottom: 1px solid var(--yt-border);
    white-space: nowrap;
}

.seo-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--yt-border);
    color: var(--text-secondary);
}

.seo-table tr:last-child td {
    border-bottom: none;
}

.seo-table td strong {
    color: var(--text-primary);
}

/* ---------- Callout ---------- */
.seo-callout {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 16px;
    padding: 22px 26px;
    margin: 22px 0;
}

.seo-callout p {
    margin: 0;
    color: var(--text-primary);
}

.seo-callout .seo-callout-label {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    margin-bottom: 6px;
}

/* ---------- FAQ ---------- */
.seo-faq {
    max-width: 820px;
    margin: 0 auto;
}

.seo-faq details {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}

.seo-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
}

.seo-faq summary::-webkit-details-marker {
    display: none;
}

.seo-faq summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.seo-faq details[open] summary::after {
    transform: rotate(45deg);
}

.seo-faq .faq-a {
    padding: 0 22px 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.seo-faq .faq-a a {
    color: var(--accent-cyan);
}

/* ---------- CTA panel ---------- */
.seo-cta-panel {
    text-align: center;
    background:
        radial-gradient(ellipse 70% 120% at 50% 0%, rgba(34, 211, 238, 0.10), transparent 70%),
        var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: 22px;
    padding: 52px 32px;
}

.seo-cta-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.seo-cta-panel p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 26px;
}

/* ---------- Legal pages ---------- */
.seo-legal h2 {
    font-size: 1.2rem;
    margin: 30px 0 10px;
}

.seo-legal .legal-updated {
    color: var(--text-disabled);
    font-size: 0.85rem;
    margin-bottom: 26px;
}

/* ---------- Pricing ---------- */
.seo-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.seo-price-card {
    background: var(--yt-surface);
    border: 1px solid var(--yt-border);
    border-radius: 18px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
}

.seo-price-card.featured {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.10);
}

.seo-price-tier {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
}

.seo-price-sub {
    color: var(--text-disabled);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.seo-price-amount {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
}

.seo-price-amount span {
    font-size: 0.95rem;
    color: var(--text-disabled);
    font-weight: 500;
}

.seo-price-tokens {
    display: inline-block;
    background: rgba(251, 146, 60, 0.12);
    color: var(--accent-coral);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 999px;
    padding: 5px 14px;
    margin: 12px 0 18px;
}

.seo-price-features {
    list-style: none;
    margin: 0 0 22px;
    flex: 1;
}

.seo-price-features li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0 5px 26px;
    position: relative;
}

.seo-price-features li::before {
    content: '✓';
    position: absolute;
    left: 2px;
    color: var(--accent-emerald);
    font-weight: 700;
}

/* ---------- Footer ---------- */
.seo-footer {
    border-top: 1px solid var(--yt-border);
    background: rgba(10, 13, 20, 0.7);
    padding: 44px 0 28px;
    margin-top: 64px;
}

.seo-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.seo-footer-brand p {
    color: var(--text-disabled);
    font-size: 0.88rem;
    margin-top: 10px;
    max-width: 300px;
}

.seo-footer h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-disabled);
    margin-bottom: 14px;
}

.seo-footer ul {
    list-style: none;
}

.seo-footer li {
    margin-bottom: 9px;
}

.seo-footer li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.seo-footer li a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.seo-footer-bottom {
    border-top: 1px solid var(--yt-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-disabled);
    font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .seo-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .seo-nav-links {
        gap: 14px;
    }

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

@media (max-width: 540px) {
    .seo-footer-grid {
        grid-template-columns: 1fr;
    }

    .seo-hero {
        padding: 48px 0 36px;
    }

    .seo-section {
        padding: 40px 0;
    }
}
