:root {
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-dark: #111;
    --text: #f0f0f0;
    --text-dim: #a0a0a0;
    --accent: #4285F4;
    --accent-hover: #5a9bf6;
    --border: #222;
    --radius: 12px;
    --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.logo-img { border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-chrome-store { color: #333; }
.nav-links a.btn-chrome-store:hover { color: #111; }

/* Chrome Web Store button */
.btn-chrome-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 0.85rem;
    padding: 8px 16px;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    font-family: 'Google Sans', 'Inter', Arial, sans-serif;
    letter-spacing: 0.01em;
}
.btn-chrome-store:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.btn-chrome-lg {
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 4px;
}
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.chrome-logo { flex-shrink: 0; }

/* General buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: var(--accent);
    color: #fff;
}
.btn:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border: 1px solid #444; color: var(--text); }
.btn-outline:hover { border-color: #888; background: rgba(255,255,255,0.04); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 100px 0 60px; text-align: center; }
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(66, 133, 244, 0.12);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; max-width: 780px; margin: 0 auto 20px; }
.gradient-text { background: linear-gradient(135deg, #4285F4, #34A853); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: var(--text-dim); font-size: 1.15rem; max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; }
.stat span { font-size: 0.85rem; color: var(--text-dim); }
.stat-divider { width: 1px; height: 36px; background: #333; }

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-dark); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-dim); font-size: 1.05rem; max-width: 560px; margin: 0 auto 48px; }

/* CSV Table */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    margin-bottom: 16px;
}
.csv-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; white-space: nowrap; }
.csv-table th {
    text-align: left;
    padding: 14px 18px;
    background: #1a1a1a;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}
.csv-table td { padding: 12px 18px; border-bottom: 1px solid #1c1c1c; }
.csv-table tr:last-child td { border-bottom: none; }
.csv-table tr:hover td { background: rgba(66,133,244,0.04); }
.table-caption { text-align: center; color: var(--text-dim); font-size: 0.85rem; font-style: italic; }

/* Data Grid */
.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s;
}
.data-card:hover { border-color: #444; }
.data-icon { font-size: 1.8rem; margin-bottom: 12px; }
.data-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.data-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 32px 24px; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; max-width: 320px; margin: 0 auto; }

/* Use Cases Grid */
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.use-case {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s;
}
.use-case:hover { border-color: #444; }
.use-case-icon { font-size: 2rem; margin-bottom: 12px; }
.use-case h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.use-case p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s;
}
.feature:hover { border-color: #444; }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto 24px; }
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
}
.pricing-card-pro { border-color: var(--accent); }
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.pricing-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.pricing-period { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { padding: 6px 0; color: var(--text-dim); font-size: 0.92rem; position: relative; padding-left: 22px; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: #34A853; font-weight: 700; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.85rem; }

/* Download CTA */
.download-section { text-align: center; }
.download-icon { margin-bottom: 24px; border-radius: 16px; }
.download-note { margin-top: 16px; color: var(--text-dim); font-size: 0.85rem; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--text-dim); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--text-dim); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: #555; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links a:not(.btn-chrome-store) { display: none; }
    .hero { padding: 64px 0 40px; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .steps { gap: 16px; }
    .step { padding: 24px 16px; }
    .data-grid,
    .use-cases-grid,
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 8px; }
}
