:root {
    --bg-color: #f4f4f5;
    --text-main: #09090b;
    --text-muted: #52525b;
    --brand-primary: #f97316;
    /* PBB Orange */
    --brand-primary-dark: #ea580c;
    --brand-glow: rgba(249, 115, 22, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(255, 255, 255, 0.5);

    --font-sans: 'DM Sans', sans-serif;
    --font-display: 'Sora', sans-serif;

    --container-width: 1440px;
    --hero-width: 1600px;
    --container-padding: 64px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.glow-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--brand-glow);
    animation: float 10s infinite alternate ease-in-out;
}

.glow-2 {
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(14, 165, 233, 0.15);
    animation: float 12s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-30px, 30px);
    }
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-dark {
    background: rgba(9, 9, 11, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.pbb-logo {
    height: 106px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Buttons */
.btn-outline {
    display: inline-flex;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--glass-bg);
}

.btn-outline:hover {
    background: var(--glass-border);
    border-color: var(--text-muted);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
}

/* Hero Section */
.hero-section.container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 6rem var(--container-padding);
    flex: 1;
    max-width: var(--hero-width);
}

.hero-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-body-section.container {
    padding: 6rem var(--container-padding);
    max-width: var(--hero-width);
}

.hero-body {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 4rem;
    align-items: start;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--brand-primary);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    -webkit-animation: fadeInDown 0.8s ease-out;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    -webkit-animation: fadeInUp 0.8s ease-out 0.1s both;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-tagline {
    font-size: 1.85rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.35;
    max-width: 850px;
    margin: 0 auto 3rem;
    letter-spacing: -0.01em;
    -webkit-animation: fadeInUp 0.8s ease-out 0.2s both;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tagline-brand {
    color: var(--brand-primary);
    font-weight: 800;
}

.tagline-impact {
    color: var(--text-main);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0 4px;
    z-index: 1;
}

.tagline-impact::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(249, 115, 22, 0.12); /* Subtle Orange Marker Effect */
    z-index: -1;
    border-radius: 4px;
    /* Drawing animation */
    transform-origin: left;
    animation: markerReveal 1.2s cubic-bezier(0.65, 0, 0.35, 1) 1.2s both;
}

@keyframes markerReveal {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.highlight {
    color: var(--brand-primary);
    position: relative;
    display: inline-block;
}

.hero-body-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    -webkit-animation: fadeInUp 0.8s ease-out 0.2s both;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle strong {
    color: var(--text-main);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    -webkit-animation: fadeInUp 0.8s ease-out 0.3s both;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Glass Card Form */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.form-card {
    -webkit-animation: fadeInUp 0.8s ease-out 0.4s both;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    padding-top: 6rem;
}

.form-header-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.form-logo-img {
    width: 15%;
    height: auto;
    object-fit: contain;
}

.form-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(249, 115, 22, 0.05); /* Very light orange */
    border: 1px solid rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: #cbd5e1; /* Light gray */
    opacity: 0.8;
}

.input-group input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.input-group input.error-field {
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.hidden {
    display: none !important;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
    animation: zoomIn 0.5s ease-out;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.success-message h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Trusted By */
.trusted-by {
    margin-top: 3rem;
    -webkit-animation: fadeInUp 0.8s ease-out 0.5s both;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.trusted-by p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roles-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip {
    padding: 0.4rem 0.8rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.chip:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background: rgba(249, 115, 22, 0.05);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    -webkit-animation: fadeInRight 1s ease-out 0.3s both;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.image-wrapper {
    position: relative;
    padding: 1rem;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.005) 100%);
    overflow: hidden;
}

.book-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.product-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.image-wrapper:hover .product-image {
    transform: translateY(-10px) rotate(2deg);
}

/* Fallback for Image */
.fallback-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #c2410c 100%);
    border-radius: 8px;
    box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(800px) rotateY(-15deg);
    padding: 2rem;
}

.fallback-mode .fallback-content {
    display: flex;
}

.fallback-mode .product-image {
    display: none;
}

.fallback-pbb {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.fallback-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}



/* Features Section - Dark Mode */
.features-section {
    padding: 10rem 0;
    position: relative;
    background-color: #09090b; /* Deep Dark */
    color: #ffffff;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease-out, transform 0.8s ease-out;
    overflow: hidden;
    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.feature-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-description-small {
    font-size: 0.95rem;
    color: #d1d5db; /* Lighter, more readable gray (Gray-300) */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.result-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-list li {
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.result-list .check {
    color: var(--brand-primary);
    font-weight: bold;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: rgba(249, 115, 22, 0.15);
    color: var(--brand-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.ai-glow-icon {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.feature-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.feature-emphasis {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-emphasis p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.feature-emphasis .strong {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

.ai-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-top: auto;
}

.ai-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.dot {
    width: 8px;
    height: 8px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.8);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ai-card .card-glow {
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.features-footer {
    margin-top: 5rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.typing-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    border-right: 3px solid var(--brand-primary);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    width: 0;
    animation: typing 3s steps(20, end) forwards infinite, blink 0.75s step-end infinite;
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

@keyframes typing {
    0% { width: 0; }
    50% { width: 14ch; } /* Roughly the character count of 'e muito mais...' */
    90% { width: 14ch; }
    100% { width: 0; }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: var(--brand-primary); }
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.footer-content {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    :root {
        --container-padding: 32px;
    }

    .hero-section.container {
        padding: 4rem var(--container-padding);
        gap: 2rem;
    }

    .hero-body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .glass-card {
        padding: 1.5rem;
    }


}