/* Silencers.how - Main Stylesheet */

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

:root {
    --primary: #0a0a0a;
    --surface: #141414;
    --surface-hover: #1a1a1a;
    --border: #262626;
    --accent: #c2410c;
    --accent-light: #ea580c;
    --text: #fafafa;
    --text-muted: #a3a3a3;
    --text-dim: #737373;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--text);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
}

.btn-text {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--accent-light);
}

/* Page Header */
.page-header {
    padding: 10rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.page-header .breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.page-header .breadcrumb a:hover {
    color: var(--accent-light);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.page-header .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.7;
}

/* Content Area */
.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem 6rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
}

.content-main {
    max-width: 800px;
}

/* Article Content */
.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 3.5rem 0 1.5rem;
    color: var(--text);
    padding-top: 1rem;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.article-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content a {
    color: var(--accent-light);
    transition: color 0.3s;
}

.article-content a:hover {
    color: var(--text);
}

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.article-content th {
    text-align: left;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
}

.article-content td {
    padding: 1rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.article-content tr:hover td {
    background: var(--surface);
}

/* Info Box */
.info-box {
    background: var(--surface);
    border-left: 3px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.info-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.sidebar-box h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box li {
    margin-bottom: 0.75rem;
}

.sidebar-box a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.sidebar-box a:hover {
    color: var(--accent-light);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--surface) 0%, #1a1a1a 100%);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.cta-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.cta-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
    width: 100%;
    justify-content: center;
}

.cta-box .phone {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.cta-box .phone a {
    color: var(--text);
    font-weight: 600;
}

/* Stats Strip */
.stats-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 3rem;
    margin-bottom: 3rem;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-value.accent {
    color: var(--accent-light);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards Grid */
.cards-section {
    padding: 4rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-dim);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.card:hover {
    border-color: var(--accent);
    background: var(--surface-hover);
    transform: translateY(-4px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* State Cards */
.states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.state-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.3s;
}

.state-card:hover {
    border-color: var(--accent);
    background: var(--surface-hover);
}

.state-card.legal {
    border-left: 3px solid #22c55e;
}

.state-card.prohibited {
    border-left: 3px solid #ef4444;
}

.state-card.restricted {
    border-left: 3px solid #f59e0b;
}

.state-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.state-card span {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #333;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 3rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent-light);
}

/* Responsive */
@media (max-width: 1200px) {
    .states-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    header {
        padding: 1.5rem 2rem;
    }

    .page-header,
    .content-area,
    .cards-section,
    .stats-strip {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-header {
        padding-top: 8rem;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .states-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
