/* ===================================
   defaudit - Enterprise Styling
   Shares its design language (dark surface palette, purple accent,
   Geist type) with the ISA product UI, since defaudit.com is the
   marketing front door for that same product.
   =================================== */

:root {
    --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

    /* Status colors: constant across both themes, same as the ISA app */
    --success-color: #2bb673;
    --danger-color: #f43f5e;
    --warning-color: #f0b429;
    --info-color: #4cc3ff;
}

/* ---------------- DARK (default) ---------------- */
:root,
[data-theme="dark"] {
    --bg: #0a0b0d;
    --bg-subtle: #0d0e11;
    --bg-inset: #070809;
    --surface: #141518;
    --surface-2: #1a1c20;
    --surface-3: #212329;
    --border-color: #24262c;
    --border-strong: #31343b;
    --border-faint: #1a1c20;

    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --text-faint: #6b7079;

    --accent: #7c5cff;
    --accent-hover: #8e72ff;
    --accent-press: #6a47f0;
    --accent-fg: #ffffff;
    --accent-rgb: 124, 92, 255;
    --accent-subtle: rgba(124, 92, 255, 0.14);
    --accent-border: rgba(124, 92, 255, 0.34);
    --accent-glow: rgba(124, 92, 255, 0.24);
    --accent-grad: linear-gradient(135deg, #8e72ff 0%, #6a47f0 100%);

    --shadow-color-rgb: 0, 0, 0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);

    --grid-line: rgba(255, 255, 255, 0.035);

    color-scheme: dark;

    /* Legacy aliases so every existing rule below keeps working */
    --primary-color: var(--accent);
    --primary-dark: var(--accent-press);
    --primary-light: var(--accent-hover);
    --secondary-color: var(--accent-hover);
    --dark-color: var(--bg-inset);
    --light-color: var(--bg);
    --section-alt-bg: var(--bg-subtle);
}

/* ---------------- LIGHT ---------------- */
[data-theme="light"] {
    --bg: #f6f7f9;
    --bg-subtle: #eef0f3;
    --bg-inset: #e9ebef;
    --surface: #ffffff;
    --surface-2: #f7f8fa;
    --surface-3: #eef0f3;
    --border-color: #e6e8ec;
    --border-strong: #d4d8de;
    --border-faint: #eef0f3;

    --text: #0b0c0e;
    --text-muted: #5b626c;
    --text-faint: #8b919b;

    --accent: #6d28d9;
    --accent-hover: #5b21b6;
    --accent-press: #4c1d95;
    --accent-fg: #ffffff;
    --accent-rgb: 109, 40, 217;
    --accent-subtle: rgba(109, 40, 217, 0.08);
    --accent-border: rgba(109, 40, 217, 0.24);
    --accent-glow: rgba(109, 40, 217, 0.16);
    --accent-grad: linear-gradient(135deg, #7c4ddb 0%, #6d28d9 100%);

    --shadow-color-rgb: 16, 24, 40;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow: 0 6px 20px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-lg: 0 20px 48px rgba(16, 24, 40, 0.14), 0 4px 10px rgba(16, 24, 40, 0.06);

    --grid-line: rgba(10, 12, 16, 0.03);

    color-scheme: light;

    --primary-color: var(--accent);
    --primary-dark: var(--accent-press);
    --primary-light: var(--accent-hover);
    --secondary-color: var(--accent-hover);
    --dark-color: var(--bg-inset);
    --light-color: var(--bg);
    --section-alt-bg: var(--bg-subtle);
}

/* ===== Bootstrap 5 bridge: remap Bootstrap's own design tokens onto ours
   so stock Bootstrap markup (buttons, forms, dropdowns, links) renders in
   the current theme without needing a class-by-class override. ===== */
:root,
[data-theme] {
    --bs-body-font-family: var(--font-sans);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--text-muted);
    --bs-tertiary-color: var(--text-faint);
    --bs-emphasis-color: var(--text);
    --bs-secondary-bg: var(--surface-2);
    --bs-tertiary-bg: var(--surface-3);
    --bs-border-color: var(--border-color);
    --bs-border-color-translucent: var(--border-color);
    --bs-link-color: var(--accent);
    --bs-link-color-rgb: var(--accent-rgb);
    --bs-link-hover-color: var(--accent-hover);
    --bs-heading-color: var(--text);
    --bs-primary: var(--accent);
    --bs-primary-rgb: var(--accent-rgb);
    --bs-dark: var(--bg-inset);
    --bs-light: var(--surface-2);
    --bs-font-monospace: var(--font-mono);
}

/* Section Alternate Background */
.bg-section-alt {
    background-color: var(--section-alt-bg);
}

/* Base Styles */
/* Ambient backdrop: dual violet glow + hairline grid, fixed to the
   viewport. Same treatment as the ISA app's body (defaudit.css §7). */
body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.7;
    background-color: var(--bg);
    background-image:
        radial-gradient(1000px 560px at 78% -12%, var(--accent-glow), transparent 60%),
        radial-gradient(760px 520px at -8% -6%, rgba(var(--accent-rgb), 0.09), transparent 58%),
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    background-attachment: fixed;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    letter-spacing: -0.01em;
}

.display-3, .display-4, .display-5 {
    font-weight: 800;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

a {
    color: var(--accent);
}

a:hover {
    color: var(--accent-hover);
}

/* Brand mark: the same icon file used by the ISA product app */
.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.4);
}

/* Header - Sticky Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Navbar */
.navbar-dark {
    background: var(--surface) !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text) !important;
    transform: translateY(-2px);
}

/* Language Switcher */
.language-switcher .dropdown-toggle {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: var(--text) !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-toggle:hover {
    background: var(--surface-3);
    border-color: var(--border-strong);
}

.language-switcher .dropdown-menu {
    background: var(--surface-2);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    min-width: 180px;
    z-index: 1040;
}

.language-switcher .dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.language-switcher .dropdown-item:hover {
    background: var(--accent-subtle);
    color: var(--text);
}

.language-switcher .dropdown-item.active {
    background: var(--accent);
    color: #fff;
}

.language-switcher .dropdown-item i {
    margin-right: 0.5rem;
    width: 20px;
}

/* Theme Toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--surface-2);
    border: 2px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover,
.theme-toggle:focus {
    background: var(--surface-3);
    border-color: var(--border-strong);
    color: var(--text);
}

/* Demo Button */
.demo-button {
    background: var(--accent-grad) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    padding: 0.5rem 1rem !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.35) !important;
}

.demo-button:hover {
    filter: brightness(1.08);
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.5) !important;
}

/* Quick Start Button */
.quickstart-button {
    background-color: var(--surface-3) !important;
    color: var(--text) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    padding: 0.5rem 1rem !important;
    border: 2px solid var(--border-strong) !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.quickstart-button:hover {
    background-color: var(--surface-2) !important;
    border-color: var(--accent-border) !important;
    color: var(--text) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(var(--shadow-color-rgb), 0.35) !important;
}

/* Promo Banner
   Rendered unconditionally by Hugo; actual visibility is decided client-side
   (see the script in <head> of baseof.html) so it stays correct regardless
   of when this static site was last built/deployed. */
.promo-banner,
.promo-badge,
.promo-note {
    display: none;
}

html.promo-active .promo-banner {
    display: block;
}

html.promo-active .promo-badge {
    display: block;
}

html.promo-active .promo-note {
    display: inline-block;
}

.promo-banner {
    background: var(--surface-2);
    border: 1px solid rgba(240, 180, 41, 0.45);
    color: var(--text);
    width: 100%;
}

.promo-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    text-align: left;
    cursor: pointer;
}

.promo-toggle i.fa-gift {
    color: var(--warning-color);
}

.promo-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.promo-toggle[aria-expanded="true"] .promo-chevron {
    transform: rotate(180deg);
}

.promo-header-desktop {
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem 0.75rem;
}

.promo-header-desktop i.fa-gift {
    color: var(--warning-color);
}

.promo-collapse-desktop {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--surface-3);
    border: none;
    border-radius: 50%;
    color: var(--text) !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.promo-collapse-desktop:hover,
.promo-collapse-desktop:focus {
    background: var(--accent-subtle);
    color: var(--text) !important;
}

.promo-collapse-desktop .promo-chevron {
    font-size: 0.8rem;
}

.promo-collapse-desktop[aria-expanded="false"] .promo-chevron {
    transform: rotate(180deg);
}

.promo-body {
    display: block;
    padding: 0 1rem 1.25rem;
}

.promo-body.promo-collapsed {
    display: none;
}

.promo-headline-desktop {
    flex: 1 1 auto;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0;
    color: var(--text);
}

.promo-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.promo-text .promo-highlight {
    color: var(--danger-color);
    font-weight: 700;
}

.promo-cta {
    background: linear-gradient(135deg, #f0b429 0%, #d18f0a 100%);
    color: #fff !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}

.promo-cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

@media (min-width: 992px) {
    .promo-banner {
        position: absolute;
        top: 100%;
        width: 400px;
        max-width: calc(100vw - 32px);
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: var(--shadow-lg);
        z-index: 1029;
        overflow: hidden;
    }

    .promo-body {
        padding: 0 1.25rem 1.25rem;
    }
}

.promo-note {
    background-color: rgba(240, 180, 41, 0.14);
    color: var(--warning-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
}

/* Hero Section */
.hero-section {
    /* Extra accent glow layered on top of the body's own ambient grid/glow
       backdrop (transparent here on purpose, so that shows through). */
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(var(--accent-rgb), 0.28), transparent);
    position: relative;
    overflow: hidden;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section .display-3,
.hero-section .display-4,
.hero-section .display-5 {
    color: var(--text) !important;
}

.hero-section h1 {
    font-size: 2.5rem !important;
}

.hero-section p,
.hero-section .lead {
    color: var(--text-muted);
}

.hero-section .btn-light {
    background: var(--accent-grad);
    border: none;
    color: #fff;
}

.hero-section .btn-light:hover {
    filter: brightness(1.08);
    color: #fff;
}

.hero-section .btn-outline-light {
    border-color: var(--border-strong);
    color: var(--text);
}

.hero-section .btn-outline-light:hover,
.hero-section .btn-outline-light:focus {
    background: var(--surface-2);
    border-color: var(--accent-border);
    color: var(--text);
}

.hero-icon-wrapper {
    animation: float 6s ease-in-out infinite;
}

.hero-icon {
    width: 14rem;
    height: 14rem;
    opacity: 0.95;
    filter: drop-shadow(0 10px 40px rgba(var(--accent-rgb), 0.35));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Demo Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--bg);
}

/* Feature Cards */
.feature-card {
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-border);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    display: inline-block;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--accent-hover);
}

/* Technology Cards */
.tech-card {
    background: var(--surface);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.tech-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.2);
}

.tech-icon {
    font-size: 3.5rem;
    color: var(--accent);
}

/* Use Case Cards */
.use-case-card {
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    height: 100%;
}

.use-case-card:hover {
    border-left-width: 8px;
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

/* How It Works */
.how-it-works-card {
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--border-color);
}

.how-it-works-card:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.25);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: var(--accent-grad);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Why Cards */
.why-card {
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-border);
    box-shadow: var(--shadow-lg);
}

.why-card ul {
    list-style: none;
    padding-left: 0;
}

.why-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.why-card ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* "Compare to others" card, kept legible on the dark surface */
.why-card-danger {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.3);
}

/* Custom Text Colors */
.text-purple {
    color: var(--accent) !important;
}

/* Pricing Cards */
.pricing-card {
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.25);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-badge.promo-badge {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d18f0a 100%);
}

html.promo-active .pricing-card.promo-basic {
    border-color: var(--warning-color);
    background: linear-gradient(180deg, rgba(240, 180, 41, 0.1) 0%, var(--surface) 30%);
    box-shadow: 0 8px 32px rgba(240, 180, 41, 0.18);
}

html.promo-active .pricing-card.promo-basic:hover {
    box-shadow: 0 12px 36px rgba(240, 180, 41, 0.28);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-grad);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
}

.pricing-suffix {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 5px;
    box-shadow: var(--shadow-sm);
}

.pricing-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pricing-toggle-btn:hover {
    color: var(--text);
}

.pricing-toggle-btn.active {
    background: var(--accent-grad);
    color: #fff;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.4);
}

.pricing-toggle-btn.active:hover {
    color: #fff;
}

.pricing-toggle-badge {
    background: var(--success-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    line-height: 1.4;
}

.pricing-toggle-btn:not(.active) .pricing-toggle-badge {
    background: rgba(43, 182, 115, 0.14);
    color: var(--success-color);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    color: var(--text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.pricing-features li.unavailable {
    color: var(--text-faint);
    opacity: 0.5;
}

.pricing-features li.unavailable i {
    color: var(--text-faint);
}

/* Contact Section */
.contact-section {
    background: var(--bg-subtle);
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(5px);
    border-color: var(--accent-border);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.form-control {
    background-color: var(--surface-2);
    border: 1px solid var(--border-color);
    color: var(--text);
}

.form-control::placeholder {
    color: var(--text-faint);
}

.form-control:focus {
    background-color: var(--surface-2);
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem var(--accent-glow);
}

.form-label {
    font-weight: 600;
    color: var(--text);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-grad);
    border: none;
}

.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.4);
}

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent-border);
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-dark {
    border: 1px solid var(--border-strong);
}

.btn-dark:hover {
    background: var(--surface-3);
    border-color: var(--accent-border);
    transform: translateY(-2px);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--shadow-color-rgb), 0.35);
}

.btn-outline-light {
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-outline-light:hover {
    background: var(--surface-2);
    border-color: var(--accent-border);
    color: var(--text);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-glow);
    border-radius: 50%;
    filter: blur(20px);
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    border-radius: 50%;
    filter: blur(20px);
}

/* Footer */
footer {
    background: var(--bg-inset);
    border-top: 1px solid var(--border-color);
    color: var(--text) !important;
}

footer h5,
footer h6,
footer p,
footer small,
footer li {
    color: var(--text) !important;
}

footer a {
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-hover) !important;
}

footer .text-muted {
    color: var(--text-muted) !important;
}

footer hr {
    border-color: var(--border-color);
}

/* Content Pages */
.content-page {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.content-page h1 {
    color: var(--text);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.content-page h2 {
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-page h3 {
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-page ul, .content-page ol {
    margin-bottom: 1.5rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.content-page a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.content-page a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.content-page strong {
    color: var(--text);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-icon {
        width: 8rem;
        height: 8rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2.2rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-icon {
        width: 6rem;
        height: 6rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .tech-icon {
        font-size: 2.8rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.5rem;
    }

    .content-page {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--accent-glow);
    color: var(--text);
}

::-moz-selection {
    background: var(--accent-glow);
    color: var(--text);
}

/* Loading Animation for Icons */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.feature-card:hover .feature-icon,
.tech-card:hover .tech-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Section Spacing */
section {
    scroll-margin-top: 70px;
}

/* Box Shadows */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ===== Cookie Consent Banner ===== */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1080;
    background-color: var(--bg-inset);
    border-top: 1px solid var(--border-color);
    color: var(--text);
    padding: 1rem 0;
    box-shadow: 0 -4px 24px rgba(var(--shadow-color-rgb), 0.4);
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.consent-text {
    flex: 1 1 320px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.consent-link {
    color: var(--accent-hover);
    text-decoration: underline;
}

.consent-link:hover {
    color: var(--text);
}

.consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .consent-actions {
        width: 100%;
    }
    .consent-actions .btn {
        flex: 1 1 0;
    }
}
