@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800&family=IBM+Plex+Mono&family=Noto+Sans+SC:wght@400;500&display=swap');

:root {
    --bg: #0E1420;
    --panel: #141B29;
    --ink: #F2E3C0;
    --dim: #76839C;
    --line: rgba(242,227,192,0.09);
    --acc: #F0B45C;
    
    --primary-color: var(--acc);
    --primary-hover: #d9a04a;
    --text-main: var(--ink);
    --text-muted: var(--dim);
    --bg-main: transparent;
    --bg-secondary: transparent;
    --border-color: var(--line);
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6, .logo, .section-title, .card-title, .faq-question {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    color: var(--ink);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(14, 20, 32, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo { font-size: 1.5rem; }

.nav-links { display: flex; gap: 24px; }

.nav-links a {
    color: var(--dim);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--acc); }

.cta-button {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--acc);
    color: var(--bg) !important;
    padding: 10px 24px;
    border-radius: 3px;
    border: 1px solid var(--acc);
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.cta-button:hover {
    background-color: transparent;
    border-color: rgba(240,180,92,0.5);
    color: var(--acc) !important;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--acc) !important;
    border: 1px solid var(--acc);
}

.cta-button.secondary:hover {
    background-color: rgba(240,180,92,0.1);
    border-color: rgba(240,180,92,0.5);
}

section { padding: 80px 0; }
section.bg-gray { background-color: transparent; }

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.hero { text-align: center; padding: 100px 0; }
.hero h1 { font-size: 3rem; margin-bottom: 24px; }
.hero p { font-size: 1.25rem; color: var(--dim); max-width: 700px; margin: 0 auto 32px; }
.hero-buttons { display: flex; justify-content: center; gap: 16px; }

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

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 32px;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(240,180,92,0.5);
}
.card:hover .card-title, .small-card:hover, .faq-item:hover .faq-question {
    color: var(--acc);
}

.card-title { font-size: 1.25rem; margin-bottom: 16px; transition: color 0.3s; }
.card-text { color: var(--dim); }

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

.small-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 16px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
}

.pricing-card { text-align: center; display: flex; flex-direction: column; }
.pricing-price { font-size: 2rem; font-weight: bold; color: var(--acc); margin: 24px 0; font-family: 'IBM Plex Mono', monospace; }
.pricing-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--dim); }
.pricing-features li:last-child { border-bottom: none; }

.faq-item {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
    transition: all 0.3s;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 24px;
}
.faq-question { font-size: 1.125rem; margin-bottom: 12px; transition: color 0.3s; }
.faq-answer { color: var(--dim); }

.review-card { font-style: italic; color: var(--dim); }
.review-author { margin-top: 16px; font-weight: 600; font-style: normal; text-align: right; color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; }

.content ul { margin-left: 20px; margin-bottom: 16px; color: var(--dim); }
.content p { margin-bottom: 16px; color: var(--dim); }

footer {
    background-color: rgba(14, 20, 32, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    color: var(--dim);
    padding: 48px 0 24px;
}
.footer-links { display: flex; justify-content: center; gap: 32px; margin-bottom: 32px; }
.footer-links a {
    color: var(--dim);
    transition: color 0.2s;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-links a:hover { color: var(--acc); }
.footer-copy {
    text-align: center;
    color: var(--dim);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
}

.corner-label {
    position: fixed;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
    z-index: -1;
    pointer-events: none;
}
.cl-tl { top: 20px; left: 20px; }
.cl-tr { top: 20px; right: 20px; color: var(--acc); }
.cl-bl { bottom: 20px; left: 20px; }

@media (max-width: 768px) {
    .nav-container { flex-direction: column; height: auto; padding: 16px 0; gap: 16px; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.125rem; }
    .hero-buttons { flex-direction: column; }
    .footer-links { flex-wrap: wrap; }
}
/* Accessibility and Layout Fixes */
section { 
    scroll-margin-top: 64px; 
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--acc);
    color: var(--bg);
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.2s;
    font-weight: bold;
}
.skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 2px solid var(--acc);
    outline-offset: 2px;
}

details.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item[open] summary {
    margin-bottom: 12px;
    color: var(--acc);
}
details.faq-item .faq-answer {
    color: var(--dim);
    margin-top: 12px;
}
