/* ============================
   GembaDeck.com — Stylesheet
   ============================ */

:root {
    --color-brand: #334155;
    --color-brand-light: #475569;
    --color-brand-dark: #1e293b;
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-accent-light: #dbeafe;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-text: #1e293b;
    --color-text-secondary: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-border: #e2e8f0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: 150ms ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---- NAVIGATION ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text);
    text-decoration: none;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-text); text-decoration: none; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-sm { font-size: 0.85rem; padding: 8px 16px; }
.btn-lg { font-size: 1rem; padding: 14px 28px; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
    background: var(--color-accent);
    color: white;
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
    background: var(--color-brand);
    color: white;
}
.btn-secondary:hover { background: var(--color-brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-text-secondary); background: var(--color-bg-alt); }

/* ---- HERO ---- */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Hero visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.hero-screenshots {
    position: relative;
    width: 100%;
    max-width: 520px;
}
.screenshot-main {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.1);
}
.screenshot-dock {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 160px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-demo {
    width: 100%;
    max-width: 520px;
}
.hero-demo .demo-gif {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ---- SOCIAL PROOF BAR ---- */
.social-proof {
    margin-top: 48px;
}
.social-proof-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.social-proof-stat {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}
.social-proof-stat strong {
    color: #fff;
    font-size: 1.15rem;
}
.social-proof-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.25);
}

/* ---- PROBLEM / SOLUTION ---- */
.problem-solution {
    padding: 80px 0;
}
.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.ps-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.ps-problem { background: #fef2f2; border-color: #fecaca; }
.ps-solution { background: #f0fdf4; border-color: #bbf7d0; }
.ps-icon { margin-bottom: 16px; }
.ps-problem .ps-icon { color: #dc2626; }
.ps-solution .ps-icon { color: #16a34a; }
.ps-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.ps-card p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}
.ps-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ps-card li {
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}
.ps-problem li::before { content: "\2717"; position: absolute; left: 0; color: #dc2626; font-weight: 700; }
.ps-solution li::before { content: "\2713"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

/* ---- SECTION HEADERS ---- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- OBJECTION SECTION ---- */
.objection {
    padding: 64px 0;
    background: var(--color-bg-alt);
}
.objection .section-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ---- BEFORE / AFTER ---- */
.before-after {
    padding: 80px 0;
}

/* ---- FEATURES ---- */
.features {
    padding: 80px 0;
    background: var(--color-bg-alt);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
    padding: 80px 0;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    max-width: 300px;
    margin: 0 auto;
}

/* ---- DEMO SECTION ---- */
.demo-section {
    padding: 80px 0;
    background: var(--color-bg);
}
.demo-section-visual {
    max-width: 680px;
    margin: 0 auto;
}
.demo-section-visual .demo-gif {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
}

/* ---- USE CASES ---- */
.use-cases {
    padding: 80px 0;
    background: var(--color-bg-alt);
}
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.use-case {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-width: 0;
    overflow: hidden;
}
.use-case h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.use-case p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.use-case code {
    display: block;
    font-size: 0.8rem;
    background: var(--color-bg-dark);
    color: #86efac;
    padding: 8px 12px;
    border-radius: var(--radius);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.use-case-featured {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-bg) 100%);
}
.use-case-featured h4 {
    color: var(--color-accent);
}
.use-cases-browse {
    text-align: center;
    margin-top: 32px;
    font-size: 1rem;
    font-weight: 600;
}

.check { color: var(--color-success); font-weight: 700; }
.cross { color: #cbd5e1; }

/* ---- PRICING ---- */
.pricing {
    padding: 80px 0;
    background: var(--color-bg-alt);
}
.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 20px;
    border-radius: 100px;
}
.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin: 24px 0 8px;
}
.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 8px;
}
.pricing-amount {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}
.pricing-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}
.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}
.pricing-features .check {
    flex-shrink: 0;
    font-size: 1.1rem;
}
.pricing-trial {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.pricing-compare {
    margin-top: 24px;
    padding: 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ---- FAQ ---- */
.faq {
    padding: 80px 0;
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item[open] summary::after {
    content: "\2212";
}
.faq-item p {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ---- FINAL CTA ---- */
.final-cta {
    padding: 100px 0;
    background: var(--color-bg-dark);
    color: white;
    text-align: center;
}
.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.final-cta > .container > p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 32px;
}
.final-cta .hero-cta {
    justify-content: center;
}
.final-cta .hero-note {
    color: #64748b;
}

/* ---- FOOTER ---- */
.footer {
    padding: 64px 0 32px;
    background: var(--color-bg-dark);
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-brand .nav-logo {
    color: white;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-links a:hover { color: white; }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { order: -1; }
    .screenshot-dock {
        width: 120px;
        right: -10px;
        bottom: -10px;
    }
    .social-proof-divider { display: none; }

    .ps-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.75rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-actions .btn { display: none; }
    .nav-actions { gap: 0; }

    .pricing-card { padding: 40px 24px; }
    .pricing-amount { font-size: 3.5rem; }
    .final-cta h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .btn-lg { padding: 12px 24px; }
}

/* ---- COOKIE CONSENT WALL ---- */
/* Positioning is handled via inline styles on the element for reliability.
   This rule adds backdrop blur. */
.cookie-wall {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
}
.cookie-dialog {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
}
.cookie-icon {
    color: var(--color-accent);
    margin-bottom: 16px;
}
.cookie-dialog h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.cookie-dialog p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}
.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}
