/* =========================================================
   xixaSoft — Light Theme Design System
   File: /assets/css/style.css
   ========================================================= */

/* ---------------------------------------------------------
   1. Design tokens (Light theme — default)
   --------------------------------------------------------- */

:root {
    /* Backgrounds */
    --bg-page: #fafafb;
    --bg-surface: #ffffff;
    --bg-subtle: #f5f5f7;
    --bg-muted: #f1f5f9;

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Borders */
    --border-light: #f1f5f9;
    --border-default: #e2e8f0;
    --border-strong: #cbd5e1;

    /* Brand colors */
    --primary: #191ee1;
    --primary-hover: #1319b8;
    --primary-soft: #eef0ff;
    --primary-border: #c7ccff;

    --secondary: #7b3fe4;
    --accent: #06b6d4;

    /* Semantic */
    --success: #10b981;
    --success-soft: #ecfdf5;
    --warning: #f59e0b;
    --warning-soft: #fffbeb;
    --danger: #ef4444;
    --danger-soft: #fef2f2;

    /* Icon colors */
    --icon-primary: #191ee1;
    --icon-secondary: #64748b;
    --icon-accent: #06b6d4;

    /* Footer (always dark) */
    --footer-bg: #0b1020;
    --footer-surface: #131a30;
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-text: #cbd5e1;
    --footer-heading: #ffffff;
    --footer-muted: #94a3b8;
    --footer-link-hover: #a5b4fc;

    /* Brand colors for social icons */
    --brand-facebook: #1877f2;
    --brand-twitter: #000000;
    --brand-linkedin: #0a66c2;
    --brand-github: #ffffff;
    --brand-instagram: #e4405f;
    --brand-youtube: #ff0000;
    --brand-tiktok: #000000;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #191ee1 0%, #7b3fe4 60%, #06b6d4 100%);
    --gradient-soft: linear-gradient(135deg, #eef0ff 0%, #f5f3ff 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 30px 60px rgba(15, 23, 42, 0.12);
    --shadow-primary: 0 12px 30px rgba(25, 30, 225, 0.28);

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;

    /* Layout */
    --header-height: 76px;
    --announcement-height: 40px;
    --section-gap: 7rem;
    --section-gap-mobile: 4.5rem;
}
/* ---------------------------------------------------------
   1b. Dark theme overrides
   --------------------------------------------------------- */

[data-theme="dark"] {
    --bg-page: #0b1020;
    --bg-surface: #131a30;
    --bg-subtle: #1a2140;
    --bg-muted: #1e2848;

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;

    --border-light: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);

    --primary: #6b70ff;
    --primary-hover: #8a8fff;
    --primary-soft: rgba(107, 112, 255, 0.12);
    --primary-border: rgba(107, 112, 255, 0.3);

    --icon-primary: #8a8fff;
    --icon-secondary: #94a3b8;

    --success-soft: rgba(16, 185, 129, 0.12);
    --warning-soft: rgba(245, 158, 11, 0.12);
    --danger-soft: rgba(239, 68, 68, 0.12);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 12px 30px rgba(107, 112, 255, 0.35);

    --brand-github: #24292f;

    --gradient-soft: linear-gradient(135deg, rgba(107, 112, 255, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
}

html {
    color-scheme: light dark;
    transition: background-color 300ms ease, color 300ms ease;
}

body {
    transition: background-color 300ms ease, color 300ms ease;
}

.site-header nav,
.card,
.product-card,
.testimonial,
.faq-item,
.form-control,
.btn-secondary,
.mobile-toggle {
    transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}
/* ---------------------------------------------------------
   2. Base styles
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    color-scheme: light;
    -webkit-text-size-adjust: 100%;
}
div#goog-gt-tt {
    display: none !important;
}
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    min-height: 60vh;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 180ms ease;
}

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

::selection {
    background: var(--primary);
    color: #fff;
}

/* Typography scale */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}

p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------------------------------------------------------
   3. Accessibility
   --------------------------------------------------------- */

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ---------------------------------------------------------
   4. Scrollbar
   --------------------------------------------------------- */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border: 3px solid var(--bg-page);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ---------------------------------------------------------
   5. Announcement bar (light)
   --------------------------------------------------------- */

.announcement-bar {
    background: var(--gradient-brand);
    color: #fff;
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
    text-align: center;
}

.announcement-bar a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.announcement-bar a:hover {
    text-decoration: none;
    color: #fff;
}

/* ---------------------------------------------------------
   6. Header (light + dark aware)
   --------------------------------------------------------- */

.site-header {
    position: fixed;
    top: var(--announcement-height);
    left: 0;
    right: 0;
    z-index: 40;
    transition: top 250ms ease;
}

.site-header nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.header-scrolled {
    top: 0;
}

.site-header.header-scrolled nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border-default);
    box-shadow: var(--shadow-sm);
}

/* Dark mode header */
[data-theme="dark"] .site-header nav {
    background: rgba(11, 16, 32, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .site-header.header-scrolled nav {
    background: rgba(11, 16, 32, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 2rem;
}

/* Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo:hover {
    color: inherit;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: var(--shadow-primary);
    transition: transform 300ms ease;
    flex-shrink: 0;
}

.brand-logo:hover .brand-mark {
    transform: rotate(-6deg) scale(1.05);
}

.brand-text {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: color 300ms ease;
}

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

/* Desktop nav */
.nav-menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.875rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 200ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 20px;
}

/* Header right actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.header-icon-btn:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

/* Dropdowns */
.dropdown {
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .dropdown {
        display: inline-block;
    }
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    z-index: 50;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}

.dropdown-item:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

/* Mobile toggle button */
.mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.mobile-toggle:hover {
    background: var(--bg-subtle);
    border-color: var(--border-strong);
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background 180ms ease, color 180ms ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.mobile-menu-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.mobile-menu-controls select {
    flex: 1;
    padding: 0.625rem 0.75rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
}
/* ---------------------------------------------------------
   Mobile menu (light + dark aware) — FIXED VERSION
   --------------------------------------------------------- */

.mobile-menu {
    display: none;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    animation: none;
}

.mobile-menu.is-open {
    display: block;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    animation: slideDown 300ms ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Force hide on desktop */
@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
    .mobile-menu.is-open {
        display: none !important;
    }
}

/* Force hide on desktop */
@media (min-width: 1024px) {
    .mobile-menu,
    .mobile-menu.is-open {
        display: none !important;
    }
}
/* ---------------------------------------------------------
   7. Layout helpers
   --------------------------------------------------------- */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

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

@media (min-width: 1024px) {
    .section {
        padding: var(--section-gap) 0;
    }
}

.section-header {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 3rem;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

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

/* ---------------------------------------------------------
   8. Buttons
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 200ms ease;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-default);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--bg-subtle);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary-border);
}

.btn-ghost:hover {
    background: var(--primary-soft);
    color: var(--primary-hover);
}

.btn-lg {
    padding: 0.9375rem 1.875rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------------------------------------------------------
   9. Cards
   --------------------------------------------------------- */

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-default);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: transform 300ms ease;
}

.card:hover .card-icon {
    transform: scale(1.08) rotate(-4deg);
}

.card-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
}

.card-link:hover {
    gap: 0.625rem;
    color: var(--primary-hover);
}

/* ---------------------------------------------------------
   10. Product cards
   --------------------------------------------------------- */

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, box-shadow 300ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.4) 100%);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.25rem 0.625rem;
    background: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.product-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.product-price {
    display: flex;
    flex-direction: column;
}

.product-price small {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.product-price strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* ---------------------------------------------------------
   11. Testimonial cards
   --------------------------------------------------------- */

.testimonial {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    margin-bottom: 1.25rem;
}

.testimonial-text {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.testimonial-name {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ---------------------------------------------------------
   12. Stats
   --------------------------------------------------------- */

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-value .gradient-text {
    display: inline-block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ---------------------------------------------------------
   13. FAQ
   --------------------------------------------------------- */

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-item + .faq-item {
    margin-top: 0.75rem;
}

.faq-item:hover,
.faq-item.is-open {
    border-color: var(--border-default);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 250ms ease, background 200ms ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}

.faq-answer > div {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

/* ---------------------------------------------------------
   14. Forms
   --------------------------------------------------------- */

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.form-control:hover {
    border-color: var(--border-strong);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-control[aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px var(--danger-soft);
}

.form-message {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
}

.form-message.error {
    color: var(--danger);
}

.form-message.success {
    color: var(--success);
}

/* ---------------------------------------------------------
   15. Trust bar
   --------------------------------------------------------- */

.trust-bar {
    padding: 3rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 2rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 200ms ease, transform 200ms ease;
    filter: grayscale(1);
    opacity: 0.7;
}

.trust-logo:hover {
    color: var(--text-primary);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   16. Timeline / Steps
   --------------------------------------------------------- */

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--bg-surface);
    border: 2px solid var(--border-default);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 300ms ease;
}

.step:hover .step-icon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------------------------------------------------------
   17. Hero (light theme)
   --------------------------------------------------------- */

.hero {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
    background: var(--bg-page);
}

@media (min-width: 1024px) {
    .hero {
        padding: 7rem 0 8rem;
    }
}

.hero-bg-decoration {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.08), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.06), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(6, 182, 212, 0.05), transparent 50%);
    pointer-events: none;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-xs);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.hero-badge-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s ease-out infinite;
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 3rem;
}

.hero-actions .btn {
    min-width: 180px;
}

@media (max-width: 480px) {
    .hero-actions .btn {
        width: 100%;
    }
}

.hero-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    box-shadow: var(--shadow-xs);
}

.hero-avatars {
    display: flex;
}

.hero-avatars > * {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
}

.hero-avatars > *:not(:first-child) {
    margin-left: -8px;
}

.hero-social-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.hero-social-text strong {
    color: var(--text-primary);
}

/* ---------------------------------------------------------
   18. Grids
   --------------------------------------------------------- */

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

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

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* ---------------------------------------------------------
   19. CTA section
   --------------------------------------------------------- */

.cta-section {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 5rem 0;
    }
}

.cta-box {
    background: var(--gradient-brand);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .cta-box {
        padding: 4.5rem 3rem;
    }
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-box::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-title {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    position: relative;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
    position: relative;
}

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

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* ---------------------------------------------------------
   20. Footer (always dark, regardless of theme)
   --------------------------------------------------------- */

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 4rem;
    border-top: 1px solid var(--footer-border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 112, 255, 0.5), transparent);
}

.site-footer::after {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(107, 112, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--footer-border);
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-brand p {
    color: var(--footer-text);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    font-size: 0.875rem;
    color: var(--footer-text);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary-hover);
    margin-top: 3px;
}

.footer-contact address {
    font-style: normal;
    color: var(--footer-text);
    line-height: 1.6;
}

.footer-contact a {
    color: var(--footer-text);
    transition: color 180ms ease;
}

.footer-contact a:hover {
    color: var(--footer-link-hover);
}

.footer-heading {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--footer-heading);
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--footer-text);
    font-size: 0.9375rem;
    transition: color 180ms ease, padding-left 180ms ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    padding-left: 6px;
}

/* Trust badges */
.footer-badges {
    padding: 2rem 0;
    border-top: 1px solid var(--footer-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: var(--footer-surface);
    border: 1px solid var(--footer-border);
    border-radius: var(--radius-md);
    color: var(--footer-text);
    font-size: 0.8125rem;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--success);
}

/* Footer bottom */
.footer-bottom {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--footer-border);
    position: relative;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: var(--footer-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-copyright strong {
    color: #fff;
}

/* Social icons with brand colors */
.footer-socials {
    display: flex;
    gap: 0.625rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--footer-surface);
    border: 1px solid var(--footer-border);
    border-radius: var(--radius-md);
    color: var(--footer-text);
    transition: all 250ms ease;
    position: relative;
    overflow: hidden;
}

.social-icon svg {
    position: relative;
    z-index: 1;
    transition: color 250ms ease, transform 250ms ease;
}

.social-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0;
    transition: opacity 250ms ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-icon:hover svg {
    color: #fff;
    transform: scale(1.1);
}

/* Brand color assignments */
.social-icon.brand-facebook  { color: var(--brand-facebook); }
.social-icon.brand-tiktok    { color: #ffffff; }
.social-icon.brand-twitter   { color: var(--brand-twitter); }
.social-icon.brand-linkedin  { color: var(--brand-linkedin); }
.social-icon.brand-github    { color: var(--brand-github); }
.social-icon.brand-instagram { color: var(--brand-instagram); }
.social-icon.brand-youtube   { color: var(--brand-youtube); }

.social-icon.brand-facebook:hover::before  { opacity: 1; background: var(--brand-facebook); }
.social-icon.brand-tiktok:hover::before { opacity: 1; background: #000000; }
.social-icon.brand-twitter:hover::before   { opacity: 1; background: #1d1d1d; }
.social-icon.brand-linkedin:hover::before  { opacity: 1; background: var(--brand-linkedin); }
.social-icon.brand-github:hover::before    { opacity: 1; background: #24292f; }
.social-icon.brand-instagram:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-icon.brand-youtube:hover::before   { opacity: 1; background: var(--brand-youtube); }

/* Instagram special base color (gradient) */
.social-icon.brand-instagram svg {
    color: var(--brand-instagram);
}

/* Newsletter in footer (redesigned for dark) */
.footer-newsletter {
    background: var(--footer-surface);
    border-top: 1px solid var(--footer-border);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 112, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .newsletter-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.newsletter-title {
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 0.5rem;
}

.newsletter-text {
    color: var(--footer-text);
    font-size: 0.9375rem;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form .form-control {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--footer-border);
    color: #fff;
}

.newsletter-form .form-control::placeholder {
    color: var(--footer-muted);
}

.newsletter-form .form-control:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-hover);
    box-shadow: 0 0 0 4px rgba(107, 112, 255, 0.15);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}
/* ---------------------------------------------------------
   21. Cookie banner
   --------------------------------------------------------- */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 50;
    display: none;
    max-width: 640px;
    margin: 0 auto;
    animation: slideUp 400ms ease;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
    }
}

.cookie-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.cookie-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* ---------------------------------------------------------
   22. Back to top
   --------------------------------------------------------- */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 30;
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 250ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
}

/* ---------------------------------------------------------
   23. Utility helpers
   --------------------------------------------------------- */

.text-center { text-align: center; }
.text-primary-color { color: var(--primary); }
.text-muted-color { color: var(--text-muted); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

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

.divider {
    height: 1px;
    background: var(--border-light);
    margin: 0;
}

/* ---------------------------------------------------------
   24. Animations
   --------------------------------------------------------- */

@keyframes pulse {
    from {
        opacity: 0.7;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(3);
    }
}

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
    display: inline-block;
}

/* ---------------------------------------------------------
   25. Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------------------------------------------------------
   26. Print styles
   --------------------------------------------------------- */

@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .back-to-top,
    .announcement-bar,
    .footer-newsletter {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
/* ---------------------------------------------------------
   27. Theme toggle button
   --------------------------------------------------------- */

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.theme-toggle:hover {
    background: var(--bg-subtle);
    transform: scale(1.05);
}

.theme-toggle svg {
    position: absolute;
    transition: opacity 300ms ease, transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sun icon (default in dark mode) */
.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

/* Moon icon (default in light mode) */
.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* When in dark mode: swap icons */
[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
    color: #fbbf24;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* ---------------------------------------------------------
   28. Icon color system (site-wide consistency)
   --------------------------------------------------------- */

/* Default icon color: uses text-secondary */
svg {
    color: currentColor;
}

/* Feature card icons: primary brand color */
.card-icon svg {
    color: var(--primary);
}

.card:hover .card-icon svg {
    color: var(--primary-hover);
}

/* Product icons */
.product-image svg {
    color: var(--primary);
    opacity: 0.5;
}

/* Step icons */
.step-icon svg {
    color: var(--primary);
}

.step:hover .step-icon svg {
    color: #fff;
}

/* Trust bar icons */
.trust-logo svg {
    color: var(--text-muted);
}

.trust-logo:hover svg {
    color: var(--primary);
}

/* Testimonial star icons */
.testimonial-stars svg {
    color: #f59e0b;
    fill: #f59e0b;
}

/* Header icon buttons */
.header-icon-btn svg {
    color: var(--text-muted);
}

.header-icon-btn:hover svg {
    color: var(--text-primary);
}

/* Trust badge icons stay green (success) */
.trust-badge svg {
    color: var(--success);
}

/* Eyebrow icons */
.eyebrow svg {
    color: var(--primary);
}

/* Card link arrows */
.card-link svg {
    color: currentColor;
    transition: transform 200ms ease;
}

.card-link:hover svg {
    transform: translateX(3px);
}

/* Faq icon inherits its own color from CSS */
.faq-icon svg {
    color: inherit;
}

/* Back to top icon */
.back-to-top svg {
    color: currentColor;
}

/* ---------------------------------------------------------
   About page — Story section 2-column layout
   --------------------------------------------------------- */

.grid-2-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .grid-2-story {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.story-visual {
    position: relative;
    min-height: 400px;
}

.story-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

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

.story-card-main {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
}

.story-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.story-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 3px;
}

.story-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.story-card-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.story-card-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    animation: floatCard 6s ease-in-out infinite;
}

.story-card-float .story-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.story-card-float-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.story-card-float-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: -2s;
}

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

/* Hide floating cards on very small screens */
@media (max-width: 640px) {
    .story-card-float {
        display: none;
    }
}

/* Stat icon wrapper for About page */
.stat-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 1rem;
}
/* ---------------------------------------------------------
   About page — Timeline
   --------------------------------------------------------- */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--border-default) 10%, var(--border-default) 90%, transparent);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    padding-left: 4.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 0;
        width: 50%;
    }

    .timeline-left {
        padding-right: 3rem;
        text-align: right;
    }

    .timeline-right {
        margin-left: 50%;
        padding-left: 3rem;
    }
}

.timeline-dot {
    position: absolute;
    left: 22px;
    top: 20px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-brand);
    border: 4px solid var(--bg-surface);
    box-shadow: 0 0 0 2px var(--primary), 0 4px 12px rgba(25, 30, 225, 0.3);
    z-index: 2;
}

@media (min-width: 768px) {
    .timeline-left .timeline-dot {
        left: auto;
        right: -9px;
    }

    .timeline-right .timeline-dot {
        left: -9px;
    }
}

.timeline-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-border);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 999px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.timeline-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

/* ---------------------------------------------------------
   About page — Team grid
   --------------------------------------------------------- */

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    box-shadow: var(--shadow-primary);
}

.team-name {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
}

.team-role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.team-skill {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Join us box */
.join-us-box {
    background: var(--gradient-soft);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .join-us-box {
    background: rgba(107, 112, 255, 0.08);
}

.join-us-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .join-us-content {
        flex-direction: row;
        text-align: left;
    }
}

.join-us-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.join-us-text {
    flex: 1;
}

.join-us-text h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
}

.join-us-text p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* ---------------------------------------------------------
   About page — Why grid
   --------------------------------------------------------- */

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2rem;
    }
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.why-item:hover {
    transform: translateX(4px);
    border-color: var(--primary-border);
    box-shadow: var(--shadow-sm);
}

.why-check {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.why-title {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
    font-weight: 600;
}

.why-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}
/* ---------------------------------------------------------
   Services page — Services grid
   --------------------------------------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.service-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

.service-featured {
    border-color: var(--primary-border);
    background: linear-gradient(145deg, var(--bg-surface), var(--primary-soft));
}

[data-theme="dark"] .service-featured {
    background: linear-gradient(145deg, var(--bg-surface), rgba(107, 112, 255, 0.08));
}

.service-featured:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(25, 30, 225, 0.15);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 0.3rem 0.75rem;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    box-shadow: var(--shadow-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 300ms ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-4deg);
    background: var(--primary);
    color: #fff;
}

.service-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.service-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-features svg {
    color: var(--success);
    flex-shrink: 0;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0;
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
    margin-top: auto;
    transition: gap 200ms ease, color 200ms ease;
}

.service-cta:hover {
    gap: 0.75rem;
    color: var(--primary-hover);
}

/* ---------------------------------------------------------
   Services page — Feature list with icons
   --------------------------------------------------------- */

.feature-list-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list-icons li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-list-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------------------------------------------------
   Services page — Code editor mockup
   --------------------------------------------------------- */

.code-mockup {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    font-family: "JetBrains Mono", "Fira Code", Consolas, Monaco, monospace;
}

.code-mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: #161b22;
    border-bottom: 1px solid #21262d;
}

.code-mockup-dots {
    display: flex;
    gap: 0.4rem;
}

.code-mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-mockup-dots span:nth-child(1) { background: #ff5f57; }
.code-mockup-dots span:nth-child(2) { background: #febc2e; }
.code-mockup-dots span:nth-child(3) { background: #28c840; }

.code-mockup-filename {
    color: #8b949e;
    font-size: 0.8125rem;
}

.code-mockup-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #c9d1d9;
    overflow-x: auto;
}

.code-line {
    white-space: pre;
}

.code-comment  { color: #8b949e; }
.code-keyword  { color: #ff7b72; }
.code-string   { color: #a5d6ff; }
.code-class    { color: #f0883e; }
.code-function { color: #d2a8ff; }

.code-mockup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: #161b22;
    border-top: 1px solid #21262d;
    font-size: 0.75rem;
    color: #8b949e;
}

.code-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 0 2px rgba(40, 200, 64, 0.2);
    animation: pulseLive 2s ease-in-out infinite;
}

@keyframes pulseLive {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

.code-version {
    font-family: monospace;
}
/* ---------------------------------------------------------
   Services page — Process timeline
   --------------------------------------------------------- */

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

.process-step {
    position: relative;
    padding: 1.75rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--primary-border);
    box-shadow: var(--shadow-md);
}

.process-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.1em;
    box-shadow: var(--shadow-primary);
}

.process-step-icon {
    width: 60px;
    height: 60px;
    margin: 0.75rem auto 1rem;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 300ms ease, background 300ms ease;
}

.process-step:hover .process-step-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.process-step-title {
    font-size: 1.0625rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.process-step-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

.process-step-arrow {
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--border-strong);
    z-index: 1;
    display: none;
}

@media (min-width: 1024px) {
    .process-step-arrow {
        display: flex;
    }

    .process-step:last-child .process-step-arrow {
        display: none;
    }
}

/* ---------------------------------------------------------
   Services page — Tech stack grid
   --------------------------------------------------------- */

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

@media (min-width: 640px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.tech-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.tech-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-border);
    box-shadow: var(--shadow-sm);
}

.tech-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-info {
    min-width: 0;
}

.tech-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.tech-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---------------------------------------------------------
   Services page — Pricing packages
   --------------------------------------------------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
        align-items: stretch;
    }
}

.pricing-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg-surface) 30%);
    box-shadow: 0 20px 40px rgba(25, 30, 225, 0.15);
}

[data-theme="dark"] .pricing-featured {
    background: linear-gradient(180deg, rgba(107, 112, 255, 0.12) 0%, var(--bg-surface) 30%);
}

@media (min-width: 1024px) {
    .pricing-featured {
        transform: scale(1.03);
    }

    .pricing-featured:hover {
        transform: scale(1.03) translateY(-6px);
    }
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    box-shadow: var(--shadow-primary);
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-name {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
}

.pricing-tagline {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

.pricing-value {
    margin-bottom: 1.75rem;
}

.pricing-period {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-price {
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-feature-off {
    opacity: 0.5;
    text-decoration: line-through;
}

.pricing-check,
.pricing-x {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.pricing-check {
    background: var(--success);
    color: #fff;
}

.pricing-x {
    background: var(--bg-muted);
    color: var(--text-muted);
}

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    text-align: center;
}

.pricing-note svg {
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .pricing-note {
        flex-direction: column;
        text-align: center;
    }
}
/* ---------------------------------------------------------
   Header — Mega Menu (Desktop)
   --------------------------------------------------------- */

.nav-item-has-mega {
    position: static;
}

.nav-link-has-caret {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.nav-link-has-caret svg {
    transition: transform 200ms ease;
}

.nav-item-has-mega:hover .nav-link-has-caret svg {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 75%;
    left: 0;
    right: 0;
    background: transparent;
    padding-top: 0px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
    z-index: 45;
    pointer-events: none;
}

.nav-item-has-mega:hover .mega-menu,
.nav-item-has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.mega-menu-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-subtle);
}

.mega-menu-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.mega-menu-title {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.mega-menu-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.mega-menu-view-all:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0.75rem;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    color: inherit;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.mega-item:hover {
    background: var(--bg-subtle);
    transform: translateX(3px);
    color: inherit;
}

.mega-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 300ms ease;
}

.mega-item:hover .mega-item-icon {
    transform: scale(1.08) rotate(-4deg);
}

.mega-icon-shopware {
    background: linear-gradient(135deg, #189eff 0%, #0072d6 100%);
}

.mega-icon-wawi {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.mega-icon-ads {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.mega-icon-laravel {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.mega-item-content {
    flex: 1;
    min-width: 0;
}

.mega-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.mega-item-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.mega-menu-footer {
    padding: 1rem 1.75rem;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
}

.mega-menu-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mega-menu-cta strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.mega-menu-cta span {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

/* Hide mega menu on tablet and below */
@media (max-width: 1023px) {
    .mega-menu {
        display: none;
    }
}

/* ---------------------------------------------------------
   Header — Mobile Menu Accordion
   --------------------------------------------------------- */

.mobile-nav-accordion {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mobile-nav-accordion-btn {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.mobile-accordion-icon {
    transition: transform 250ms ease;
    color: var(--text-muted);
}

.mobile-nav-accordion.is-open .mobile-accordion-icon {
    transform: rotate(180deg);
}

.mobile-nav-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}

.mobile-nav-accordion-content > * {
    overflow: hidden;
}

.mobile-nav-accordion.is-open .mobile-nav-accordion-content {
    grid-template-rows: 1fr;
}

.mobile-nav-accordion.is-open .mobile-nav-accordion-btn {
    background: var(--primary-soft);
    color: var(--primary);
}

.mobile-nav-sublink {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.7rem 1rem 0.7rem 1.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    margin: 0 0.5rem;
    transition: background 180ms ease, color 180ms ease;
}

.mobile-nav-sublink svg {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 180ms ease;
}

.mobile-nav-sublink:hover {
    background: var(--bg-subtle);
    color: var(--primary);
}

.mobile-nav-sublink:hover svg {
    color: var(--primary);
}

.mobile-nav-sublink:first-child {
    margin-top: 0.375rem;
}

.mobile-nav-sublink:last-child {
    margin-bottom: 0.5rem;
}
/* ---------------------------------------------------------
   Services Hub — 4 Big Service Cards
   --------------------------------------------------------- */

.service-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .service-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.service-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}

.service-hub-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--service-color, var(--primary));
    opacity: 0;
    transition: opacity 300ms ease;
}

.service-hub-card:hover {
    color: inherit;
    transform: translateY(-8px);
    border-color: var(--service-color, var(--border-default));
    box-shadow: var(--shadow-xl);
}

.service-hub-card:hover::before {
    opacity: 1;
}

/* Service-specific colors */
.service-hub-shopware { --service-color: #189eff; }
.service-hub-wawi     { --service-color: #10b981; }
.service-hub-ads      { --service-color: #f59e0b; }
.service-hub-laravel  { --service-color: #ef4444; }

.service-hub-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
    transition: transform 400ms ease, box-shadow 400ms ease;
}

.service-hub-shopware .service-hub-icon {
    background: linear-gradient(135deg, #189eff 0%, #0072d6 100%);
    box-shadow: 0 12px 30px rgba(24, 158, 255, 0.35);
}

.service-hub-wawi .service-hub-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

.service-hub-ads .service-hub-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.service-hub-laravel .service-hub-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

.service-hub-card:hover .service-hub-icon {
    transform: scale(1.1) rotate(-6deg);
}

.service-hub-header {
    margin-bottom: 1rem;
}

.service-hub-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-hub-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.service-hub-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.service-hub-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-hub-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.service-hub-feature svg {
    color: var(--success);
    flex-shrink: 0;
}

.service-hub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.service-hub-price {
    display: flex;
    flex-direction: column;
}

.service-hub-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.service-hub-price-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2px;
}

.service-hub-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 250ms ease, color 250ms ease, gap 250ms ease;
}

.service-hub-card:hover .service-hub-cta {
    background: var(--service-color, var(--primary));
    color: #fff;
    gap: 0.75rem;
}
/* ---------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------- */

.breadcrumbs-nav {
    padding: 1rem 0;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 180ms ease;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs [aria-current="page"] {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---------------------------------------------------------
   Service Detail Page — Hero
   --------------------------------------------------------- */

.service-hero {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
    background: var(--bg-page);
}

@media (min-width: 1024px) {
    .service-hero {
        padding: 5rem 0 6rem;
    }
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .service-hero-grid {
        grid-template-columns: 1.15fr 1fr;
        gap: 4rem;
    }
}

.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.service-hero-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #189eff, #0072d6);
}

.service-hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
}

.gradient-text-shopware {
    background: linear-gradient(135deg, #189eff 0%, #0072d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

.gradient-text-wawi {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

.gradient-text-ads {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

.gradient-text-laravel {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

.service-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 1.75rem;
}

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

.service-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.service-hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.service-hero-highlight svg {
    color: var(--success);
    flex-shrink: 0;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Hero visual card stack */
.service-hero-visual {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.service-visual-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-visual-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: transform 250ms ease, background 250ms ease;
}

.service-visual-item:hover {
    transform: translateX(4px);
    background: var(--primary-soft);
    border-color: var(--primary-border);
}

.service-visual-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.service-visual-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-visual-item-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.service-visual-item > div:nth-child(2) {
    flex: 1;
}

.service-visual-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------------------------------------------------
   Service Detail — Platform Tabs
   --------------------------------------------------------- */

.platform-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.platform-tabs-nav {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.platform-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 200ms ease;
}

.platform-tab-btn:hover {
    color: var(--text-primary);
}

.platform-tab-btn.is-active {
    background: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.platform-tab-panel {
    display: none;
}

.platform-tab-panel.is-active {
    display: block;
    animation: fadeIn 350ms ease;
}

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

.platform-tab-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
    .platform-tab-content {
        grid-template-columns: 1.5fr 1fr;
        padding: 2.5rem;
    }
}

.platform-tab-info h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.platform-tab-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.platform-tab-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.platform-tab-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.platform-tab-features svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 4px;
}

.platform-tab-features strong {
    color: var(--text-primary);
}

.platform-tab-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
}

.platform-stat {
    text-align: center;
    padding: 0.75rem 0;
}

.platform-stat + .platform-stat {
    border-top: 1px solid var(--border-light);
}

.platform-stat-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.platform-stat-label {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ---------------------------------------------------------
   Service Detail — Sub-services grid
   --------------------------------------------------------- */

.sub-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .sub-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

.sub-service-card {
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.sub-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-md);
}

.sub-service-icon-wrap {
    flex-shrink: 0;
}

.sub-service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #189eff, #0072d6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(24, 158, 255, 0.25);
    transition: transform 300ms ease;
}

.sub-service-card:hover .sub-service-icon {
    transform: rotate(-6deg) scale(1.05);
}

.sub-service-body {
    flex: 1;
    min-width: 0;
}

.sub-service-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.sub-service-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.sub-service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .sub-service-features {
        grid-template-columns: 1fr 1fr;
    }
}

.sub-service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.sub-service-features svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 3px;
}
/* ---------------------------------------------------------
   Service Page — Portfolio grid
   --------------------------------------------------------- */

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

.portfolio-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

.portfolio-visual {
    position: relative;
    aspect-ratio: 16 / 8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    padding: 2rem;
}

.portfolio-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}

.portfolio-visual-shopware {
    background: linear-gradient(135deg, #189eff 0%, #0072d6 100%);
}

.portfolio-visual-wawi {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.portfolio-visual-ads {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.portfolio-visual-laravel {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.portfolio-visual-icon {
    opacity: 0.5;
    margin-bottom: 1rem;
    transition: transform 400ms ease, opacity 400ms ease;
}

.portfolio-card:hover .portfolio-visual-icon {
    opacity: 0.9;
    transform: scale(1.1) rotate(-8deg);
}

.portfolio-visual-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.portfolio-visual-tag {
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio-body {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.portfolio-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.portfolio-result {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: var(--success-soft);
    color: var(--success);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    align-self: flex-start;
}

[data-theme="dark"] .portfolio-result {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}
/* ---------------------------------------------------------
   JTL Wawi Page — Hero Diagram
   --------------------------------------------------------- */

.service-hero-wawi .service-hero-badge-icon {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.wawi-visual-diagram {
    position: relative;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.wawi-visual-diagram::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08), transparent 50%);
    pointer-events: none;
}

.wawi-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    animation: wawiPulse 3s ease-in-out infinite;
}

@keyframes wawiPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-50%, -50%) scale(1.05); }
}

.wawi-central-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1),
                0 0 0 16px rgba(16, 185, 129, 0.05),
                0 12px 30px rgba(16, 185, 129, 0.35);
}

.wawi-central-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.wawi-central-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wawi-connections {
    position: relative;
    width: 100%;
    height: 100%;
}

.wawi-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    z-index: 2;
    animation: wawiFloat 4s ease-in-out infinite;
}

.wawi-node span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-surface);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    white-space: nowrap;
}

.wawi-node-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform 300ms ease;
}

.wawi-node:hover .wawi-node-icon {
    transform: scale(1.1) rotate(-6deg);
}

.wawi-node-top-left     { top: 5%;    left: 8%;    animation-delay: 0s; }
.wawi-node-top-right    { top: 5%;    right: 8%;   animation-delay: -0.7s; }
.wawi-node-left         { top: 45%;   left: 0;     animation-delay: -1.4s; }
.wawi-node-right        { top: 45%;   right: 0;    animation-delay: -2.1s; }
.wawi-node-bottom-left  { bottom: 5%; left: 8%;    animation-delay: -2.8s; }
.wawi-node-bottom-right { bottom: 5%; right: 8%;   animation-delay: -3.5s; }

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

/* Connection lines (SVG lines drawn via CSS) */
.wawi-connections::before {
    content: "";
    position: absolute;
    inset: 20% 20% 20% 20%;
    border: 1px dashed var(--border-default);
    border-radius: 50%;
    opacity: 0.5;
    animation: wawiRotate 30s linear infinite;
}

@keyframes wawiRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Green icon override for wawi sub-services */
.sub-service-icon-wawi {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25) !important;
}

/* ---------------------------------------------------------
   Integrations Grid
   --------------------------------------------------------- */

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .integrations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.integration-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.integration-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-sm);
}

.integration-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-info {
    min-width: 0;
    flex: 1;
}

.integration-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.integration-category {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.integrations-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 2rem;
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    text-align: center;
}

.integrations-note svg {
    color: #10b981;
    flex-shrink: 0;
}

.integrations-note a {
    color: #10b981;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .integrations-note {
        flex-direction: column;
    }
}

/* ---------------------------------------------------------
   Benefits Grid (metric cards)
   --------------------------------------------------------- */

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

.benefit-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 300ms ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-6deg);
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.benefit-metric {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.benefit-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.benefit-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}
/* ---------------------------------------------------------
   Google Ads Page — Dashboard Mockup
   --------------------------------------------------------- */

.service-hero-ads .service-hero-badge-icon {
    background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
}

.ads-dashboard {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 460px;
    margin: 0 auto;
}

.ads-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.25rem;
}

.ads-dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ads-dashboard-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-dashboard-heading {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.ads-dashboard-subheading {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.ads-dashboard-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
}

.ads-dashboard-badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
}

.ads-dashboard-badge-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s ease-out infinite;
}

.ads-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.ads-metric {
    padding: 0.875rem 1rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.ads-metric-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ads-metric-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.ads-metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.ads-trend-up {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.ads-trend-down {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.ads-chart {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.ads-dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ads-dashboard-source {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #f59e0b;
    font-weight: 600;
}

/* ---------------------------------------------------------
   Google Ads Page — Campaign Cards
   --------------------------------------------------------- */

.campaigns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .campaigns-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.campaign-card {
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    display: flex;
    flex-direction: column;
}

.campaign-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-lg);
}

.campaign-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
    transition: transform 300ms ease;
}

.campaign-card:hover .campaign-icon {
    transform: scale(1.08) rotate(-6deg);
}

.campaign-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.campaign-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.campaign-best {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.campaign-best svg {
    color: #f59e0b;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   Google Ads Page — Merchant Center Status Card
   --------------------------------------------------------- */

.merchant-status-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-xl);
}

.merchant-status-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.25rem;
}

.merchant-status-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.merchant-status-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.merchant-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.merchant-status-healthy {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.merchant-status-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    position: relative;
}

.merchant-status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s ease-out infinite;
}

.merchant-status-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.merchant-stat {
    padding: 1rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
}

.merchant-stat-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.merchant-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.merchant-status-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.merchant-status-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0.875rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.merchant-status-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.merchant-status-item-info {
    flex: 1;
    min-width: 0;
}

.merchant-status-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.merchant-status-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}
/* ---------------------------------------------------------
   Google Ads Page — Industries Grid
   --------------------------------------------------------- */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 300ms ease, background 300ms ease, color 300ms ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(-6deg);
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
}

.industry-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
/* ---------------------------------------------------------
   Laravel Page — Code Editor Mockup
   --------------------------------------------------------- */

.service-hero-laravel .service-hero-badge-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.laravel-code-mockup {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 480px;
    margin: 0 auto;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
}

.laravel-code-header {
    display: flex;
    align-items: center;
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #333;
    gap: 1rem;
}

.laravel-code-dots {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.laravel-code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.laravel-code-dots span:nth-child(1) { background: #ff5f56; }
.laravel-code-dots span:nth-child(2) { background: #ffbd2e; }
.laravel-code-dots span:nth-child(3) { background: #27c93f; }

.laravel-code-tabs {
    display: flex;
    gap: 0.375rem;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
}

.laravel-code-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: transparent;
    color: #888;
    font-size: 0.75rem;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.laravel-code-tab.is-active {
    background: #1e1e1e;
    color: #fff;
    border-bottom-color: #ef4444;
}

.laravel-code-body {
    padding: 1.25rem 0;
    font-size: 0.8125rem;
    line-height: 1.75;
    color: #d4d4d4;
    max-height: 380px;
    overflow-y: auto;
}

.laravel-code-line {
    padding: 0 1.25rem;
    white-space: pre;
    min-height: 1.4em;
}

.laravel-code-line:hover {
    background: rgba(255, 255, 255, 0.03);
}

.laravel-num {
    display: inline-block;
    width: 2rem;
    color: #666;
    text-align: right;
    padding-right: 0.75rem;
    user-select: none;
    font-size: 0.75rem;
}

.laravel-keyword  { color: #c586c0; }
.laravel-class    { color: #4ec9b0; }
.laravel-function { color: #dcdcaa; }
.laravel-string   { color: #ce9178; }
.laravel-comment  { color: #6a9955; }
.laravel-bool     { color: #569cd6; }
.laravel-num-val  { color: #b5cea8; }

.laravel-code-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    background: #2d2d2d;
    border-top: 1px solid #333;
    font-size: 0.6875rem;
    color: #888;
}

.laravel-code-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #27c93f;
}

.laravel-code-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    position: relative;
}

.laravel-code-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s ease-out infinite;
}

.laravel-code-branch {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #ef4444;
    font-weight: 500;
}

/* Red icon override for laravel sub-services */
.sub-service-icon-laravel {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25) !important;
}

/* ---------------------------------------------------------
   Laravel Page — Ecosystem Grid
   --------------------------------------------------------- */

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .ecosystem-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ecosystem-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    opacity: 0;
    transition: opacity 300ms ease;
}

.ecosystem-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: var(--shadow-sm);
}

.ecosystem-card:hover::before {
    opacity: 1;
}

.ecosystem-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-info {
    flex: 1;
    min-width: 0;
}

.ecosystem-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.ecosystem-category {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-top: 2px;
}

.ecosystem-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}
/* ---------------------------------------------------------
   Laravel Page — Architecture Diagram
   --------------------------------------------------------- */

.laravel-architecture {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 460px;
    margin: 0 auto;
}

.laravel-arch-layer {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    position: relative;
    transition: transform 250ms ease, border-color 250ms ease;
}

.laravel-arch-layer:hover {
    transform: translateX(4px);
    border-color: rgba(239, 68, 68, 0.3);
}

.laravel-arch-highlight {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .laravel-arch-highlight {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.08));
}

.laravel-arch-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.laravel-arch-highlight .laravel-arch-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.laravel-arch-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 2px;
}

.laravel-arch-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.laravel-arch-badge {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 0.15rem 0.5rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
}

.laravel-arch-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--border-strong);
    line-height: 0.5;
    padding: 0.125rem 0;
}

.laravel-arch-layer-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.laravel-arch-layer-split .laravel-arch-layer {
    padding: 0.75rem 0.875rem;
}

.laravel-arch-layer-split .laravel-arch-icon {
    width: 34px;
    height: 34px;
}
/* ---------------------------------------------------------
   Contact Page — Quick Info Cards
   --------------------------------------------------------- */

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.contact-info-card {
    padding: 1.75rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 300ms ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.08) rotate(-6deg);
}

.contact-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact-info-value {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.3;
    word-break: break-word;
}

a.contact-info-value:hover {
    color: var(--primary);
}

.contact-info-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ---------------------------------------------------------
   Contact Page — Main Grid (Form + Sidebar)
   --------------------------------------------------------- */

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
        align-items: flex-start;
    }
}

/* ---------------------------------------------------------
   Contact Form
   --------------------------------------------------------- */

.contact-form-wrap {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .contact-form-wrap {
        padding: 2.5rem;
    }
}

.contact-form-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form .form-group {
    margin: 0;
}

.contact-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

/* Radio card group */
.form-radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .form-radio-group {
        grid-template-columns: repeat(5, 1fr);
    }
}

.form-radio-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: all 200ms ease;
}

.form-radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-radio-card span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.2;
}

.form-radio-card:hover {
    border-color: var(--primary-border);
    background: var(--primary-soft);
}

.form-radio-card input:checked ~ span {
    color: var(--primary);
    font-weight: 700;
}

.form-radio-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-checkbox input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.form-checkbox a:hover {
    color: var(--primary-hover);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--success-soft);
    color: var(--success);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
}

[data-theme="dark"] .form-note {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.form-note svg {
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   Contact Sidebar
   --------------------------------------------------------- */

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-xs);
}

.contact-sidebar-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.contact-sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
}

.contact-sidebar-title svg {
    color: var(--primary);
}

.contact-address {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    padding: 1rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.contact-address strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.contact-sidebar-hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-hours-title {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-hours-title svg {
    color: var(--primary);
}

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

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-hours-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-timezone {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.contact-timezone-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

[data-theme="dark"] .contact-timezone-badge {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

/* Response time card (highlighted) */
.contact-response-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-response-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-response-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.contact-response-subtitle {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.contact-response-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.contact-response-stat {
    text-align: center;
    padding: 0.875rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.contact-response-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.contact-response-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Direct contact list */
.contact-direct-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-direct-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.contact-direct-item:hover {
    transform: translateX(3px);
    border-color: var(--primary-border);
    background: var(--primary-soft);
    color: inherit;
}

.contact-direct-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-direct-info {
    flex: 1;
    min-width: 0;
}

.contact-direct-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-direct-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}
/* ---------------------------------------------------------
   Contact Page — Map Container
   --------------------------------------------------------- */

.map-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
}

.map-embed {
    width: 100%;
    height: 450px;
    background: var(--bg-subtle);
    position: relative;
    overflow: hidden;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2);
    transition: filter 300ms ease;
}

[data-theme="dark"] .map-embed iframe {
    filter: grayscale(0.4) invert(0.9) hue-rotate(200deg);
}

.map-embed:hover iframe {
    filter: grayscale(0);
}

.map-info-card {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 5;
    width: calc(100% - 3rem);
    max-width: 340px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

@media (max-width: 640px) {
    .map-info-card {
        position: static;
        margin: 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
    }
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.map-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-info-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.map-info-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.map-info-address {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.map-info-actions {
    display: flex;
    gap: 0.5rem;
}

.map-info-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 0.75rem;
    background: var(--bg-subtle);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms ease;
}

.map-info-btn:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.map-info-btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.map-info-btn-primary:hover {
    color: #fff;
    box-shadow: 0 8px 20px rgba(25, 30, 225, 0.35);
}

/* ---------------------------------------------------------
   Contact Page — Channel Cards
   --------------------------------------------------------- */

.channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .channels-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.channel-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.75rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    color: inherit;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: currentColor;
    opacity: 0;
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: opacity 300ms ease, transform 400ms ease;
}

.channel-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.channel-card:hover::before {
    opacity: 0.03;
    transform: translate(30%, -30%);
}

.channel-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 300ms ease;
    position: relative;
    z-index: 1;
}

.channel-card:hover .channel-icon {
    transform: scale(1.08) rotate(-6deg);
}

.channel-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.channel-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.channel-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.625rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.channel-status svg {
    color: var(--success);
}

.channel-status-online {
    background: var(--success-soft);
    color: var(--success);
    border-color: transparent;
}

[data-theme="dark"] .channel-status-online {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.channel-status-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    position: relative;
}

.channel-status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s ease-out infinite;
}
/* ---------------------------------------------------------
   Portfolio Page — Hero Stats
   --------------------------------------------------------- */

.portfolio-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 720px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .portfolio-hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.portfolio-hero-stat {
    text-align: center;
    padding: 0.5rem 0.25rem;
    position: relative;
}

.portfolio-hero-stat + .portfolio-hero-stat {
    border-left: 1px solid var(--border-light);
}

@media (max-width: 767px) {
    .portfolio-hero-stat + .portfolio-hero-stat {
        border-left: none;
    }
    .portfolio-hero-stat:nth-child(2) {
        border-left: 1px solid var(--border-light);
    }
    .portfolio-hero-stat:nth-child(3),
    .portfolio-hero-stat:nth-child(4) {
        border-top: 1px solid var(--border-light);
        padding-top: 1rem;
    }
    .portfolio-hero-stat:nth-child(4) {
        border-left: 1px solid var(--border-light);
    }
}

.portfolio-hero-stat-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.375rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.portfolio-hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ---------------------------------------------------------
   Portfolio Page — Filter Tabs
   --------------------------------------------------------- */

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding: 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    overflow-x: auto;
}

@media (max-width: 767px) {
    .portfolio-filters {
        border-radius: var(--radius-lg);
    }
}

.portfolio-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 200ms ease;
    white-space: nowrap;
}

.portfolio-filter:hover {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

.portfolio-filter.is-active {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.portfolio-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 999px;
}

.portfolio-filter.is-active .portfolio-filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ---------------------------------------------------------
   Portfolio Page — Showcase Grid
   --------------------------------------------------------- */

.portfolio-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .portfolio-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.portfolio-showcase-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease, opacity 300ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-showcase-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-xl);
}

.portfolio-showcase-card.is-hidden {
    display: none;
}

.portfolio-showcase-card.is-fading {
    opacity: 0;
    transform: scale(0.95);
}

/* Visual header */
.portfolio-showcase-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    overflow: hidden;
}

.portfolio-showcase-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 50%);
    pointer-events: none;
}

.portfolio-visual-shopware {
    background: linear-gradient(135deg, #189eff 0%, #0072d6 100%);
}

.portfolio-visual-wawi {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.portfolio-visual-ads {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.portfolio-visual-laravel {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.portfolio-showcase-year {
    position: relative;
    z-index: 1;
    align-self: flex-end;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.portfolio-showcase-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    transition: transform 500ms ease, opacity 500ms ease;
    z-index: 0;
}

.portfolio-showcase-card:hover .portfolio-showcase-icon {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.15) rotate(-10deg);
}

.portfolio-showcase-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-showcase-tag {
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Content body */
.portfolio-showcase-body {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-showcase-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.portfolio-showcase-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.portfolio-showcase-client {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: var(--bg-subtle);
    border-radius: 999px;
}

.portfolio-showcase-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.portfolio-showcase-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.portfolio-showcase-footer {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.portfolio-showcase-result {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: var(--success-soft);
    color: var(--success);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

[data-theme="dark"] .portfolio-showcase-result {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

/* Empty state */
.portfolio-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    margin-top: 2rem;
}

.portfolio-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.portfolio-empty-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.portfolio-empty-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* ---------------------------------------------------------
   Portfolio Page — Case Study Grid
   --------------------------------------------------------- */

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .case-study-grid {
        grid-template-columns: 1.3fr 1fr;
        gap: 3.5rem;
    }
}

.case-study-content {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.case-study-content p {
    margin: 0 0 1rem;
}

.case-study-client {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
}

.case-study-client-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-primary);
}

.case-study-client-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.case-study-client-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.case-study-heading {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-heading::before {
    content: "";
    width: 4px;
    height: 20px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.case-study-tech {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.case-study-tech-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-study-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-study-tech-item {
    padding: 0.375rem 0.75rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 999px;
}

/* Metrics card */
.case-study-metrics-card {
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.case-study-metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.case-study-metrics-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.case-study-metrics-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: var(--success-soft);
    color: var(--success);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
}

[data-theme="dark"] .case-study-metrics-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.case-study-big-metric {
    text-align: center;
    padding: 1.75rem 1rem;
    background: linear-gradient(135deg, var(--primary-soft), transparent);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .case-study-big-metric {
    background: linear-gradient(135deg, rgba(107, 112, 255, 0.1), transparent);
}

.case-study-big-metric-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-study-big-metric-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
}

.case-study-big-metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

[data-theme="dark"] .case-study-big-metric-trend {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.case-study-mini-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.case-study-mini-metric {
    padding: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
}

.case-study-mini-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.case-study-mini-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.case-study-testimonial {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.case-study-testimonial svg {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--primary);
}

.case-study-testimonial p {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.case-study-testimonial-author {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
}
/* ---------------------------------------------------------
   Portfolio Page — Trusted By Section
   --------------------------------------------------------- */

.trusted-by {
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
}

.trusted-by-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 2rem;
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: center;
    justify-items: center;
}

@media (min-width: 640px) {
    .trusted-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .trusted-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .trusted-logos {
        grid-template-columns: repeat(6, 1fr);
    }
}

.trusted-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    width: 100%;
    filter: grayscale(0.6);
    opacity: 0.75;
    transition: all 250ms ease;
    cursor: default;
}

.trusted-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-3px);
    border-color: var(--primary-border);
    background: var(--primary-soft);
}

.trusted-logo-mark {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: -0.02em;
}

.trusted-logo-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------------
   Portfolio Page — Metrics Grid
   --------------------------------------------------------- */

.portfolio-metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .portfolio-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-metrics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

.portfolio-metric {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.portfolio-metric:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

.portfolio-metric-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-lg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform 300ms ease;
}

.portfolio-metric:hover .portfolio-metric-icon {
    transform: scale(1.1) rotate(-6deg);
}

.portfolio-metric-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.portfolio-metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.portfolio-metric-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

/* ---------------------------------------------------------
   Portfolio Page — Stand Out Cards
   --------------------------------------------------------- */

.stand-out-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .stand-out-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stand-out-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.stand-out-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    overflow: hidden;
}

.stand-out-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms ease;
}

.stand-out-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

.stand-out-card:hover::before {
    transform: scaleX(1);
}

.stand-out-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--border-default);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: color 300ms ease;
}

.stand-out-card:hover .stand-out-number {
    color: var(--primary-border);
}

.stand-out-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: transform 300ms ease, background 300ms ease, color 300ms ease;
    position: relative;
    z-index: 1;
}

.stand-out-card:hover .stand-out-icon {
    background: var(--gradient-brand);
    color: #fff;
    transform: scale(1.08) rotate(-6deg);
}

.stand-out-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.stand-out-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
    position: relative;
    z-index: 1;
}
/* ---------------------------------------------------------
   FAQ Page — Search Bar
   --------------------------------------------------------- */

.faq-search-wrap {
    position: relative;
    max-width: 600px;
    margin: 3rem auto 1rem;
}

.faq-search-icon {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.faq-search-input {
    width: 100%;
    padding: 1.125rem 3.5rem 1.125rem 3.25rem;
    background: var(--bg-surface);
    border: 2px solid var(--border-default);
    border-radius: 999px;
    font-size: 1rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-search-input::placeholder {
    color: var(--text-light);
}

.faq-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 6px var(--primary-soft), var(--shadow-lg);
}

.faq-search-clear {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--bg-subtle);
    border: 0;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease, color 200ms ease;
    z-index: 2;
}

.faq-search-clear:hover {
    background: var(--danger-soft);
    color: var(--danger);
}

/* Search suggestions */
.faq-search-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-suggestion-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 0.25rem;
}

.faq-suggestion {
    padding: 0.375rem 0.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
}

.faq-suggestion:hover {
    background: var(--primary-soft);
    border-color: var(--primary-border);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   FAQ Page — Category Filter Tabs
   --------------------------------------------------------- */

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow-x: auto;
}

.faq-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 200ms ease;
    white-space: nowrap;
}

.faq-category-btn:hover {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

.faq-category-btn.is-active {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.faq-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 999px;
}

.faq-category-btn.is-active .faq-category-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ---------------------------------------------------------
   FAQ Page — Category Sections
   --------------------------------------------------------- */

.faq-category-section {
    margin-bottom: 3rem;
}

.faq-category-section.is-hidden {
    display: none;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.faq-category-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.faq-category-title {
    flex: 1;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.faq-category-badge {
    padding: 0.375rem 0.75rem;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}

/* FAQ list */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item.is-hidden-search {
    display: none;
}

/* Enhanced FAQ Question with number */
.faq-question-text {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.faq-question-number {
    flex-shrink: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
    min-width: 30px;
    text-align: center;
}

/* Highlight matched search text */
.faq-item mark {
    background: linear-gradient(to bottom, transparent 60%, rgba(245, 158, 11, 0.5) 60%);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

/* Answer actions (helpful buttons) */
.faq-answer-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px dashed var(--border-light);
}

.faq-helpful {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.75rem;
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 200ms ease;
}

.faq-helpful:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.faq-helpful.is-selected {
    background: var(--success-soft);
    color: var(--success);
    border-color: var(--success);
    pointer-events: none;
}

[data-theme="dark"] .faq-helpful.is-selected {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

/* Empty state */
.faq-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    margin-top: 2rem;
}

.faq-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.faq-empty-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.faq-empty-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

.faq-empty-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}
/* ---------------------------------------------------------
   FAQ Page — Still Have Questions Card
   --------------------------------------------------------- */

.still-questions-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .still-questions-card {
        padding: 3rem;
    }
}

.still-questions-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-soft), transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .still-questions-card::before {
    background: radial-gradient(circle, rgba(107, 112, 255, 0.15), transparent 70%);
}

.still-questions-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.still-questions-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .still-questions-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.still-questions-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.still-questions-text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
}

/* Options grid */
.still-questions-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
}

@media (min-width: 640px) {
    .still-questions-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.still-questions-option {
    display: flex;
    align-items: flex-start;
    gap: 1.125rem;
    padding: 1.5rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    position: relative;
    overflow: hidden;
}

.still-questions-option::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-brand);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 300ms ease;
}

.still-questions-option:hover {
    transform: translateY(-4px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.still-questions-option:hover::before {
    transform: scaleY(1);
}

.still-questions-option-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform 300ms ease;
}

.still-questions-option:hover .still-questions-option-icon {
    transform: scale(1.08) rotate(-6deg);
}

.still-questions-option-content {
    flex: 1;
    min-width: 0;
}

.still-questions-option-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    line-height: 1.2;
}

.still-questions-option-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.875rem;
}

.still-questions-option-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    transition: gap 200ms ease, color 200ms ease;
}

.still-questions-option:hover .still-questions-option-cta {
    gap: 0.625rem;
    color: var(--primary-hover);
}

/* ---------------------------------------------------------
   FAQ Page — Related Resources Grid
   --------------------------------------------------------- */

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

.resource-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    color: inherit;
    transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.resource-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: transform 350ms ease;
}

.resource-card:hover .resource-icon {
    transform: scale(1.08) rotate(-6deg);
}

.resource-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.resource-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: auto;
    transition: gap 200ms ease, color 200ms ease;
}

.resource-card:hover .resource-link {
    gap: 0.75rem;
    color: var(--primary-hover);
}
/* ---------------------------------------------------------
   Legal Pages — Hero
   --------------------------------------------------------- */

.legal-hero {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
    background: var(--bg-page);
}

.legal-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.legal-hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.legal-hero-tagline {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0 0 2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.legal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 2rem;
}

.legal-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.legal-hero-meta-item svg {
    color: var(--primary);
}

.legal-hero-meta-item strong {
    color: var(--text-primary);
}

/* ---------------------------------------------------------
   Legal Pages — Content Layout
   --------------------------------------------------------- */

.legal-content {
    padding: 3rem 0 5rem;
    background: var(--bg-page);
}

.legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 260px 1fr;
        gap: 3rem;
    }
}

/* Sidebar / TOC */
.legal-sidebar {
    position: relative;
}

@media (min-width: 1024px) {
    .legal-sidebar {
        position: sticky;
        top: 110px;
        align-self: flex-start;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }
}

.legal-toc {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
}

.legal-toc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-toc-title svg {
    color: var(--primary);
}

.legal-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    counter-reset: none;
}

.legal-toc-list li a {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.4;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 200ms ease;
    border-left: 2px solid transparent;
}

.legal-toc-list li a:hover {
    background: var(--bg-subtle);
    color: var(--primary);
    border-left-color: var(--primary);
}

.legal-toc-list li a.is-active {
    background: var(--primary-soft);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.legal-toc-num {
    flex-shrink: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-top: 2px;
    letter-spacing: 0.02em;
}

.legal-toc-list li a:hover .legal-toc-num,
.legal-toc-list li a.is-active .legal-toc-num {
    color: var(--primary);
}

/* TOC quick contact */
.legal-toc-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.legal-toc-contact-title {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.legal-toc-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-subtle);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    word-break: break-all;
    transition: all 200ms ease;
    width: 100%;
}

.legal-toc-contact-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.legal-toc-contact-link svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* ---------------------------------------------------------
   Legal Pages — Article Content
   --------------------------------------------------------- */

.legal-article {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xs);
}

@media (min-width: 768px) {
    .legal-article {
        padding: 3rem;
    }
}

.legal-intro {
    padding: 1.5rem;
    background: var(--bg-subtle);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.7;
}

.legal-intro p {
    margin: 0 0 1rem;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-intro strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Highlighted intro box */
.legal-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--success-soft), transparent);
    border: 1px solid var(--success);
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

[data-theme="dark"] .legal-highlight-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), transparent);
    border-color: rgba(16, 185, 129, 0.3);
}

.legal-highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--success);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-highlight-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.legal-highlight-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Section styling */
.legal-section {
    padding: 2rem 0;
    scroll-margin-top: 110px;
}

.legal-section + .legal-section {
    border-top: 1px solid var(--border-light);
}

.legal-section h2 {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.legal-section-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 30px;
    padding: 0 0.5rem;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
    margin-top: 3px;
}

.legal-section-body {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.legal-section-body p {
    margin: 0 0 1rem;
}

.legal-section-body h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.75rem 0 0.75rem;
    line-height: 1.4;
}

.legal-section-body ul,
.legal-section-body ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.legal-section-body li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.legal-section-body li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section-body a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 200ms ease;
}

.legal-section-body a:hover {
    color: var(--primary-hover);
    text-decoration-thickness: 2px;
}

.legal-section-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section-body code {
    font-family: "JetBrains Mono", Consolas, Monaco, monospace;
    font-size: 0.85em;
    padding: 0.125rem 0.375rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    color: var(--primary);
}

/* Contact block within sections */
.legal-contact-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.legal-contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-light);
}

@media (min-width: 640px) {
    .legal-contact-row {
        grid-template-columns: 140px 1fr;
        gap: 1rem;
        align-items: flex-start;
    }
}

.legal-contact-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.legal-contact-row strong {
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.legal-contact-row span {
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.legal-contact-row a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-contact-row a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Steps within sections */
.legal-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.legal-step {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.legal-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-primary);
}

.legal-step-content {
    flex: 1;
    min-width: 0;
}

.legal-step-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.legal-step-content p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Table styling */
.legal-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 1.5rem 0;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.legal-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.875rem;
    align-items: center;
}

.legal-table-row:has(> :nth-child(3)) {
    grid-template-columns: 1fr 1fr 100px;
}

.legal-table-row:last-child {
    border-bottom: none;
}

.legal-table-header {
    background: var(--bg-subtle);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-table-row:not(.legal-table-header):hover {
    background: var(--bg-subtle);
}

.legal-table-row code {
    font-family: "JetBrains Mono", Consolas, Monaco, monospace;
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 640px) {
    .legal-table-row {
        grid-template-columns: 1fr;
        gap: 0.375rem;
    }

    .legal-table-header {
        display: none;
    }

    .legal-table-row:not(.legal-table-header) > div::before {
        content: attr(data-label);
        display: block;
        font-size: 0.6875rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 600;
        margin-bottom: 2px;
    }
}

/* Footer contact box */
.legal-footer-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--primary-soft), transparent);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-xl);
    margin-top: 3rem;
}

[data-theme="dark"] .legal-footer-box {
    background: linear-gradient(135deg, rgba(107, 112, 255, 0.12), transparent);
}

@media (max-width: 640px) {
    .legal-footer-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .legal-footer-icon {
        justify-self: center;
    }
}

.legal-footer-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.legal-footer-content h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.legal-footer-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.legal-footer-actions {
    flex-shrink: 0;
}
/* ---------------------------------------------------------
   404 Page — Hero
   --------------------------------------------------------- */

.error-hero {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
    background: var(--bg-page);
}

@media (min-width: 768px) {
    .error-hero {
        padding: 6rem 0 5rem;
    }
}

.error-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Floating decoration icons */
.error-float {
    position: absolute;
    color: var(--primary);
    opacity: 0.08;
    pointer-events: none;
    animation: errorFloat 8s ease-in-out infinite;
    z-index: 1;
}

.error-float-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.error-float-2 {
    top: 25%;
    right: 10%;
    animation-delay: -2s;
    animation-duration: 7s;
    color: var(--secondary);
}

.error-float-3 {
    bottom: 25%;
    left: 12%;
    animation-delay: -4s;
    animation-duration: 8s;
    color: var(--accent);
}

.error-float-4 {
    bottom: 15%;
    right: 8%;
    animation-delay: -3s;
    animation-duration: 6.5s;
    color: var(--primary);
}

@keyframes errorFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(15deg);
    }
}

/* ---------------------------------------------------------
   404 Page — Animated 404 Code
   --------------------------------------------------------- */

.error-code-wrap {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.error-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.error-digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(6rem, 20vw, 10rem);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: errorBounce 3s ease-in-out infinite;
}

.error-digit-4:first-child {
    animation-delay: 0s;
}

.error-digit-0 {
    position: relative;
    width: clamp(6rem, 20vw, 10rem);
    height: clamp(6rem, 20vw, 10rem);
    animation-delay: 0.2s;
}

.error-digit-4:last-child {
    animation-delay: 0.4s;
}

.error-digit-0 svg {
    width: 100%;
    height: 100%;
}

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

/* Face inside the "0" (fun touch) */
.error-digit-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
}

.error-eye {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    top: 35%;
    animation: errorBlink 4s ease-in-out infinite;
}

.error-eye-left {
    left: 25%;
}

.error-eye-right {
    right: 25%;
}

@keyframes errorBlink {
    0%, 45%, 55%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.1);
    }
}

.error-mouth {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 12%;
    border: 3px solid var(--primary);
    border-top: none;
    border-radius: 0 0 100px 100px;
}

/* Error badge */
.error-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 999px;
    color: #ef4444;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Error title */
.error-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.error-subtitle {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0 0 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Requested URL display */
.error-requested-url {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    max-width: 100%;
    box-shadow: var(--shadow-xs);
}

.error-requested-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    white-space: nowrap;
}

.error-requested-url code {
    font-family: "JetBrains Mono", Consolas, Monaco, monospace;
    font-size: 0.875rem;
    color: var(--danger);
    background: transparent;
    padding: 0;
    border: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Error actions */
.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
}

/* ---------------------------------------------------------
   404 Page — Search Card
   --------------------------------------------------------- */

.error-search-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
    .error-search-card {
        padding: 2.5rem;
    }
}

.error-search-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.error-search-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
}

.error-search-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
    line-height: 1.3;
}

.error-search-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

.error-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .error-search-form {
        flex-direction: row;
    }
}

.error-search-input-wrap {
    position: relative;
    flex: 1;
}

.error-search-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.error-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.error-search-input::placeholder {
    color: var(--text-light);
}

.error-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

/* ---------------------------------------------------------
   404 Page — Popular Grid
   --------------------------------------------------------- */

.error-popular-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .error-popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .error-popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.error-popular-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    color: inherit;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    position: relative;
    overflow: hidden;
}

.error-popular-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-brand);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 300ms ease;
}

.error-popular-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.error-popular-card:hover::before {
    transform: scaleY(1);
}

.error-popular-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform 300ms ease;
}

.error-popular-card:hover .error-popular-icon {
    transform: scale(1.08) rotate(-6deg);
}

.error-popular-content {
    flex: 1;
    min-width: 0;
}

.error-popular-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.error-popular-text {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.4;
    margin: 0;
}

.error-popular-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 300ms ease, color 300ms ease;
}

.error-popular-card:hover .error-popular-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   404 Page — Report Box
   --------------------------------------------------------- */

.error-report-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.75rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
}

@media (max-width: 640px) {
    .error-report-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .error-report-icon {
        justify-self: center;
    }
}

.error-report-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-report-content h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.error-report-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.error-report-actions {
    flex-shrink: 0;
}
/* ==========================================================
   Chatbot Widget - Bottom Left (Fixed for mobile)
   ========================================================== */

/* Minimized floating bubble */
.chatbot-minimized {
    position: fixed;
    bottom: 70px;
    left: 20px;
    z-index: 45;
    display: none;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.125rem 0.75rem 0.625rem;
    background: var(--gradient-brand);
    color: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(25, 30, 225, 0.35);
    cursor: pointer;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 200ms ease, box-shadow 200ms ease;
    animation: chatbotBubbleIn 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-minimized:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(25, 30, 225, 0.45);
}

.chatbot-minimized.is-visible {
    display: inline-flex;
}

.chatbot-minimized-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.chatbot-minimized-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
}

.chatbot-minimized-text {
    white-space: nowrap;
    display: none;
}

@media (min-width: 640px) {
    .chatbot-minimized-text {
        display: inline;
    }
}

@keyframes chatbotBubbleIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Main chat panel */
.chatbot {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 55;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 580px;
    max-height: calc(100vh - 40px);
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 300ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    visibility: hidden;
}

.chatbot.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}

[data-theme="dark"] .chatbot {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Header */
.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    background: var(--gradient-brand);
    color: #fff;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.chatbot-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-avatar-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.chatbot-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.chatbot-status-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2px;
}

.chatbot-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.chatbot-status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.chatbot-status.is-connecting .chatbot-status-dot { background: #fbbf24; }
.chatbot-status.is-thinking .chatbot-status-dot { background: #60a5fa; }
.chatbot-status.is-offline .chatbot-status-dot { background: #f87171; }

.chatbot-badge {
    padding: 0.15rem 0.375rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.chatbot-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.chatbot-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Messages container */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: var(--bg-page);
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 999px;
}

/* Message wrap */
.chatbot-msg-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    animation: chatbotMsgIn 300ms ease-out;
}

.chatbot-msg-user {
    flex-direction: row-reverse;
}

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

.chatbot-msg-avatar {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.chatbot-msg-user .chatbot-msg-avatar {
    background: var(--gradient-brand);
    color: #fff;
}

.chatbot-msg {
    max-width: 85%;
    padding: 0.75rem 0.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    border-top-left-radius: 4px;
    box-shadow: var(--shadow-xs);
}

.chatbot-msg-user .chatbot-msg {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 4px;
}

.chatbot-msg-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.chatbot-msg-user .chatbot-msg-title {
    color: #fff;
}

.chatbot-msg-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.chatbot-msg-user .chatbot-msg-text {
    color: rgba(255, 255, 255, 0.95);
}

.chatbot-msg-time {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
    text-align: right;
}

.chatbot-msg-user .chatbot-msg-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Help list in welcome message */
.chatbot-help-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.chatbot-help-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.chatbot-help-list svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Quick questions */
.chatbot-quick-wrap {
    margin-bottom: 1rem;
}

.chatbot-quick-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    padding-left: 2.25rem;
}

.chatbot-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    padding-left: 2.25rem;
}

.chatbot-chip {
    padding: 0.375rem 0.75rem;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    font-family: inherit;
}

.chatbot-chip:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Typing indicator */
.chatbot-typing {
    display: none;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 1rem 0.75rem;
    background: var(--bg-page);
}

.chatbot-typing.is-visible {
    display: flex;
}

.chatbot-typing-bubble {
    display: inline-flex;
    gap: 4px;
    padding: 0.75rem 0.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    border-top-left-radius: 4px;
    box-shadow: var(--shadow-xs);
}

.chatbot-typing-bubble span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: chatbotTypingDot 1.4s infinite ease-in-out;
}

.chatbot-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbotTypingDot {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* Input area */
.chatbot-input-area {
    padding: 0.875rem 1rem 1rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

.chatbot-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 0.75rem;
    padding: 0.375rem;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.chatbot-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.chatbot-input {
    flex: 1;
    padding: 0.5rem 0.5rem;
    background: transparent;
    border: 0;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.4;
    max-height: 120px;
}

.chatbot-input::placeholder {
    color: var(--text-light);
}

.chatbot-input:disabled {
    opacity: 0.6;
}

.chatbot-send {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-brand);
    color: #fff;
    border: 0;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(25, 30, 225, 0.35);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.chatbot-send:hover:not(:disabled) {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 6px 16px rgba(25, 30, 225, 0.45);
}

.chatbot-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chatbot-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0 0.25rem;
}

.chatbot-footer-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Mobile adjustments - CRITICAL FIX */
@media (max-width: 640px) {
    /* Chatbot fullscreen when open on mobile */
    .chatbot {
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: 0;
    }

    /* CRITICAL: When NOT open, completely remove from viewport */
    .chatbot:not(.is-open) {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(100%) !important;
    }

    /* Minimized button smaller on mobile */
    .chatbot-minimized {
        bottom: 16px;
        left: 16px;
        padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    }

    .chatbot-minimized-icon {
        width: 36px;
        height: 36px;
    }
}

/* Ensure chatbot doesn't block header on ANY screen size when closed */
.chatbot:not(.is-open) {
    display: none;
}
.mobile-menu.open {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    display: block !important;
}
.overlay-xs.open {
    height: 100vh;
    background-color: #00000020;

}

@media screen and (max-width: 768px) {
    
.hero {
    position: relative;
    padding: 0rem;
}
}

/* ==========================================================
   Hero Content Rotator - Smooth Crossfade
   Rotates entire headline + subtitle every 4 seconds
   ========================================================== */

.hero-content-rotator {
    position: relative;
    width: 100%;
    /* Reserve minimum height to prevent layout jump */
    min-height: 260px;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-content-rotator {
        min-height: 240px;
    }
}

@media (min-width: 1024px) {
    .hero-content-rotator {
        min-height: 280px;
    }
}

/* Individual slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 800ms ease-in-out,
                visibility 800ms ease-in-out;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    pointer-events: auto;
}

/* Slide title */
.hero-slide .hero-title {
    margin-bottom: 1.5rem;
}

.hero-slide .hero-title .gradient-text {
    display: inline;
}

/* Slide subtitle */
.hero-slide .hero-subtitle {
    margin: 0;
}

/* ==========================================================
   Slide Dots Indicator
   ========================================================== */

.hero-slide-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-dot {
    width: 8px;
    height: 8px;
    background: var(--border-strong);
    border: 0;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transition: all 300ms ease;
    opacity: 0.5;
}

.hero-dot:hover {
    opacity: 1;
    transform: scale(1.3);
}

.hero-dot.is-active {
    background: var(--primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(107, 112, 255, 0.5);
}

/* Hide dots on very small screens */
@media (max-width: 480px) {
    .hero-slide-dots {
        display: none;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity 200ms ease;
    }
}
/* ==========================================================
   Brand Logo Images (Theme-Aware)
   ========================================================== */

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: inherit;
    line-height: 0;
}

.brand-logo:hover {
    color: inherit;
    opacity: 0.9;
}

.brand-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: opacity 300ms ease, transform 300ms ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.02);
}

/* Show light logo (dark image) in LIGHT theme */
.brand-logo-light {
    display: block;
}

.brand-logo-dark {
    display: none;
}

/* Show dark logo (white image) in DARK theme */
[data-theme="dark"] .brand-logo-light {
    display: none;
}

[data-theme="dark"] .brand-logo-dark {
    display: block;
}

/* Footer logo — always show white version */
.brand-logo-footer {
    display: block !important;
}

/* Responsive logo sizes */
@media (max-width: 640px) {
    .brand-logo-img {
        height: 34px;
    }
}

@media (min-width: 1024px) {
    .brand-logo-img {
        height: 44px;
    }
}
/* OPEN STATE */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
#google_translate_element {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
/* ==========================================================
   Google Translate — Complete UI Hiding (BULLETPROOF)
   ========================================================== */

/* Hide the top translation bar (all variations) */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.skiptranslate iframe {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Force body to top position — override Google's inline styles */
body {
    top: 0 !important;
    position: static !important;
    margin-top: 0 !important;
}

/* Fix html position too */
html {
    margin-top: 0 !important;
}

/* Hide Google Translate tooltip when hovering translated text */
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-balloon-frame,
.goog-te-ftab {
    display: none !important;
    visibility: hidden !important;
}

/* Remove highlight/background from translated text */
.goog-text-highlight {
    background-color: transparent !important;
    background: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

/* Hide the widget container itself */
#google_translate_element,
.goog-te-gadget,
.goog-te-gadget-simple {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Hide any leftover Google Translate iframes */
iframe.goog-te-menu-frame {
    display: none !important;
}

/* Hide "Powered by Google Translate" text */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/* Prevent Google from adding weird styles to your elements */
font[style*="vertical-align: inherit"] {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}
/* ==========================================================
   Products Slider (Homepage) - Fixed Heights + 4 Cards Desktop
   ========================================================== */

.products-slider-wrap {
    position: relative;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .products-slider-wrap {
        padding: 0;
    }
}

.products-slider {
    overflow: hidden;
    padding: 1rem 0.5rem;  /* Padding gives room for hover lift + shadows */
    margin: -1rem -0.5rem;  /* Compensate padding so content aligns */
}

.products-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;  /* CRITICAL: makes all cards equal height */
}

/* Slide widths — 4 cards on desktop */
.products-slide {
    flex: 0 0 calc((100% - 4.5rem) / 4);  /* 4 cards with 3 gaps of 1.5rem = 4.5rem */
    min-width: 0;
    display: flex;  /* CRITICAL: makes card fill height */
    height: auto;
}

/* Large tablet: 3 cards */
@media (max-width: 1200px) {
    .products-slide {
        flex: 0 0 calc((100% - 3rem) / 3);  /* 3 cards with 2 gaps */
    }
}

/* Tablet: 2 cards */
@media (max-width: 900px) {
    .products-slide {
        flex: 0 0 calc((100% - 1.5rem) / 2);  /* 2 cards with 1 gap */
    }
}

/* Mobile: 1 card */
@media (max-width: 640px) {
    .products-slide {
        flex: 0 0 100%;
    }
    .products-slider-track {
        gap: 1rem;
    }
}

/* Fix card sizing INSIDE slider */
.products-slide .product-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Force visible border */
    border: 1px solid var(--border-default);
    /* Force visible shadow */
    box-shadow: var(--shadow-sm);
    /* Prevent overflow issues */
    overflow: hidden;
}

.products-slide .product-card:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Fix image area — consistent height */
.products-slide .product-image {
    aspect-ratio: 16 / 10;
    background: var(--bg-subtle);
    flex-shrink: 0;  /* Don't shrink */
}

/* Fix body — grows to fill remaining space */
.products-slide .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

/* Fix description — allow line clamp for consistency */
.products-slide .product-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    flex-grow: 1;  /* CRITICAL: pushes footer to bottom */
    /* Limit description lines for consistent card heights */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fix footer — always at bottom */
.products-slide .product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;  /* Push to bottom */
}

/* Popular badge overlay */
.product-popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.625rem;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Navigation arrows */
.products-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 200ms ease;
}

.products-slider-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-primary);
}

.products-slider-prev {
    left: 0;
}

.products-slider-next {
    right: 0;
}

@media (max-width: 768px) {
    .products-slider-nav {
        display: none;
    }
}

/* Dots pagination */
.products-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.products-slider-dot {
    width: 8px;
    height: 8px;
    background: var(--border-strong);
    border: 0;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: all 300ms ease;
}

.products-slider-dot:hover {
    opacity: 1;
    transform: scale(1.3);
}

.products-slider-dot.is-active {
    background: var(--primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(25, 30, 225, 0.4);
}
section#fiverr-testimonials {
    padding: 0px 10px;
}
.hero-content-rotator.aos-init.aos-animate {
    min-height: 350px;
}
/* ==========================================================
   Floating Review Badges (Bottom-Right)
   Google Reviews + Fiverr
   ========================================================== */

.review-badges {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 48;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    align-items: flex-end;
}

/* Badge group (button + card) */
.review-badge-group {
    position: relative;
}

/* Floating button */
.review-badge-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.875rem 0.5rem 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 250ms ease;
    font-family: inherit;
    color: var(--text-primary);
}

.review-badge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--border-strong);
}

.review-badge-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}

.review-badge-fiverr-btn-icon {
    background: rgba(29, 191, 115, 0.1);
}

.review-badge-btn-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.review-badge-btn-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.review-badge-btn-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    line-height: 1;
}

.review-badge-btn-rating strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-badge-btn-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #f59e0b;
}

.review-badge-btn-stars svg {
    width: 12px;
    height: 12px;
}

/* Hide text on very small screens */
@media (max-width: 480px) {
    .review-badge-btn-info {
        display: none;
    }
    .review-badge-btn {
        padding: 0.375rem;
        border-radius: 50%;
    }
}

/* Preview card */
.review-badge-card {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-height: 460px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.97);
    transform-origin: bottom right;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.review-badge-group.is-open .review-badge-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Card header */
.review-badge-card-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-subtle);
}

.review-badge-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.review-badge-card-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.review-badge-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-badge-card-score {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-badge-card-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #f59e0b;
}

.review-badge-card-stars svg {
    width: 14px;
    height: 14px;
}

.review-badge-card-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Reviews list */
.review-badge-card-reviews {
    max-height: 280px;
    overflow-y: auto;
    padding: 0;
}

.review-badge-card-reviews::-webkit-scrollbar {
    width: 4px;
}

.review-badge-card-reviews::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 999px;
}

.review-badge-card-review {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.review-badge-card-review:last-child {
    border-bottom: none;
}

.review-badge-card-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
}

.review-badge-card-review-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-badge-card-review-date {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.review-badge-card-review-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.review-badge-card-review-stars svg {
    width: 12px;
    height: 12px;
}

.review-badge-card-review-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA button */
.review-badge-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-subtle);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms ease;
}

.review-badge-card-cta-google {
    background: #4285F4;
    color: #fff;
}

.review-badge-card-cta-google:hover {
    background: #3367D6;
    color: #fff;
}

.review-badge-card-cta-fiverr {
    background: #1DBF73;
    color: #fff;
}

.review-badge-card-cta-fiverr:hover {
    background: #19A463;
    color: #fff;
}

/* Mobile: Cards go full width at bottom */
@media (max-width: 640px) {
    .review-badges {
        bottom: 16px;
        right: 16px;
    }

    .review-badge-card {
        position: fixed;
        bottom: 80px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: calc(100vw - 32px);
    }
}

/* Ensure badges don't overlap chatbot */
@media (max-width: 640px) {
    .review-badges {
        bottom: 16px;
        right: 16px;
    }
}
.hero-slide {
    min-height: 350px;
}
/* ==========================================================
   Portfolio — Status Badges + Visit Link
   ========================================================== */

.portfolio-showcase-status {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.portfolio-status-live {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.portfolio-status-request {
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.portfolio-status-private {
    background: rgba(100, 116, 139, 0.9);
    color: #fff;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

/* Visit site link in card footer */
.portfolio-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 200ms ease, color 200ms ease;
}

.portfolio-showcase-link:hover {
    gap: 0.625rem;
    color: var(--primary-hover);
}

/* Ensure portfolio card image overlay works */
.portfolio-showcase-visual {
    position: relative;
}

.portfolio-showcase-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    transition: opacity 400ms ease;
}

.portfolio-showcase-card:hover .portfolio-showcase-visual img {
    opacity: 0.4;
}

/* Update footer to support link */
.portfolio-showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}
/* ==========================================================
   Team Page — Member Cards (Photo-based)
   ========================================================== */

.team-members-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.team-member-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-default);
}

/* Photo area */
.team-member-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.team-member-card:hover .team-member-photo img {
    transform: scale(1.08);
}

.team-member-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 400ms ease;
}

.team-member-card:hover .team-member-overlay {
    opacity: 1;
}

/* Social links (appear on hover over photo) */
.team-member-socials {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 400ms ease, transform 400ms ease;
    z-index: 2;
}

.team-member-card:hover .team-member-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-member-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    transition: all 200ms ease;
}

.team-member-social:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Info section */
.team-member-info {
    padding: 1.5rem;
}

.team-member-role-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.team-member-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.team-member-bio {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-member-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 200ms ease;
}

.team-member-email:hover {
    color: var(--primary);
}

.team-member-email svg {
    flex-shrink: 0;
}