:root {
    /* Color Palette - Premium Dark Theme */
    --bg-main: #0a0a0c;
    --bg-alt: #111116;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;

    /* Accents */
    --accent-primary: #4a5a9c;
    /* Brand Owl Blue */
    --accent-secondary: #6e7ebd;
    /* Lighter Owl Blue */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-gap: 3.5rem;
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

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

/* Intro Splash Screen */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: introReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(74, 90, 156, 0.4));
}

.intro-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.05em;
    opacity: 0;
    animation: introBrandAppear 0.8s ease forwards 0.5s;
}

@keyframes introReveal {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes introBrandAppear {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    /* Offset for fixed navbar */
}

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

/* Typography Basics */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Launch Badge */

@media (max-width: 992px) {
    .hidden-mobile {
        display: none !important;
    }
}

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

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

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.container-narrow {
    max-width: 800px;
}

.section-padding {
    padding: var(--section-gap) 0;
}

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

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.col-half {
    flex: 1;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
}

.hover-lift {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(74, 90, 156, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 90, 156, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(110, 126, 189, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: var(--container-width);
    border-radius: 100px;
    padding: 1rem 2rem;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
    /* ensure absolute children are relative to this */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-icon {
    color: var(--accent-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 100px;
}

.lang-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.3rem 0.6rem;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(74, 90, 156, 0.3);
}

/* ── Language Dropdown ── */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.45rem 0.85rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: var(--font-body);
    min-width: 88px;
    justify-content: center;
}

.lang-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown-toggle .lang-caret {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.lang-dropdown.open .lang-dropdown-toggle {
    background: var(--accent-gradient);
    color: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 2px 10px rgba(74, 90, 156, 0.3);
}

.lang-dropdown.open .lang-caret {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 170px;
    background: rgba(15, 20, 35, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 300;
    max-height: 70vh;
    overflow-y: auto;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.lang-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.lang-dropdown-item.active {
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 600;
}

.lang-dropdown-item .lang-code {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.65;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.lang-dropdown-item.active .lang-code {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: 0;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    /* Account for navbar */
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.4;
    animation: drift 15s infinite alternate ease-in-out;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(74, 90, 156, 0.3);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: rgba(110, 126, 189, 0.2);
    bottom: -200px;
    right: -100px;
}

.solution-bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    left: -100px;
    top: 30%;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.badge i {
    width: 14px;
    height: 14px;
}

.badge.green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.hero-headline {
    font-size: 4.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Dashboard Mockup in Hero */
.hero-visual {
    flex: 1;
    perspective: 1000px;
}

.dashboard-mockup {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    box-shadow: 20px 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0px);
    }

    50% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(-15px);
    }

    100% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0px);
    }
}

.mockup-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic-lights span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4b5563;
}

.traffic-lights span:nth-child(1) {
    background: #ef4444;
}

.traffic-lights span:nth-child(2) {
    background: #f59e0b;
}

.traffic-lights span:nth-child(3) {
    background: #10b981;
}

.url-bar {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 4px 0;
    margin: 0 2rem;
    font-size: 0.8rem;
    color: var(--success);
    font-family: monospace;
}

.mockup-body {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.chat-sim .msg {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
}

.msg.bot {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--text-muted);
}

.msg.user {
    background: rgba(74, 90, 156, 0.1);
    border-left: 3px solid var(--accent-primary);
}

.msg.user span {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arrow-down {
    text-align: center;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.msg.sowa-output {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success);
}

.msg.sowa-output span {
    color: var(--success);
}

/* ChatGPT Window - iOS Style */
.chatgpt-window {
    border-radius: 20px;
    overflow: hidden;
    background: #2f2f2f;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    max-height: 520px;
    height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.chatgpt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #2f2f2f;
}

.chatgpt-model {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e0e0e0;
    font-size: 1rem;
}

.chatgpt-model strong {
    font-weight: 700;
    color: #fff;
}

.model-version {
    color: #9a9a9a;
    font-weight: 400;
}

/* Chat Demo Shared Container */
.chat-demo-container {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.chat-demo-container>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.chat-demo-container>div.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.97);
    pointer-events: none;
}

.chat-demo-container>div.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

/* Claude Window Styles */
.claude-window {
    display: flex;
    flex-direction: column;
    background: #252321;
    color: #e2dfd8;
    font-family: var(--font-main);
    border-radius: 12px;
}

.claude-header {
    display: none;
}

.claude-plan {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.claude-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 24px 0;
    overflow-y: auto;
}

.claude-greeting {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.claude-logo {
    width: 32px;
    height: 32px;
    color: #d88961;
}

.claude-greeting h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: #e2dfd8;
    margin: 0;
}

.claude-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
}

.claude-input-container {
    padding: 12px 24px 16px;
}

.claude-input-area {
    background: #33312f;
    border-radius: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.claude-input-box {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #e2dfd8;
    margin-bottom: 8px;
    position: relative;
}

.claude-placeholder {
    color: #8b8884;
    position: absolute;
    pointer-events: none;
}

.claude-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #d88961;
    margin-left: 1px;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
}

.claude-cursor.hidden {
    display: none;
}

.claude-typing-text {
    font-size: 1.05rem;
    color: #e2dfd8;
}

.claude-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8b8884;
}

.claude-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.claude-model-selector {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.claude-send-btn {
    background: #d88961;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.claude-send-btn[disabled] {
    opacity: 0.5;
    background: #504d4a;
    color: #8b8884;
}

.claude-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 0.75rem;
    color: #8b8884;
    padding: 0 4px;
}

.claude-tools {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 12px;
}

/* Gemini Window Styles */
.gemini-window {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    color: #e3e3e3;
    font-family: var(--font-main);
    border-radius: 12px;
}

.gemini-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.gemini-brand {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 400;
    color: #e3e3e3;
}

.gemini-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 28px 0;
    overflow-y: auto;
}

.gemini-greeting {
    margin-bottom: 20px;
}

.gemini-sparkle-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.gemini-sparkle {
    display: inline-block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.gemini-hello {
    font-size: 2rem;
    font-weight: 400;
    color: #5f6368;
    font-family: var(--font-heading);
}

.gemini-greeting h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: #e3e3e3;
    margin: 0;
}

.gemini-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
}

.gemini-input-container {
    padding: 12px 20px 20px;
}

.gemini-input-area {
    background: #282828;
    border-radius: 24px;
    padding: 14px 18px;
    border: 1px solid #3c3c3c;
}

.gemini-input-box {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #e3e3e3;
    margin-bottom: 8px;
    position: relative;
}

.gemini-placeholder {
    color: #8a8a8a;
    position: absolute;
    pointer-events: none;
}

.gemini-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #4285f4;
    margin-left: 1px;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
}

.gemini-cursor.hidden {
    display: none;
}

.gemini-typing-text {
    font-size: 1rem;
    color: #e3e3e3;
}

.gemini-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8a8a8a;
}

.gemini-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gemini-tools-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
}

.gemini-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gemini-model-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #e3e3e3;
}

.gemini-send-btn {
    background: #3c3c3c;
    color: #8a8a8a;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gemini-send-btn.active {
    background: #4285f4;
    color: #fff;
}

.chatgpt-header-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #9a9a9a;
}

.chatgpt-body {
    flex: 1;
    padding: 16px 18px;
    overflow-y: auto;
    background: #212121;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatgpt-input-area {
    padding: 10px 12px 14px;
    background: #2f2f2f;
}

.chatgpt-input-box {
    background: #3e3e3e;
    border-radius: 22px;
    padding: 12px 18px;
    min-height: 44px;
    display: flex;
    align-items: center;
    position: relative;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.chatgpt-placeholder {
    color: #8a8a8a;
    pointer-events: none;
    font-size: 0.95rem;
}

.chatgpt-input-box .chat-typing-text:not(:empty)~.chatgpt-placeholder {
    display: none;
}

.chatgpt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6px 0;
}

.chatgpt-toolbar-left,
.chatgpt-toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chatgpt-toolbar-left i {
    width: 20px;
    height: 20px;
    color: #9a9a9a;
}

.chatgpt-toolbar-right i {
    color: #9a9a9a;
}

.toolbar-version {
    color: #9a9a9a;
    font-size: 0.85rem;
    font-weight: 500;
}

.chatgpt-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #676767;
    color: #2f2f2f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.chatgpt-send-btn i {
    width: 16px;
    height: 16px;
    color: #2f2f2f;
}

.chatgpt-send-btn.active {
    background: #fff;
}

/* Chat Messages - ChatGPT Style */
.chat-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    opacity: 0;
    animation: chatMsgIn 0.3s ease forwards;
}

@keyframes chatMsgIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #444;
}

.chat-avatar i {
    width: 16px;
    height: 16px;
    color: #ccc;
}

.chat-message.user .chat-avatar {
    background: var(--accent-primary);
}

.chat-message.user .chat-avatar i {
    color: #fff;
}

.chat-bubble {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
    position: relative;
    max-width: 100%;
}

.interception-overlay {
    display: none;
}

.sowa-indicator {
    display: none;
    font-size: 0.7rem;
    color: var(--success);
    margin-top: 4px;
    gap: 4px;
    align-items: center;
}

.sowa-indicator i {
    width: 12px;
    height: 12px;
}

.chat-bubble.show-indicator .sowa-indicator {
    display: flex;
}

.chat-bubble.intercepting {
    border-left: 2px solid var(--success);
    padding-left: 8px;
}

.sensitive-data {
    transition: all 0.4s ease;
}

.sensitive-data.highlighted {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    padding: 1px 4px;
    border-radius: 3px;
}

.sensitive-data.anonymized {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    padding: 1px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-weight: 600;
    font-size: 0.85rem;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #10a37f;
    margin-left: 1px;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
}

.chat-cursor.hidden {
    display: none;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

.highlight-anon {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
}

/* Sections Default */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Cards */
.card {
    padding: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--danger);
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list i {
    color: var(--accent-primary);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.feature-list strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* Architecture Diagram */
.architecture-diagram {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 3rem 2rem;
}

.node {
    width: 100%;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.node i {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.node span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.5rem;
}

.node.highlighted {
    background: rgba(74, 90, 156, 0.1);
    border-color: rgba(74, 90, 156, 0.3);
    box-shadow: 0 0 30px rgba(74, 90, 156, 0.2);
}

.node.highlighted i {
    color: var(--accent-primary);
}

.connector {
    color: var(--text-muted);
    opacity: 0.5;
    display: flex;
    justify-content: center;
}

.connector i {
    transform: rotate(90deg);
}

/* Industry Grid */
.industry-card {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.industry-card i {
    width: 40px;
    height: 40px;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.industry-card h4 {
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.9rem;
}

/* ── Use Cases Section ── */
.uc-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.uc-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uc-tab:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    background: var(--glass-bg);
}

.uc-tab.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: var(--accent-primary);
}

.uc-tab.active svg {
    stroke: #fff;
}

.uc-panels {
    position: relative;
}

.uc-panel {
    display: none;
    animation: ucFadeIn 0.4s ease;
}

.uc-panel.active {
    display: block;
}

@keyframes ucFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.uc-context {
    text-align: center;
    margin-bottom: 1.75rem;
}

.uc-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    background: rgba(110, 126, 189, 0.1);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.uc-context p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.uc-compare {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.uc-box {
    flex: 1;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.uc-box p {
    margin: 0;
}

.uc-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.uc-label.uc-safe {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

mark.uc-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    padding: 1px 4px;
    border-radius: 3px;
}

mark.uc-ok {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    padding: 1px 4px;
    border-radius: 3px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88em;
}

.uc-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    opacity: 0.4;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .uc-compare {
        flex-direction: column;
    }
    .uc-arrow {
        justify-content: center;
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }
    .uc-tabs {
        gap: 0.35rem;
    }
    .uc-tab {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }
}

/* ── Homepage Pricing Grid ── */
.hp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    text-align: left;
}

.hp-price-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hp-price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(74, 90, 156, 0.3);
}

.hp-price-card.hp-featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary), 0 12px 40px rgba(74, 90, 156, 0.25);
}

.hp-pop-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 3px 14px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hp-tier-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.hp-tier-name {
    font-size: 1.9rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.hp-price {
    margin: 0.25rem 0 0.75rem;
}

.hp-amount {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hp-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    min-height: 40px;
}

.hp-features {
    list-style: none;
    flex: 1;
    margin-bottom: 1.25rem;
    padding: 0;
}

.hp-features li {
    padding: 4px 0;
    font-size: 0.82rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--text-muted);
}

.hp-features li::before {
    content: '';
    min-width: 16px;
}

.hp-features li.yes::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
}

.hp-cta {
    display: block;
    width: 100%;
    padding: 0.7rem 0;
    text-align: center;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hp-cta:hover { transform: translateY(-2px); }

.hp-cta-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    background: transparent;
}
.hp-cta-outline:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

.hp-cta-solid {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(74, 90, 156, 0.4);
}
.hp-cta-solid:hover {
    box-shadow: 0 6px 20px rgba(110, 126, 189, 0.6);
}

.hp-cta-purple {
    background: linear-gradient(135deg, #7c3aed, #9b59b6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}
.hp-cta-purple:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

@media (max-width: 1200px) {
    .hp-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hp-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
}

/* Homepage pricing groups (B2C/B2B sections) */
.hp-pricing-group {
    margin-top: 3rem;
    text-align: left;
}

.hp-group-title {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.hp-group-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hp-group-sub a {
    color: var(--accent-secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 126, 189, 0.3);
    transition: color 0.2s, border-color 0.2s;
}

.hp-group-sub a:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.hp-pricing-grid.b2c-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.hp-pricing-grid.b2b-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
    .hp-pricing-grid.b2c-grid,
    .hp-pricing-grid.b2b-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Pricing Cards */
.pricing-cards {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    text-align: left;
}

.pricing-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlighted {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(74, 90, 156, 0.15);
    background: linear-gradient(180deg, rgba(74, 90, 156, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.card-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.5rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.pricing-features i {
    width: 20px;
    color: var(--success);
}

.pricing-features i[data-lucide="minus"] {
    color: #4b5563;
}

/* Footer / Form */
.contact-form {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin: 3rem auto 1rem;
    max-width: 500px;
    border-radius: 100px;
}

.contact-form .input-light {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0 1rem;
    font-size: 1rem;
    outline: none;
}

.contact-form .btn {
    border-radius: 100px;
}

.sub-text {
    font-size: 0.85rem;
}

.footer-bottom {
    margin-top: 5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom .flex-between {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    text-align: center;
}

.footer-bottom .social-links {
    width: 100%;
    justify-content: center;
}

.footer-bottom .copyright {
    width: 100%;
    text-align: center;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: white;
}

.logo-small .logo-img {
    height: 20px;
    width: auto;
}

.logo-small i {
    color: var(--accent-primary);
    width: 18px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

.social-links i,
.social-links svg {
    width: 18px;
    height: 18px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* ============================================
   RESPONSIVE — Mobile Optimisation
   ============================================ */

/* Hamburger toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 200;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- iPad & small laptops (≤ 1100px) ---- */
@media (max-width: 1100px) {

    .hidden-mobile {
        display: none !important;
    }

    .hero-content,
    .flex-row {
        flex-direction: column;
        text-align: center;
    }

    .col-half,
    .hero-visual {
        width: 100%;
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .section-description.text-left {
        text-align: center;
        margin: 0 auto;
    }

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

    .about-row,
    .about-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

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

    .feature-list {
        text-align: left;
    }

    .chat-demo-container {
        height: 460px;
        max-width: 600px;
        margin: 0 auto;
        overflow: hidden;
    }

    .chat-demo-container>div {
        width: 100%;
        max-width: 100%;
    }

    .chatgpt-window {
        min-height: 420px;
        max-height: 460px;
    }

    /* Force all fade-up elements visible at stacked layout — observer may not trigger below fold */
    .fade-up {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
}

/* ---- Phones & small tablets (≤ 768px) ---- */
@media (max-width: 768px) {

    :root {
        --section-gap: 1.75rem;
    }

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

    /* Show hamburger */
    .menu-toggle {
        display: block;
    }

    /* Mobile nav drawer */
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 10, 12, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        z-index: 150;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
        overflow-y: auto;
    }

    .nav-right.open {
        right: 0;
    }

    /* Overlay behind drawer */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 140;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.15rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--glass-border);
        width: 100%;
        display: block;
    }

    .nav-cta {
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .lang-switch {
        align-self: flex-start;
    }


    /* Navbar mobile */
    .navbar {
        width: calc(100% - 1rem);
        padding: 0.75rem 1rem;
        top: 0.5rem;
        border-radius: 16px;
        z-index: 200;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 7.5rem;
        padding-bottom: 0;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-headline {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.4rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-actions .btn-large {
        padding: 0.6rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    /* Grids → single column */
    .grid-3,
    .grid-4,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        flex-direction: column;
    }

    /* Chat demo */
    .chat-demo-container {
        min-height: 380px;
        max-height: 420px;
        overflow: hidden;
        border-radius: var(--border-radius-sm);
    }

    .chat-demo-container>div {
        width: 100%;
        max-width: 100%;
    }

    .chatgpt-window {
        min-height: 340px;
        max-height: 400px;
    }

    .chatgpt-input-box {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .chatgpt-input-area {
        padding: 8px;
    }

    .chatgpt-toolbar {
        gap: 0.5rem;
    }

    .chatgpt-toolbar-left i,
    .chatgpt-toolbar-right i {
        width: 16px;
        height: 16px;
    }

    .claude-window,
    .gemini-window {
        min-height: 340px;
        max-height: 400px;
    }

    .claude-input-area,
    .gemini-input-area {
        padding: 8px;
    }

    .chat-demo-container .claude-greeting h3,
    .chat-demo-container .gemini-greeting h3 {
        font-size: 1.3rem;
    }

    /* Hero visual column */
    .hero-visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .col-half {
        width: 100%;
    }

    /* Sub-hero */
    .sub-hero {
        min-height: auto;
        padding-top: 5.5rem;
        padding-bottom: 1rem;
    }

    .section-title {
        font-size: 1.85rem;
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Contact */
    .contact-form {
        flex-direction: column;
        border-radius: var(--border-radius-sm);
        padding: 1.5rem;
    }

    .contact-form .btn {
        border-radius: var(--border-radius-sm);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 5rem 0 1rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .faq-grid {
        gap: 0.6rem;
    }

    /* Footer */
    .footer-bottom {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

    .footer-bottom .flex-between {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* About page */
    .about-detail .about-row,
    .about-detail .about-row.reverse {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .about-detail .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-logo-img {
        max-width: 150px;
    }

    /* Values grid */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Feature list */
    .feature-list {
        margin-top: 1rem;
    }

    .feature-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .feature-list li i {
        margin: 0 auto;
        width: 26px;
        height: 26px;
    }

    .feature-list strong {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .feature-list li p {
        font-size: 0.9rem;
    }

    /* Cards tighter */
    .card {
        padding: 1.25rem;
    }

    .problem-grid .card {
        text-align: center;
    }

    .problem-grid .card-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    /* Values */
    .value-card {
        padding: 1.25rem;
    }

    .value-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 1rem;
    }

    .value-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    /* Pricing tighter */
    .pricing-card {
        padding: 1.5rem;
    }

    .card-header {
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .pricing-features li {
        padding: 0.35rem 0;
    }

    /* Industry cards */
    .industry-card {
        padding: 1.25rem 1rem;
    }

    .industry-card i {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
    }

    /* Container tighter */
    .container {
        padding: 0 1.25rem;
    }
}

/* ---- Small phones (≤ 480px) ---- */
@media (max-width: 480px) {

    .hero-headline {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }

    .chat-demo-container {
        min-height: 350px;
    }

    .chatgpt-window {
        min-height: 320px;
        max-height: 350px;
    }

    .claude-greeting h3 {
        font-size: 1.1rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .navbar {
        padding: 0.6rem 0.75rem;
    }

    .logo span {
        font-size: 1rem;
    }

    .logo-img {
        height: 26px;
    }

    .sub-hero {
        padding-top: 6rem;
    }
}


/* FAQ Section */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background: var(--glass-bg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-question i {
    color: var(--accent-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* arbitrary large value for transition */
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* About Us Section */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image img.about-logo-img {
    width: 60%;
    max-width: 240px;
    margin: 2rem auto;
    display: block;
}

.about-image:has(.about-logo-img),
.about-image.no-frame {
    border: none;
    box-shadow: none;
    background: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-row:hover .about-image img {
    transform: scale(1.05);
}

.about-text {
    flex: 1.2;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    text-align: center;
}

.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    background: rgba(74, 90, 156, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.value-card h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}



/* Subpage Styles */
.sub-hero {
    min-height: 60vh;
    padding-top: 10rem;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0) 0%, rgba(17, 17, 22, 1) 100%);
}

.about-detail .about-row {
    margin-bottom: 6rem;
}

.about-detail .about-text h3 {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Contact / Get Started Page */
.contact-hero {
    position: relative;
    padding: 8rem 0 3rem;
    text-align: center;
    overflow: hidden;
}

.contact-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(74, 90, 156, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-content h1 {
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-section {
    padding-top: 2rem;
}

.contact-form-card {
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.get-started-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0.9rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 90, 156, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-alt);
    color: var(--text-main);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(74, 90, 156, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.info-icon i {
    width: 20px;
    height: 20px;
}

.info-card h4 {
    font-size: 1rem;
    color: var(--text-main);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Blog Section ── */
.blog-section {
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.blog-category {
    color: var(--accent-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-date {
    color: var(--text-muted);
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.blog-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1.25rem;
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.blog-card:hover .blog-read-more {
    color: var(--accent-primary);
    transform: translateX(4px);
}

/* Blog Article Page */
.blog-article {
    padding: 9rem 0 4rem;
}

.blog-article-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    align-items: center;
    flex-wrap: wrap;
}

.blog-article h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.blog-article-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.blog-article-body h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-main);
}

.blog-article-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    color: var(--text-main);
}

.blog-article-body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.blog-article-body li {
    margin-bottom: 0.5rem;
}

.blog-article-body blockquote {
    border-left: 3px solid var(--accent-secondary);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-main);
}

.blog-article-body strong {
    color: var(--text-main);
}

.blog-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-back-link {
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 600;
}

.blog-back-link:hover {
    color: var(--accent-primary);
}

/* ── Use Cases Page ── */
.uc-intro-wrap {
    max-width: 780px;
    margin: 2rem auto 0;
}

.uc-intro-wrap p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.uc-section .section-title {
    margin-bottom: 0.75rem;
}

.uc-section {
    padding-top: 0;
}

.uc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 0;
}

@media (max-width: 880px) {
    .uc-grid {
        grid-template-columns: 1fr;
    }
}

.uc-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.uc-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.uc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(110, 126, 189, 0.15);
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uc-card-icon svg {
    width: 24px;
    height: 24px;
}

.uc-card h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-main);
}

.uc-card-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--accent-secondary);
    opacity: 0.65;
    margin-bottom: 0.25rem;
}

.uc-card-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

.uc-data-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-top: 0.5rem;
}

.uc-data-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.uc-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}
/* ── Chatbot Animation Polish ── */
.claude-input-box .claude-typing-text:not(:empty)~.claude-placeholder,
.gemini-input-box .gemini-typing-text:not(:empty)~.gemini-placeholder {
    display: none;
}

.gemini-hello {
    background: linear-gradient(135deg, #4285f4 0%, #9b72cb 35%, #d96570 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sensitive-data.highlighted {
    animation: sensitivePulse 0.6s ease-out;
}

@keyframes sensitivePulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    100% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.sensitive-data.anonymized {
    animation: anonymizedIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes anonymizedIn {
    0% { transform: scale(0.85); opacity: 0.5; }
    60% { transform: scale(1.06); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.chat-bubble.intercepting {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 6px;
    transition: background 0.3s ease, border-left-color 0.3s ease;
}

.chat-message {
    will-change: opacity, transform;
}

.typing-dot {
    will-change: transform, opacity;
}

/* ── Install Section (FAQ page) ── */
.install-section { padding-top: 0; }
.install-section .section-header { margin-bottom: 2.75rem; }
.install-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 0.85rem;
}
.install-requirements {
    padding: 2rem 2.25rem;
    margin-bottom: 3rem;
    border-radius: 16px;
}
.install-requirements h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--text-main);
}
.install-requirements-lead {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}
.install-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 1.75rem;
}
@media (max-width: 720px) {
    .install-req-list { grid-template-columns: 1fr; }
    .install-requirements { padding: 1.5rem; }
    .install-step { padding: 1.25rem 1.25rem !important; }
}
.install-req-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.install-req-list svg {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 50%;
    padding: 3px;
    width: 24px;
    height: 24px;
}
.install-req-list > li > div > strong {
    display: block;
    color: var(--text-main);
    font-size: 0.96rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.install-req-list span strong {
    color: var(--text-main);
    font-weight: 600;
}
.install-req-list span {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}
.install-steps-heading {
    font-size: 1.35rem;
    margin: 0 0 1.5rem;
    color: var(--text-main);
    text-align: center;
    font-family: var(--font-heading);
}
.install-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.install-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    align-items: flex-start;
    border-radius: 14px;
}
.install-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(110, 126, 189, 0.35);
}
.install-step-body { flex: 1; min-width: 0; }
.install-step-body h4 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 600;
}
.install-step-body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.install-step-body em {
    color: var(--text-main);
    font-style: normal;
    font-weight: 600;
    background: rgba(110, 126, 189, 0.12);
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
}
.install-cta { margin-top: 2rem; }
.install-cta-help {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.install-cta-help a {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════════
   Light / Dark Theme System
   ════════════════════════════════════════════════════════════════
   :root keeps the dark palette as the default visual identity (so
   any page rendered without theme JS still looks correct). When
   <html data-theme="light"> is set, the variables below override.
   The chatbot demo windows in the hero (chatgpt/claude/gemini) keep
   their hardcoded colours intentionally — they are product
   simulations, not site chrome.
   ════════════════════════════════════════════════════════════════ */

:root {
    /* navbar scroll-state colours, used via the .navbar-scrolled class
       (set by the scroll handler in script.js). Variables let us flip
       both modes from one place. */
    --navbar-scrolled-bg: rgba(10, 10, 12, 0.8);
    --navbar-scrolled-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* drop-shadow tint used on the brand owl logo + decorative glows */
    --logo-glow: rgba(74, 90, 156, 0.4);
}

:root[data-theme="light"] {
    /* Core palette */
    --bg-main:   #f6f5f0;
    --bg-alt:    #ecebe4;
    --text-main: #14172a;
    --text-muted: #4a5163;
    --accent-primary:   #2f3d75;
    --accent-secondary: #4a5a9c;

    /* Glassmorphism — frosted white card on warm off-white */
    --glass-bg:     rgba(255, 255, 255, 0.65);
    --glass-border: rgba(15, 20, 30, 0.10);
    --glass-shadow: 0 8px 32px 0 rgba(20, 25, 50, 0.06);

    /* Navbar scrolled */
    --navbar-scrolled-bg: rgba(246, 245, 240, 0.85);
    --navbar-scrolled-shadow: 0 4px 24px rgba(20, 25, 50, 0.06);

    --logo-glow: rgba(74, 90, 156, 0.25);
}

/* Navbar scrolled state — driven by .navbar-scrolled class instead of
   inline JS styles, so colours stay mode-aware. */
.navbar.navbar-scrolled {
    background: var(--navbar-scrolled-bg);
    box-shadow: var(--navbar-scrolled-shadow);
}

/* Smooth fade between modes (but not on first paint — see reduce-motion override) */
:root.theme-transitions,
:root.theme-transitions body,
:root.theme-transitions .navbar,
:root.theme-transitions .glass,
:root.theme-transitions .footer {
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

/* ── Light-mode targeted overrides ──────────────────────────────────
   For rules that hardcoded rgba(255,255,255,…) — those go invisible on
   light bg. Flip them to dark tints in light mode. We use attribute
   selectors so dark mode is unaffected. */

/* Buttons */
[data-theme="light"] .btn-primary {
    color: #fff;
}
[data-theme="light"] .btn-primary:hover {
    border-color: rgba(20, 25, 50, 0.10);
}
[data-theme="light"] .btn-outline {
    background: rgba(15, 20, 30, 0.03);
}
[data-theme="light"] .btn-outline:hover {
    background: rgba(15, 20, 30, 0.07);
    border-color: rgba(20, 25, 50, 0.15);
}

/* Cards / surfaces that hardcoded white tints */
[data-theme="light"] .feature-card,
[data-theme="light"] .value-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .info-card,
[data-theme="light"] .step-card,
[data-theme="light"] .install-step,
[data-theme="light"] .install-requirements,
[data-theme="light"] .uc-card,
[data-theme="light"] .faq-item {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

[data-theme="light"] .uc-pill {
    background: rgba(20, 25, 50, 0.05);
    border-color: rgba(20, 25, 50, 0.10);
    color: var(--text-main);
}

/* Hero ambient background glows — softer in light mode */
[data-theme="light"] .hero-bg-glow {
    opacity: 0.4;
    filter: blur(120px);
}

/* Logo owl — drop-shadow tint adapts via --logo-glow */
[data-theme="light"] .logo-img {
    filter: drop-shadow(0 0 30px var(--logo-glow));
}

/* Form fields visible on light bg */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff;
    border: 1px solid rgba(15, 20, 30, 0.12);
    color: var(--text-main);
}
[data-theme="light"] input[type="text"]:focus,
[data-theme="light"] input[type="email"]:focus,
[data-theme="light"] input[type="tel"]:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(74, 90, 156, 0.18);
    outline: none;
}
[data-theme="light"] ::placeholder { color: rgba(20, 25, 50, 0.45); }

/* Lang dropdown surfaces */
[data-theme="light"] .lang-dropdown-toggle {
    background: rgba(15, 20, 30, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}
[data-theme="light"] .lang-dropdown-toggle:hover {
    background: rgba(15, 20, 30, 0.07);
}
[data-theme="light"] .lang-dropdown-menu {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
[data-theme="light"] .lang-dropdown-item:hover {
    background: rgba(15, 20, 30, 0.05);
}

/* FAQ accordion */
[data-theme="light"] .faq-question:hover {
    background: rgba(15, 20, 30, 0.03);
}

/* Footer — keep readable */
[data-theme="light"] .footer .copyright,
[data-theme="light"] .footer-links a,
[data-theme="light"] .social-links a {
    color: var(--text-muted);
}
[data-theme="light"] .footer-links a:hover,
[data-theme="light"] .social-links a:hover {
    color: var(--accent-primary);
}

/* Mobile nav drawer */
[data-theme="light"] .nav-overlay {
    background: rgba(15, 20, 30, 0.35);
}

/* ── Theme toggle button ───────────────────────────────────────── */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}
[data-theme="light"] .theme-toggle:hover {
    border-color: rgba(20, 25, 50, 0.18);
}
.theme-toggle:focus-visible {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 2px;
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}
/* Show moon when dark, sun when light */
.theme-toggle .theme-icon-sun  { display: none; }
.theme-toggle .theme-icon-moon { display: block; }
[data-theme="light"] .theme-toggle .theme-icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .theme-icon-moon { display: none; }

/* Compact navbar layout — squeeze the toggle in next to lang dropdown */
.nav-right {
    align-items: center;
}
.nav-right .theme-toggle {
    margin-right: 0.5rem;
}
@media (max-width: 720px) {
    .theme-toggle { width: 36px; height: 36px; }
}

/* ════════════════════════════════════════════════════════════════
   Readability passes — navbar contrast + gradient-text legibility
   ════════════════════════════════════════════════════════════════ */

/* Headline gradient text — separate from accent-gradient (used for
   buttons) so we can pick brighter endpoints in dark mode without
   washing out the primary CTA colour. */
:root {
    --headline-gradient: linear-gradient(135deg, #4a5a9c 0%, #6e7ebd 100%);
}
:root[data-theme="light"] {
    --headline-gradient: linear-gradient(135deg, #2f3d75 0%, #5a6cab 100%);
}
.gradient-text {
    background: var(--headline-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Navbar — give it a real backdrop instead of the near-transparent
   glass default. Hero glows can drift behind the bar, so the text needs
   a slightly opaque surface so it doesn't dissolve into the glow. */
.navbar {
    background: rgba(15, 18, 28, 0.55);
}
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.72);
}

/* Logo "SOWA Privacy" — was hardcoded white, swap to a theme-aware
   token and add a subtle text-shadow so the wordmark stays readable
   when the navbar happens to overlay a bright spot of the hero glow. */
.logo {
    color: var(--text-main);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .logo {
    color: var(--text-main);
    text-shadow: none;
}

/* Nav links — brighter default + a more distinct hover/active. */
.nav-links a {
    color: rgba(226, 232, 240, 0.88);
    position: relative;
    padding: 0.4rem 0.1rem;
    transition: color 180ms ease;
}
[data-theme="light"] .nav-links a {
    color: rgba(20, 23, 42, 0.72);
}

.nav-links a:hover {
    color: #ffffff;
}
[data-theme="light"] .nav-links a:hover {
    color: var(--text-main);
}

/* Active page: brighter colour + a small accent underline so it's
   clearly distinguishable from the hover state at a glance. */
.nav-links a.active {
    color: #ffffff;
}
[data-theme="light"] .nav-links a.active {
    color: var(--accent-primary);
}
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0.1rem;
    right: 0.1rem;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-secondary);
    opacity: 0.95;
}
[data-theme="light"] .nav-links a.active::after {
    background: var(--accent-primary);
}

/* Sub-hero gradient overlay — was hardcoded as a dark→darker fade,
   which painted black over light-mode subpages. Make it transparent
   so the page background shows through, with a small ambient gradient
   that adapts per mode. */
.sub-hero {
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 12, 0.55) 100%);
}
[data-theme="light"] .sub-hero {
    background: linear-gradient(to bottom, transparent 0%, rgba(20, 23, 42, 0.04) 100%);
}

/* ── Footer wordmark in light mode ─────────────────────────────────
   `.logo-small` was hardcoded `color: white` for dark mode, which
   becomes invisible against the cream footer in light mode. Make it
   theme-aware. */
.logo-small {
    color: var(--text-main);
}

/* ── ChatGPT mockup toolbar icons ──────────────────────────────────
   The original rule targeted <i> elements but the markup actually uses
   <svg> with `stroke="currentColor"`, so the icons never picked up the
   intended grey and inherited dark-text from the chat window — making
   them effectively invisible. Set colour on the SVGs directly so they
   match the real ChatGPT UI's medium-grey tone. */
.chatgpt-toolbar-left  > svg,
.chatgpt-toolbar-right > svg,
.chatgpt-send-btn      > svg {
    color: #9a9a9a;
}
.chatgpt-send-btn:not(:disabled) > svg,
.chatgpt-send-btn.active         > svg {
    color: #1a1a1a;
}

/* ════════════════════════════════════════════════════════════════
   CTA blue + ambient blue light-mode backdrop
   ════════════════════════════════════════════════════════════════
   - Light-mode primary buttons (.btn-primary) use the same brand
     blue as dark mode. We override --accent-gradient directly so
     other usages of --accent-primary / --accent-secondary (active
     nav underline, badge text, etc.) can stay deeper for contrast
     against the cream page background.
   - Light mode also gets two soft blue radial-gradient blobs +
     stronger hero glow so the page reads as designed-for-light,
     not stark-white.
   ════════════════════════════════════════════════════════════════ */

:root[data-theme="light"] {
    /* CTA blue — match dark mode exactly */
    --accent-gradient: linear-gradient(135deg, #4a5a9c 0%, #6e7ebd 100%);
}

/* Ambient blue backdrop for light mode — fixed to viewport so the
   gradients drift behind every section, not just the hero. */
[data-theme="light"] body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(ellipse 60% 50% at 12% 8%, rgba(74, 90, 156, 0.16), transparent 60%),
        radial-gradient(ellipse 55% 45% at 92% 35%, rgba(110, 126, 189, 0.13), transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 95%, rgba(122, 138, 207, 0.10), transparent 60%);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Bring the ambient hero glows back up in light mode — they were
   dimmed too aggressively for the originally-pure-white look. */
[data-theme="light"] .hero-bg-glow {
    opacity: 0.65;
    filter: blur(110px);
}
[data-theme="light"] .glow-1 { background: rgba(74, 90, 156, 0.45); }
[data-theme="light"] .glow-2 { background: rgba(110, 126, 189, 0.35); }

/* Cards/glass in light mode now sit over a tinted backdrop, so let a
   bit of saturation through by warming the glass white and softening
   the frost — keeps the surface clearly elevated without blocking the
   ambient blue underneath. */
[data-theme="light"] .glass {
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* Slightly stronger drop on light-mode primary CTA so the brand blue
   pops against the new tinted backdrop. */
[data-theme="light"] .btn-primary {
    box-shadow: 0 4px 18px rgba(74, 90, 156, 0.35);
}
[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 6px 22px rgba(74, 90, 156, 0.45);
}

/* ── Navbar overflow fix for longer locales (DE: "Wie es funktioniert",
   "Anwendungsfälle", "Über uns", "Jetzt starten") ──
   With the Blog link added, six nav items + CTA + lang dropdown +
   theme toggle exceed the navbar's flex track in languages with longer
   labels and wrap mid-word. Tightens spacing and pins each item to a
   single line. */
.navbar .nav-right { gap: 1.25rem; }
.navbar .nav-links { gap: 1.4rem; }
.navbar .nav-links a { white-space: nowrap; }
.navbar .nav-cta .btn { white-space: nowrap; }
.navbar .lang-current { white-space: nowrap; }

/* Trigger the mobile menu slightly earlier so we don't try to fit a
   crowded German/Polish nav into a desktop pill that's only ~1100px wide. */
@media (max-width: 1080px) {
    .navbar .nav-links { gap: 1.1rem; }
    .navbar .nav-right { gap: 1rem; }
    .navbar .nav-links a { font-size: 0.9rem; }
}
