/* seo-pages.css — Shared styles for Sectorum SEO landing pages */

/* ============================================================
   Import base variables from the main site palette
   ============================================================ */
:root {
    --primary: #00d2ff;
    --secondary: #9d50bb;
    --accent: #ff6b6b;
    --background: #020024;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --glass: rgba(255, 255, 255, 0.07);
    --glass-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.15);
    --green: #00ff88;
    --red: #ff4757;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

img { max-width: 100%; height: auto; }

/* ============================================================
   Background (star-field effect without hero.png dependency)
   ============================================================ */
.page-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 210, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(157, 80, 187, 0.08) 0%, transparent 60%),
        #020024;
    z-index: -1;
}

/* ============================================================
   Navigation (matches homepage)
   ============================================================ */
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 0, 36, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.site-nav .logo img {
    height: 64px;
    width: auto;
}

.site-nav .nav-links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 1.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    opacity: 0.85;
}

.site-nav .nav-links a:hover { color: var(--primary); opacity: 1; }

.site-nav .nav-cta {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .site-nav .nav-links .nav-hide { display: none; }
}

/* ============================================================
   Page Hero (for landing pages)
   ============================================================ */
.page-hero {
    padding: 6rem 5% 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

/* ============================================================
   CTA Buttons
   ============================================================ */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.35);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: #fff;
    background: var(--glass);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================================
   Sections & Layout
   ============================================================ */
.page-section {
    padding: 4rem 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glass card */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    transition: background 0.3s, transform 0.3s;
}

.glass-card:hover {
    background: var(--glass-hover);
    transform: translateY(-4px);
}

/* ============================================================
   Side-by-Side Comparison (TW2002 vs Sectorum)
   ============================================================ */
.side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .side-by-side { grid-template-columns: 1fr; }
}

.side-panel {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.side-panel-header {
    padding: 1rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.side-panel-header.old { background: rgba(255, 80, 80, 0.15); color: #ff8888; }
.side-panel-header.new { background: rgba(0, 210, 255, 0.12); color: var(--primary); }

.side-panel-body {
    padding: 1.5rem;
}

/* TW2002 "terminal" mock */
.terminal-mock {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    color: #33ff33;
    background: #000;
    padding: 1.2rem;
    border-radius: 8px;
    line-height: 1.6;
    white-space: pre;
    overflow-x: auto;
}

/* Sectorum screenshot placeholder */
.screenshot-mock {
    background: linear-gradient(135deg, rgba(0,210,255,0.1) 0%, rgba(157,80,187,0.15) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.screenshot-mock .ss-icon {
    font-size: 2.5rem;
}

/* ============================================================
   Feature Lists
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s;
}

.feature-item:hover {
    background: var(--glass-hover);
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-3px);
}


.feature-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Two-column checks list */
.checks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (max-width: 600px) { .checks-grid { grid-template-columns: 1fr; } }

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.check-item .ci {
    color: var(--green);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================================
   Comparison Table
   ============================================================ */
.compare-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid var(--glass-border);
}

.compare-table th.th-sectorum { color: var(--primary); }
.compare-table th.th-other { color: var(--text-muted); }

.compare-table td {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
    color: #fff;
    font-weight: 500;
}

.compare-table tr:hover td { background: rgba(255,255,255,0.03); }

.val-yes { color: var(--green); font-weight: 600; }
.val-no { color: var(--red); }
.val-partial { color: #ffa07a; }

/* ============================================================
   FAQ / Accordion
   ============================================================ */
.faq-list {
    list-style: none;
    margin: 2rem 0;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover { border-color: rgba(0, 210, 255, 0.3); }

.faq-question {
    width: 100%;
    background: var(--glass);
    border: none;
    color: #fff;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover { background: var(--glass-hover); }

.faq-question .faq-arrow {
    transition: transform 0.3s;
    font-size: 0.75rem;
    opacity: 0.6;
}

.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer.open { display: block; }

/* ============================================================
   Pros/Cons blocks
   ============================================================ */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }

.pros-block, .cons-block {
    background: var(--glass);
    border-radius: 16px;
    padding: 1.5rem;
}

.pros-block { border: 1px solid rgba(0, 255, 136, 0.2); }
.cons-block { border: 1px solid rgba(255, 71, 87, 0.2); }

.pros-block h3 { color: var(--green); margin-bottom: 1rem; font-size: 1rem; }
.cons-block h3 { color: var(--red); margin-bottom: 1rem; font-size: 1rem; }

.pros-block ul, .cons-block ul {
    list-style: none;
}

.pros-block li, .cons-block li {
    font-size: 0.92rem;
    color: var(--text-muted);
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.pros-block li::before { content: '✓'; color: var(--green); flex-shrink: 0; }
.cons-block li::before { content: '✗'; color: var(--red); flex-shrink: 0; }

/* ============================================================
   Game list (for "games like" pages)
   ============================================================ */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.game-entry {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s;
}

.game-entry:hover {
    background: var(--glass-hover);
    transform: translateX(4px);
}

.game-entry.recommended {
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.06);
}

.game-entry .ge-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.game-entry h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.game-entry p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.4rem;
}

.badge-recommended { background: rgba(0,210,255,0.15); color: var(--primary); border: 1px solid rgba(0,210,255,0.3); }
.badge-legacy { background: rgba(255,255,255,0.07); color: var(--text-muted); border: 1px solid var(--glass-border); }
.badge-download { background: rgba(255,107,107,0.1); color: #ff8888; border: 1px solid rgba(255,107,107,0.2); }

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, rgba(0,210,255,0.1) 0%, rgba(157,80,187,0.12) 100%);
    border: 1px solid rgba(0,210,255,0.25);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-banner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    color: #fff;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
    padding: 1rem 5%;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: #fff; }

/* ============================================================
   Shared Footer
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 5% 2.5rem;
    background: rgba(0,0,0,0.25);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 0.82rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================================================
   Inline alert blocks
   ============================================================ */
.info-block {
    background: rgba(0,210,255,0.07);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================================
   Rich text content area (for guides)
   ============================================================ */
.content-body {
    max-width: 780px;
    margin: 0 auto;
}

.content-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.content-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 1.8rem 0 0.7rem;
}

.content-body p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.content-body ul {
    list-style: none;
    margin: 0 0 1.5rem;
}

.content-body ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.97rem;
}

.content-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.content-body ol {
    padding-left: 1.5rem;
    margin: 0 0 1.5rem;
}

.content-body ol li {
    color: var(--text-muted);
    padding: 0.35rem 0;
    font-size: 0.97rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .page-section { padding: 3rem 5%; }
    .page-hero { padding: 4rem 5% 2.5rem; }
    .glass-card { padding: 1.5rem; }
    .cta-banner { padding: 2.5rem 1.5rem; }
}
