/* ==========================================================================
   Nine Calls - CSS Core
   LeftClick AI Aesthetic (Dark First, Brutal Minimalism)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. RESET & BASICS
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (CSS VARIABLES)
   -------------------------------------------------------------------------- */
:root {
    /* Dark Mode (Default) */
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --bg-nav: rgba(10, 10, 10, 0.85);
    
    --text-primary: #FFFFFF;
    --text-secondary: #BBBBBB;
    --text-label: #999999;
    
    --badge-num-color: #000000;
    --badge-circle: #FFFFFF;
    --badge-circle-border: transparent;
    --badge-label-color: #FFFFFF;
    --toggle-icon-color: #FFFFFF;
    --border-card-hover: rgba(255, 255, 255, 0.12);
    
    --badge-bg: #1A1A1A;
    
    --btn-bg: #FFFFFF;
    --btn-text: #0A0A0A;
    --btn-circle: #E8E8E8;
    --btn-icon: #000000;
    
    /* Invariants */
    --accent-guarantee: radial-gradient(ellipse 80% 60% at 50% 50%, #161622 0%, #0a0a0f 60%, #060608 100%);
    --bg-black-pure: #000000;
}

html.light-mode {
    /* Light Mode */
    --bg-primary: #F4F4F0;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFAFA;
    --bg-nav: rgba(244, 244, 240, 0.85);
    
    --text-primary: #0A0A0A;
    --text-secondary: #1A1A1A;
    --text-label: #333333;
    
    --badge-num-color: #FFFFFF;
    --badge-circle: #0A0A0A;
    --badge-circle-border: transparent;
    --badge-label-color: #333333;
    --toggle-icon-color: #333333;
    
    --border-color: #D0D0C8;
    --border-card: rgba(0, 0, 0, 0.12);
    --border-card-hover: rgba(0, 0, 0, 0.2);
    
    --badge-bg: #E8E8E2;
    
    --btn-bg: #0A0A0A;
    --btn-text: #FFFFFF;
    --btn-circle: #FFFFFF;
    --btn-icon: #0A0A0A;
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', sans-serif;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(32px, 5vw, 60px);
}

h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p, .desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.desc-justified {
    text-align: justify;
}

/* --------------------------------------------------------------------------
   3. UTILITIES & LAYOUT
   -------------------------------------------------------------------------- */
section {
    padding: 80px 0;
    width: 100%;
}

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

section {
    padding: 100px 0;
    width: 100%;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.dark-section { background: var(--bg-primary); }
.light-section { background: var(--bg-secondary); }

html.light-mode .force-dark-bg {
    background: #0d0d14;
    background-image: var(--accent-guarantee);
    color: #FFFFFF;
}
html.light-mode .force-dark-bg h2 { color: #FFFFFF; }
html.light-mode .force-dark-bg p { color: #888888; }

/* --------------------------------------------------------------------------
   4. COMPONENTS (BUTTONS, BADGES, CARDS)
   -------------------------------------------------------------------------- */

/* Pill Button */
.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    border-radius: 100px;
    padding: 16px 28px 16px 32px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-primary .arrow-circle {
    width: 36px;
    height: 36px;
    background: var(--btn-circle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-primary .arrow-circle svg {
    width: 16px;
    height: 16px;
    stroke: var(--btn-icon);
    stroke-width: 2.5;
    fill: none;
}

/* Secondary Button (Inverted) */
.btn-secondary {
    background: var(--btn-text);
    color: var(--btn-bg);
    border: none;
    border-radius: 100px;
    padding: 16px 28px 16px 32px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover { transform: scale(1.02); }
.btn-secondary .arrow-circle {
    width: 36px;
    height: 36px;
    background: var(--btn-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-secondary .arrow-circle svg {
    width: 16px;
    height: 16px;
    stroke: var(--btn-text);
    stroke-width: 2;
    fill: none;
}

/* Section Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--badge-bg);
    border-radius: 100px;
    padding: 6px 16px 6px 6px;
    margin-bottom: 36px;
}
.badge-num {
    width: 24px;
    height: 24px;
    background: var(--badge-circle);
    color: var(--badge-num-color);
    border: 1px solid var(--badge-circle-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.badge-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--badge-label-color, var(--text-secondary));
}.theme-toggle-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-card);
    background: var(--badge-bg);
    backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}
.theme-toggle-btn:hover { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   5. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--text-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.nav-logo-bar {
    background: var(--bg-primary);
    width: 3px;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-links a {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    border-radius: 100px;
    padding: 10px 10px 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.nav-cta-arrow {
    width: 30px;
    height: 30px;
    background: var(--btn-circle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-cta-arrow svg { stroke: var(--btn-icon); stroke-width: 2; fill: none; width: 14px; height: 14px; }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text-primary); padding: 4px; }
.mobile-menu-btn svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }

/* Mobile Nav — Full-screen overlay */
.mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    padding: 0 32px 48px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow-y: auto;
}
.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    flex-shrink: 0;
}

.mobile-nav-close {
    background: var(--badge-bg);
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: opacity 0.2s;
}
.mobile-nav-close:hover { opacity: 0.7; }
.mobile-nav-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(128,128,128,0.15);
    padding-top: 8px;
    margin-top: 8px;
}
.mobile-nav-links a {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.2;
    padding: 18px 0;
    border-bottom: 1px solid rgba(128,128,128,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.2s;
}
.mobile-nav-links a:hover { opacity: 0.6; }
.mobile-nav-links a .nav-arrow {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-label);
    line-height: 1;
}

.mobile-nav-footer {
    padding-top: 32px;
    flex-shrink: 0;
}
.mobile-nav-footer .btn-primary {
    width: 100%;
    justify-content: space-between;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 220px 48px 120px;
    position: relative;
    overflow: hidden;
}

html.light-mode .hero {
    background: linear-gradient(180deg, #F4F4F0 0%, #EBEBE6 100%);
}

html:not(.light-mode) .hero {
    background: linear-gradient(180deg, #0A0A0A 0%, #12121A 100%);
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: clamp(16px, 1.2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-caption {
    font-size: 13px;
    color: var(--text-label);
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   7. TRUST BAR (MARQUEE)
   -------------------------------------------------------------------------- */
.marquee {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.marquee-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-label);
    padding: 0 32px 0 48px;
    position: relative;
    z-index: 10;
    background: var(--bg-primary);
    flex-shrink: 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0 24px;
    display: inline-block;
}

.marquee-separator {
    color: var(--border-color);
    display: inline-block;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BASE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .navbar { padding: 0 24px; height: 64px; }
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 100px 24px 0; }
    section { padding: 80px 0; }
    .marquee-label { padding: 0 16px 0 24px; }
}

/* --------------------------------------------------------------------------
   9. SECTIONS & GRIDS
   -------------------------------------------------------------------------- */
/* Demo / Telnyx Section */
.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
    background: var(--bg-secondary);
    border-radius: 40px;
    border: 1px solid var(--border-card);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.demo-widget-wrapper {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 40px;
    margin-top: 40px;
}

/* Industry Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-card-hover);
    box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}
.card-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--badge-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    color: var(--text-primary);
}
.card-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.card-description {
    font-size: 15px;
    line-height: 1.65;
    flex-grow: 1;
    color: var(--text-secondary);
}
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-card);
}
.card-tag {
    background: var(--badge-bg);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
}

/* About Section (Asymmetric) */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-grid .text-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.about-grid img {
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}
.founder-photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--border-card);
    border-radius: 16px;
    margin-bottom: 20px;
    object-fit: cover;
}
.founder-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.founder-title { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.founder-bio { font-size: 16px; color: var(--text-secondary); line-height: 1.8; }
.about-grid .text-left h2 { margin-bottom: 32px; }
.about-grid .text-left .desc p { margin-bottom: 24px; }

/* Value Props (3 columns centered) */
.value-props-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 32px; 
    max-width: 1000px;
    margin: 0 auto;
}
.value-prop-card { border-top: 2px solid var(--text-primary); padding-top: 24px; text-align: center; }

/* Process Steps */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { border-top: 2px solid var(--border-color); padding-top: 24px; }
.step-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-label); margin-bottom: 16px; }
.step-title { font-size: 22px; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.02em; }
.step-desc { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }

/* FAQ Accordion */
.faq-list { max-width: 1200px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border-card); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border-card); }
.faq-question { font-size: 17px; font-weight: 600; color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-plus { 
    width: 28px; 
    height: 28px; 
    background: var(--badge-bg); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--text-primary); 
    flex-shrink: 0; 
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; padding-top: 16px; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-item.active .faq-plus { transform: rotate(45deg); background: var(--text-primary); color: var(--bg-primary); }

/* Guarantee & Final CTA */
.guarantee-section, .final-cta {
    background: #0A0A0A;
    background-image: var(--accent-guarantee);
    color: #FFFFFF;
    text-align: center;
    padding: 140px 48px;
    width: 100%;
}
.guarantee-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 100px 80px;
    max-width: 1200px;
    margin: 0 auto;
}
.guarantee-section h2, .final-cta h2 {
    color: #FFFFFF;
    font-size: clamp(40px, 6vw, 76px);
    max-width: 1000px;
    margin: 0 auto 32px;
    line-height: 1.15;
}
.final-cta p { color: #888888; max-width: 700px; margin: 0 auto 48px; }
.final-cta h2 { font-size: clamp(48px, 7.5vw, 96px); }

/* Footer */
footer { background: #000000; border-top: 1px solid #1a1a1a; padding: 80px 48px 48px; color: #FFFFFF; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; max-width: 1200px; margin: 0 auto; }
.footer-col-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #555555; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 15px; color: #888888; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #FFFFFF; }
.footer-desc { color: #888888; font-size: 15px; margin-bottom: 24px; line-height: 1.6; max-width: 300px; }
.footer-bottom { border-top: 1px solid #1a1a1a; margin: 48px auto 0; padding-top: 24px; max-width: 1200px; display: flex; justify-content: space-between; align-items: center; }
.footer-legal a { color: #888888; font-size: 13px; text-decoration: none; margin: 0 12px; transition: color 0.2s; }
.footer-legal a:hover { color: #FFFFFF; }
.footer-copyright { font-size: 13px; color: #555555; }
html.light-mode footer { background: #000000; }

/* --------------------------------------------------------------------------
   10. CALL UI WIDGET (SOFIA DEMO)
   -------------------------------------------------------------------------- */
.call-ui-wrapper {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    background: #111111;
    border-radius: 40px;
    border: 8px solid #222222;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/19;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 24px 48px;
}
html.light-mode .call-ui-wrapper {
    background: #E8E8E2;
    border-color: #D0D0C8;
    box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}

.call-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #222222;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.call-avatar::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
    animation: ripple 2s infinite ease-out;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.call-name {
    font-size: 32px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
html.light-mode .call-name { color: #000000; }

.call-status {
    font-size: 16px;
    color: #888888;
}

.call-actions {
    margin-top: auto;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 16px;
}
.call-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.call-btn:hover { transform: scale(1.05); }
.call-btn-decline { background: #FF3B30; }
.call-btn-accept { background: #34C759; }
.faq-btn { border: 1px solid var(--border-color); }

/* --------------------------------------------------------------------------
   11. ARTICLE PAGES (Privacy/Terms)
   -------------------------------------------------------------------------- */
.article-page {
    padding-top: 160px;
    padding-bottom: 120px;
}

.article-header {
    max-width: 800px;
    margin-bottom: 64px;
}

.article-body {
    max-width: 800px;
    line-height: 1.8;
}

.article-section {
    padding: 0;
    margin-bottom: 28px;
}

.article-section h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.article-section p {
    margin-bottom: 16px;
}

.article-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.article-section li {
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   FOUNDER BLOCK (inside dark Sobre Nós section)
   -------------------------------------------------------------------------- */
.founder-block {
    display: grid;
    grid-template-columns: minmax(0, 200px) 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
    text-align: left;
    justify-content: start;
}
.founder-block-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.founder-block-left img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    flex: none;
}
.founder-block-name {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}
.founder-block-right {
    display: flex;
    align-items: flex-start;
}
.founder-block-right .desc {
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
}
.founder-block-right .desc p + p {
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   SERVICE CARDS (Section 3 Serviços)
   -------------------------------------------------------------------------- */
.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 56px;
}
.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-card, rgba(0,0,0,0.08));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.service-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.service-card-body {
    padding: 28px 32px 32px;
}
.service-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.service-card-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Service card bullets */
.service-card-bullets {
    list-style: none;
    margin-top: 16px;
    padding: 0;
    border-top: 1px solid var(--border-card, rgba(0,0,0,0.08));
    padding-top: 16px;
}
.service-card-bullets li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 6px 0 6px 18px;
    position: relative;
}
.service-card-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-label);
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   ROI CALCULATOR
   -------------------------------------------------------------------------- */
.roi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}
.roi-inputs {
    padding: 48px 56px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.roi-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.roi-mode-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.roi-toggle-pills {
    display: flex;
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    padding: 4px;
    gap: 4px;
}
.roi-pill {
    padding: 8px 20px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.roi-pill.active {
    background: #FFFFFF;
    color: #0A0A0A;
}
.roi-slider-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.roi-slider-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}
.roi-slider-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
.roi-slider-value {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}
.roi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.15);
    outline: none;
    cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.roi-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.roi-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.roi-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.roi-input-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}
.roi-text-input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    -moz-appearance: textfield;
}
.roi-text-input:focus { border-color: rgba(255,255,255,0.35); }
.roi-text-input::-webkit-inner-spin-button,
.roi-text-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.roi-separator {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0 56px;
}
.roi-outputs {
    padding: 40px 56px 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.roi-output-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
}
.roi-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.roi-metric {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.roi-metric-highlight {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}
.roi-metric-value {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
}
.roi-metric-highlight .roi-metric-value {
    color: #FFFFFF;
}
.roi-metric-name {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}
.roi-cta {
    display: block;
    width: 100%;
    padding: 18px 32px;
    background: #FFFFFF;
    color: #0A0A0A;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.roi-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .founder-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .founder-block-left img {
        width: 140px;
        height: 140px;
    }
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
    .roi-inputs, .roi-outputs { padding: 32px 24px; }
    .roi-separator { margin: 0 24px; }
    .roi-metrics { grid-template-columns: 1fr; }
    .roi-inputs-row { grid-template-columns: 1fr; }
    .roi-mode-toggle { flex-direction: column; align-items: flex-start; gap: 12px; }

    /* ── MOBILE OPTIMIZATION ADDITIONS ── */

    /* Global safety: prevent horizontal overflow */
    body { overflow-x: hidden; }
    * { max-width: 100%; box-sizing: border-box; }
    img { max-width: 100%; height: auto; }

    /* Section padding: reduce from 80px to 60px for better scrollability */
    section { padding: 60px 0; }

    /* 1 — Hero: override inline style padding-top: 180px */
    .hero { padding-top: 80px !important; padding-bottom: 48px !important; }

    /* 2 — Intro section: stack image + text vertically */
    .intro-layout { flex-direction: column; gap: 32px; }
    .intro-layout > div:last-child { max-height: 260px; overflow: hidden; border-radius: 16px; }
    .intro-layout > div:last-child img { max-height: 260px; width: 100%; object-fit: cover; }

    /* 3 — About section: fix tall image and gap when stacking */
    .about-grid { gap: 32px; }
    .about-grid img { min-height: auto; max-height: 280px; }

    /* 4 — Value props grid: 3-col → 1-col */
    .value-props-grid { grid-template-columns: 1fr; gap: 16px; }

    /* 5 — Industry cards grid: 3-col → 1-col on mobile */
    .cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .industry-card { padding: 20px; }

    /* 6 — Step grid: 4-col → 2-col */
    .step-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    /* 7 — Service cards: reduce gap */
    .service-cards-grid { gap: 20px; }

    /* 8 — Demo / call UI widget */
    .demo-container { padding: 24px; }
    .demo-widget-wrapper { min-height: auto; padding: 24px; }
    .call-btn { width: 56px; height: 56px; }
    .call-name { font-size: 24px; }

    /* 9 — Calculator section: override inline padding: 100px 48px */
    section.guarantee-section { padding: 60px 0 !important; }

    /* 10 — Final CTA: override inline padding: 140px 48px */
    .final-cta { padding: 60px 0 !important; }

    /* 11 — Guarantee box: reduce desktop-sized padding */
    .guarantee-box { padding: 40px 24px; }

    /* 12 — Footer: stack to 1-col and fix padding */
    footer { padding: 48px 0 32px !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    /* 13 — Mobile nav: fix 16px positioning bug (navbar is 64px, not 80px) */
    .mobile-nav { top: 64px; }

    /* 14 — ROI inputs gap reduction */
    .roi-inputs { gap: 20px; }

    /* 15 — Typography: scale down hardcoded sizes */
    h3 { font-size: 18px; }
    .card-title { font-size: 17px; }
    .step-title { font-size: 18px; }
    .step-desc { font-size: 14px; }
    .service-card-body h3 { font-size: 18px; }
    .faq-question { font-size: 15px; }
    .roi-label { font-size: 13px; }

    /* 16 — FAQ item padding reduction */
    .faq-item { padding: 18px 0; }

    /* 17 — About section h2 bottom margin (inline style override) */
    #sobre h2 { margin-bottom: 32px !important; }
}
