:root {
    /* Royal Chrome Purple & Gold Palette */
    --bg-dark: #0f0518;
    --bg-card: #1c082e;
    --bg-card-light: #280c40;
    
    --purple-primary: #3b0764;
    --purple-accent: #6b21a8;
    --purple-glow: rgba(107, 33, 168, 0.4);
    
    --gold-primary: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dark: #d97706;
    --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #b45309 100%);
    --gold-border: rgba(245, 158, 11, 0.35);

    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;

    /* Embossed UI System */
    --emboss-card-shadow: 8px 8px 18px #08020d, -6px -6px 16px #300f4f;
    --emboss-card-inset: inset 3px 3px 6px #08020d, inset -3px -3px 6px #300f4f;
    --emboss-button-shadow: 5px 5px 12px #07020a, -4px -4px 10px #350f58;
    --emboss-button-pressed: inset 4px 4px 8px #07020a, inset -4px -4px 8px #350f58;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: radial-gradient(circle at top center, #23083b 0%, #0f0518 70%);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.narrow {
    max-width: 860px;
}

/* Typography */
h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-link {
    color: var(--gold-light);
    text-decoration: underline;
    transition: var(--transition);
}

.gold-link:hover {
    color: #ffffff;
}

/* Header (Slim, Perfect & NON-STICKY) */
.site-header {
    position: relative; /* Scrolls naturally with page */
    width: 100%;
    background: linear-gradient(180deg, rgba(28, 8, 46, 0.95) 0%, rgba(15, 5, 24, 0.9) 100%);
    border-bottom: 1px solid var(--gold-border);
    padding: 10px 0;
    z-index: 1000;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.cta-btn-header {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f0518;
    background: var(--gold-gradient);
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
}

.cta-btn-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: var(--gold-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Embossed UI Base Element Styles */
.embossed {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    box-shadow: var(--emboss-card-shadow);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.embossed-box {
    background: linear-gradient(145deg, #210936 0%, #170526 100%);
    border: 1px solid var(--gold-border);
    box-shadow: var(--emboss-card-shadow);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 30px;
}

.emboss-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--gold-border);
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: var(--emboss-button-shadow);
    transition: var(--transition);
}

.emboss-button:hover {
    transform: translateY(-2px);
    border-color: var(--gold-primary);
    color: #ffffff;
}

.emboss-button:active {
    transform: translateY(1px);
    box-shadow: var(--emboss-button-pressed);
}

.emboss-button.gold-glow {
    background: var(--gold-gradient);
    color: #0f0518;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.emboss-button.gold-glow:hover {
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
}

.emboss-button.secondary {
    background: rgba(255, 255, 255, 0.04);
}

.embossed-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-card);
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
    box-shadow: inset 2px 2px 4px #08020d, inset -2px -2px 4px #300f4f;
    margin-bottom: 20px;
}

/* Hero Section */
.hero-section {
    padding: 70px 20px 50px;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 24px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Tools Grid Section */
.section-padding {
    padding: 70px 0;
}

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

.section-tag {
    font-size: 0.82rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(340px, 1fr) );
    gap: 30px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    background: rgba(15, 5, 24, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}

.card-image-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tool-card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.tool-title {
    font-size: 1.35rem;
}

.tool-pricing {
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 600;
}

.tool-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.tool-features-list {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tool-features-list li {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.tool-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

.card-actions {
    margin-top: auto;
}

.card-btn {
    width: 100%;
    font-size: 0.88rem;
}

/* Guide Blueprint Section */
.blueprint-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold-primary);
}

.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.step-item h4 {
    margin-bottom: 4px;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Subpage Detail Layouts */
.back-link {
    display: inline-block;
    color: var(--gold-light);
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-header {
    padding: 30px;
    margin-bottom: 24px;
}

.detail-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.detail-meta {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.detail-hero-img {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-border);
    margin-bottom: 30px;
}

.responsive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content h2 {
    font-size: 1.6rem;
    margin: 24px 0 12px;
}

.detail-content h3 {
    font-size: 1.25rem;
    margin: 20px 0 10px;
    color: var(--gold-light);
}

.detail-content p, .detail-content ul {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.detail-content ul {
    padding-left: 20px;
}

.pricing-grid, .pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.pricing-card {
    padding: 20px;
    text-align: center;
}

.pricing-card.highlight {
    border-color: var(--gold-primary);
}

.pricing-card .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-light);
    display: block;
    margin: 8px 0;
}

.pro-box, .con-box {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(0,0,0,0.25);
}

.pro-box h4 { color: #4ade80; margin-bottom: 10px; }
.con-box h4 { color: #f87171; margin-bottom: 10px; }

.external-cta-box {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #3b0764 0%, #1c082e 100%);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-md);
    text-align: center;
}

.external-cta-box h3 { margin-bottom: 10px; }
.external-cta-box p { margin-bottom: 20px; }

/* Legal Pages Styling */
.legal-text h2 {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.88rem;
}

.legal-table th, .legal-table td {
    border: 1px solid var(--gold-border);
    padding: 12px;
    text-align: left;
}

.legal-table th {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-light);
}

.table-responsive {
    overflow-x: auto;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-details-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #0f0518;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    box-shadow: inset 2px 2px 5px #05010a;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.btn-full {
    width: 100%;
}

.form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    text-align: center;
}

.form-feedback.success {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid #4ade80;
}

/* Footer Styling */
.site-footer {
    margin-top: auto;
    background: #08020d;
    border-top: 1px solid var(--gold-border);
    padding: 50px 0 24px;
    font-size: 0.88rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 340px;
}

.footer-tagline {
    margin-top: 12px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--gold-light);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

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

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

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright-line {
    color: var(--text-dim);
    font-size: 0.8rem;
    max-width: 800px;
}

.footer-status {
    font-size: 0.78rem;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
}

/* One-time Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 540px;
    margin: 0 auto;
    z-index: 9999;
    padding: 20px;
    background: #180628;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.hidden {
    display: none !important;
}

/* Responsiveness & Mobile Enhancements */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #120420;
        border-bottom: 1px solid var(--gold-border);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.9);
    }

    .nav-menu.active {
        display: flex;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-nav {
        gap: 30px;
    }
}