/* 
    GATERN - Swiss-Minimal Brutalist CSS
    Fonts: Space Mono (Labels), Unbounded (Headings)
    Colors: #FFFFFF (Bg), #0A0A0A (Ink), #FF4E1A (Signal Orange), #B9B9B4 (Grey)
*/

:root {
    --bg: #FFFFFF;
    --ink: #0A0A0A;
    --accent: #FF4E1A;
    --grey: #B9B9B4;
    --grey-light: #F4F4F4;
    --border: 1px solid var(--ink);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important; /* 强制移除所有圆角 (No rounded softness) */
    box-shadow: none !important; /* 强制移除所有阴影 (No shadows) */
}

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: 'Space Mono', monospace;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, .logo span, .plan-name {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--ink);
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    color: var(--ink);
}

.label {
    font-size: 0.875rem;
    color: var(--grey);
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

/* Grid System (Strict 12-column) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0; /* 在容器层面控制边框，无间隙排列网格线 */
    width: 100%;
}

.col-span-12 { grid-column: span 12; }
.col-span-9 { grid-column: span 9; }
.col-span-6 { grid-column: span 6; }
.col-span-4 { grid-column: span 4; }
.col-span-3 { grid-column: span 3; }

/* Borders & Layout Utilities */
.border-bottom { border-bottom: var(--border); }
.border-right { border-right: var(--border); }
.border-top { border-top: var(--border); }

.bg-grey-light { background-color: var(--grey-light); }

.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.text-right { text-align: right; }
.align-center { align-items: center; }

/* Header */
.header .grid-container {
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 2rem;
    height: 100%;
    border-right: var(--border);
}

.logo span {
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: var(--border);
    transition: background-color 0.2s, color 0.2s;
}

.nav a:hover {
    background-color: var(--ink);
    color: var(--bg);
}

.nav a.nav-highlight {
    background-color: var(--grey-light);
}
.nav a.nav-highlight:hover {
    background-color: var(--ink);
}

/* Hero Section */
.hero .grid-container {
    padding: 4rem 2rem 6rem;
}

.hero-desc p {
    font-size: 1.25rem;
    max-width: 500px;
    color: var(--grey);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.2s;
    border: var(--border);
    cursor: pointer;
}

/* ONLY Accent usage */
.btn-accent {
    background-color: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.btn-accent:hover {
    background-color: var(--ink);
    border-color: var(--ink);
}

.btn-dark {
    background-color: var(--ink);
    color: var(--bg);
}

.btn-dark:hover {
    background-color: var(--bg);
    color: var(--ink);
}

.btn-outline {
    background-color: transparent;
    color: var(--ink);
}

.btn-outline:hover {
    background-color: var(--ink);
    color: var(--bg);
}

/* Features */
.features .grid-container > div {
    padding: 2rem;
}

.card {
    display: flex;
    flex-direction: column;
}

.card-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--grey);
    margin-bottom: 2rem;
    font-family: 'Unbounded', sans-serif;
}

.card p {
    color: var(--grey);
}

/* Services Split */
.services .grid-container > div.col-span-12 {
    padding: 0 2rem;
}
.split-panel {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.split-panel p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.service-list {
    margin-top: 2rem;
    border-top: var(--border);
}

.service-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-weight: 700;
}

.service-name { color: var(--ink); }
.service-status { color: var(--grey); }

/* Pricing */
.pricing .grid-container > div.col-span-12 {
    padding: 0 2rem;
}

.price-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1rem;
    font-family: 'Space Mono', monospace;
    color: var(--grey);
    margin-left: 0.5rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 1rem 0;
    font-weight: 700;
    color: var(--grey);
}

/* Footer */
.footer {
    background-color: var(--ink);
    color: var(--bg);
}

.footer .grid-container {
    padding: 2rem;
}

.footer-links a {
    color: var(--bg);
    text-decoration: none;
    margin-right: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    color: #444;
    font-size: 0.875rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .nav { display: none; } /* Simplified mobile header */
    .col-span-6, .col-span-4, .col-span-3, .col-span-9 {
        grid-column: span 12;
    }
    
    .border-right { border-right: none; }
    
    .card, .split-panel, .price-card {
        border-bottom: var(--border);
    }
    
    .hero .flex-end {
        justify-content: flex-start;
        margin-top: 2rem;
    }
}

/* Intel Directory (Blog) */
.intel-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}
.intel-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: var(--grey);
    font-family: 'Space Mono', monospace;
}
.intel-category { font-weight: 700; color: var(--ink); }
.intel-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    flex-grow: 0;
}
.intel-card p {
    color: var(--grey);
    margin-bottom: 2rem;
    flex-grow: 1;
}
.intel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.intel-readtime {
    font-size: 0.75rem;
    color: var(--grey);
    font-family: 'Space Mono', monospace;
}
.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.article-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    font-family: 'Unbounded', sans-serif;
}
.article-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}
.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--ink);
}
.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    font-size: 1.125rem;
}
.article-content li {
    margin-bottom: 0.5rem;
}
.article-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* FAQ Section */
.faq-item {
    border-top: var(--border);
    padding: 2.5rem 0;
}
.faq-item:last-child {
    border-bottom: var(--border);
}
.faq-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Unbounded', sans-serif;
    color: var(--ink);
}
.faq-item p {
    color: var(--grey);
    font-size: 1.125rem;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--ink);
    color: var(--bg);
    padding: 1rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 9999;
    border: var(--border);
    transition: background-color 0.2s, color 0.2s;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
}
.floating-btn:hover {
    background-color: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* Hero Image SVG Graphic */
.hero-graphic {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 300px;
    margin-top: 2rem;
    border: var(--border);
    background-color: #FFFFFF;
    display: block;
}

/* Next Article Block */
.next-article-block {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 4px solid var(--ink);
}
.next-article-block .label { margin-bottom: 1rem; display: block; }
.next-article-block h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }

.text-link { color: var(--accent); text-decoration: underline; font-weight: 700; }

/* 屏幕阅读器与 SEO 专用隐藏类 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
