:root {
    --bg-color: #0b0f19;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --card-bg: rgba(30, 41, 59, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
    line-height: 1.6;
}

.presentation-container {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Hide scrollbar */
.presentation-container::-webkit-scrollbar {
    display: none;
}

.presentation-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slide {
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    position: relative;
}

.content {
    max-width: 1000px;
    width: 100%;
    z-index: 10;
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.massive-text {
    font-size: 5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.warning-text {
    color: #ef4444;
}

/* Specific elements */
.slide-number {
    position: absolute;
    top: 3rem;
    left: 4rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
}

.block-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-light);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.block-divider {
    text-align: center;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, var(--bg-color) 70%);
}

.block-divider h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Lists and Layouts */
.parts-list {
    font-size: 22px;
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.parts-list li {
    margin-bottom: 0.5rem;
}

.clean-list {
    list-style: none;
    font-size: 1.5rem;
}

.clean-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.clean-list.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.icon-grid.smaller {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.icon-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.icon-item:hover {
    transform: translateY(-5px);
}

.icon-item span {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #fff;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-size: 1.2rem;
}

.quote-box {
    margin-top: 3rem;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
}

.quote-box h3 {
    font-style: italic;
    color: #fff;
    margin: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.stat {
    font-size: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.comparison-box {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-box>div {
    flex: 1;
    padding: 2rem;
    border-radius: 1rem;
}

.not-this {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.not-this ul {
    list-style: none;
    font-size: 1.5rem;
}

.is-this {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.is-this ul {
    list-style: none;
    font-size: 1.5rem;
}

/* Controls */
.controls {
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    z-index: 100;
}

.controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.controls button:hover {
    color: var(--accent-light);
}

#progressIndicator {
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums;
}

/* Speaker Notes */
.speaker-notes {
    display: block;
    color: #fbbf24;
    margin-top: 2rem;
    font-size: 1.2rem;
    font-style: italic;
}

.speaker-notes p {
    color: #fbbf24;
}

/* Utilities */
.text-left {
    text-align: left;
}

.flywheel span {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.flywheel {
    text-align: center;
    margin: 2rem 0;
    font-family: var(--font-heading);
}

.loop-icon {
    font-size: 2rem !important;
}

.equation-box {
    text-align: center;
}

.equation-box span {
    font-size: 3rem;
    color: var(--text-secondary);
    display: block;
    margin: 1rem 0;
}

.flow-step {
    margin-bottom: 1rem;
    text-align: center;
}

.flow-arrow {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.dynamics-slide {
    background: radial-gradient(circle at center, #1e3a8a 0%, #0b0f19 100%);
    text-align: center;
}

.dynamics-slide .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fbbf24;
    color: #000;
    font-weight: bold;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.phone-mockup {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 400px;
    font-size: 1.5rem;
}

/* Opening Video */
.title-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.bg-video {
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.6);
    /* Dark overlay to make text readable */
    z-index: 1;
}

.title-slide .content {
    z-index: 2;
    position: relative;
}

/* Contacts Slide */
.contacts-slide {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

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

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 4rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.contact-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
}

/* QR Code Slide */
.qr-slide {
    background: radial-gradient(circle at center, #1e293b 0%, #0b0f19 100%);
}

.qr-label {
    font-size: 1.4rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
}

.qr-wrapper {
    display: inline-flex;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
}

.qr-code {
    width: 280px;
    height: 280px;
    border-radius: 0.5rem;
    display: block;
}

.qr-url {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.qr-hint {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Intro Quote Slide */
.intro-quote-slide {
    background: radial-gradient(ellipse at center, #1e1b4b 0%, #0b0f19 70%);
}

.intro-quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.quote-mark {
    font-size: 8rem;
    line-height: 0.5;
    font-family: Georgia, serif;
    color: rgba(99, 102, 241, 0.4);
    display: block;
    margin-bottom: 1rem;
}

.quote-mark.closing {
    margin-top: 1rem;
    margin-bottom: 0;
}

.intro-quote-text {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    font-style: italic;
    margin: 0.5rem 0;
}

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-line {
    font-size: 1.4rem;
    font-weight: 700;
    color: #a5b4fc;
}

.author-book {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* =====================
   RESPONSIVIDADE MOBILE
   ===================== */
@media (max-width: 768px) {

    body {
        line-height: 1.8;
    }

    /* Desativa o scroll-snap no mobile para evitar conteúdo cortado */
    .presentation-container {
        scroll-snap-type: none;
        height: 100vh;
        overflow-y: scroll;
    }

    .slide {
        height: auto;
        min-height: 100vh;
        scroll-snap-align: none;
        padding: 2rem 1.5rem;
        padding-bottom: 6rem;
        padding-top: 3.5rem;
        justify-content: center;
        align-items: center;
    }

    .content {
        text-align: center;
    }

    /* Tipografia */
    h1 {
        font-size: 1.9rem;
        margin-bottom: 1rem;
        line-height: 1.25;
        letter-spacing: -0.01em;
    }

    h2 {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    p {
        font-size: 1.05rem;
        line-height: 1.75;
        text-align: center;
        color: #b0bec5; /* levemente mais claro que o padrão para maior contraste */
        margin-bottom: 0.8rem;
    }

    .massive-text {
        font-size: 2.8rem;
    }

    .block-divider h1 {
        font-size: 2rem;
    }

    /* Slide number */
    .slide-number {
        top: 1rem;
        left: 1rem;
        font-size: 1rem;
    }

    /* Controls */
    .controls {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .controls button {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
        min-width: 2.5rem;
    }

    /* Cards e grids */
    .two-col, .icon-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    /* Layouts de colunas — forçar coluna única no mobile */
    .comparison-box,
    .two-col-flex,
    .side-by-side,
    .split-view {
        flex-direction: column !important;
        gap: 1rem;
    }

    .comparison-box > div {
        width: 100%;
        padding: 1.2rem;
    }

    .not-this ul,
    .is-this ul {
        font-size: 1rem;
    }

    .massive-text.text-left {
        text-align: center !important;
        font-size: 2.2rem;
    }

    .icon-grid.smaller {
        grid-template-columns: repeat(2, 1fr);
    }

    .tags-container {
        gap: 0.5rem;
        justify-content: center;
    }

    .tag {
        font-size: 0.9rem;
        padding: 0.35rem 0.8rem;
    }

    .clean-list {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .clean-list li {
        padding: 0.6rem 0;
    }

    /* QR Code */
    .qr-code {
        width: 200px;
        height: 200px;
    }

    .qr-url {
        font-size: 1.2rem;
    }

    .qr-label {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Quote */
    .intro-quote-text {
        font-size: 1.35rem;
        line-height: 1.6;
    }

    .quote-mark {
        font-size: 4rem;
    }

    .author-line {
        font-size: 1rem;
    }

    .author-book {
        font-size: 0.9rem;
    }

    /* Contact links */
    .contact-link {
        font-size: 1rem;
        padding: 0.9rem 1rem;
        gap: 0.7rem;
    }

    /* Cards */
    .card, .action-box, .quote-box, .glass-card {
        padding: 1.2rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Phone mockup */
    .phone-mockup {
        padding: 1.5rem 1rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Speaker notes */
    .speaker-notes {
        font-size: 0.95rem;
        margin-top: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 3rem 1.2rem;
        padding-bottom: 6rem;
    }

    h1 {
        font-size: 1.55rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }

    .intro-quote-text {
        font-size: 1.15rem;
        line-height: 1.65;
    }

    .qr-code {
        width: 160px;
        height: 160px;
    }

    .contact-link {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .massive-text {
        font-size: 2.2rem;
    }

    .block-divider h1 {
        font-size: 1.7rem;
    }
}