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

:root {
    --primary-color: #217346;
    --secondary-color: #185c37;
    --accent-color: #2d9b5f;
    --dark-bg: #0e3c24;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --success-color: #10b981;
    --border-color: #e2e8f0;
    --excel-green: #217346;
    --excel-light: #d7e9e2;
    --btn-primary: #1e40af;
    --btn-primary-hover: #1e3a8a;
    --btn-secondary: #334155;
    --btn-secondary-hover: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

.btn-login {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--btn-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: var(--btn-secondary);
    color: white;
    border: 2px solid var(--btn-secondary);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #217346 0%, #185c37 50%, #0e3c24 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.demo-text {
    font-size: 1.1rem;
    margin: 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.yt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #cc0000;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1.5px solid rgba(204, 0, 0, 0.25);
    border-radius: 20px;
    padding: 7px 18px;
    background: rgba(255, 0, 0, 0.04);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.yt-link:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #cc0000;
    color: #990000;
}

.yt-link-wrap {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    justify-content: center;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.feature-tag {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 10px;
    letter-spacing: 0.02em;
}

.badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* API Section */
.api-section {
    padding: 5rem 0;
    background: white;
}

.api-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.api-steps {
    list-style: none;
    counter-reset: step-counter;
}

.api-steps li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3rem;
}

.api-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.api-steps strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.api-steps p {
    color: var(--text-light);
}

.api-code {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 12px;
    color: #e2e8f0;
}

.api-code h3 {
    margin-bottom: 1rem;
    color: white;
}

.api-code pre {
    overflow-x: auto;
}

.api-code code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Use Case Section */
.use-case {
    padding: 5rem 0;
    background: linear-gradient(135deg, #217346 0%, #185c37 50%, #0e3c24 100%);
    color: white;
}

.use-case .section-title {
    color: white;
}

.use-case-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
}

.use-case-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: var(--light-bg);
}

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

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.plan-price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    color: var(--text-light);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--dark-bg);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: center;
    text-align: center;
}

.footer-section--center {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: left;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }
    
    .btn-login {
        display: block;
        text-align: center;
    }
    
    /* Overlay for mobile menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .api-demo {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Language Switcher (landing pages) */
.lang-switcher-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-flag-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dark);
    transition: border-color 0.2s, background 0.2s;
    line-height: 1.4;
}

.lang-flag-btn:hover {
    border-color: var(--primary-color);
    background: var(--excel-light);
}

.lang-flag-btn.active {
    border-color: var(--primary-color);
    background: var(--excel-light);
    color: var(--primary-color);
}

/* Marketing landing */
.marketing-page {
    background: #f8fafc;
}

.marketing-page .header {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.marketing-hero {
    background: #0f172a;
    color: white;
    padding: 5.5rem 0 4rem;
    text-align: left;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 4rem;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: #16a34a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.marketing-hero .hero-title {
    font-size: clamp(1.85rem, 3.4vw, 3rem);
    line-height: 1.12;
    letter-spacing: 0;
    margin-bottom: 1.3rem;
    max-width: 820px;
}

.marketing-hero .hero-subtitle {
    color: #cbd5e1;
    font-size: 1.18rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 780px;
}

.audience-strip,
.role-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.audience-strip {
    margin-bottom: 2rem;
}

.audience-strip span,
.role-list span {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    color: #dbeafe;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.45rem 0.75rem;
}

.marketing-hero .hero-buttons {
    justify-content: flex-start;
    margin: 0 0 1rem;
}

.hero-note {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 620px;
}

.hero-visual {
    position: relative;
}

.excel-window {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
    color: #0f172a;
    overflow: hidden;
}

.excel-titlebar {
    align-items: center;
    background: #e5e7eb;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
}

.excel-titlebar strong {
    font-size: 0.86rem;
    margin-left: 0.35rem;
}

.window-dot {
    background: #94a3b8;
    border-radius: 999px;
    display: inline-block;
    height: 0.7rem;
    width: 0.7rem;
}

.excel-ribbon {
    background: #217346;
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}

.excel-ribbon span {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
}

.excel-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    min-height: 300px;
}

.sheet-grid {
    background: #f8fafc;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 50px;
    padding: 1rem;
}

.cell {
    align-items: center;
    background: white;
    border: 1px solid #dbe3ee;
    color: #64748b;
    display: flex;
    font-size: 0.75rem;
    min-width: 0;
    overflow: hidden;
    padding: 0.4rem;
}

.cell-head {
    color: #0f172a;
    font-weight: 800;
}

.active-cell {
    background: #ecfdf5;
    border-color: #16a34a;
    color: #166534;
    font-weight: 800;
}

.linked-cell {
    background: #eff6ff;
    border-color: #60a5fa;
    color: #1d4ed8;
    font-weight: 800;
}

.addin-pane {
    background: #f1f5f9;
    border-left: 1px solid #cbd5e1;
    padding: 1rem;
}

.addin-pane h3 {
    color: #217346;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.addin-pane p {
    color: #334155;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.85rem;
}

.addin-pane ul {
    list-style: none;
    margin-bottom: 1rem;
}

.addin-pane li {
    background: white;
    border: 1px solid #dbe3ee;
    border-radius: 4px;
    color: #475569;
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
    padding: 0.4rem;
}

.addin-pane button {
    background: #1e40af;
    border: 0;
    border-radius: 6px;
    color: white;
    cursor: default;
    font-weight: 800;
    padding: 0.65rem 0.8rem;
    width: 100%;
}

.problem-section,
.solution-section,
.valuation-tools,
.use-cases-section,
.built-for-section,
.credibility-section,
.how-section,
.data-section,
.request-section {
    padding: 5rem 0;
}

.problem-section,
.valuation-tools,
.credibility-section,
.data-section {
    background: white;
}

.solution-section,
.use-cases-section,
.how-section {
    background: #f8fafc;
}

.split-section {
    align-items: start;
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.narrow {
    max-width: 880px;
    text-align: center;
}

.problem-section h2,
.solution-section h2,
.section-header h2,
.built-for-section h2,
.credibility-section h2,
.how-section h2,
.request-section h2 {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-lead {
    color: #475569;
    font-size: 1.14rem;
    line-height: 1.75;
}

.pain-list {
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

.pain-list li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
    padding: 1rem;
}

.pain-list li::before {
    color: #16a34a;
    content: ">";
    font-weight: 900;
    margin-right: 0.6rem;
}

.section-header {
    margin: 0 auto 2.5rem;
    max-width: 860px;
    text-align: center;
}

.grouped-features {
    background: #eef6f1;
}

.marketing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-kicker {
    color: #217346;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.benefit {
    background: #f8fafc;
    border-left: 3px solid #217346;
    border-radius: 6px;
    margin-top: 1rem;
    padding: 0.75rem 0.85rem;
}

.marketing-page .feature-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.use-case-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-grid article,
.proof-card,
.steps-grid li {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 1.35rem;
}

.use-case-grid h3,
.proof-card h3 {
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.use-case-grid p,
.proof-card p,
.steps-grid p {
    color: #64748b;
    line-height: 1.65;
}

.built-for-section {
    background: #0f172a;
    color: white;
    text-align: center;
}

.built-for-section h2 {
    color: white;
    margin-left: auto;
    margin-right: auto;
    max-width: 780px;
}

.role-list {
    justify-content: center;
    margin-top: 2rem;
}

.role-list span {
    background: rgba(255, 255, 255, 0.06);
}

.proof-card ul {
    list-style: none;
    margin: 1rem 0;
}

.proof-card li {
    color: #334155;
    margin-bottom: 0.65rem;
}

.proof-card li::before {
    color: #16a34a;
    content: ">";
    font-weight: 900;
    margin-right: 0.55rem;
}

.steps-grid {
    counter-reset: none;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 2.5rem 0;
}

.steps-grid span {
    align-items: center;
    background: #217346;
    border-radius: 999px;
    color: white;
    display: flex;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 2rem;
}

.steps-grid strong {
    color: #0f172a;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.compatibility-note {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 1rem;
    line-height: 1.65;
    padding: 1rem 1.2rem;
}

.data-card {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.data-card h3 {
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.data-card h3:not(:first-child) {
    margin-top: 1.5rem;
}

.data-card ul {
    display: grid;
    gap: 0.6rem;
    list-style: none;
}

.data-card li {
    color: #334155;
    line-height: 1.55;
}

.data-card li::before {
    color: #16a34a;
    content: ">";
    font-weight: 900;
    margin-right: 0.55rem;
}

.request-section {
    background: #10291c;
    color: white;
}

.request-panel {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.request-section h2,
.request-section .eyebrow {
    color: white;
}

.request-section p {
    color: #d1fae5;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 760px;
}

.request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.yt-popup-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.82);
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.yt-popup-shell {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    width: min(860px, 95vw);
}

.yt-popup-close {
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 26px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 14px;
    top: 10px;
    width: 36px;
    z-index: 10;
}

.yt-player-container {
    height: 100%;
    width: 100%;
}

@media (max-width: 980px) {
    .hero-grid,
    .split-section,
    .request-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 2.5rem;
    }

    .marketing-hero {
        padding: 4rem 0 3rem;
    }

    .excel-body {
        grid-template-columns: 1fr;
    }

    .addin-pane {
        border-left: 0;
        border-top: 1px solid #cbd5e1;
    }

    .marketing-grid,
    .two-col-grid,
    .use-case-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .request-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .marketing-hero .hero-buttons {
        align-items: stretch;
    }

    .marketing-hero .hero-buttons .btn,
    .request-actions .btn {
        text-align: center;
        width: 100%;
    }

    .problem-section,
    .solution-section,
    .valuation-tools,
    .use-cases-section,
    .built-for-section,
    .credibility-section,
    .how-section,
    .data-section,
    .request-section {
        padding: 3.5rem 0;
    }
}
