/* ============================================
   TradOpiax — SEO Landing Pages Shared Styles
   ============================================ */

/* ---- SEO Page Layout ---- */
.seo-page {
    min-height: 100vh;
    background: var(--bg-deep, #030712);
    color: var(--color-text, #e2e8f0);
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

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

/* ---- SEO Navbar ---- */
.seo-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 72px;
}

.seo-nav .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.seo-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}

.seo-nav .nav-brand img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
}

.seo-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.seo-nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.seo-nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.seo-nav-links a.active {
    color: #00e676;
    background: rgba(0, 230, 118, 0.08);
}

.seo-nav-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.seo-nav-cta .btn-nav-login {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.seo-nav-cta .btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.seo-nav-cta .btn-nav-signup {
    color: #030712;
    background: linear-gradient(135deg, #00e676, #00c853);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 230, 118, 0.25);
}

.seo-nav-cta .btn-nav-signup:hover {
    box-shadow: 0 6px 24px rgba(0, 230, 118, 0.4);
    transform: translateY(-1px);
}

/* ---- Mobile nav toggle ---- */
.seo-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* ---- SEO Hero ---- */
.seo-hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.seo-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.15);
    color: #00e676;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.seo-hero .hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    background: #00e676;
    border-radius: 50%;
    animation: seo-pulse 2s ease-in-out infinite;
}

@keyframes seo-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.seo-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.seo-hero h1 .hl {
    background: linear-gradient(135deg, #00e676, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-hero .hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.seo-hero .hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- SEO Buttons ---- */
.seo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.seo-btn-primary {
    background: linear-gradient(135deg, #00e676, #00c853);
    color: #030712;
    box-shadow: 0 4px 24px rgba(0, 230, 118, 0.3);
}

.seo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 230, 118, 0.45);
}

.seo-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.seo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* ---- SEO Section ---- */
.seo-section {
    padding: 80px 0;
}

.seo-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.seo-section-header .eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #00e5ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.seo-section-header h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}

.seo-section-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Feature Cards Grid ---- */
.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.seo-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.seo-feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 230, 118, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.seo-feature-card .card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.seo-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.seo-feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

/* ---- CTA Banner ---- */
.seo-cta-banner {
    text-align: center;
    padding: 64px 32px;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.06), rgba(0, 229, 255, 0.04));
    border: 1px solid rgba(0, 230, 118, 0.1);
    border-radius: 24px;
    margin: 60px auto;
    max-width: 800px;
}

.seo-cta-banner h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.seo-cta-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 28px;
    line-height: 1.6;
}

/* ---- Breadcrumb ---- */
.seo-breadcrumb {
    padding: 96px 0 0;
}

.seo-breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.seo-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-breadcrumb li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.seo-breadcrumb li a:hover {
    color: #00e676;
}

.seo-breadcrumb li .sep {
    color: rgba(255, 255, 255, 0.2);
}

.seo-breadcrumb li.current {
    color: rgba(255, 255, 255, 0.8);
}

/* ---- FAQ Accordion (SEO) ---- */
.seo-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seo-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.seo-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.seo-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    user-select: none;
}

.seo-faq-q .faq-toggle {
    color: #00e5ff;
    font-size: 20px;
    transition: transform 0.2s;
}

.seo-faq-item.open .seo-faq-q .faq-toggle {
    transform: rotate(45deg);
}

.seo-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.seo-faq-item.open .seo-faq-a {
    max-height: 300px;
}

.seo-faq-a p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0;
}

/* ---- Markets Table ---- */
.seo-markets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.seo-markets-table th {
    text-align: left;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-markets-table td {
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.seo-markets-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.seo-markets-table .badge-otc {
    display: inline-block;
    background: rgba(0, 230, 118, 0.12);
    color: #00e676;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* ---- SEO Footer ---- */
.seo-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 0 32px;
    margin-top: 40px;
}

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

.seo-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seo-footer-brand .brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.seo-footer-brand .brand-row img {
    height: 32px;
    width: 32px;
    border-radius: 8px;
}

.seo-footer-brand .brand-row span {
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.seo-footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin: 0;
}

.seo-footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 16px;
}

.seo-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seo-footer-col a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.seo-footer-col a:hover {
    color: #00e676;
}

.seo-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
}

.seo-footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
    margin-bottom: 16px;
}

.seo-footer-copyright {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* ---- 404 Page ---- */
.seo-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.seo-404 .code-404 {
    font-size: clamp(80px, 15vw, 160px);
    font-weight: 900;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.seo-404 h1 {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    margin: 0 0 12px;
}

.seo-404 p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 32px;
    max-width: 440px;
}

.seo-404 .links-404 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ---- Contact Grid ---- */
.seo-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.seo-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.seo-contact-card:hover {
    border-color: rgba(0, 229, 255, 0.15);
    transform: translateY(-2px);
}

.seo-contact-card .card-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.seo-contact-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.seo-contact-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

.seo-contact-card a {
    color: #00e5ff;
    text-decoration: none;
}

.seo-contact-card a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE — Mobile-First
   ============================================ */
@media (max-width: 768px) {
    .seo-nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(3, 7, 18, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        gap: 4px;
    }

    .seo-nav-links.open {
        display: flex;
    }

    .seo-nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
    }

    .seo-nav-toggle {
        display: block;
    }

    .seo-nav-cta {
        display: none;
    }

    .seo-hero {
        padding: 120px 0 60px;
    }

    .seo-hero .hero-sub {
        font-size: 15px;
    }

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

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

    .seo-footer-copyright {
        flex-direction: column;
        gap: 8px;
    }

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

    .seo-contact-grid {
        grid-template-columns: 1fr;
    }
}
