/* ============================================
   Verbito - Custom Styles
   Cozy Study color palette
   ============================================ */

:root {
    --vb-green: #53AD8F;
    --vb-green-dark: #539A7E;
    --vb-green-light: #8CDABE;
    --vb-green-lighter: #D6E8D2;
    --vb-forest: #557E83;
    --vb-forest-light: #539A7E;
    --vb-charcoal: #1a1a2e;
    --vb-dark-text: #2E3A3D;
    --vb-muted-text: #6B7280;
    --vb-cream: #F5F7E9;
    --vb-wood: #EFA37E;
    --vb-coral: #B26445;
    --vb-slate: #627C94;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 0;
    color: var(--vb-dark-text);
    font-family: 'Nunito', system-ui, sans-serif;
    background-color: var(--vb-cream);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

/* ---- Navbar ---- */
.vb-navbar {
    background: linear-gradient(rgba(46, 58, 61, 0.3), rgba(46, 58, 61, 0.3)),
        linear-gradient(135deg, var(--vb-forest) 0%, var(--vb-forest-light) 100%);
    padding: 0.75rem 0;
}

.vb-navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.vb-navbar .nav-link:hover {
    color: #fff !important;
}

.vb-navbar .navbar-brand {
    color: #fff !important;
    font-size: 1.25rem;
}

/* ---- Logo ---- */
.vb-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.vb-logo-img-sm {
    width: 28px;
    height: 28px;
}

/* ---- Hero Section ---- */
.hero-section {
    background: url('/images/patterns/sparkles.png') repeat,
        linear-gradient(rgba(46, 58, 61, 0.58), rgba(46, 58, 61, 0.58)),
        linear-gradient(135deg, var(--vb-forest) 0%, var(--vb-green) 50%, var(--vb-green-light) 100%);
    background-size: 512px 512px, auto, auto;
    padding: 5rem 0;
    color: #fff;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-section .lead {
    font-size: 1.35rem;
    opacity: 0.9;
}

.hero-illustration {
    box-shadow: 0 1.25rem 3rem rgba(46, 58, 61, 0.28);
}

/* ---- Feature Sections ---- */
.feature-section-green {
    background: url('/images/patterns/sparkles.png') repeat,
        linear-gradient(rgba(46, 58, 61, 0.42), rgba(46, 58, 61, 0.42)),
        linear-gradient(135deg, var(--vb-green) 0%, var(--vb-green-dark) 100%);
    background-size: 512px 512px, auto, auto;
    padding: 5rem 0;
    color: #fff;
}

.feature-section-white {
    background: var(--vb-cream);
    padding: 5rem 0;
}

.feature-section-forest {
    background: url('/images/patterns/sparkles.png') repeat,
        linear-gradient(rgba(46, 58, 61, 0.32), rgba(46, 58, 61, 0.32)),
        linear-gradient(135deg, var(--vb-forest) 0%, var(--vb-forest-light) 100%);
    background-size: 512px 512px, auto, auto;
    padding: 5rem 0;
    color: #fff;
}

.section-title-script {
    font-family: 'Nunito', system-ui, sans-serif;
    font-style: normal;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.feature-section-white .section-title-script {
    color: var(--vb-forest) !important;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ---- Feature Cards ---- */
.feature-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 2rem rgba(16, 185, 129, 0.15);
}

.feature-icon {
    font-size: 2.25rem;
    color: var(--vb-green);
}

/* ---- Benefit Cards ---- */
.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-icon-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* ---- Buttons ---- */
.btn-primary {
    color: #fff;
    background-color: var(--vb-dark-text);
    border-color: var(--vb-dark-text);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--vb-charcoal);
    border-color: var(--vb-charcoal);
}

.btn-outline-light:hover {
    color: var(--vb-dark-text);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(16, 185, 129, 0.3);
}

/* ---- CTA Section ---- */
.cta-section {
    background: url('/images/patterns/sparkles.png') repeat,
        linear-gradient(rgba(46, 58, 61, 0.38), rgba(46, 58, 61, 0.38)),
        linear-gradient(135deg, var(--vb-green) 0%, var(--vb-forest) 100%);
    background-size: 512px 512px, auto, auto;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

.cta-mascot {
    width: auto;
    height: 160px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.support-header-img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.faq-mascot {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex: 0 0 auto;
}

.error-mascot {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
}

/* ---- Content Pages (Privacy, Support) ---- */
.content-page {
    padding: 3rem 0;
    background: var(--vb-cream);
}

.content-page h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--vb-dark-text);
}

.content-page h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--vb-forest);
}

.content-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--vb-dark-text);
}

.content-page p,
.content-page li {
    color: var(--vb-muted-text);
    line-height: 1.7;
}

/* ---- Info Callout ---- */
.info-callout {
    background-color: var(--vb-green-lighter);
    border-left: 4px solid var(--vb-green);
    border-radius: 0.5rem;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

/* ---- Footer ---- */
.vb-footer {
    background-color: var(--vb-charcoal);
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.vb-footer a {
    transition: color 0.2s ease;
}

.vb-footer a:hover {
    color: var(--vb-green-light) !important;
}

.hero-section .opacity-75,
.feature-section-green .opacity-75,
.feature-section-forest .opacity-75,
.cta-section .opacity-75 {
    opacity: 1 !important;
}

/* ---- Focus States ---- */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--vb-green);
}

/* ---- Text Utilities ---- */
.text-primary {
    color: var(--vb-green) !important;
}

.bg-primary {
    background-color: var(--vb-green) !important;
}

a.text-decoration-none:hover {
    text-decoration: underline !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .feature-section-green,
    .feature-section-white,
    .feature-section-forest {
        padding: 3rem 0;
    }

    .section-title-script {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-mascot {
        height: 110px;
    }

    .faq-mascot {
        width: 90px;
        height: 90px;
    }
}
