/* Y2K CHROME DRIFT STYLE */
:root {
    --bg-base: #0E0E12;
    --bg-panel: #17171D;
    --accent-blue: #8FD8FF;
    --text-main: #EDEFF3;
    --text-muted: #8A919D;
    --border-light: rgba(255, 255, 255, 0.1);
    --panel-glow: inset 0 0 20px rgba(255, 255, 255, 0.02);
    --chrome-grad: linear-gradient(180deg, #FFFFFF 0%, #B9C0CC 25%, #5C626E 50%, #D7DEE8 75%, #8A919D 100%);
    
    --font-display: 'Unbounded', sans-serif;
    --font-ui: 'Chakra Petch', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease-out;
}

/* Typography */
h1, h2, h3, .font-display {
    font-family: var(--font-display);
    font-weight: 700;
}

.chrome-text {
    background: var(--chrome-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.micro-label {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 100px 0;
}

/* UI Elements: Panels */
.panel {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--panel-glow);
    padding: 30px;
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
}
.panel:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 30px rgba(143, 216, 255, 0.05), 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(143, 216, 255, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 9999px; /* Capsule */
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.btn-accent {
    background-color: var(--accent-blue);
    color: var(--bg-base);
    border: none;
    box-shadow: 0 0 15px rgba(143, 216, 255, 0.3);
}
.btn-accent:hover {
    box-shadow: 0 0 25px rgba(143, 216, 255, 0.6);
    transform: scale(1.02);
}

.btn-chrome {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-chrome:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Floating Header */
.header-wrapper {
    position: fixed;
    top: 20px;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.floating-capsule {
    pointer-events: auto;
    background: rgba(23, 23, 29, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
}
.logo-icon {
    font-size: 1.5rem;
    line-height: 1;
    position: relative;
}
/* Simulate top 1px white highlight on chrome logo */
.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: white;
    opacity: 0.8;
    border-radius: 50%;
}

.nav {
    display: flex;
    gap: 25px;
}
.nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.nav a:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(23,23,29,1) 0%, var(--bg-base) 70%);
}
.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}
.resource-box {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(143, 216, 255, 0.05);
    border: 1px solid rgba(143, 216, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}
.resource-box a {
    color: var(--accent-blue);
}
.resource-box a:hover {
    text-decoration: underline;
}

/* Data Bar (Marquee) */
.data-bar {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-ui);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.marquee span {
    margin-right: 50px;
}
.marquee .highlight {
    color: var(--accent-blue);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Grid System */
.grid {
    display: grid;
    gap: 25px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
}

/* Portfolio Carousel / Feature Showcase */
.portfolio-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--bg-panel);
}
.portfolio-scroller::-webkit-scrollbar {
    height: 4px;
}
.portfolio-scroller::-webkit-scrollbar-track {
    background: var(--bg-panel);
}
.portfolio-scroller::-webkit-scrollbar-thumb {
    background-color: var(--accent-blue);
    border-radius: 10px;
}
.portfolio-card {
    min-width: 300px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.portfolio-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(14,14,18,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.portfolio-card:hover .overlay {
    opacity: 1;
}
.portfolio-img {
    width: 100%;
    height: 200px;
    background: var(--bg-base);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.5;
}

/* Pricing Panel */
.pricing-card {
    display: flex;
    flex-direction: column;
}
.pricing-card .price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-main);
    margin: 15px 0;
}
.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.features-list {
    list-style: none;
    margin: 20px 0;
    flex-grow: 1;
}
.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.95rem;
}
.features-list li:last-child {
    border-bottom: none;
}
.card-popular {
    border-color: var(--accent-blue);
    position: relative;
}
.card-popular::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: var(--bg-base);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 10px;
    letter-spacing: 0.1em;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    text-align: center;
    background: var(--bg-panel);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--text-main);
}
.copyright {
    color: #4a4f5c;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
}

/* Insights & Articles */
.article-card { display: flex; flex-direction: column; gap: 15px; height: 100%; }
.article-meta { display: flex; gap: 15px; font-size: 0.8rem; color: var(--text-muted); }
.article-title { font-size: 1.15rem; margin-bottom: 5px; color: var(--accent-blue); line-height: 1.4; transition: color 0.2s; font-family: var(--font-display); }
.article-title:hover { color: #ffffff; }
.article-excerpt { color: var(--text-muted); font-size: 0.9rem; flex-grow: 1; line-height: 1.6; }
.article-content { max-width: 800px; margin: 0 auto; padding-top: 140px; padding-bottom: 80px; }
.article-content h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.3; }
.article-content h2 { color: var(--accent-blue); margin: 50px 0 20px; font-size: 1.8rem; border-bottom: 1px solid var(--border-light); padding-bottom: 10px; }
.article-content h3 { color: var(--text-main); margin: 30px 0 15px; font-size: 1.3rem; }
.article-content p { margin-bottom: 20px; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.article-content a { color: var(--accent-blue); text-decoration: underline; }
.article-content a:hover { color: #fff; }
.article-content ul, .article-content ol { margin: 0 0 20px 20px; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.article-content li { margin-bottom: 10px; }
.breadcrumb { margin-bottom: 30px; font-size: 0.9rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-main); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-blue); }
.article-header-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; color: var(--text-muted); font-size: 0.9rem; }
.article-header-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* Hero Image & Extras */
.hero-graphic { width: 100%; max-width: 320px; margin: 0 auto 30px; display: block; filter: drop-shadow(0 0 30px rgba(143, 216, 255, 0.4)); animation: float-slow 6s ease-in-out infinite; border-radius: 20px; object-fit: cover; }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* FAQ Section */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: rgba(143, 216, 255, 0.3); box-shadow: inset 0 0 15px rgba(143,216,255,0.05); }
.faq-question { padding: 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-family: var(--font-display); color: var(--accent-blue); }
.faq-answer { padding: 0 20px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Floating Tools */
.floating-tools { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 10px; z-index: 1000; }
.float-btn { width: 45px; height: 45px; border-radius: 50%; background: var(--bg-panel); border: 1px solid rgba(143, 216, 255, 0.3); color: var(--accent-blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: all 0.3s; text-decoration: none; }
.float-btn:hover { background: var(--accent-blue); color: var(--bg-base); transform: scale(1.1); }

/* Next Article Card */
.next-article-card { margin-top: 60px; padding: 30px; background: rgba(143, 216, 255, 0.03); border: 1px solid var(--border-light); border-radius: 12px; text-align: center; transition: all 0.3s; display: block; text-decoration: none; }
.next-article-card:hover { border-color: var(--accent-blue); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.next-article-card .micro-label { margin-bottom: 15px; display: block; color: var(--text-muted); }
.next-article-card h3 { color: var(--text-main); font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 15px; transition: color 0.3s; }
.next-article-card:hover h3 { color: #fff; }
