/*
Theme Name: GenieCert
Theme URI: https://geniecert.com
Author: Mohamed Shaheen
Author URI: mailto:work.mshaheen@gmail.com
Description: A modern, premium compliance consulting theme for GenieCert. Features AI-powered compliance solutions, multi-language support (10 languages), custom compliance standard post type, and full Customizer integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geniecert
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready, blog
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
*/

/* ══════════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════════ */
:root {
    --bg: #FAFBFD;
    --bg-hero: #F0F4F8;
    --bg-card: #FFFFFF;
    --bg-dark: #0B1120;
    --bg-dark-card: #131B2E;

    --accent: #04528C;
    --accent-deep: #033A63;
    --accent-light: #E8EFF8;
    --accent-glow: rgba(4,82,140,0.12);
    --accent-warm: #C6922A;
    --accent-warm-light: #FDF6E8;

    --text: #1A1F2E;
    --text-secondary: #5A6378;
    --text-muted: #94A0B8;
    --text-on-dark: #E8ECF2;

    --border: #E2E8F0;
    --border-light: #F0F3F7;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --font-display: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Montserrat', system-ui, sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.1);
}

/* ══════════════════════════════════════════════
   RESET & BASE STYLES
   ══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(250,251,253,0.88);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    padding: 0.625rem 0;
    box-shadow: 0 1px 0 var(--border);
}

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

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 53px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
    padding: 0.6rem 1.5rem;
    background: var(--accent);
    color: white !important;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px var(--accent-glow);
}
.nav__cta:hover {
    background: var(--accent-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Mobile header right area */
.nav__mobile-right {
    display: none;
    align-items: center;
    gap: 0.5rem;
}
.lang-switcher--mobile { display: none; }

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}
.lang-switcher__toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.lang-switcher__toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}
.lang-switcher.open .lang-switcher__toggle svg {
    transform: rotate(180deg);
}
.lang-switcher__toggle .lang-globe {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.25s ease;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.lang-switcher.open .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.lang-switcher__option:hover {
    background: var(--bg-hero);
    color: var(--text);
}
.lang-switcher__option.active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
    position: relative;
    background: var(--bg-hero);
    overflow: hidden;
    padding: clamp(8rem, 14vw, 11rem) 0 clamp(6rem, 12vw, 10rem);
}

/* Soft gradient mesh */
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(4,82,140,0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(198,146,42,0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Subtle dot grid */
.hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--text-muted) 0.75px, transparent 0.75px);
    background-size: 40px 40px;
    opacity: 0.08;
    mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 10%, transparent 70%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.hero__badge-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero__title em {
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 440px;
}

.hero__actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* Hero visual - right column */
.hero__visual {
    position: relative;
}

.hero__image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, transparent 50%, rgba(11,17,32,0.4) 100%);
    pointer-events: none;
}

.hero__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 6/5;
}

.hero__image-tag {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: white;
}

.hero__image-tag-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero__image-tag-icon svg { width: 20px; height: 20px; }

.hero__image-tag-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}
.hero__image-tag-sub {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 0.125rem;
}

.hero__float-pill {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    background: var(--bg-card);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

.hero__float-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #059669;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5,150,105,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(5,150,105,0); }
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.35s var(--ease);
}

.btn--primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 16px var(--accent-glow);
}
.btn--primary:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--accent-glow);
}

.btn--outline {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ══════════════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════════════ */
.section { padding: clamp(5rem, 10vw, 7.5rem) 0; position: relative; }

.section__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.section__label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--text);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 520px;
}

.section__header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin: 0 auto; }

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

/* ══════════════════════════════════════════════
   SOLUTIONS
   ══════════════════════════════════════════════ */
.solutions { background: var(--bg); }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.filter-btn:hover {
    color: var(--text-secondary);
    border-color: var(--text-muted);
    background: var(--bg-card);
}
.filter-btn.active {
    background: var(--text);
    color: white;
    border-color: var(--text);
}

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

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.4s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 30%, var(--border));
    transform: translateY(-3px);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--card-accent, var(--accent)) 10%, transparent);
}

.solution-card.coming-soon { opacity: 0.4; pointer-events: none; }

.solution-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--card-icon-bg, var(--accent-light));
}
.solution-card__icon svg { width: 22px; height: 22px; color: var(--card-accent, var(--accent)); }

.solution-card__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.625rem;
}

.solution-card__name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.solution-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.solution-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--card-accent, var(--accent));
    transition: gap 0.3s var(--ease);
}
.solution-card:hover .solution-card__link { gap: 0.625rem; }
.solution-card__link svg { width: 14px; height: 14px; }

.solution-card[data-category="quality"]       { --card-accent: #04528C; --card-icon-bg: #E8EFF8; }
.solution-card[data-category="medical"]        { --card-accent: #8B5CF6; --card-icon-bg: #F3EEFF; }
.solution-card[data-category="cybersecurity"]  { --card-accent: #2563EB; --card-icon-bg: #EFF6FF; }
.solution-card[data-category="environmental"]  { --card-accent: #059669; --card-icon-bg: #ECFDF5; }

/* ══════════════════════════════════════════════
   WHY SECTION
   ══════════════════════════════════════════════ */
.why {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(4,82,140,0.1) 0%, transparent 65%);
    pointer-events: none;
}

.why .section__label { color: var(--accent-warm); }
.why .section__label::before { background: var(--accent-warm); }
.why .section__title { color: var(--text-on-dark); }
.why .section__title em {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-warm), #E8B54A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.why__text p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-top: 1.25rem;
    max-width: 420px;
}

.why__metrics {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-metric {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.why-metric:last-child { border-bottom: none; }
.why-metric:first-child { padding-top: 0; }

.why-metric__number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    min-width: 100px;
}
.why-metric:nth-child(1) .why-metric__number { color: #5BA3D9; }
.why-metric:nth-child(2) .why-metric__number { color: var(--accent-warm); }
.why-metric:nth-child(3) .why-metric__number { color: #A5B4FC; }

.why-metric__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.why-metric__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.why-metric__desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}

/* ══════════════════════════════════════════════
   HOW WE WORK (PROCESS)
   ══════════════════════════════════════════════ */
.process { background: var(--bg-hero); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
}

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

.process-step__number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.process-step__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 12px;
}
.process-step__icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.process-step__title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.process-step__desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ══════════════════════════════════════════════
   PLATFORM
   ══════════════════════════════════════════════ */
.platform { background: var(--bg); }

.platform__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.35s var(--ease);
}
.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--accent) 20%, var(--border));
}

.platform-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.platform-card__icon svg { width: 22px; height: 22px; color: var(--accent); }

.platform-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: 1.0625rem;
    margin-bottom: 0.375rem;
}

.platform-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.platform__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ══════════════════════════════════════════════
   BIG STATS
   ══════════════════════════════════════════════ */
.big-stats {
    background: var(--accent);
    padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.big-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.big-stat__number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.big-stat__label {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ══════════════════════════════════════════════
   CASE STUDIES
   ══════════════════════════════════════════════ */
.cases { background: var(--bg); }

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

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.case-card__image {
    height: 200px;
    overflow: hidden;
}
.case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.case-card:hover .case-card__image img {
    transform: scale(1.05);
}

.case-card__body { padding: 1.75rem; }

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

.case-card__title {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.case-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.case-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: gap 0.3s var(--ease);
}
.case-card:hover .case-card__link { gap: 0.625rem; }
.case-card__link svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
.contact { background: var(--bg-hero); overflow: hidden; position: relative; }

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4,82,140,0.04), transparent 50%);
    pointer-events: none;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact__form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 2.75rem);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact__form-wrap::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 2.5rem;
    right: 2.5rem;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.form-input {
    width: 100%;
    padding: 0.8125rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.25s ease;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-card);
}

textarea.form-input { resize: none; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit {
    width: 100%;
    padding: 0.9375rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    box-shadow: 0 2px 16px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.form-submit:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--accent-glow);
}

/* ══════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════ */
.error-404 {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--bg-hero);
}
.error-404__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.error-404__dots {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.06;
}
.error-404__dots::before {
    content: '';
    position: absolute;
    bottom: -300%;
    left: -400%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--accent) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.8;
}
.error-404__content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.error-404__code {
    font-family: var(--font-display);
    font-size: clamp(7rem, 18vw, 12rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 60%, var(--accent-warm) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    margin-bottom: -2rem;
    user-select: none;
}
.error-404__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: error404float 3s ease-in-out infinite;
}
@keyframes error404float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.error-404__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.error-404__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}
.error-404__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.error-404__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}
.error-404__btn svg {
    width: 18px;
    height: 18px;
}
.error-404__btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(4, 82, 140, 0.25);
}
.error-404__btn--primary:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(4, 82, 140, 0.35);
}
.error-404__btn--secondary {
    background: var(--bg-card);
    color: var(--accent);
    border: 1.5px solid var(--border);
}
.error-404__btn--secondary:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-2px);
}
.error-404__links {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.error-404__links-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 1rem;
}
.error-404__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.error-404__chip {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s var(--ease);
}
.error-404__chip:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .error-404 { padding: 4rem 0; min-height: 70vh; }
    .error-404__code { font-size: 6rem; margin-bottom: -1.5rem; }
    .error-404__actions { flex-direction: column; align-items: center; }
    .error-404__btn { width: 100%; justify-content: center; max-width: 280px; }
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

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

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

.footer__links { display: flex; gap: 2rem; list-style: none; }
.footer__links a { font-size: 0.8125rem; color: var(--text-muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--text-secondary); }

/* ══════════════════════════════════════════════
   MOBILE DRAWER
   ══════════════════════════════════════════════ */
.nav__mobile {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1100;
}
.nav__mobile span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.35s var(--ease);
    position: absolute;
}
.nav__mobile span:nth-child(1) { transform: translateY(-6px); }
.nav__mobile span:nth-child(2) { opacity: 1; }
.nav__mobile span:nth-child(3) { transform: translateY(6px); }

.nav__mobile.active span:nth-child(1) { transform: rotate(45deg); background: white; }
.nav__mobile.active span:nth-child(2) { opacity: 0; }
.nav__mobile.active span:nth-child(3) { transform: rotate(-45deg); background: white; }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,17,32,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}
.drawer-overlay.active { opacity: 1; visibility: visible; }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-dark);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}
.mobile-drawer.active { transform: translateX(0); }

.mobile-drawer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
}

.mobile-drawer__links a {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}
.mobile-drawer__links a:hover,
.mobile-drawer__links a:active {
    background: rgba(255,255,255,0.05);
    color: white;
}

.mobile-drawer__divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 1rem 0;
}

.mobile-drawer__lang-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    padding: 0 1rem;
    margin-bottom: 0.75rem;
}

.mobile-drawer__langs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
}

.mobile-drawer__lang {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-drawer__lang:hover { background: rgba(255,255,255,0.08); color: white; }
.mobile-drawer__lang.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.mobile-drawer__cta {
    display: block;
    text-align: center;
    padding: 0.9375rem;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: auto;
    transition: background 0.3s ease;
}
.mobile-drawer__cta:hover { background: var(--accent-deep); }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { max-width: 480px; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .contact__inner { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .big-stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__mobile-right { display: flex; }
    .lang-switcher--mobile { display: flex; }
    .nav__mobile { display: flex; }
    .solutions-grid { grid-template-columns: 1fr; }
    .why__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .why-metric { gap: 1rem; }
    .why-metric__number { min-width: 80px; font-size: 2.25rem; }
    .form-row { grid-template-columns: 1fr; }
    .hero__image-wrap img { aspect-ratio: 5/4; }
    .platform__grid { grid-template-columns: 1fr; }
    .footer__inner { flex-direction: column; gap: 1.25rem; text-align: center; }
    .process-steps { grid-template-columns: 1fr; }
    .big-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ══════════════════════════════════════════════
   COMPLIANCE INNER PAGE STYLES
   ══════════════════════════════════════════════ */
.inner-hero {
    background: var(--bg-hero);
    padding: clamp(8rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6rem);
    position: relative;
    overflow: hidden;
}
.inner-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(4,82,140,0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.inner-hero .hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--text-muted) 0.75px, transparent 0.75px);
    background-size: 40px 40px;
    opacity: 0.08;
    mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 10%, transparent 70%);
}
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--accent); }
.breadcrumb svg { width: 14px; height: 14px; }
.inner-hero__tag { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.4rem 1rem 0.4rem 0.6rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; font-size: 0.8125rem; font-weight: 600; color: var(--accent); margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.inner-hero__title { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.1; color: var(--text); margin-bottom: 1.25rem; letter-spacing: -0.03em; max-width: 700px; }
.inner-hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--text-secondary); line-height: 1.6; max-width: 600px; margin-bottom: 2rem; }

/* Content sections for compliance pages */
.content-section { padding: clamp(4rem, 8vw, 6rem) 0; }
.content-section:nth-child(even) { background: var(--bg-hero); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.content-grid--reverse { direction: rtl; }
.content-grid--reverse > * { direction: ltr; }
@media (max-width: 768px) { .content-grid { grid-template-columns: 1fr; } }

/* Feature lists for compliance pages */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.feature-list__item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-list__icon svg { width: 18px; height: 18px; color: var(--accent); }
.feature-list__text h4 { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.feature-list__text p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ═══ COMPLIANCE INNER PAGE SECTIONS ═══ */

/* Challenges Cards */
.challenges { background: var(--bg); }
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.challenge-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.challenge-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.challenge-card:hover {
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.challenge-card:hover::before { opacity: 1; }
.challenge-card__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.challenge-card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.challenge-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.challenge-card__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Approach Steps */
.approach { background: var(--bg-hero); }
.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.approach-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 2rem 2rem 2rem 2.5rem;
    transition: all 0.4s var(--ease);
}
.approach-step:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
    border-left-color: var(--accent);
}
.approach-step__header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 0.75rem;
}
.approach-step__number {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.approach-step__title {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 700;
    color: var(--text);
}
.approach-step__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-left: 56px;
}

/* Software Feature Cards */
.features { background: var(--bg); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.4s var(--ease);
}
.feature-card:hover {
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.feature-card__icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.125rem; font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.feature-card__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Timeline */
.timeline-section { background: var(--bg); }
.timeline {
    position: relative;
    padding-left: 80px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 29px; top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item__circle {
    position: absolute;
    left: -80px; top: 0;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-family: var(--font-display);
    font-weight: 700; font-size: 0.875rem;
    display: flex; align-items: center; justify-content: center;
    text-align: center; line-height: 1.2;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.timeline-item--success .timeline-item__circle {
    background: #059669;
    box-shadow: 0 4px 16px rgba(5,150,105,0.2);
}
.timeline-item__content {
    padding-top: 0.5rem;
    padding-left: 1rem;
}
.timeline-item__title {
    font-family: var(--font-display);
    font-size: 1.1875rem; font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
}
.timeline-item__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.timeline-note {
    margin-top: 2.5rem;
    padding: 1rem 1.5rem;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--accent-deep);
    font-weight: 500;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: var(--bg-dark);
    padding: clamp(4rem, 8vw, 6rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(4,82,140,0.15) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section__content {
    position: relative; z-index: 1;
}
.cta-section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.cta-section__subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto; margin-right: auto;
}
.btn--light {
    background: white;
    color: var(--accent) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}
.btn--light:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.15);
}

/* Responsive for inner pages */
@media (max-width: 900px) {
    .challenges-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .approach-step__desc { margin-left: 0; }
    .timeline { padding-left: 70px; }
    .timeline::before { left: 24px; }
    .timeline-item__circle {
        width: 50px; height: 50px;
        left: -70px; font-size: 0.75rem;
    }
}

/* ═══ LEGAL / POLICY PAGES ═══ */
.policy-hero {
    position: relative;
    padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 4rem);
    background: var(--bg-hero);
    overflow: hidden;
}
.policy-hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.policy-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}
.policy-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.policy-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.policy-hero__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.policy-content {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}
.policy-content .container {
    max-width: 800px;
}
.policy-content__inner {}

.policy-content h2 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}
.policy-content h2:first-of-type {
    margin-top: 0;
}
.policy-content h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}
.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.policy-content ul, .policy-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.policy-content strong {
    color: var(--text);
    font-weight: 600;
}
.policy-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.policy-content a:hover { color: var(--accent-deep); }

.policy-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.imprint-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.imprint-block p {
    margin-bottom: 0.5rem;
}
.imprint-block p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .imprint-block { padding: 1.5rem; }
}

/* Contact form success/error messages */
.form-message { padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.875rem; font-weight: 500; display: none; }
.form-message--success { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.form-message--error { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.form-message.visible { display: block; }

/* Admin bar spacing fix */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
