/* 🎨 GimmeSummary Landing Page CSS System */

:root {
    --font-primary: 'Inter', system-ui, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Theme colors: defaults to dark */
    --bg-color: #07090e;
    --bg-nav: rgba(7, 9, 14, 0.8);
    --panel-bg: rgba(17, 24, 39, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Global Colors */
    --accent-blue: #2563eb; /* Primary GimmeSummary Blue */
    --accent-blue-hover: #1d4ed8;
    --accent-teal: #38bdf8; /* Teal Accent */
    --accent-yellow: #eab308;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --white: #ffffff;
    --black: #000000;
}

/* ☀️ Light Mode overrides */
[data-theme="light"] {
    --bg-color: #f8fafc;
    --bg-nav: rgba(248, 250, 252, 0.9);
    --panel-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --white: #000000;
    --black: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

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

/* 🧭 Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: background-color 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.brand .logo {
    width: 42px;
    height: 42px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Switcher Button */
.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.theme-btn:hover {
    background-color: var(--border-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff !important;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--panel-bg);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
}

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

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.nav-cta {
    padding: 8px 18px;
    font-size: 13px;
}

/* 🚀 Hero Section */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.promo-badge {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--accent-teal);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-stars {
    color: var(--accent-yellow);
    font-size: 16px;
}

.trust-text {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.hero-mockup-wrapper {
    position: relative;
}

.hero-diagram-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ⚙️ Banner/Automation Section */
.banner-section {
    padding: 80px 0;
    background-color: rgba(37, 99, 235, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.banner-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* 🧩 Features Section */
.features-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

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

.f-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.f-blue { border-top: 3px solid var(--accent-blue); }
.f-teal { border-top: 3px solid var(--accent-teal); }
.f-green { border-top: 3px solid var(--accent-green); }
.f-yellow { border-top: 3px solid var(--accent-yellow); }

/* 💎 Free Plan Highlight Card */
.free-banner-section {
    padding: 80px 0;
}

.free-card {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.free-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.free-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.free-badge {
    background-color: var(--accent-green);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.free-checklist {
    list-style: none;
    space-y: 12px;
}

.free-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.free-checklist .check {
    color: var(--accent-green);
    font-weight: bold;
}

/* 🗺️ How it Works */
.workflow-section {
    padding: 80px 0;
    background-color: rgba(37, 99, 235, 0.01);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    position: relative;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 16px auto;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* ❓ FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-teal);
}

.faq-question .arrow {
    font-size: 14px;
    transition: transform 0.2s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 14px;
    padding-bottom: 20px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* 🏢 Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background-color: #030407;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copyright {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

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

/* Responsive styles */
@media (max-width: 968px) {
    .hero-grid, .banner-grid, .faq-grid, .free-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-desc, .hero-ctas {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .free-checklist {
        display: inline-block;
        text-align: left;
    }
}
