:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
    --container-max: 1100px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glow Background */
.glow-bg {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent);
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 25px -5px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--accent-glow);
}

kbd {
    background: #334155;
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-family: inherit;
    font-size: 0.9em;
    border: 1px solid #475569;
    box-shadow: 0 2px 0 #1e293b;
    color: var(--text-main);
}

/* Steps Grid */
.guide-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.15;
    /* Increased from 0.1 */
    font-family: 'Outfit';
    transition: opacity 0.3s;
}

.step-card:hover .step-number {
    opacity: 0.3;
}

.step-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.step-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tip-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--accent);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.85rem;
}

.tip-box span {
    color: var(--accent);
    font-size: 1.25rem;
}

.tip-box p {
    margin-bottom: 0;
    color: var(--text-main);
}

.tip-box a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

/* Features List */
.features-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.feature-content {
    display: flex;
    gap: 1.5rem;
}

.feature-content span {
    font-size: 2.5rem;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    border-radius: 16px;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-muted);
}

/* Export Grid */
.export-section {
    padding: 5rem 0;
}

.export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.export-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.export-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.export-icon.sheets {
    color: #10b981;
}

.export-icon.webhooks {
    color: #f59e0b;
}

.export-icon.clipboard {
    color: #3b82f6;
}

/* Best Practices */
.best-practices-section {
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.practice-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.practice-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
}

.practice-card span {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.practice-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* FAQ */
.faq-section {
    padding: 5rem 0;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.faq-item h4 {
    font-size: 1.1rem;
    color: var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.faq-item h4::after {
    content: '\e5cf';
    /* expand_more icon */
    font-family: 'Material Symbols Outlined';
    transition: transform 0.3s;
}

.faq-item.open h4::after {
    transform: rotate(180deg);
}

.faq-item p {
    color: var(--text-muted);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    margin-top: 0;
}

.faq-item.open p {
    max-height: 200px;
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    padding: 6rem 0 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle .material-symbols-outlined {
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }
}