/* ========================================
   SEO Landing Pages - Tracos de Mim
   Shared stylesheet for 140+ sign pages
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties
   ---------------------------------------- */
:root {
    --bg: #0a0a1a;
    --surface: #1a1a3e;
    --surface-light: #252555;
    --gold: #d4a853;
    --gold-dark: #b8912e;
    --text: #e8e8f0;
    --text-muted: rgba(232, 232, 240, 0.6);
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --content-max: 800px;
    --grid-max: 1200px;
    --border-subtle: rgba(124, 58, 237, 0.15);
    --border-hover: rgba(124, 58, 237, 0.3);
    --gold-glow: rgba(212, 168, 83, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
}

/* ----------------------------------------
   Reset & Base
   ---------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold);
}

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

/* ----------------------------------------
   Stars Background
   ---------------------------------------- */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.seo-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 20px;
}

.seo-nav-brand {
    display: block;
    max-width: var(--grid-max);
    margin: 0 auto;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}

.seo-nav-brand:hover {
    color: var(--gold);
    opacity: 0.85;
}

/* ----------------------------------------
   Breadcrumbs
   ---------------------------------------- */
.seo-breadcrumbs {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 16px 20px 0;
    position: relative;
    z-index: 1;
}

.seo-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.seo-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.seo-breadcrumbs li + li::before {
    content: '/';
    color: var(--text-muted);
    opacity: 0.5;
    margin-right: 4px;
}

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

.seo-breadcrumbs a:hover {
    color: var(--gold);
}

.seo-breadcrumbs li:last-child {
    color: var(--text);
}

/* ----------------------------------------
   Article Container
   ---------------------------------------- */
.seo-article {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.seo-hero {
    text-align: center;
    padding: 64px 20px 48px;
    max-width: var(--content-max);
    margin: 0 auto;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 46, 0.4) 50%, transparent 100%);
}

.seo-sign-symbol {
    font-size: 72px;
    line-height: 1;
    margin-bottom: 24px;
    display: block;
}

.seo-hero h1 {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}

.seo-hero h1 span {
    color: var(--gold);
}

.seo-hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ----------------------------------------
   Content Area
   ---------------------------------------- */
.seo-content {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px 48px;
}

/* ----------------------------------------
   Sections
   ---------------------------------------- */
.seo-section {
    margin-bottom: 48px;
}

.seo-section h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 20px;
    line-height: 1.3;
}

.seo-section h3 {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    color: var(--gold);
    margin-top: 32px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.seo-section p {
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.7;
}

.seo-section ul,
.seo-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.seo-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text);
}

/* ----------------------------------------
   Traits Grid (Strengths / Weaknesses)
   ---------------------------------------- */
.seo-traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.seo-trait-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px;
    transition: transform 0.2s, border-color 0.2s;
}

.seo-trait-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.seo-trait-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}

.seo-trait-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ----------------------------------------
   Professions Grid
   ---------------------------------------- */
.seo-professions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.seo-profession-item {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: transform 0.2s, border-color 0.2s;
}

.seo-profession-item:hover {
    transform: translateY(-2px);
    border-color: var(--gold-glow);
}

/* ----------------------------------------
   Crystals Grid
   ---------------------------------------- */
.seo-crystals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.seo-crystal-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.seo-crystal-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 168, 83, 0.3);
}

.seo-crystal-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}

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

/* ----------------------------------------
   Tips List
   ---------------------------------------- */
.seo-tips-list {
    list-style: none;
    padding-left: 0;
    counter-reset: tips;
    margin-top: 20px;
    margin-bottom: 24px;
}

.seo-tips-list li {
    counter-increment: tips;
    position: relative;
    padding-left: 48px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.seo-tips-list li::before {
    content: counter(tips);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 32px;
    text-align: center;
}

/* ----------------------------------------
   Symbols Grid (Tattoos)
   ---------------------------------------- */
.seo-symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.seo-symbol-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.seo-symbol-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.seo-symbol-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}

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

/* ----------------------------------------
   Compatibility Score
   ---------------------------------------- */
.seo-compat-score {
    margin: 20px 0 24px;
}

.seo-compat-score h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.seo-compat-bar {
    position: relative;
    height: 12px;
    background: var(--surface);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.seo-compat-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(var(--score, 5) * 10%);
    background: linear-gradient(90deg, var(--accent), var(--gold));
    border-radius: 6px;
    transition: width 0.6s ease;
}

/* data-score attribute support */
.seo-compat-bar[data-score="1"] { --score: 1; }
.seo-compat-bar[data-score="2"] { --score: 2; }
.seo-compat-bar[data-score="3"] { --score: 3; }
.seo-compat-bar[data-score="4"] { --score: 4; }
.seo-compat-bar[data-score="5"] { --score: 5; }
.seo-compat-bar[data-score="6"] { --score: 6; }
.seo-compat-bar[data-score="7"] { --score: 7; }
.seo-compat-bar[data-score="8"] { --score: 8; }
.seo-compat-bar[data-score="9"] { --score: 9; }
.seo-compat-bar[data-score="10"] { --score: 10; }

.seo-compat-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ----------------------------------------
   Compatibility Grid (Hub page)
   ---------------------------------------- */
.seo-compat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    max-width: var(--grid-max);
    margin: 20px auto 24px;
}

.seo-compat-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, border-color 0.2s;
    display: block;
}

.seo-compat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    color: var(--text);
}

.seo-compat-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}

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

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.seo-faq {
    margin-bottom: 48px;
}

.seo-faq h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.seo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seo-faq-item {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}

.seo-faq-item:hover {
    border-color: var(--border-hover);
}

.seo-faq-item summary {
    padding: 18px 48px 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.4;
    transition: color 0.2s;
}

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

.seo-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--accent-light);
    transition: transform 0.2s;
}

.seo-faq-item[open] summary::after {
    content: '-';
}

.seo-faq-item summary:hover {
    color: var(--gold);
}

.seo-faq-item p {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ----------------------------------------
   Call-to-Action Section
   ---------------------------------------- */
.seo-cta {
    text-align: center;
    padding: 48px 20px;
    margin-bottom: 48px;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 46, 0.5) 30%, rgba(18, 18, 46, 0.5) 70%, transparent 100%);
    border-radius: var(--radius);
}

.seo-cta h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.seo-cta p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.seo-cta-price {
    margin-bottom: 24px;
}

.seo-price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 12px;
}

.seo-price-new {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.4);
    color: #fff;
}

/* ----------------------------------------
   Related Content Section
   ---------------------------------------- */
.seo-related {
    margin-bottom: 48px;
}

.seo-related h2 {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.seo-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.seo-related-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, border-color 0.2s;
}

.seo-related-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    color: var(--text);
}

.seo-related-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 6px;
}

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

/* ----------------------------------------
   Hub Page Grid (All Signs)
   ---------------------------------------- */
.seo-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    max-width: var(--grid-max);
    margin: 24px auto 48px;
    padding: 0 20px;
}

.seo-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.seo-hub-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: var(--text);
}

.seo-hub-card-symbol {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
}

.seo-hub-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.seo-footer {
    background: rgba(10, 10, 26, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding: 48px 20px 24px;
    position: relative;
    z-index: 1;
}

.seo-footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
}

.seo-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.seo-footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

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

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

.seo-footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.seo-footer-col a:hover {
    color: var(--gold);
}

.seo-footer-more {
    display: inline-block;
    font-size: 13px;
    color: var(--accent-light);
    margin-top: 8px;
    text-decoration: none;
    transition: color 0.2s;
}

.seo-footer-more:hover {
    color: var(--gold);
}

.seo-footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-muted);
}

/* ----------------------------------------
   Responsive: Tablet (768px)
   ---------------------------------------- */
@media (max-width: 768px) {
    .seo-hero {
        padding: 48px 20px 36px;
    }

    .seo-sign-symbol {
        font-size: 56px;
    }

    .seo-traits-grid,
    .seo-crystals-grid,
    .seo-symbols-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .seo-professions-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .seo-compat-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .seo-related-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .seo-hub-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .seo-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .seo-price-new {
        font-size: 30px;
    }
}

/* ----------------------------------------
   Responsive: Mobile (480px)
   ---------------------------------------- */
@media (max-width: 480px) {
    .seo-hero {
        padding: 36px 16px 28px;
    }

    .seo-sign-symbol {
        font-size: 48px;
    }

    .seo-content {
        padding: 0 16px 36px;
    }

    .seo-traits-grid,
    .seo-professions-grid,
    .seo-crystals-grid,
    .seo-symbols-grid,
    .seo-related-grid {
        grid-template-columns: 1fr;
    }

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

    .seo-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px;
    }

    .seo-hub-card {
        padding: 20px 12px;
    }

    .seo-hub-card-symbol {
        font-size: 36px;
    }

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

    .seo-cta {
        padding: 36px 16px;
    }

    .btn-cta {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }

    .seo-faq-item summary {
        padding: 16px 40px 16px 16px;
        font-size: 15px;
    }

    .seo-faq-item p {
        padding: 0 16px 16px;
        font-size: 14px;
    }

    .seo-tips-list li {
        padding-left: 42px;
    }
}

/* ----------------------------------------
   Print Styles
   ---------------------------------------- */
@media print {
    .stars-container,
    .seo-nav,
    .seo-footer,
    .seo-cta,
    .seo-breadcrumbs {
        display: none !important;
    }

    body {
        background: #fff;
        color: #111;
        font-size: 12pt;
    }

    .seo-article {
        z-index: auto;
    }

    .seo-hero {
        background: none;
        padding: 24px 0;
    }

    .seo-hero h1 {
        color: #111;
        font-size: 24pt;
    }

    .seo-hero-subtitle {
        color: #444;
    }

    .seo-section h2 {
        color: #333;
    }

    .seo-section h3 {
        color: #555;
    }

    .seo-section p,
    .seo-section li {
        color: #222;
    }

    .seo-trait-card,
    .seo-crystal-card,
    .seo-symbol-card,
    .seo-profession-item,
    .seo-faq-item,
    .seo-related-card,
    .seo-compat-card {
        background: #f5f5f5;
        border-color: #ddd;
        break-inside: avoid;
    }

    .seo-trait-title,
    .seo-crystal-card h4,
    .seo-symbol-card h4,
    .seo-related-card h3,
    .seo-compat-card h3 {
        color: #333;
    }

    a {
        color: #333;
        text-decoration: underline;
    }
}

/* Guide CTA - Soft sell */
.seo-guide-cta {
    background: linear-gradient(135deg, rgba(212,168,83,0.08), rgba(124,58,237,0.08));
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}
.seo-guide-cta h2 {
    color: #d4a853;
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.seo-guide-cta p {
    max-width: 600px;
    margin: 0 auto 20px;
}
.btn-guide {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #d4a853, #b8912e);
    color: #0a0a1a;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-guide:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212,168,83,0.3);
}
.seo-guide-hint {
    font-size: 0.9rem;
    color: rgba(232,232,240,0.5);
    margin-top: 8px;
}
.seo-guide-hint a {
    color: #d4a853;
    text-decoration: none;
    border-bottom: 1px dotted rgba(212,168,83,0.4);
}
.seo-guide-hint a:hover {
    border-bottom-style: solid;
}
