/* Custom Theme Overrides (white + ink palette) */
:root {
    /* Primary */
    --primary-color: #131316;
    --primary-hover: #1b1b1f;

    /* Ink rgb (for consistent translucent borders/fills) */
    --rh-ink-rgb: 19, 19, 22;

    /* Text (black-first with neutral variations) */
    --text-main: #131316;
    --text-body: #52525b;
    --text-light: #ffffff;

    /* Accents (use sparingly; keep UI cohesive) */
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-green: #00d97e;
    --accent-gold: #f7c346;
    --accent-purple: #e0d4fc;
    --bg-blue-wash: #ffffff;

    /* Backgrounds (more white) */
    --bg-white: #ffffff;
    --bg-light: #ffffff;
    --bg-blue-section: #131316;

    /* Soft section/card tints */
    --rh-surface-blue: color-mix(in srgb, var(--accent-blue) 10%, var(--bg-white));
    --rh-surface-purple: color-mix(in srgb, var(--accent-purple) 35%, var(--bg-white));
    --rh-surface-gold: color-mix(in srgb, var(--accent-gold) 22%, var(--bg-white));

    /* Bootstrap bridges (utilities like .text-primary/.bg-primary) */
    --bs-body-bg: var(--bg-white);
    --bs-body-color: var(--text-main);
    --bs-secondary-color: var(--text-body);
    --bs-primary: var(--accent-blue);
    --bs-primary-rgb: 59, 130, 246;
    --bs-link-color: var(--accent-blue);
    --bs-link-hover-color: var(--accent-blue-hover);

    /* Existing custom tokens used throughout the file */
    --card-bg: var(--bg-white);
    --accent-yellow: color-mix(in srgb, var(--accent-gold) 18%, var(--bg-white));
}

/* Bootstrap primary = ink (black) with standard states, no shadows */
.btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #0f0f12;
    --bs-btn-active-border-color: #0f0f12;
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: rgba(19, 19, 22, 0.35);
    --bs-btn-disabled-border-color: rgba(19, 19, 22, 0.35);
    box-shadow: none !important;
}

.btn-outline-primary {
    --bs-btn-color: var(--text-main);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #0f0f12;
    --bs-btn-active-border-color: #0f0f12;
    --bs-btn-disabled-color: rgba(19, 19, 22, 0.6);
    --bs-btn-disabled-border-color: rgba(19, 19, 22, 0.2);
    box-shadow: none !important;
}

/* Ensure Bootstrap utility maps to brand ink */
.text-dark {
    color: var(--text-main) !important;
}

/* Prevent Horizontal Scroll */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Google Sans Flex', 'Google Sans', Roboto, Arial, sans-serif;
}

/* Standard section spacing (bigger than Bootstrap py-5) */
section.py-5 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.section-gradient {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
}

@media (max-width: 576px) {
    .section-gradient {
        padding-top: 200px !important;
        padding-bottom: 12rem !important;
    }
}

.text-accent {
    color: var(--accent-blue);
}

.bg-card {
    background-color: var(--card-bg);
}

/* --- TECH GRID HERO BACKGROUND ---
    .hero-bg {
        background-color: #000;
        position: relative;
        z-index: 1;
        background-image:
            url("data:image/svg+xml,%3Csvg width='60' height='40' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M60 60L0 60L0 0L60 0L60 60ZM1 59L1 1L59 1L59 59L1 59Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
            linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.99)),
            url('c4a6c47b3cd73f0bde8ef00631982a16.jpg');

        background-size: 50px 50px, 50px 50px, 50px 50px, cover, cover;
        background-position: center top, center top, center top, center center, center center;
        background-repeat: repeat, repeat, repeat, no-repeat, no-repeat;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    }*/
.hero-section {
    background-color: var(--bg-blue-wash);
    background: radial-gradient(
        circle at 50% 25%,
        var(--accent-purple) 0%,
        var(--bg-blue-wash) 55%,
        var(--bg-white) 100%
    );
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: -10% 0 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='320' viewBox='0 0 520 320'%3E%3Cg fill='none'%3E%3Ctext x='20' y='60' fill='rgba(26,26,26,0.07)' font-size='28' font-family='Google Sans Flex, Arial, sans-serif'%3E%3C/text%3E%3Ctext x='120' y='110' fill='rgba(26,26,26,0.06)' font-size='24' font-family='Google Sans Flex, Arial, sans-serif'%3E$%3C/text%3E%3Ctext x='210' y='70' fill='rgba(26,26,26,0.06)' font-size='22' font-family='Google Sans Flex, Arial, sans-serif'%3E%E2%82%AC%3C/text%3E%3Ctext x='300' y='140' fill='rgba(26,26,26,0.06)' font-size='24' font-family='Google Sans Flex, Arial, sans-serif'%3E%C2%A3%3C/text%3E%3Ctext x='400' y='90' fill='rgba(26,26,26,0.06)' font-size='20' font-family='Google Sans Flex, Arial, sans-serif'%3EUSD%3C/text%3E%3Ctext x='60' y='200' fill='rgba(26,26,26,0.06)' font-size='20' font-family='Google Sans Flex, Arial, sans-serif'%3EEUR%3C/text%3E%3Ctext x='180' y='230' fill='rgba(26,26,26,0.05)' font-size='20' font-family='Google Sans Flex, Arial, sans-serif'%3EGBP%3C/text%3E%3Ctext x='300' y='230' fill='rgba(26,26,26,0.05)' font-size='20' font-family='Google Sans Flex, Arial, sans-serif'%3ENGN%3C/text%3E%3Ctext x='420' y='210' fill='rgba(26,26,26,0.05)' font-size='20' font-family='Google Sans Flex, Arial, sans-serif'%3EGHS%3C/text%3E%3Ctext x='360' y='40' fill='rgba(26,26,26,0.05)' font-size='18' font-family='Google Sans Flex, Arial, sans-serif'%3EKSh%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 520px 320px;
    opacity: 0.18;
    transform: rotate(-2deg);
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: -10% 0 0 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    background-repeat: repeat;
    background-size: 260px 260px;
    background-image: none;
}

/* Navbar Tweaks */
.navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Liquid glass navbar on scroll */
.navbar.navbar-liquid {
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        backdrop-filter 180ms ease,
        -webkit-backdrop-filter 180ms ease;
}

.navbar.navbar-liquid.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border-bottom-color: rgba(19, 19, 22, 0.1);
    box-shadow: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .navbar.navbar-liquid.navbar-scrolled {
        background-color: rgba(255, 255, 255, 0.92);
    }
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

/* Navbar CTA: white surface with subtle border */
.btn-nav-cta {
    background-color: var(--bg-white) !important;
    color: var(--text-main) !important;
    border: 1px solid rgba(var(--rh-ink-rgb), 0.12) !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-nav-cta:hover {
    background-color: var(--bg-white) !important;
    border-color: rgba(var(--rh-ink-rgb), 0.18) !important;
    color: var(--text-main) !important;
}

.btn-nav-cta:active,
.btn-nav-cta.active {
    background-color: var(--bg-white) !important;
    border-color: rgba(var(--rh-ink-rgb), 0.22) !important;
    color: var(--text-main) !important;
}

/* Keep top-level navbar items vertically aligned (incl. dropdown caret) */
.navbar .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    line-height: 1.15;
}

.navbar .navbar-nav .dropdown-toggle::after {
    vertical-align: 0;
}

.badge-new-gemini {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.badge-dot {
    height: 8px;
    width: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.5rem;
}

.navbar-toggler .rh-nav-toggler-icon {
    font-size: 2.25rem;
    line-height: 1;
    color: var(--text-main);
}

.navbar-toggler .icon-close {
    display: none;
}

.navbar-toggler[aria-expanded='true'] .icon-open {
    display: none;
}

.navbar-toggler[aria-expanded='true'] .icon-close {
    display: inline-block;
}

/* Mega Menu (Solutions dropdown) */
.navbar .dropdown-menu.mega-menu {
    width: min(1040px, calc(100vw - 2rem));
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: none !important;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 992px) {
    .navbar .dropdown-menu.mega-menu {
        width: min(1240px, calc(100vw - 2rem));
        left: 50%;
        transform: translateX(-50%);
        margin-top: 14px;
    }
}

@media (max-width: 991.98px) {
    .navbar .dropdown-menu.mega-menu {
        width: 100%;
        left: 0;
        right: 0;
        transform: none;
        margin-top: 0.5rem;
    }
}

.mega-menu .menu-header {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.58);
    margin-bottom: 14px;
    font-weight: 700;
}

.mega-menu .nav-link-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition:
        background-color 0.15s ease,
        transform 0.15s ease;
}

.mega-menu .nav-link-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.07);
    transform: translateY(-1px);
}

.mega-menu .icon-box {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: rgba(var(--bs-primary-rgb), 0.95);
}

.mega-menu .icon-box .material-icons {
    font-size: 20px;
    line-height: 1;
    color: inherit;
}

.mega-menu .item-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.mega-menu .item-desc {
    display: block;
    font-size: 0.82rem;
    color: rgba(15, 23, 42, 0.62);
    line-height: 1.35;
}

.mega-menu .feature-col {
    height: 100%;
    padding: 28px;
    background:
        radial-gradient(
            900px 260px at 20% 0%,
            rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0) 60%
        ),
        radial-gradient(
            700px 260px at 80% 10%,
            rgba(var(--bs-primary-rgb), 0.1),
            rgba(255, 255, 255, 0) 55%
        ),
        rgba(255, 255, 255, 0.72);
    border-left: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

@media (min-width: 992px) {
    .mega-menu .col-lg-4.p-4 {
        background: rgba(248, 250, 252, 0.72);
        border-right: 1px solid rgba(15, 23, 42, 0.06);
    }
}

.mega-menu .feature-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(10, 10, 10, 0.08);
}

/* Mega Menu: long feature lists */
.mega-menu .menu-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

@media (max-width: 991.98px) {
    .mega-menu .menu-scroll {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

.mega-menu .feature-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    line-height: 1.25;
    white-space: nowrap;
    min-width: 0;
}

.mega-menu .feature-link .material-icons {
    font-size: 18px;
    line-height: 1;
    opacity: 0.8;
}

.mega-menu .feature-link .feature-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.mega-menu .feature-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.07);
}

/* UI Elements */
.video-player-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    box-shadow: none;
    z-index: 10;
}

.video-overlay-ui {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.video-model-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar-custom {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    border-radius: 2px;
}

.progress-bar-custom .progress {
    width: 30%;
    height: 100%;
    background: white;
    border-radius: 2px;
}

/* Sections & Cards */
.feature-section {
    padding: 6rem 0;
}

.feature-img-placeholder {
    background-color: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-window {
    background-color: #1e1e1e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Roboto Mono', 'Courier New', monospace;
    overflow-x: auto;
}

.code-header {
    padding: 10px 16px;
    background: #282828;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.window-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.model-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.model-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    background-color: #252525;
}

.model-card-img-bottom {
    height: 140px;
    background-color: #2a2a2a;
    margin-top: auto;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    position: relative;
    overflow: hidden;
}

.geo-placeholder {
    position: absolute;
    bottom: 15px;
    left: 15px;
    opacity: 0.6;
}

footer {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.footer-link {
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent-blue);
}

/* Typography adjustments */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

.display-4 {
    font-weight: 500;
    letter-spacing: -0.03em;
}

/* Typography Tweaks */
.display-title {
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #6c757d;
}

/* Custom Button Styling */
.btn-custom-white {
    background-color: white;
    color: black;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-custom-white:hover {
    background-color: #e2e2e2;
    transform: translateX(5px);
}

/* Card Styling */
.feature-card {
    background-color: var(--card-bg);
    border: none;
    border-radius: 32px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card.bg-peach {
    background-color: #fff4f2;
}

.feature-card.bg-azure {
    background-color: #f0f9ff;
}

.feature-card.bg-lavender {
    background-color: #f5f3ff;
}

.card-top-content {
    padding: 24px;
}

.pill-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: #ccc;
    display: inline-block;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.icon-circle.yellow {
    background: var(--accent-yellow);
    color: black;
}

/* Illustration Areas (Bottom of cards) */
.illustration-area {
    flex-grow: 1;
    min-height: 200px;
    position: relative;
    width: 100%;
}

.bg-yellow-soft {
    background-color: #fff4f2;
}

.bg-blue-soft {
    background-color: #f0f9ff;
}

.bg-purple-soft {
    background-color: #f5f3ff;
}

/* Decorative placeholders for the images inside the cards */
.placeholder-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

/* Horizontal scroll container */
.scroll-x {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

/* Hide scrollbar (WebKit + Firefox) */
.scroll-x::-webkit-scrollbar {
    display: none;
}

.scroll-x {
    scrollbar-width: none;
}

/* Circle image sizing */
.loc-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Snap each item */
.snap-start {
    scroll-snap-align: start;
}

/* Optional: tighten caption */
.loc-caption {
    font-size: 0.85rem;
    color: #0f172a;
}

/* Custom Styling to match the design */
body {
    background-color: var(--bg-light);
    font-family: 'Google Sans Flex', 'Google Sans', Roboto, Arial, sans-serif;
}

.section-header {
    margin-bottom: 3rem;
}

.badge-pill {
    background-color: white;
    color: black;
    border: 1px solid #e5e5e5;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

h2.display-title {
    font-weight: 500;
    font-size: 5rem;
    letter-spacing: -2px;
    line-height: 1;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.copyright {
    font-weight: 600;
    color: var(--text-main);
}

/* Card Styling */
.card {
    border: none;
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    background: #ffffff;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

/* Review Score Typography */
.score {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
}

.score span {
    font-size: 1.5rem;
    color: #9ca3af;
    font-weight: 400;
}

/* Avatar Styling */
.avatar {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-group img {
    border: 2px solid white;
    margin-right: -10px;
}

.avatar-group .count {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--text-main);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 2px solid white;
    margin-left: -10px;
    z-index: 2;
}

/* Button Styling */
.btn-black {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 500;
    width: 100%;
}

.btn-black:hover {
    background-color: var(--primary-hover);
    color: var(--text-light);
}

/* Text Utilities */
.text-small {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.4;
}

.review-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-main);
}

.user-meta h6 {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
}

.user-meta span {
    font-size: 0.85rem;
    color: var(--text-body);
}

/* Plus icon positioning */
.card-top-right-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #d1d5db;
}
.faq-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Typography Styling */
.faq-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

/* Accordion Customization */
.accordion-item {
    border: none;
    border-bottom: 1px solid #e5e7eb; /* Light grey divider */
    background-color: transparent;
}

.accordion-button {
    background-color: transparent;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 2rem 0; /* Vertical spacing */
    box-shadow: none !important; /* Remove blue focus outline */
}

.accordion-button:not(.collapsed) {
    color: var(--text-main);
    background-color: transparent;
}

.accordion-body {
    padding: 0 0 2rem 0;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
}

/* Custom Icon Logic (+ and x) */
.accordion-button::after {
    display: none; /* Hide default Bootstrap chevron */
}

.accordion-button::before {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    font-weight: 300;
    color: #9ca3af;
    transition: transform 0.2s ease-in-out;
}

/* When the item is OPEN (not collapsed) */
.accordion-button:not(.collapsed)::before {
    content: '\00d7'; /* Unicode for multiplication sign (x) */
    font-size: 2rem; /* Make the x slightly larger to match visual weight */
    transform: rotate(0deg); /* Optional rotation effect */
    color: var(--text-main);
    line-height: 0.8; /* Adjust vertical alignment of x */
}
/* Ensure the font matches the clean sans-serif look */
.font-sans {
    font-family:
        'Inter',
        system-ui,
        -apple-system,
        sans-serif;
}

/* Custom link hover effect */
footer a.text-reset:hover {
    color: #fff !important; /* Whiten the grey text on hover */
    transition: color 0.2s ease;
}

/* Whatsapp Button specific green (if you want it exact) */
.btn-success {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--text-main);
}

.btn-success:hover {
    background-color: #00c46f;
    border-color: #00c46f;
}

/* Make social icons slightly larger on hover */
footer .rounded-circle:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}
/* Color Variables */
:root {
    --lime-green: #bef264;
    --dark-green: #064e3b;
    --card-bg: #f4f4f0;
}

/* Custom Green Background for Icon */
.bg-light-green {
    background-color: var(--lime-green);
}

/* Feature Box Styling */
.stat-box {
    min-width: 200px;
    border-color: #e5e7eb !important;
}

.icon-square {
    width: 40px;
    height: 40px;
    background-color: #f3f4f6 !important;
}

/* Credit Card CSS Art */
.credit-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    max-width: 450px;
    min-height: 280px;
    /* Subtle texture effect */
    background-image: radial-gradient(#e5e5e0 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Responsive Font Tweaks */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .brand-logo span {
        font-size: 6rem !important;
    }

    .credit-card {
        min-height: 240px;
    }
} /* Typography Tweak */
.ls-tight {
    letter-spacing: -1.5px;
}

/* Comparison table section (Rootshive vs Other Tools) */
.bujeti-comp {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
    border-top: 1px solid rgba(10, 10, 10, 0.06);
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.bujeti-comp .sub-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 10, 10, 0.12);
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.65);
    margin-bottom: 0.9rem;
}

.bujeti-comp .highlight-text {
    color: var(--primary-color);
}

.bujeti-comp .table-responsive {
    background: #ffffff;
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 22px;
    overflow: hidden;
}

.bujeti-comp .table {
    background: transparent;
    border: none;
    margin-bottom: 0;
}

.bujeti-comp thead th {
    background: rgba(var(--bs-primary-rgb), 0.035);
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
    padding-top: 1rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.bujeti-comp tbody td {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    border-top: 1px solid rgba(10, 10, 10, 0.06);
    vertical-align: middle;
}

.bujeti-comp tbody tr:hover td {
    background: rgba(var(--bs-primary-rgb), 0.018);
}

.bujeti-comp th:not(:first-child),
.bujeti-comp td:not(:first-child) {
    text-align: center;
    width: 18%;
}

.bujeti-comp .feature-cell {
    font-weight: 600;
    color: var(--text-main);
    padding-left: 20px;
}

.bujeti-comp .brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.bujeti-comp .brand-logo .material-icons {
    font-size: 1.05rem;
    line-height: 1;
    color: rgba(var(--bs-primary-rgb), 0.95);
}

.bujeti-comp .check-icon,
.bujeti-comp .cross-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 1.2rem;
    line-height: 1;
    vertical-align: middle;
    border: 1px solid rgba(10, 10, 10, 0.08);
}

.bujeti-comp .check-icon {
    color: var(--accent-green);
    background: rgba(0, 217, 126, 0.14);
}

.bujeti-comp .cross-icon {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

.bujeti-comp .flex-x {
    color: rgba(var(--bs-primary-rgb), 0.9);
}

.bujeti-comp .duplo-o {
    color: rgba(var(--bs-primary-rgb), 0.55);
}

.bujeti-comp .badge-pill {
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
}

.bujeti-comp .badge-pill .material-icons {
    font-size: 1rem;
    line-height: 1;
}

/* Full-bleed wrapper (edge-to-edge) */
.marquee-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Marquee Container */
.marquee-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding-inline: clamp(12px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Moving Strip */
.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 3rem; /* Space between logos */
}

/* Brand Item Styling */
.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-main);
    user-select: none;
}

.brand-pill .bank-logo {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 6px;
    display: block;
}

.brand-pill i {
    font-size: 1.5rem;
}

/* Animations */
.scroll-left {
    animation: scrollLeft 35s linear infinite;
}

.scroll-right {
    animation: scrollRight 40s linear infinite;
}

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

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

/* Responsive adjustment: Faster scroll on mobile to keep it interesting */
@media (max-width: 768px) {
    .marquee-content {
        gap: 2rem;
    }
    .brand-pill {
        font-size: 1rem;
    }
    .scroll-left {
        animation-duration: 20s;
    }
    .scroll-right {
        animation-duration: 25s;
    }
}

/* =========================================================
   Shadowless UI (site override)
   ========================================================= */
:root {
    --bs-box-shadow: none;
    --bs-box-shadow-sm: none;
    --bs-box-shadow-lg: none;
}

.shadow,
.shadow-sm,
.shadow-lg {
    box-shadow: none !important;
}

.modal-content,
.offcanvas,
.dropdown-menu,
.popover,
.toast,
.tooltip .tooltip-inner {
    box-shadow: none !important;
}

.btn:focus,
.btn:focus-visible,
.nav-link:focus,
.nav-link:focus-visible,
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.accordion-button:focus,
.accordion-button:focus-visible,
.navbar-toggler:focus {
    box-shadow: none !important;
}

.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.navbar-toggler:focus-visible {
    outline: 2px solid rgba(17, 24, 39, 0.45);
    outline-offset: 2px;
}
