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

:root {
    --dark-blue: #0f0c30;
    --gold: #fdd88d;
    --gold-dark: #d4af37;
    --white: #ffffff;
    --light-gray: #fafafa;
    --mid-gray: #f5f5f5;
    --soft-gray: #f8f8f8;
    --text-gray: #555555;
    --text-light: #888888;
    --border-light: rgba(15, 12, 48, 0.1);
    --shadow-sm: 0 1px 3px rgba(15, 12, 48, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 12, 48, 0.08);
    --shadow-lg: 0 8px 24px rgba(15, 12, 48, 0.1);
    --shadow-gold: 0 2px 8px rgba(253, 216, 141, 0.3);
    --gold-gradient: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, sans-serif;
    font-weight: 300;
    color: var(--dark-blue);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.8rem, 3.6vw, 3.2rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

h4 {
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 300;
}

/* ===== Eyebrow / Category Pills — Unified Style ===== */
.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Single eyebrow pill (on dark backgrounds) */
.eyebrow-pill,
.eyebrow.eyebrow--pill {
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.6875rem;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold);
}

/* On light backgrounds */
.eyebrow--light,
.eyebrow--light .eyebrow-pill {
    color: var(--gold-dark);
    background: rgba(15, 12, 48, 0.04);
    border-color: rgba(212, 175, 55, 0.25);
}

.eyebrow-sep {
    display: none;
}

/* Mobile-only line breaks (hidden on desktop, shown on mobile) */
.mobile-br {
    display: none;
}

/* Gold gradient text highlight — matches CTA button gradient */
.text-highlight {
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldGradientShift 5s ease-in-out infinite;
}

@keyframes goldGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero headline word rotation */
.hero-rotating-wrapper {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
}

.hero-rotating-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldGradientShift 5s ease-in-out infinite;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-rotating-word.fade-out {
    opacity: 0;
    transform: translateY(8px);
}

.hero-rotating-word.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Header – Floating Island (fixed overlay) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 0.75rem 1.5rem;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(15, 12, 48, 0.06),
                0 1px 2px rgba(15, 12, 48, 0.03);
    position: relative;
    transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Dark hero pages: dark-tinted glass nav */
.page-dark-hero .header-content {
    background: rgba(15, 12, 48, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15),
                0 1px 2px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

nav a {
    color: var(--dark-blue);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 400;
    transition: all 0.5s ease;
    position: relative;
}

nav a:not(.cta-primary):hover {
    color: var(--gold);
}

/* Dark hero pages: light nav text */
.page-dark-hero nav a {
    color: rgba(255, 255, 255, 0.85);
}

.page-dark-hero nav a:not(.cta-primary):hover {
    color: var(--gold);
}

/* CTA must always keep dark-blue text — override dark hero nav color */
.page-dark-hero nav a.cta-primary,
.page-dark-hero header.header-scrolled nav a.cta-primary {
    color: var(--dark-blue);
}

/* Scrolled state — switch to light island with dark text */
.page-dark-hero header.header-scrolled .header-content {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 24px rgba(15, 12, 48, 0.06),
                0 1px 2px rgba(15, 12, 48, 0.03);
}

.page-dark-hero header.header-scrolled nav a {
    color: var(--dark-blue);
}

.page-dark-hero header.header-scrolled nav a:not(.cta-primary):hover {
    color: var(--gold-dark);
}

/* Remove underline hover — clean editorial look */
nav a:not(.cta-primary)::after {
    display: none;
}

/* Mega Menu */
.nav-item-with-mega {
    position: static;
    display: flex;
    align-items: center;
}

.nav-item-with-mega > a {
    padding-bottom: 1rem;
    margin-bottom: -1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Chevron indicator for mega menu triggers (higher specificity to override display:none) */
nav .nav-item-with-mega > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    flex-shrink: 0;
}

nav .nav-item-with-mega > a:hover::after {
    opacity: 1;
    transform: rotate(45deg) translateY(0);
}

nav .nav-item-with-mega.is-open > a::after {
    transform: rotate(-135deg) translateY(-2px);
    opacity: 1;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(15, 12, 48, 0.12),
                0 2px 4px rgba(15, 12, 48, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem 2.5rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 999;
    max-height: 75vh;
    overflow-y: auto;
}

/* CSS-only mega menu: show on hover and focus-within (Progressive Enhancement) */
.nav-item-with-mega:hover .mega-menu,
.nav-item-with-mega:focus-within .mega-menu,
.nav-item-with-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

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

/* ===== Unified Project Card System ===== */
/* Glass-style cards used across mega menu, homepage, and project pages */

.mega-menu-project {
    background: linear-gradient(
        135deg,
        rgba(15, 12, 48, 0.92) 0%,
        rgba(26, 22, 64, 0.95) 50%,
        rgba(15, 12, 48, 0.92) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(253, 216, 141, 0.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 4px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: block;
}

.mega-menu-project:hover {
    transform: translateY(-3px);
    border-color: rgba(253, 216, 141, 0.2);
    box-shadow:
        0 0 0 1px rgba(253, 216, 141, 0.15),
        0 0 30px rgba(253, 216, 141, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.25);
}

.mega-menu-project-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, rgba(15, 12, 48, 0.5) 0%, rgba(26, 22, 64, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.mega-menu-project-image img,
.mega-menu-project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-menu-project:hover .mega-menu-project-image img,
.mega-menu-project:hover .mega-menu-project-image video {
    transform: scale(1.04);
}

.mega-menu-project-info {
    padding: 1rem 1.25rem 1.25rem;
}

.mega-menu-project-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.mega-menu-project-meta {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.625rem;
    font-weight: 400;
}

.mega-menu-project-tags {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

/* Unified Pill Style - used across all project components */
.mega-menu-project-tag {
    font-size: 0.6875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.25rem 0.625rem;
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.15);
    border-radius: 100px;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}

.mega-menu-project:hover .mega-menu-project-tag {
    background: rgba(253, 216, 141, 0.12);
    border-color: rgba(253, 216, 141, 0.25);
}

/* ===== Leistungen Mega Menu ===== */
.mega-menu-leistungen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.mega-menu-service {
    background: linear-gradient(
        135deg,
        rgba(15, 12, 48, 0.92) 0%,
        rgba(26, 22, 64, 0.95) 50%,
        rgba(15, 12, 48, 0.92) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(253, 216, 141, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.mega-menu-service:hover {
    transform: translateY(-3px);
    border-color: rgba(253, 216, 141, 0.2);
    box-shadow:
        0 0 0 1px rgba(253, 216, 141, 0.15),
        0 0 30px rgba(253, 216, 141, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.3);
}

.mega-menu-service-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.15);
    border-radius: 12px;
    color: var(--gold);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.mega-menu-service:hover .mega-menu-service-icon {
    background: rgba(253, 216, 141, 0.12);
    border-color: rgba(253, 216, 141, 0.25);
    transform: scale(1.05);
}

.mega-menu-service-content {
    flex: 1;
}

.mega-menu-service-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.375rem;
    transition: color 0.3s ease;
}

.mega-menu-service:hover .mega-menu-service-title {
    color: var(--gold);
}

.mega-menu-service-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Leistungen mega menu "All services" link */
.mega-menu-leistungen-footer {
    grid-column: 1 / -1;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(253, 216, 141, 0.1);
}

.mega-menu-leistungen-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mega-menu-leistungen-all:hover {
    color: var(--white);
}

.mega-menu-leistungen-all i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.mega-menu-leistungen-all:hover i {
    transform: translateX(4px);
}

/* Rental Mega Menu */
.mega-menu-rental {
    min-width: 700px;
}

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

.mega-menu-rental-category {
    background: linear-gradient(
        135deg,
        rgba(15, 12, 48, 0.85) 0%,
        rgba(26, 22, 64, 0.88) 100%
    );
    border: 1px solid rgba(253, 216, 141, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.mega-menu-rental-category:hover {
    border-color: rgba(253, 216, 141, 0.15);
    box-shadow: 0 0 20px rgba(253, 216, 141, 0.05);
}

.mega-menu-rental-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(253, 216, 141, 0.1);
}

.mega-menu-rental-header i {
    color: var(--gold);
    font-size: 1.125rem;
}

.mega-menu-rental-header h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 500;
    margin: 0;
}

.mega-menu-rental-items {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.mega-menu-rental-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.rental-item-name {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
}

.rental-item-detail {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.rental-item-price {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.125rem;
}

.mega-menu-rental-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(253, 216, 141, 0.08);
}

.mega-menu-rental-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
    max-width: 400px;
}

.cta-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

/* Mobile Rental Styles */
.mobile-rental-category {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-rental-category:last-of-type {
    border-bottom: none;
}

.mobile-rental-category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.mobile-rental-category-title i {
    font-size: 0.75rem;
}

.mobile-rental-item {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    padding: 0.25rem 0 0.25rem 1.25rem;
}

.mobile-rental-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark-blue);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-rental-cta:hover {
    opacity: 0.9;
}

/* Nav actions group (CTAs + phone) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.nav-phone {
    display: none;
}

/* WhatsApp nav button — secondary style, matches CTA height */
.nav-cta-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 4px;
    border: 1.5px solid var(--dark-blue);
    background: transparent;
    color: var(--dark-blue);
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.nav-cta-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* Dark hero: WhatsApp button inherits light style */
.page-dark-hero nav .nav-cta-whatsapp {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.page-dark-hero nav .nav-cta-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: var(--white);
}

/* Scrolled state: dark WhatsApp button */
.page-dark-hero header.header-scrolled nav .nav-cta-whatsapp {
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}

.page-dark-hero header.header-scrolled nav .nav-cta-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: var(--white);
}

/* No underline on WhatsApp button */
.nav-cta-whatsapp::after {
    display: none !important;
}

/* Buttons with Premium Styling - Agency Look */
.cta-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: var(--dark-blue);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
    letter-spacing: 0.01em;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(253, 216, 141, 0.25);
    background-position: 100% 50%;
}


.cta-secondary {
    background: transparent;
    color: var(--dark-blue);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    border: 1.5px solid var(--dark-blue);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: none;
}

.cta-secondary:hover {
    background: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 12, 48, 0.15);
}

/* Arrow for specific CTAs only */
.cta-arrow::after {
    content: '→';
    display: inline-block;
    margin-left: 0.625rem;
    font-size: 1.05em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-arrow:hover::after {
    transform: translateX(4px);
}

/* Hero Section - Dark Premium */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 10rem 3rem 8rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0f0c30 0%, #1a1640 40%, #0d0a28 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.18) 0%, rgba(253, 216, 141, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(var(--parallax-y, 0));
    will-change: transform;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.14) 0%, rgba(253, 216, 141, 0.05) 40%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-image {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: transparent;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero dark text overrides */
.hero h1 {
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.hero p {
    color: rgba(255, 255, 255, 0.65);
}

.hero .eyebrow {
    color: var(--gold);
}

.hero .cta-secondary {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero .cta-secondary:hover {
    background: var(--white);
    color: var(--dark-blue);
    border-color: var(--white);
}

/* Hero background typography */
.hero-bg-text {
    position: absolute;
    bottom: -0.05em;
    right: -0.02em;
    font-family: 'Inter Tight', 'Roboto', sans-serif;
    font-weight: 900;
    font-size: clamp(6rem, 15vw, 18rem);
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 0.85;
    letter-spacing: -0.04em;
    z-index: 0;
    will-change: transform;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Hero Trust Badges */
.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.625rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8125rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(253, 216, 141, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.trust-badge-stars {
    color: var(--gold);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
}

.trust-badge-source {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.google-logo {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pe-logo {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Hidden on desktop — shown only on mobile as rating bar */
.trust-badge-pe {
    display: none;
}

/* ProvenExpert Badge – floating trust seal, docked at hero bottom-right */
.hero-pe-badge {
    position: absolute;
    bottom: 0;
    right: 3rem;
    z-index: 10;
    display: block;
    transform: translateY(50%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-pe-badge:hover {
    transform: translateY(calc(50% - 3px));
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.hero-pe-badge img {
    width: 160px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    border-radius: 8px;
}

/* Feature Cards - Premium Glass Style */
.feature-cards {
    max-width: 1400px;
    margin: -6rem auto 0;
    padding: 0 3rem 4rem;
    position: relative;
    z-index: 10;
}

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

.feature-card {
    background: linear-gradient(
        135deg,
        rgba(15, 12, 48, 0.85) 0%,
        rgba(26, 22, 64, 0.9) 50%,
        rgba(15, 12, 48, 0.85) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem 2.5rem 4rem;
    border: 1px solid rgba(253, 216, 141, 0.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(253, 216, 141, 0.15) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 216, 141, 0.15);
    box-shadow:
        0 0 0 1px rgba(253, 216, 141, 0.1),
        0 0 40px rgba(253, 216, 141, 0.08),
        0 16px 48px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.feature-card-content {
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Large decorative icon — bottom-right of each card */
.feature-card-icon {
    position: absolute;
    bottom: -1rem;
    right: -0.5rem;
    pointer-events: none;
    z-index: 1;
}

.feature-card-icon i {
    font-size: clamp(6rem, 10vw, 8rem);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    filter: blur(0.5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.feature-card:hover .feature-card-icon i {
    opacity: 0.18;
    transform: scale(1.02);
}

/* Legacy card styles kept for backwards compatibility */
.content-cards {
    max-width: 1400px;
    margin: -4rem auto 3rem;
    padding: 0 3rem;
    position: relative;
    z-index: 10;
}

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

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 3.5rem 3rem 5.5rem;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.1),
                0 0 20px rgba(253, 216, 141, 0.04),
                0 2px 8px rgba(15, 12, 48, 0.04);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Section - Enhanced Backgrounds */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem;
    position: relative;
}

.section-fullwidth {
    width: 100%;
    position: relative;
}

.section-dark-blue {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1640 100%);
    color: var(--white);
    overflow: hidden;
}

.section-dark-blue::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.1) 0%, rgba(253, 216, 141, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(var(--parallax-y, 0));
    will-change: transform;
}

.section-dark-blue h2 {
    color: var(--white);
}

.section-dark-blue p {
    color: rgba(255, 255, 255, 0.8);
}

.section-dark-blue .section-accent {
    background: var(--gold);
}

.section-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

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

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-accent {
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 2rem;
    border-radius: 0;
}

/* Services - Premium Glass Cards */
.services {
    background: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

.services-hub {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    margin-top: 4rem;
}

.services-hub-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.services-hub-left,
.services-hub-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.services-hub-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.services-hub-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 24px rgba(15, 12, 48, 0.08),
        0 0 0 1px rgba(15, 12, 48, 0.04),
        0 0 40px rgba(253, 216, 141, 0.1);
    position: relative;
}

.services-hub-logo::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(253, 216, 141, 0.25);
}

.services-hub-logo::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.services-hub-logo img {
    height: 40px;
    width: auto;
}

@keyframes mobileHubDot {
    0% { top: 2%; opacity: 0; }
    8% { opacity: 0.8; }
    92% { opacity: 0.8; }
    100% { top: 98%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .services-hub-lines circle {
        display: none;
    }
    .text-highlight {
        animation: none;
    }
    .services-hub::before {
        animation: none;
        display: none;
    }
    .feature-card {
        transition: none;
    }
    .feature-card:hover {
        transform: none;
    }
    .feature-card-icon i {
        transition: none;
    }
    .feature-card:hover .feature-card-icon i {
        transform: none;
    }
}

.service-item {
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 240, 248, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2.5rem 5.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 12, 48, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(15, 12, 48, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.1) 0%, rgba(253, 216, 141, 0.02) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 12, 48, 0.08), inset 0 0 0 1px rgba(253, 216, 141, 0.15);
    border-color: rgba(253, 216, 141, 0.2);
}

.service-item:hover::before {
    transform: scale(1.3);
}

.services-hub-left .service-item:nth-child(1) { animation-delay: 0.1s; }
.services-hub-left .service-item:nth-child(2) { animation-delay: 0.2s; }
.services-hub-right .service-item:nth-child(1) { animation-delay: 0.3s; }
.services-hub-right .service-item:nth-child(2) { animation-delay: 0.4s; }

.service-icon {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.12);
}

.service-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.875rem;
    color: var(--dark-blue);
}

/* Section Scroll Cue */
.section-scroll-cue {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

.section-scroll-cue a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scrollCueBounce 2.5s ease-in-out infinite;
}

.section-scroll-cue a:hover {
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    border-color: rgba(253, 216, 141, 0.3);
    animation-play-state: paused;
}

.section-scroll-cue svg {
    width: 18px;
    height: 18px;
}

@keyframes scrollCueBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Projects - Modern Agency Grid */
.projects {
    background: linear-gradient(180deg, var(--white) 0%, var(--soft-gray) 100%);
    position: relative;
    padding-top: 4rem;
}

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

.project-card {
    background: linear-gradient(
        135deg,
        rgba(15, 12, 48, 0.88) 0%,
        rgba(26, 22, 64, 0.92) 50%,
        rgba(15, 12, 48, 0.88) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(253, 216, 141, 0.08);
    position: relative;
    cursor: pointer;
}

.project-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-decoration: none;
}

/* Asymmetric Grid Layout */
.project-card:nth-child(1) {
    grid-column: span 7;
}

.project-card:nth-child(2) {
    grid-column: span 5;
}

.project-card:nth-child(3) {
    grid-column: span 5;
}

.project-card:nth-child(4) {
    grid-column: span 7;
}

.project-card:nth-child(5) {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 216, 141, 0.2);
    box-shadow:
        0 0 0 1px rgba(253, 216, 141, 0.2),
        0 0 40px rgba(253, 216, 141, 0.1),
        0 16px 48px rgba(0, 0, 0, 0.3);
}

.project-media {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(15, 12, 48, 0.5) 0%, rgba(26, 22, 64, 0.5) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-media::before {
    content: 'Project Image';
    position: absolute;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 0;
}

.project-card:nth-child(5) .project-media {
    height: 100%;
}

/* Overlay for images/videos — removed per design spec (no inner shadows) */
.project-media-overlay {
    display: none;
}

.project-media img,
.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
    z-index: 1;
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
    transform: scale(1.03);
}

/* Hide placeholder text when media is present */
.project-media:has(img)::before,
.project-media:has(video)::before {
    display: none;
}

.project-info {
    padding: 1.75rem 2rem;
    position: relative;
    z-index: 2;
}

.project-card:nth-child(5) .project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-meta {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 0.625rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.project-meta::before {
    content: '';
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 1px;
}

.project-info h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--white);
}

.project-info p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

/* Unified Pill Style - Project Tags */
.project-tag {
    font-size: 0.6875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.3rem 0.75rem;
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.15);
    border-radius: 100px;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}

.project-card:hover .project-tag {
    background: rgba(253, 216, 141, 0.12);
    border-color: rgba(253, 216, 141, 0.25);
}

/* ===== Global CTA Section ===== */
.global-cta {
    position: relative;
    background: linear-gradient(160deg, #0f0c30 0%, #1a1640 40%, #0d0a28 100%);
    color: var(--white);
    padding: 6rem 3rem;
    overflow: hidden;
    text-align: center;
}

.global-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.14) 0%, rgba(253, 216, 141, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.global-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.global-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.global-cta-inner h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.global-cta-inner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.global-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.global-cta .cta-secondary {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.global-cta .cta-secondary:hover {
    background: var(--white);
    color: var(--dark-blue);
    border-color: var(--white);
}

.global-cta .cta-secondary i {
    font-size: 1.1rem;
}

/* Decorative accent line above CTA section */
.global-cta-accent {
    width: 48px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0 auto 2rem;
    border-radius: 1px;
}

@media (max-width: 768px) {
    .global-cta {
        padding: 4.5rem 1.5rem;
    }

    .global-cta-actions {
        flex-direction: column;
    }

    .global-cta-actions a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ===== Regional Contact Section (Local SEO) ===== */
.regional-contact {
    background: var(--soft-gray);
    padding: 5rem 2rem;
    position: relative;
}

.regional-contact-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.regional-contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.regional-contact-icon i {
    color: var(--gold);
    font-size: 1.25rem;
}

.regional-contact h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 500;
}

.regional-contact p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.regional-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.regional-contact-success {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.5s ease both;
}

.regional-contact-success .form-success-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.regional-contact-success .form-success-icon i {
    color: var(--dark-blue);
    font-size: 1.5rem;
}

.regional-contact-success h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.regional-contact-success p {
    color: var(--text-light);
}

.regional-contact-field {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.regional-contact-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.regional-contact-field input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Roboto', -apple-system, sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--dark-blue);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.regional-contact-field input::placeholder {
    color: var(--text-light);
    font-weight: 300;
}

.regional-contact-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.12);
}

.regional-contact-submit {
    flex-shrink: 0;
}

.regional-contact-submit .cta-primary {
    padding: 0.875rem 1.75rem;
}

.regional-contact-hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

.regional-contact-field input.form-error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.regional-contact-submit {
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .regional-contact {
        padding: 4rem 1.5rem;
    }

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

    .regional-contact-field {
        min-width: 100%;
    }

    .regional-contact-submit {
        width: 100%;
    }

    .regional-contact-submit .cta-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== So arbeiten wir – Workflow Section ===== */
.workflow-section {
    background: linear-gradient(160deg, #0f0c30 0%, #1a1640 40%, #0d0a28 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Premium ambient glow */
.workflow-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(253, 216, 141, 0.05) 0%, rgba(253, 216, 141, 0.015) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: workflowGlowDrift 12s ease-in-out infinite alternate;
}

@keyframes workflowGlowDrift {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-48%, -52%) scale(1.05); opacity: 0.7; }
}

.workflow-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
    position: relative;
    z-index: 1;
}

.workflow-header {
    text-align: left;
    margin-bottom: 3.5rem;
    max-width: 700px;
}

.workflow-header h2 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.workflow-subtext {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    max-width: 600px;
}

/* 2x2 card grid */
.workflow-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Glass-style card */
.workflow-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* Scroll reveal initial state */
    opacity: 0;
    transform: translateY(24px);
}

.workflow-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 216, 141, 0.15);
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.08),
                0 0 30px rgba(253, 216, 141, 0.06);
}

.workflow-card.is-revealed:hover {
    transform: translateY(-4px);
}

.workflow-card-number {
    font-family: 'Inter Tight', 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.workflow-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.workflow-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .workflow-section::before {
        animation: none;
    }
    .workflow-card {
        opacity: 1;
        transform: none;
    }
}

/* Responsive – tablet: 2x2 stays */
@media (max-width: 1024px) {
    .workflow-inner {
        padding: 5rem 2.5rem;
    }

    .workflow-header {
        max-width: 100%;
    }
}

/* Responsive – mobile: stack to 1 column */
@media (max-width: 768px) {
    .workflow-inner {
        padding: 4rem 1.5rem;
    }

    .workflow-header {
        margin-bottom: 2.5rem;
    }

    .workflow-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .workflow-card {
        padding: 2rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .workflow-card {
        padding: 1.75rem 1.5rem;
        border-radius: 12px;
    }
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--white);
    position: relative;
}

/* FAQ Section Subheadline */
.faq-section .section-subheadline {
    color: var(--text-gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ Card Style - Blue cards with gold glow (Homepage) */
.faq-section .faq-list .faq-item {
    background: var(--dark-blue);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    border: none;
    box-shadow:
        0 4px 20px rgba(15, 12, 48, 0.15),
        0 0 0 1px rgba(253, 216, 141, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-section .faq-list .faq-item:hover {
    box-shadow:
        0 8px 32px rgba(15, 12, 48, 0.2),
        0 0 0 1px rgba(253, 216, 141, 0.25),
        0 0 20px rgba(253, 216, 141, 0.1);
    transform: translateY(-2px);
}

.faq-section .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Roboto', -apple-system, sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
    text-align: left;
    line-height: 1.4;
    transition: color 0.25s ease;
    gap: 1.5rem;
}

.faq-section .faq-question:hover {
    color: var(--gold);
}

.faq-section .faq-chevron {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.75rem;
}

.faq-section .faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    padding-bottom: 1.5rem;
    margin: 0;
}

.faq-section .faq-answer.is-open {
    max-height: 300px;
    padding-bottom: 1.75rem;
}

@media (max-width: 768px) {
    .faq-section .faq-question {
        font-size: 1rem;
        padding: 1.25rem 1.25rem;
        gap: 1rem;
    }

    .faq-section .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-section .faq-answer.is-open {
        padding-bottom: 1.25rem;
    }

    .faq-section .faq-answer p {
        line-height: 1.7;
        padding-bottom: 1rem;
    }
}

/* ===== Unsere Kunden – Animated Marquee ===== */
.clients-section {
    position: relative;
    overflow: hidden;
}

.clients-inner {
    padding: 5rem 0;
}

.clients-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    padding: 0 2rem;
}

.clients-header h2 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.clients-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Marquee container with fade edges */
.clients-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Scrolling track */
.clients-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.clients-marquee:hover .clients-track {
    animation-play-state: paused;
}

/* Logo items */
.clients-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 60px;
    width: 140px;
    padding: 0.75rem 1.5rem;
    transition: all 0.35s ease;
}

.clients-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: all 0.35s ease;
}

.clients-logo-item:hover img {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .clients-inner {
        padding: 3.5rem 0;
    }

    .clients-header {
        margin-bottom: 2.5rem;
    }

    .clients-track {
        gap: 2rem;
        animation-duration: 30s;
    }

    .clients-logo-item {
        height: 50px;
        width: 120px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .clients-track {
        animation: none;
    }
}

/* Contact - Legacy support */
.contact {
    position: relative;
}

.contact::before {
    display: none;
}

/* Legacy contact support (project pages) */
.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact h2 {
    margin-bottom: 2rem;
}

.contact p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

/* Contact Section – White / Premium CTA */
.contact-section {
    background: var(--white);
    color: var(--dark-blue);
}

.contact-content-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-text h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 1.25;
}

.contact-text p {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

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

.contact-detail-item {
    padding: 1.25rem;
    background: var(--soft-gray);
    border-radius: 8px;
    border: 1px solid rgba(253, 216, 141, 0.1);
}

.contact-detail-item h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-detail-item a,
.contact-detail-item p {
    color: var(--dark-blue);
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.5;
}

.contact-detail-item a:hover {
    color: var(--gold-dark);
}

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

    .contact-text h2 {
        font-size: 1.75rem;
    }

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

/* ===== Legal Pages (Impressum, Datenschutz) ===== */
.legal-hero {
    padding: 10rem 3rem 5rem;
    background: var(--white);
    text-align: center;
}

.legal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    color: var(--gold-dark);
    font-size: 2rem;
}

.legal-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.legal-hero p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.legal-content {
    padding: 4rem 3rem 6rem;
    background: var(--soft-gray);
}

.legal-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 1.5rem 0 0.75rem;
}

.legal-section h3:first-of-type {
    margin-top: 0;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-section ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--gold-dark);
    border-radius: 50%;
}

.legal-section a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--dark-blue);
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 8rem 2rem 4rem;
    }

    .legal-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .legal-content {
        padding: 3rem 1.5rem 4rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }
}

/* ===== Footer – Premium Editorial ===== */
.footer-premium {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #110e2e 50%, #0d0a28 100%);
    color: var(--white);
    overflow: hidden;
    padding: 0;
}

/* Decorative large "LS" background text */
.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: clamp(20rem, 35vw, 40rem);
    line-height: 1;
    background: linear-gradient(180deg, rgba(253, 216, 141, 0.04) 0%, rgba(253, 216, 141, 0.01) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    user-select: none;
}

/* Subtle geometric line pattern */
.footer-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem 2.5rem;
}

/* Top: brand left, columns right */
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-premium .footer-logo {
    display: inline-block;
}

.footer-premium .footer-logo img {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(253, 216, 141, 0.12);
    border-color: rgba(253, 216, 141, 0.3);
    color: var(--gold);
    transform: translateY(-2px);
}

/* Navigation columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.footer-col a,
.footer-col p {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

/* Bottom bar */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-bar p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8125rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: var(--gold);
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-inner {
        padding: 3.5rem 1.5rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bg-text {
        font-size: 15rem;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-bg-text {
        font-size: 10rem;
    }
}

/* ===== Contact Page – Hero ===== */
.contact-hero {
    padding: 10rem 3rem 4rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--soft-gray) 100%);
    text-align: center;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.contact-hero p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.contact-hero .eyebrow {
    justify-content: center;
    color: var(--gold-dark);
}

.contact-hero .eyebrow-pill {
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid var(--border-light);
    border-left: 2px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-dark);
}

/* ===== Contact Form Section ===== */
.contact-form-section {
    background: var(--white);
    padding: 3rem 3rem 8rem;
}

.contact-form-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dark-blue);
}

.form-required {
    color: var(--gold-dark);
}

.form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
    font-size: 0.8125rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: 'Roboto', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-blue);
    background: var(--soft-gray);
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
    font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.15),
                0 2px 8px rgba(253, 216, 141, 0.08);
}

.contact-form input.form-error,
.contact-form textarea.form-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Interactive Pills */
.form-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.form-pill {
    cursor: pointer;
    margin: 0;
}

.form-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-pill-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--soft-gray);
    border: 1.5px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.form-pill-label i {
    font-size: 0.9375rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.form-pill:hover .form-pill-label {
    border-color: rgba(253, 216, 141, 0.4);
    background: rgba(253, 216, 141, 0.06);
}

.form-pill input:checked + .form-pill-label {
    background: linear-gradient(135deg, rgba(253, 216, 141, 0.15) 0%, rgba(245, 216, 159, 0.1) 100%);
    border-color: var(--gold);
    color: var(--dark-blue);
    font-weight: 500;
    box-shadow: 0 0 0 2px rgba(253, 216, 141, 0.12);
}

.form-pill input:checked + .form-pill-label i {
    color: var(--gold-dark);
}

.form-pill input:focus-visible + .form-pill-label {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Smaller pills for time window */
.form-pill-sm .form-pill-label {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* Submit */
.form-submit-group {
    margin-top: 0.5rem;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}

.form-submit-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit-btn:hover .form-submit-icon {
    transform: translateX(4px);
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

/* Success State */
.contact-form-success {
    text-align: center;
    padding: 4rem 2rem;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-icon i {
    font-size: 1.75rem;
    color: var(--dark-blue);
}

.contact-form-success h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-form-success p {
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

/* Sidebar */
.contact-form-aside {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 0.5rem;
}

.contact-aside-block h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-aside-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.contact-aside-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-aside-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--soft-gray);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.contact-aside-item:hover {
    border-color: rgba(253, 216, 141, 0.3);
    box-shadow: 0 2px 8px rgba(253, 216, 141, 0.08);
    transform: translateY(-1px);
}

.contact-aside-item i {
    font-size: 1rem;
    color: var(--gold-dark);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Contact page responsive */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form-aside {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .contact-aside-block {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .contact-form-section {
        padding: 2rem 1.5rem 5rem;
    }

    .form-pills {
        flex-direction: column;
    }

    .form-pill-label {
        width: 100%;
        justify-content: center;
    }

    .contact-form-aside {
        flex-direction: column;
    }

    .contact-aside-block {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile Menu Checkbox Toggle (CSS-only, no JS required) ===== */
.mobile-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ===== Burger Button (hidden on desktop) ===== */
.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* On non-dark-hero pages, burger lines are dark */
body:not(.page-dark-hero) .burger-line {
    background: var(--dark-blue);
}

.page-dark-hero header.header-scrolled .burger-line {
    background: var(--dark-blue);
}

/* ===== Mobile Overlay ===== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

/* CSS-only mobile menu: show when checkbox is checked (Progressive Enhancement) */
.mobile-menu-toggle:checked ~ .mobile-overlay,
.mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s linear 0s;
}

/* ===== Mobile Menu Panel ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 90vw);
    height: 100vh;
    height: 100dvh;
    z-index: 2000;
    background: rgba(15, 12, 48, 0.55);
    backdrop-filter: blur(64px) saturate(1.2);
    -webkit-backdrop-filter: blur(64px) saturate(1.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.06),
                inset 0 0 80px rgba(15, 12, 48, 0.15);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

/* CSS-only mobile menu: show panel when checkbox is checked (Progressive Enhancement) */
.mobile-menu-toggle:checked ~ .mobile-menu,
.mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Mobile Nav Links */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-menu-link {
    display: block;
    padding: 1.25rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Roboto', -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-link:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-cta {
    margin: 1.5rem;
    text-align: center;
    display: block;
}

/* Mobile menu contact */
.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
}

.mobile-menu-phone,
.mobile-menu-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.25s ease;
    width: 100%;
}

.mobile-menu-phone:hover,
.mobile-menu-whatsapp:hover {
    color: var(--gold);
}

.mobile-menu-phone i,
.mobile-menu-whatsapp i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.mobile-menu-whatsapp i {
    color: #25d366;
}

/* ===== Projekte Accordion (CSS-only with details/summary) ===== */
.mobile-menu-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Remove default details/summary styles */
.mobile-menu-accordion summary {
    list-style: none;
}

.mobile-menu-accordion summary::-webkit-details-marker {
    display: none;
}

.mobile-menu-accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Roboto', -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-accordion-trigger:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* CSS-only accordion: rotate chevron when details is open (Progressive Enhancement) */
details.mobile-menu-accordion[open] .mobile-menu-chevron,
.mobile-menu-accordion-trigger[aria-expanded="true"] .mobile-menu-chevron {
    transform: rotate(180deg);
}

.mobile-menu-accordion-panel {
    display: none;
    padding: 0.5rem 1rem 1rem;
}

/* CSS-only accordion: show panel when details is open (Progressive Enhancement) */
details.mobile-menu-accordion[open] .mobile-menu-accordion-panel,
.mobile-menu-accordion-panel.is-open {
    display: block;
}

.mobile-menu-sublink {
    display: block;
    text-decoration: none;
}

.mobile-menu-sublink-all {
    padding: 0.75rem 1rem;
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
}

.mobile-menu-sublink-all:hover {
    color: var(--gold-dark);
}

/* Mobile Project Cards */
.mobile-project-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(253, 216, 141, 0.2);
}

.mobile-project-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.mobile-project-thumb img,
.mobile-project-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-project-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.mobile-project-meta {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    font-weight: 500;
}

.mobile-project-title {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Leistungen Service Cards */
.mobile-service-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(253, 216, 141, 0.2);
}

.mobile-service-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.15);
    border-radius: 8px;
    color: var(--gold);
    font-size: 1rem;
}

.mobile-service-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.mobile-service-title {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.mobile-service-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1200px) {
    .project-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4) {
        grid-column: span 6;
    }

    .project-card:nth-child(5) {
        grid-column: span 6;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 0.5rem 1rem;
    }

    .header-content {
        padding: 0.75rem 1.5rem;
        border-radius: 12px;
    }

    nav {
        gap: 2rem;
    }

    nav a {
        font-size: 0.9375rem;
    }

    .nav-actions {
        gap: 0.5rem;
        margin-left: 0.5rem;
    }

    .logo img {
        height: 42px;
    }

    /* Adjust mega menu for tablets */
    .mega-menu {
        padding: 2rem;
        border-radius: 12px;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-image {
        height: 400px;
    }

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

    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 2rem 3.5rem;
    }

    .feature-card-icon i {
        font-size: 5rem;
        opacity: 0.15;
    }

    .services-hub {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .services-hub-center {
        grid-column: span 2;
        order: -1;
        margin-bottom: 1rem;
    }

    .services-hub-lines {
        display: none;
    }

    .services-hub-logo {
        width: 100px;
        height: 100px;
    }

    .services-hub-logo img {
        height: 32px;
    }

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

    .project-card:nth-child(1),
    .project-card:nth-child(2),
    .project-card:nth-child(3),
    .project-card:nth-child(4),
    .project-card:nth-child(5) {
        grid-column: span 1;
    }

    .project-card:nth-child(5) {
        grid-template-columns: 1fr;
    }

    .project-media {
        height: 250px !important;
    }


}

@media (max-width: 900px) {
    /* Show burger button, hide desktop nav */
    .burger-btn {
        display: flex;
    }

    nav {
        display: none;
    }

    .header-content {
        justify-content: space-between;
    }

    /* More breathing room between fixed nav and hero content (~30% more) */
    .hero {
        padding-top: 10rem;
    }

    /* Show mobile-only line breaks for clean 4-line headline */
    .mobile-br {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Hide PE badge image on mobile, show rating bar */
    .hero-pe-badge {
        display: none !important;
    }

    .trust-badge-pe {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0.75rem;
    }

    .header-content {
        padding: 1rem 1.25rem;
        border-radius: 12px;
    }

    .logo img {
        height: 38px;
    }

    .hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-image {
        height: auto;
        min-height: 220px;
        max-height: none;
        margin-top: 0.5rem;
        display: flex;
        justify-content: center;
    }

    .hero-svg {
        width: 100%;
        max-height: none;
    }

    .services-hub {
        grid-template-columns: 1fr;
    }

    .services-hub-center {
        grid-column: span 1;
    }

    /* Vertical connecting line between service cards */
    .services-hub::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1.5px;
        background: linear-gradient(180deg,
            transparent 0%,
            rgba(253, 216, 141, 0.2) 10%,
            rgba(253, 216, 141, 0.2) 90%,
            transparent 100%
        );
        transform: translateX(-50%);
        z-index: 0;
        pointer-events: none;
    }

    /* Animated dot along the line */
    .services-hub::before {
        content: '';
        position: absolute;
        left: 50%;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gold);
        box-shadow: 0 0 10px rgba(253, 216, 141, 0.5);
        transform: translateX(-50%);
        z-index: 0;
        pointer-events: none;
        animation: mobileHubDot 6s ease-in-out infinite;
    }

    .section {
        padding: 5rem 2rem;
    }

    .content-cards {
        padding: 0 2rem;
        margin: -2rem auto 1rem;
    }

    .feature-cards {
        padding: 0 1.5rem 3rem;
        margin: -4rem auto 0;
    }

    .feature-cards-grid {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.75rem 1.75rem 3rem;
        border-radius: 12px;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .feature-card-icon i {
        font-size: 4.5rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas a {
        width: 100%;
        text-align: center;
    }

    .hero-trust-badges {
        flex-wrap: wrap;
    }

    .eyebrow::before {
        width: 24px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.5rem;
    }


}

/* About Page Styles */
.about-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 6rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--soft-gray) 100%);
}

.about-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-hero-image {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 12, 48, 0.08);
    border: 1px solid var(--border-light);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Editorial About Hero */
.about-hero-editorial {
    padding: 10rem 3rem 5rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative branding text in background */
.about-hero-editorial::before {
    content: 'LS Gestaltung';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: clamp(8rem, 18vw, 16rem);
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(253, 216, 141, 0.06) 0%, rgba(253, 216, 141, 0.02) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Subtle radial glow */
.about-hero-editorial::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.about-hero-editorial-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: end;
    position: relative;
    z-index: 1;
}

.about-hero-editorial-text {
    padding-bottom: 2rem;
}

.about-hero-editorial-text .eyebrow {
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.about-hero-editorial-text h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-hero-editorial-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.about-hero-editorial-image {
    height: 480px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.about-hero-editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Masked Text Section */
.about-masked-section {
    padding: 6rem 3rem;
    background: var(--white);
}

.about-masked-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-masked-text {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: clamp(6rem, 18vw, 14rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.about-masked-subtitle {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.about-masked-subtitle span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-blue);
}

.about-masked-subtitle p {
    color: var(--gold-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    margin: 0;
}

/* Editorial Grid */
.about-editorial-grid {
    padding: 0 3rem 4rem;
    background: var(--white);
}

.about-editorial-row {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: end;
}

.about-editorial-row-reverse {
    grid-template-columns: 1fr 1fr 1fr;
}

.about-editorial-text-block {
    padding: 2rem 0;
}

.about-editorial-text-block p {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.about-editorial-text-small p {
    font-size: 1rem;
}

.about-editorial-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
}

.about-editorial-image-block {
    height: 320px;
    overflow: hidden;
}

.about-editorial-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-editorial-image-wide {
    height: 400px;
}

/* Editorial Image Strip */
.about-editorial-strip {
    padding: 0 3rem 6rem;
    background: var(--white);
}

.about-editorial-strip-images {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-editorial-strip-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Büro Section */
.about-buero {
    padding: 6rem 3rem;
    background: var(--soft-gray);
}

.about-buero-content {
    max-width: 1400px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
}

.about-buero-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.about-buero-text p {
    color: var(--text-gray);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 480px;
}

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

.about-buero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.about-buero-feature:hover {
    border-color: rgba(253, 216, 141, 0.4);
    box-shadow: 0 2px 8px rgba(253, 216, 141, 0.15);
}

.about-buero-feature i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    color: var(--gold);
    font-size: 0.875rem;
    border-radius: 6px;
    flex-shrink: 0;
}

.about-buero-feature span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-blue);
}

.about-buero-images {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-buero-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Enhanced Team Section */
.about-team-section {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    position: relative;
    overflow: hidden;
}

.about-team-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.about-team-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-team-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-team-header-enhanced {
    text-align: center;
    margin-bottom: 4rem;
}

.about-team-header-enhanced .about-editorial-label {
    color: var(--gold);
}

.about-team-header-enhanced h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-top: 0.75rem;
    color: var(--white);
}

.about-team-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(253, 216, 141, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.team-card-image {
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-image-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-image-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.team-card-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    color: var(--white);
}

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

.team-card-info p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.team-card-location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.team-card-location i {
    margin-right: 0.35rem;
    font-size: 0.75rem;
    color: var(--gold);
}

@media (max-width: 900px) {
    .about-buero {
        padding: 4rem 2rem;
    }

    .about-buero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-buero-features {
        grid-template-columns: 1fr;
    }

    .about-buero-images {
        grid-template-columns: 1fr;
    }

    .about-buero-images img {
        height: 220px;
    }

    .about-team-section {
        padding: 5rem 2rem;
    }

    .about-team-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .team-card {
        grid-template-columns: 1fr;
    }

    .team-card-image {
        height: 280px;
        min-height: auto;
    }
}

.about-office {
    background: var(--white);
}

.about-office-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-office-image {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 12, 48, 0.08);
    border: 1px solid var(--border-light);
}

.about-office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-office-text {
    max-width: 600px;
}

.about-office-text .section-accent {
    margin: 0 0 2rem 0;
}

.about-office-text p {
    margin-bottom: 1.5rem;
}

/* Philosophy Section (legacy) */
.about-philosophy {
    background: var(--white);
}

.about-philosophy-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-philosophy-main h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.about-philosophy-main p {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 400px;
}

.about-philosophy-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-philosophy-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 1rem;
    align-items: start;
}

.philosophy-number {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--accent-gold);
    grid-row: span 2;
    padding-top: 0.25rem;
}

.about-philosophy-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.about-philosophy-item p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-hero-editorial {
        padding: 8rem 2rem 3rem;
    }

    .about-hero-editorial::before {
        font-size: clamp(4rem, 20vw, 8rem);
    }

    .about-hero-editorial-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-hero-editorial-image {
        height: 350px;
    }

    .about-masked-section {
        padding: 4rem 2rem;
    }

    .about-masked-text {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }

    .about-masked-subtitle {
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-editorial-grid {
        padding: 0 2rem 3rem;
    }

    .about-editorial-row,
    .about-editorial-row-reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-editorial-image-block,
    .about-editorial-image-wide {
        height: 260px;
    }

    .about-editorial-strip {
        padding: 0 2rem 4rem;
    }

    .about-editorial-strip-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-editorial-strip-images img {
        height: 220px;
    }
}

.about-team {
    background: var(--soft-gray);
}

.about-team-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.about-team-header h2 {
    margin-bottom: 1rem;
}

.about-team-header p {
    color: var(--text-gray);
    font-size: 1.0625rem;
    line-height: 1.7;
}

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

.team-member {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(15, 12, 48, 0.06);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.15),
                0 8px 24px rgba(15, 12, 48, 0.1);
}

.team-member-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, var(--mid-gray) 0%, var(--soft-gray) 100%);
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-image-placeholder i {
    font-size: 4rem;
    color: rgba(15, 12, 48, 0.15);
}

.team-member-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--dark-blue);
}

.team-member-role {
    display: block;
    font-size: 0.9375rem;
    color: var(--gold-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member-info p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
}

.team-member-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-member-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.team-member-detail i {
    color: var(--gold-dark);
    font-size: 0.75rem;
    width: 16px;
}

/* Old team grid for 3 columns (kept for compatibility) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.team-member-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        grid-template-columns: 1fr;
    }

    .team-member-image {
        height: 300px;
        min-height: auto;
    }
}

/* Office Gallery Section (About Page) */
.about-office-section {
    background: var(--white);
}

.about-office-section .project-detail-gallery-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.about-office-section .project-detail-gallery-header p {
    color: var(--text-gray);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Projects Page Styles */
.projects-hero {
    padding: 10rem 3rem 5rem;
    background: var(--white);
    text-align: center;
    color: var(--dark-blue);
}

.projects-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.projects-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.projects-hero p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.projects-hero .eyebrow {
    justify-content: center;
    color: var(--gold-dark);
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.6875rem;
}

.projects-page {
    background: var(--white);
    padding-bottom: 4rem;
}

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

.projects-page-grid .project-card {
    grid-column: span 1;
    display: block;
}

.projects-page-grid .project-card .project-media {
    height: 260px;
}

.projects-page-grid .project-card .project-info {
    display: block;
    padding: 1.5rem 1.75rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.project-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: var(--gold-dark);
}

.project-link:hover::after {
    transform: translateX(4px);
}

/* Project Detail Page Styles — Reduced spacing (40% of original) */
.project-detail-hero {
    padding: 8rem 3rem 1.5rem;
    background: var(--white);
    text-align: center;
    color: var(--dark-blue);
}

.project-detail-hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo badge positioning - subtle and integrated */
.project-detail-hero-content .project-client-logo {
    order: -1;
    align-self: flex-start;
    margin: 0 auto 1rem;
}

.project-detail-hero h1 {
    color: var(--dark-blue);
}

.project-detail-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0.6rem auto 0;
}

.project-detail-hero .eyebrow {
    justify-content: center;
    color: var(--gold-dark);
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.6875rem;
}

/* Client Logo Badge on Project Detail Pages — Subtle, non-dominant */
.project-client-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 248, 248, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 12, 48, 0.06);
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    margin: 0 0 0.75rem 0;
    max-width: 100px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(15, 12, 48, 0.03);
    transition: all 0.3s ease;
}

.project-client-logo:hover {
    border-color: rgba(253, 216, 141, 0.12);
    box-shadow: 0 4px 12px rgba(15, 12, 48, 0.06);
}

.project-client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.85;
}

/* Logo Contrast System — Automatic background selection based on logo color */

/* Light/White logos → Subtle dark glass for contrast */
.project-client-logo--light {
    background: rgba(15, 12, 48, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 216, 141, 0.08);
    box-shadow: 0 2px 8px rgba(15, 12, 48, 0.1);
}

.project-client-logo--light:hover {
    border-color: rgba(253, 216, 141, 0.15);
    box-shadow: 0 4px 12px rgba(15, 12, 48, 0.15);
}

.project-client-logo--light img {
    filter: none;
    opacity: 0.9;
}

/* Dark/Black logos → Light glass for contrast */
.project-client-logo--dark {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 12, 48, 0.05);
    box-shadow: 0 2px 8px rgba(15, 12, 48, 0.03);
}

.project-client-logo--dark:hover {
    border-color: rgba(15, 12, 48, 0.08);
    box-shadow: 0 4px 12px rgba(15, 12, 48, 0.06);
}

.project-client-logo--dark img {
    filter: none;
    opacity: 0.85;
}

/* Colored logos → Neutral glass */
.project-client-logo--colored {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 12, 48, 0.04);
    box-shadow: 0 2px 8px rgba(15, 12, 48, 0.02);
}

.project-client-logo--colored:hover {
    border-color: rgba(253, 216, 141, 0.1);
    box-shadow: 0 4px 12px rgba(15, 12, 48, 0.05);
}

.project-client-logo--colored img {
    filter: none;
    opacity: 0.85;
}

.project-detail-media-hero {
    background: var(--soft-gray);
    padding: 0 3rem 2.4rem;
}

.project-detail-media-container {
    max-width: 980px;
    margin: 0 auto;
}

.project-detail-hero-image {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, var(--mid-gray) 0%, var(--soft-gray) 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.2),
                0 0 40px rgba(253, 216, 141, 0.08),
                0 8px 32px rgba(15, 12, 48, 0.06);
    border: none;
    position: relative;
    transition: box-shadow 0.4s ease;
}

.project-detail-hero-image:hover {
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.35),
                0 0 60px rgba(253, 216, 141, 0.12),
                0 12px 40px rgba(15, 12, 48, 0.08);
}

.project-detail-hero-image::before {
    content: 'Project Hero Image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-detail-hero-image img,
.project-detail-hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-hero-image:has(img)::before,
.project-detail-hero-image:has(video)::before {
    display: none;
}

/* ===== Service Page Styles ===== */

/* Service Page Hero — White (Editorial) */
.service-hero {
    padding: 10rem 3rem 5rem;
    text-align: center;
    background: var(--white);
    color: var(--dark-blue);
}

.service-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-hero h1 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.service-hero .eyebrow {
    justify-content: center;
    color: var(--gold-dark);
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.6875rem;
}

.service-hero-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.service-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    color: var(--gold-dark);
    font-size: 2rem;
}

/* Service Page Hero — Dark Blue (Brand-Driven) */
.service-hero--dark {
    background: linear-gradient(160deg, #0f0c30 0%, #1a1640 40%, #0d0a28 100%);
    color: var(--white);
}

.service-hero--dark h1 {
    color: var(--white);
}

.service-hero--dark .eyebrow {
    color: var(--gold);
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.2);
}

.service-hero--dark .service-hero-intro {
    color: rgba(255, 255, 255, 0.7);
}

.service-hero--dark .service-hero-icon {
    background: rgba(253, 216, 141, 0.08);
    border-color: rgba(253, 216, 141, 0.2);
    color: var(--gold);
}

/* Service Hero with City Image Background (Local SEO Pages) */
.service-hero--city {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero--city::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 12, 48, 0.85) 0%, rgba(15, 12, 48, 0.92) 100%);
    z-index: 1;
}

.service-hero--city .service-hero-content {
    position: relative;
    z-index: 2;
}

/* City-specific background images */
.service-hero--rastatt {
    background-image: url('../img/staedte/rastatt-ansicht.webp');
}

.service-hero--karlsruhe {
    background-image: url('../img/staedte/karlsruhe-ansicht.webp');
}

.service-hero--buehl {
    background-image: url('../img/staedte/buehl-ansicht.webp');
}

/* Service Content Section */
.service-content {
    padding: 5rem 3rem;
    background: var(--white);
}

.service-content-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.service-sidebar h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
    color: var(--text-gray);
}

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

.service-features li i {
    color: var(--gold-dark);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.service-text h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.service-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-text p:last-child {
    margin-bottom: 0;
}

/* Service Related Projects Section */
/* Service Gallery Grid */
.service-gallery {
    padding: 3rem 3rem 4rem;
    background: var(--soft-gray);
}

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

.service-gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.1),
                0 4px 16px rgba(15, 12, 48, 0.06);
}

.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-gallery {
        padding: 2rem 1.5rem 3rem;
    }

    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Service Video Gallery */
.service-video-gallery {
    padding: 3rem 3rem 4rem;
    background: var(--soft-gray);
}

.service-video-gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

.service-video-item {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.1),
                0 4px 16px rgba(15, 12, 48, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.2),
                0 8px 24px rgba(15, 12, 48, 0.12);
}

.service-video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 12, 48, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.service-video-overlay i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 216, 141, 0.15);
    border: 1px solid rgba(253, 216, 141, 0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.service-video-item:hover .service-video-overlay i {
    background: rgba(253, 216, 141, 0.25);
    border-color: rgba(253, 216, 141, 0.5);
    transform: scale(1.1);
}

.service-video-overlay span {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    text-align: left;
}

/* Video Lightbox Modal */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 12, 48, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.video-lightbox-content {
    width: 90%;
    max-width: 1000px;
}

.video-lightbox-content video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

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

@media (max-width: 768px) {
    .service-video-gallery {
        padding: 2rem 1.5rem 3rem;
    }

    .service-video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-video-overlay i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .video-lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

.service-projects {
    padding: 5rem 3rem;
    background: var(--soft-gray);
}

.service-projects-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.service-projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-projects-header h2 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-projects-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Service Project Cards */
.service-projects-grid .project-card {
    display: block;
    grid-column: span 1;
}

.service-projects-grid .project-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--mid-gray) 0%, var(--soft-gray) 100%);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
}

.service-projects-grid .project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-projects-grid .project-card:hover .project-card-image img {
    transform: scale(1.03);
}

/* Video previews in project cards */
.service-projects-grid .project-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-projects-grid .project-card:hover .project-card-image video {
    transform: scale(1.03);
}

.service-projects-grid .project-card-content {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(15, 12, 48, 0.88) 0%, rgba(26, 22, 64, 0.85) 50%, rgba(15, 12, 48, 0.9) 100%);
    border-radius: 0 0 8px 8px;
}

.service-projects-grid .project-card-content .project-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.3rem 0.75rem;
    background: rgba(253, 216, 141, 0.08);
    border: 1px solid rgba(253, 216, 141, 0.15);
    border-radius: 100px;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}

.service-projects-grid .project-card-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.service-projects-grid .project-card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Multiple pill badges for service cards */
.service-projects-grid .project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.service-projects-grid .project-card-tags .project-tag {
    margin-bottom: 0;
}

/* Responsive Service Pages */
@media (max-width: 1024px) {
    .service-content-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .service-hero {
        padding: 8rem 2rem 4rem;
    }

    .service-hero-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .service-content {
        padding: 4rem 2rem;
    }

    .service-projects {
        padding: 4rem 2rem;
    }

    .service-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-projects-grid .project-card-image {
        height: 180px;
    }
}

/* ===== KI & Automatisierung Service Page ===== */

/* Technology Logos Section */
.ki-tech-logos {
    padding: 3rem 3rem 4rem;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.ki-tech-logos-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ki-tech-logos-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.ki-tech-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.ki-tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.ki-tech-logo:hover {
    opacity: 0.55;
}

.ki-tech-logo svg {
    width: 32px;
    height: 32px;
    color: var(--dark-blue);
}

.ki-tech-logo span {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--dark-blue);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Color logos (Google, Microsoft, Meta) - keep original colors */
.ki-tech-logo-color {
    opacity: 0.5;
}

.ki-tech-logo-color:hover {
    opacity: 0.7;
}

.ki-tech-logo-color svg {
    color: unset;
}

@media (max-width: 768px) {
    .ki-tech-logos {
        padding: 2.5rem 1.5rem 3rem;
    }

    .ki-tech-logos-grid {
        gap: 2rem 2.5rem;
    }

    .ki-tech-logo svg {
        width: 28px;
        height: 28px;
    }

    .ki-tech-logo span {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .ki-tech-logos-grid {
        gap: 1.5rem 2rem;
    }

    .ki-tech-logo svg {
        width: 24px;
        height: 24px;
    }
}

.ki-services-section {
    background: var(--soft-gray);
}

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

.ki-service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.ki-service-card:hover {
    border-color: rgba(253, 216, 141, 0.3);
    box-shadow: 0 8px 24px rgba(15, 12, 48, 0.08);
    transform: translateY(-4px);
}

.ki-service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ki-service-icon i {
    color: var(--gold);
    font-size: 1.25rem;
}

.ki-service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-blue);
}

.ki-service-card p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* KI Approach Section */
.ki-approach-section {
    background: var(--white);
}

.ki-approach-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ki-approach-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.ki-approach-text p {
    color: var(--text-gray);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.ki-approach-point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--soft-gray);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.ki-approach-point i {
    color: var(--text-gray);
    font-size: 0.875rem;
    opacity: 0.6;
}

.ki-approach-point span {
    font-size: 0.9375rem;
    color: var(--text-gray);
}

.ki-approach-point-positive {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    border-color: transparent;
}

.ki-approach-point-positive i {
    color: var(--gold);
    opacity: 1;
}

.ki-approach-point-positive span {
    color: var(--white);
}

@media (max-width: 900px) {
    .ki-services-grid {
        grid-template-columns: 1fr;
    }

    .ki-approach-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ki-approach-points {
        grid-template-columns: 1fr;
    }
}

/* ===== Local Service Pages (FAQ, Links, AI Section) ===== */

/* Service Local Context */
.service-local-context {
    padding: 5rem 3rem;
    background: var(--white);
}

.service-local-context .service-sidebar ul {
    list-style: none;
}

.service-local-context .service-sidebar li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-gray);
}

.service-local-context .service-sidebar li:last-child {
    border-bottom: none;
}

.service-local-context .service-sidebar li i {
    color: var(--gold-dark);
    width: 20px;
    text-align: center;
}

/* Service AI Section */
.service-ai {
    padding: 5rem 3rem;
}

.service-ai .service-sidebar li i {
    color: var(--gold-dark);
}

/* Service FAQ Section */
.service-faq {
    padding: 5rem 3rem;
    background: var(--white);
}

.service-faq-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.service-faq-inner > h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

/* Service Pages FAQ Grid (nicht Homepage) */
.service-faq .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-faq .faq-grid .faq-item {
    background: var(--soft-gray);
    padding: 1.75rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-faq .faq-grid .faq-item:hover {
    border-color: rgba(253, 216, 141, 0.3);
    box-shadow: var(--shadow-md);
}

.service-faq .faq-grid .faq-item h4 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.service-faq .faq-grid .faq-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
}

/* Service Links Section */
.service-links {
    padding: 4rem 3rem;
}

.service-links-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-links-inner h3 {
    margin-bottom: 2rem;
    color: var(--dark-blue);
}

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

.service-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.service-link-card:hover {
    border-color: rgba(253, 216, 141, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-link-card i {
    font-size: 1.5rem;
    color: var(--gold-dark);
}

.service-link-card span {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* Responsive Local Service Pages */
@media (max-width: 1024px) {
    .service-faq .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

@media (max-width: 768px) {
    .service-local-context,
    .service-ai,
    .service-faq,
    .service-links {
        padding: 3.5rem 1.5rem;
    }

    .service-faq .faq-grid .faq-item {
        padding: 1.5rem;
    }

    .service-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-link-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1.25rem 1.5rem;
    }

    .service-link-card i {
        font-size: 1.25rem;
    }
}

/* Mosaic Collage Hero */
.project-detail-mosaic {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.2),
                0 0 40px rgba(253, 216, 141, 0.08),
                0 8px 32px rgba(15, 12, 48, 0.06);
    transition: box-shadow 0.4s ease;
}

.project-detail-mosaic:hover {
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.35),
                0 0 60px rgba(253, 216, 141, 0.12),
                0 12px 40px rgba(15, 12, 48, 0.08);
}

.mosaic-item {
    overflow: hidden;
    position: relative;
    background: var(--mid-gray);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaic-item:hover img {
    transform: scale(1.04);
}

.mosaic-item-large {
    grid-row: span 1;
}

/* First large item: top-left spanning nothing extra, but visually bigger via column ratio */
/* Fourth item (large): bottom-right spanning nothing extra, reversed emphasis */
.project-detail-mosaic .mosaic-item:nth-child(1) {
    border-radius: 8px 0 0 0;
}

.project-detail-mosaic .mosaic-item:nth-child(2) {
    border-radius: 0 8px 0 0;
}

.project-detail-mosaic .mosaic-item:nth-child(3) {
    border-radius: 0 0 0 8px;
}

.project-detail-mosaic .mosaic-item:nth-child(4) {
    border-radius: 0 0 8px 0;
}

@media (max-width: 768px) {
    .project-detail-mosaic {
        grid-template-columns: 1fr 1fr;
        height: 400px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .project-detail-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
        height: auto;
        gap: 4px;
    }

    .project-detail-mosaic .mosaic-item:nth-child(1) { border-radius: 8px 8px 0 0; }
    .project-detail-mosaic .mosaic-item:nth-child(2),
    .project-detail-mosaic .mosaic-item:nth-child(3) { border-radius: 0; }
    .project-detail-mosaic .mosaic-item:nth-child(4) { border-radius: 0 0 8px 8px; }
}

.project-detail-hero-video {
    height: auto;
    max-height: 80vh;
}

.project-detail-hero-video video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Square video (1:1) */
.project-detail-gallery-item-square video,
.project-detail-gallery-item-square img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.project-detail-description {
    background: var(--white);
    padding: 3.2rem 1.2rem;
}

.project-detail-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.4rem;
    align-items: start;
}

.project-detail-sidebar h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--dark-blue);
}

.project-detail-services {
    list-style: none;
}

.project-detail-services li {
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-detail-services li i {
    color: var(--gold-dark);
    font-size: 0.875rem;
}

.project-detail-website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    color: var(--dark-blue);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.project-detail-website-link:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.project-detail-website-link i {
    font-size: 0.8125rem;
}

.project-detail-text h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.project-detail-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 0.6rem;
    color: var(--text-gray);
}

/* Instagram Embed Section */
.project-detail-instagram {
    background: var(--white);
    padding: 3.2rem 1.2rem;
}

.project-detail-instagram-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.project-detail-instagram-content h2 {
    margin-bottom: 0.75rem;
}

.project-detail-instagram-content > p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-detail-instagram-grid {
    margin-bottom: 0.8rem;
}

.project-detail-instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-detail-instagram-link:hover {
    background: var(--soft-gray);
    border-color: var(--dark-blue);
}

.project-detail-gallery {
    background: var(--soft-gray);
    padding: 3.2rem 1.2rem;
}

/* ===== Edition Sections (Multiple Galleries) ===== */
.project-detail-edition {
    background: var(--soft-gray);
    padding: 3.2rem 1.2rem;
}

.project-detail-edition-header {
    max-width: 980px;
    margin: 0 auto 2rem;
    text-align: center;
}

.project-detail-edition-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.project-detail-edition-header p {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Bento Grid System ===== */
.project-detail-gallery-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    gap: 1rem;
}

.project-detail-gallery-item {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mid-gray) 0%, var(--soft-gray) 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.15),
                0 0 30px rgba(253, 216, 141, 0.06),
                0 4px 16px rgba(15, 12, 48, 0.04);
    border: none;
    position: relative;
    transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.project-detail-gallery-item:hover {
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.3),
                0 0 50px rgba(253, 216, 141, 0.1),
                0 8px 24px rgba(15, 12, 48, 0.06);
    transform: translateY(-2px);
}

.project-detail-gallery-item::before {
    content: 'Gallery Image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-detail-gallery-item img,
.project-detail-gallery-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-detail-gallery-item:has(img)::before,
.project-detail-gallery-item:has(video)::before {
    display: none;
}

/* Bento Grid Modifiers */

/* Portrait / Tall images (9:16, 4:5) — spans 2 rows */
.bento-tall {
    grid-row: span 2;
}

/* Landscape / Wide images (16:9, 3:2) — spans 2 columns */
.bento-wide {
    grid-column: span 2;
}

/* Featured / Large images — spans 2x2 */
.bento-featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Full width — spans all 3 columns */
.bento-full {
    grid-column: span 3;
}

/* Legacy support */
.project-detail-gallery-item-wide {
    grid-column: span 2;
}

/* ===== Instagram Embed Section (Project-specific) ===== */
.project-detail-instagram {
    background: var(--white);
}

.project-detail-instagram-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.project-detail-instagram-content h2 {
    margin-bottom: 0.75rem;
}

.instagram-section-desc {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.instagram-embed-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.instagram-embed-item {
    background: var(--dark-blue);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow:
        0 4px 20px rgba(15, 12, 48, 0.15),
        0 0 0 1px rgba(253, 216, 141, 0.15),
        0 0 30px rgba(253, 216, 141, 0.08);
    max-width: 400px;
    width: 100%;
}

.instagram-embed-item .instagram-media {
    min-width: 100% !important;
    max-width: 100% !important;
}

.instagram-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    background: var(--gold-gradient);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-profile-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.instagram-profile-link i {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .instagram-embed-item {
        padding: 1rem;
    }
}

/* ===== Project Video Section ===== */
.project-detail-video {
    background: var(--white);
}

.project-detail-video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.15),
                0 0 30px rgba(253, 216, 141, 0.06),
                0 8px 32px rgba(15, 12, 48, 0.06);
    transition: box-shadow 0.4s ease;
}

.project-detail-video-wrapper:hover {
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.3),
                0 0 50px rgba(253, 216, 141, 0.1),
                0 12px 40px rgba(15, 12, 48, 0.08);
}

.project-detail-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Featured Video Section (Imagefilm mit Kontext) ===== */
.project-detail-featured-video {
    background: var(--dark-blue);
    padding: 4rem 1.5rem;
}

.project-detail-featured-video-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.project-detail-featured-video-header {
    text-align: center;
    margin-bottom: 2rem;
}

.project-detail-featured-video-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-detail-featured-video-header p {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.project-detail-featured-video .project-detail-video-wrapper {
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.2),
                0 0 60px rgba(253, 216, 141, 0.08),
                0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-detail-featured-video .project-detail-video-wrapper:hover {
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.35),
                0 0 80px rgba(253, 216, 141, 0.12),
                0 24px 70px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .project-detail-featured-video {
        padding: 3rem 1rem;
    }

    .project-detail-featured-video-header {
        margin-bottom: 1.5rem;
    }
}

/* ===== Device Mockup Showcase ===== */
.project-detail-device-showcase {
    background: var(--soft-gray);
}

.device-showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.device-showcase-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--dark-blue);
}

.device-showcase-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 300;
}

.device-mockup-macbook {
    position: relative;
    padding: 2.5% 11.5% 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08),
                0 20px 60px rgba(15, 12, 48, 0.15);
}

.device-mockup-macbook::after {
    content: '';
    display: block;
    width: 120%;
    height: 12px;
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 50%, #c0c0c0 100%);
    border-radius: 0 0 6px 6px;
    margin: 0 -10%;
}

.device-mockup-screen {
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    background: var(--mid-gray);
}

.device-mockup-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Artist Postings Section ===== */
.project-detail-artist-section {
    background: var(--white);
}

.project-detail-artist-content {
    max-width: 1200px;
    margin: 0 auto;
}

.project-detail-artist-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.project-detail-artist-intro {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 300;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

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

.project-detail-artist-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.12),
                0 0 20px rgba(253, 216, 141, 0.04),
                0 4px 16px rgba(15, 12, 48, 0.04);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-detail-artist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(253, 216, 141, 0.25),
                0 0 40px rgba(253, 216, 141, 0.08),
                0 12px 32px rgba(15, 12, 48, 0.08);
}

.project-detail-artist-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Section Header */
.project-detail-gallery-header {
    max-width: 1400px;
    margin: 0 auto 2.5rem;
}

.project-detail-gallery-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--dark-blue);
}

/* Responsive Styles for About & Projects Pages */
@media (max-width: 1024px) {
    .about-hero-content,
    .about-office-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-hero-image,
    .about-office-image {
        height: 400px;
    }

    .team-grid,
    .projects-page-grid {
        grid-template-columns: 1fr;
    }

    /* Project Detail Responsive */
    .project-detail-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .project-detail-hero-image {
        height: 300px;
    }

    .project-detail-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .project-detail-gallery-item,
    .project-detail-gallery-item-wide,
    .bento-wide,
    .bento-full {
        grid-column: span 1;
    }

    .bento-tall {
        grid-row: span 2;
    }

    .bento-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .device-showcase-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-detail-artist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-detail-description,
    .project-detail-gallery,
    .project-detail-edition,
    .project-detail-instagram {
        padding: 2.8rem 1rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 6rem 2rem 4rem;
    }

    .projects-hero {
        padding: 8rem 2rem 4rem;
    }

    .about-hero-image,
    .about-office-image {
        height: 300px;
    }

    .team-member-image {
        height: 300px;
    }

    /* Project Detail Mobile */
    .project-detail-hero {
        padding: 8rem 2rem 1.2rem;
    }

    .project-detail-media-hero {
        padding: 0 2rem 1.6rem;
    }

    .project-detail-hero-image {
        height: 220px;
    }

    .project-detail-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 0.75rem;
    }

    .project-detail-gallery-item,
    .project-detail-gallery-item-wide,
    .bento-wide,
    .bento-full {
        grid-column: span 1;
    }

    .bento-tall {
        grid-row: span 2;
    }

    .bento-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .project-detail-artist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .project-detail-gallery-header {
        margin-bottom: 0.6rem;
    }

    .project-detail-edition-header {
        margin-bottom: 1rem;
    }

    .project-detail-description,
    .project-detail-gallery,
    .project-detail-edition,
    .project-detail-instagram {
        padding: 2.4rem 0.8rem;
    }
}

/* ===== Cookie Banner & Accessibility Panel ===== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    left: auto;
    z-index: 9999;
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    background: rgba(15, 12, 48, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(253, 216, 141, 0.15);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-banner-header i {
    font-size: 1.25rem;
    color: var(--gold);
}

.cookie-banner-header h4 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
}

.cookie-banner-content p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.cookie-banner-content a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cookie-banner-content a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
    letter-spacing: 0.01em;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: var(--dark-blue);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(253, 216, 141, 0.25);
    background-position: 100% 50%;
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    border-color: rgba(253, 216, 141, 0.4);
    color: var(--white);
}

/* Settings Toggle Button */
.cookie-settings-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cookie-settings-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.cookie-settings-toggle i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.cookie-settings-toggle.is-open i {
    transform: rotate(180deg);
}

/* Accessibility Settings Panel */
.cookie-settings-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-settings-panel.is-open {
    max-height: 400px;
}

.cookie-settings-inner {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

.cookie-settings-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-settings-title i {
    font-size: 0.875rem;
}

/* Accessibility Toggle Items */
.a11y-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.a11y-option:last-child {
    border-bottom: none;
}

.a11y-option-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Custom Toggle Switch */
.a11y-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.a11y-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.a11y-toggle.is-active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.a11y-toggle.is-active::after {
    transform: translateX(20px);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
        border-radius: 16px 16px 0 0;
        padding: 1.25rem;
    }

    .cookie-banner-actions {
        flex-direction: row;
    }

    .cookie-btn {
        padding: 0.875rem 1rem;
    }
}

/* ===== Accessibility Mode Styles ===== */
/* High Contrast Mode */
body.a11y-high-contrast {
    --dark-blue: #000000;
    --text-gray: #000000;
    --border-light: rgba(0, 0, 0, 0.3);
}

body.a11y-high-contrast .section,
body.a11y-high-contrast .hero,
body.a11y-high-contrast header {
    border: 2px solid currentColor;
}

/* Plain Text Mode (reduced visual effects) */
body.a11y-plain-text .hero-bg-text,
body.a11y-plain-text .footer-bg-text,
body.a11y-plain-text .footer-pattern,
body.a11y-plain-text .global-cta-accent,
body.a11y-plain-text .gradient-orb {
    display: none !important;
}

body.a11y-plain-text .mega-menu,
body.a11y-plain-text .mobile-menu {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Reduced Animations */
body.a11y-reduced-motion,
body.a11y-reduced-motion * {
    animation: none !important;
    transition: none !important;
}

/* Larger Font */
body.a11y-large-font {
    font-size: 112.5%;
}

body.a11y-large-font h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.75rem);
}

body.a11y-large-font h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

body.a11y-large-font p,
body.a11y-large-font li {
    font-size: clamp(1.125rem, 1.7vw, 1.25rem);
}

/* ===== TOOLS CTA SECTION (Homepage) ===== */

.tools-cta-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.tools-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(253, 216, 141, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.tools-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tools-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tools-cta-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tools-cta-header h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    margin-bottom: 1rem;
}

.tools-cta-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.tools-cta-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tools-cta-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 216, 141, 0.25);
}

.tools-cta-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tools-cta-card-icon i {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.tools-cta-card h3 {
    color: var(--white);
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tools-cta-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tools-cta-card .cta-secondary {
    color: var(--gold);
    border-color: var(--gold);
    width: fit-content;
    margin-top: auto;
}

.tools-cta-card .cta-secondary:hover {
    background: var(--gold);
    color: var(--dark-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .tools-cta-section {
        padding: 4rem 1.25rem;
    }

    .tools-cta-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tools-cta-card {
        padding: 2rem;
    }
}

/* ===== AI CTA SECTION ===== */
.ai-cta-section {
    background: var(--white);
    padding: 6rem 5%;
    text-align: center;
}

.ai-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.ai-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark-blue);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.ai-cta-badge i {
    font-size: 0.875rem;
}

.ai-cta-section h2 {
    color: var(--dark-blue);
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.ai-cta-text {
    color: var(--text-gray);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 2rem;
}

.ai-cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.ai-cta-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--dark-blue);
    font-weight: 400;
}

.ai-cta-feature i {
    color: var(--gold-dark);
    font-size: 1rem;
}

.ai-cta-section .cta-secondary {
    display: inline-flex;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-cta-section {
        padding: 4rem 1.25rem;
    }

    .ai-cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* ===== LEAD MAGNET CHECK PAGES ===== */

/* Check Hero */
.check-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    padding: 10rem 5% 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.check-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(253, 216, 141, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.check-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.check-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.check-hero h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.check-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Check Form Section */
.check-form-section {
    background: var(--light-gray);
    padding: 4rem 5% 6rem;
}

.check-form-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.check-form {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.check-form-main {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.check-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.check-form-grid .form-group:last-child {
    grid-column: 1 / -1;
}

/* Form groups directly in check-form-main (outside grid) need consistent spacing */
.check-form-main > .form-group:not(.form-group-url):not(.form-group-consent):not(.form-submit-group) {
    margin-bottom: 1.5rem;
}

/* URL Input Styling */
.form-group-url {
    margin-bottom: 2rem;
}

.url-input-wrapper {
    display: flex;
    align-items: stretch;
    background: var(--soft-gray);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.url-input-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.15);
}

.url-input-prefix {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: rgba(15, 12, 48, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    border-right: 1px solid var(--border-light);
    white-space: nowrap;
}

.url-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.url-input-wrapper input:focus {
    outline: none;
}

.url-input-wrapper input::placeholder {
    color: var(--text-light);
}

/* Check Form Aside */
.check-form-aside {
    background: var(--dark-blue);
    padding: 2rem;
    border-radius: 16px;
    color: var(--white);
    position: sticky;
    top: 120px;
}

.check-form-aside h4 {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.check-features-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.check-features-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.check-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 216, 141, 0.1);
    border-radius: 8px;
    color: var(--gold);
    flex-shrink: 0;
}

.check-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.check-feature-text strong {
    font-size: 0.9375rem;
    font-weight: 500;
}

.check-feature-text span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Checkbox Styling */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox-mark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: var(--white);
    margin-top: 2px;
}

.form-checkbox-mark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--dark-blue);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.form-checkbox input:checked + .form-checkbox-mark {
    background: var(--gold);
    border-color: var(--gold);
}

.form-checkbox input:checked + .form-checkbox-mark::after {
    opacity: 1;
    transform: scale(1);
}

.form-checkbox input:focus + .form-checkbox-mark {
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.2);
}

.form-checkbox-label {
    font-size: 0.9375rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.form-checkbox-label a {
    color: var(--dark-blue);
    text-decoration: underline;
}

.form-group-consent {
    margin-bottom: 1.5rem;
}

/* Check form consent text — Readable on white background */
.check-form .form-group-consent .form-checkbox-label {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.check-form .form-group-consent .form-checkbox-label a {
    color: var(--dark-blue);
    text-decoration: underline;
}

/* Collapsible GDPR Consent Text */
.consent-text-wrapper {
    display: inline;
}

.consent-text-preview {
    display: inline;
}

.consent-text-full {
    display: none;
}

.consent-text-wrapper.expanded .consent-text-preview {
    display: none;
}

.consent-text-wrapper.expanded .consent-text-full {
    display: inline;
}

.consent-toggle-btn {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark-blue);
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.consent-toggle-btn:hover,
.consent-toggle-btn:focus {
    color: var(--gold-dark);
    outline: none;
}

.consent-toggle-btn:focus-visible {
    outline: 2px solid var(--dark-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Ensure toggle text is readable */
.consent-toggle-btn .toggle-show {
    display: inline;
}

.consent-toggle-btn .toggle-hide {
    display: none;
}

.consent-text-wrapper.expanded + .consent-toggle-btn .toggle-show,
.consent-toggle-btn.expanded .toggle-show {
    display: none;
}

.consent-text-wrapper.expanded + .consent-toggle-btn .toggle-hide,
.consent-toggle-btn.expanded .toggle-hide {
    display: inline;
}

/* PDF Info Notice */
.form-info-notice {
    margin-bottom: 2rem;
}

.form-notice-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-gray);
    margin: 0;
}

.form-notice-text i {
    color: var(--dark-blue);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Check Form Input Styling */
.check-form input[type="text"],
.check-form input[type="email"],
.check-form input[type="tel"] {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: 'Roboto', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-blue);
    background: var(--soft-gray);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
    -webkit-appearance: none;
}

.check-form input::placeholder {
    color: var(--text-light);
    font-weight: 300;
}

.check-form input:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.15);
}

.check-form input.form-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Select Styling */
.check-form select {
    width: 100%;
    padding: 0.9375rem 1.25rem;
    padding-right: 2.5rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    color: var(--dark-blue);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: border-color 0.2s ease;
}

.check-form select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.15);
}

/* Check Submit Button */
.check-submit-btn {
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1.0625rem;
}

/* ===== CHECK LOADING STATE ===== */
.check-loading {
    background: var(--white);
    padding: 4rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.check-loading-inner {
    max-width: 400px;
    margin: 0 auto;
}

.check-loading-spinner {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.check-loading-spinner svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.check-loading-progress {
    animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { stroke-dashoffset: 280; }
    50% { stroke-dashoffset: 70; }
    100% { stroke-dashoffset: 280; }
}

.check-loading h2 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.check-loading-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.check-loading-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: 10px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.check-loading-step.active {
    opacity: 1;
    background: rgba(253, 216, 141, 0.1);
}

.check-loading-step.completed {
    opacity: 1;
}

.check-loading-step.completed .step-icon {
    background: #22c55e;
    color: var(--white);
}

.check-loading-step .step-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-blue);
    color: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.check-loading-step.active .step-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.check-loading-step .step-text {
    font-size: 0.9375rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.check-loading-url {
    font-size: 0.875rem;
    color: var(--text-light);
    word-break: break-all;
}

/* ===== CHECK RESULTS STATE ===== */
.check-results {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.check-results-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
}

.check-results-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.check-results-score-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* Score Gauge */
.score-gauge {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(
        var(--gold) calc(var(--score, 0) * 3.6deg),
        rgba(255, 255, 255, 0.1) 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.5s ease;
}

.score-gauge-inner {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--dark-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-family: 'Inter Tight', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.score-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.score-grade {
    font-family: 'Inter Tight', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 216, 141, 0.15);
    border-radius: 10px;
}

.check-results-meta {
    flex: 1;
}

.check-results-meta h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.check-results-url {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.check-results-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Follower Count Display (Social Media Check) */
.check-results-follower {
    color: var(--gold);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-results-follower::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.check-results-follower.follower-unavailable {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    font-size: 0.875rem;
}

.check-results-follower.follower-unavailable::before {
    background: rgba(255, 255, 255, 0.3);
}

/* Result Card Explanation (for visibility etc.) */
.result-card-explanation {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Result Categories Grid */
.check-results-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.result-card {
    background: var(--soft-gray);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-blue);
    color: var(--gold);
    border-radius: 10px;
}

.result-card-header h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 0;
}

.result-card-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: rgba(15, 12, 48, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

.score-value {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark-blue);
    min-width: 40px;
    text-align: right;
}

.result-card-issues {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-card-issues li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-gray);
    padding: 0.5rem 0;
    border-top: 1px solid rgba(15, 12, 48, 0.05);
}

.result-card-issues li:first-child {
    border-top: none;
}

.result-card-issues li i {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.result-card-issues li i.fa-check {
    color: #22c55e;
}

.result-card-issues li i.fa-times {
    color: #ef4444;
}

.result-card-issues li i.fa-exclamation {
    color: #f97316;
}

/* Links on light backgrounds (results area, post cards) */
.result-card a,
.result-card-issues a,
.post-card a:not(.post-card-link),
.post-card-content a,
.post-card-caption a {
    color: var(--dark-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.result-card a:hover,
.result-card-issues a:hover,
.post-card a:not(.post-card-link):hover,
.post-card-content a:hover,
.post-card-caption a:hover {
    color: var(--gold-dark);
}

/* ===== Post Analysis Section ===== */
.check-results-posts {
    padding: 2rem;
    padding-top: 0;
}

.posts-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.posts-section-title i {
    color: var(--gold);
}

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

/* Post Card */
.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 12, 48, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 12, 48, 0.12);
}

/* Post Image Container */
.post-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1540 100%);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder when no real image */
.post-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(253, 216, 141, 0.6);
}

.post-card-placeholder i {
    font-size: 2.5rem;
}

.post-card-placeholder span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Post Number Badge */
.post-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--gold);
    color: var(--dark-blue);
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Post Type Badge (Carousel, Reel, etc.) */
.post-card-type {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(15, 12, 48, 0.8);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Post Content */
.post-card-content {
    padding: 1.25rem;
}

.post-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.post-card-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-card-score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.post-card-score-label {
    font-size: 0.6875rem;
    color: var(--text-gray);
}

.post-card-engagement {
    text-align: right;
}

.post-card-engagement-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.post-card-engagement-label {
    font-size: 0.625rem;
    color: var(--text-gray);
    display: block;
}

/* Post Analysis List */
.post-card-analysis {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(15, 12, 48, 0.06);
    padding-top: 1rem;
}

.post-card-analysis li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.post-card-analysis li i {
    font-size: 0.625rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.post-card-analysis li i.fa-check {
    color: #22c55e;
}

.post-card-analysis li i.fa-times {
    color: #ef4444;
}

.post-card-analysis li i.fa-arrow-right {
    color: var(--gold);
}

/* Post Strengths & Improvements */
.post-card-feedback {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 12, 48, 0.06);
}

.post-card-feedback-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.75rem;
}

.post-card-feedback-item.strength {
    color: #22c55e;
}

.post-card-feedback-item.improvement {
    color: #f97316;
}

.post-card-feedback-item i {
    font-size: 0.625rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Real Instagram post image styles */
.post-card.has-real-image .post-card-image img {
    object-fit: cover;
}

.post-card-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.post-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-external {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(15, 12, 48, 0.85);
    color: #fdd88d;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.post-card-link:hover .post-card-external {
    opacity: 1;
}

.post-card-metrics {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
}

.post-metric {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.post-metric i {
    font-size: 0.75rem;
    color: #fdd88d;
}

.post-metric i.fa-heart {
    color: #ef4444;
}

.post-card-caption {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-gray);
    margin: 0.5rem 0;
    font-style: italic;
    padding: 0.5rem;
    background: var(--soft-gray);
    border-radius: 6px;
    border-left: 2px solid var(--gold);
}

/* ===== Post URL Input Section ===== */
.form-group-posts {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.form-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.form-posts-header label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 0;
}

.form-posts-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--dark-blue);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-posts-toggle:hover {
    background: rgba(15, 12, 48, 0.08);
    border-color: var(--gold);
}

.form-posts-toggle[aria-expanded="true"] .toggle-icon i {
    transform: rotate(45deg);
}

.form-posts-toggle .toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.form-posts-toggle .toggle-icon i {
    transition: transform 0.2s ease;
}

.form-posts-inputs {
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-posts-instructions {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(253, 216, 141, 0.08);
    border-radius: 6px;
    border-left: 3px solid #fdd88d;
}

.form-posts-instructions p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: #fdd88d;
}

.form-posts-instructions ol {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.form-posts-instructions ol li {
    margin-bottom: 0.25rem;
}

.form-posts-instructions i {
    color: #fdd88d;
    margin: 0 0.25rem;
}

.post-url-input {
    margin-bottom: 1rem;
}

.post-url-input:last-of-type {
    margin-bottom: 0.75rem;
}

.post-url-input label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.375rem;
}

.post-url-input .post-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #fdd88d;
    color: var(--dark-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50%;
}

.post-url-input input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.post-url-input input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.post-url-input input:focus {
    outline: none;
    border-color: rgba(253, 216, 141, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.post-url-input input.valid {
    border-color: rgba(34, 197, 94, 0.5);
}

.post-url-input input.invalid {
    border-color: rgba(239, 68, 68, 0.5);
}

.post-preview {
    margin-top: 0.5rem;
    min-height: 0;
    transition: all 0.3s ease;
}

.post-preview.has-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.post-preview-image {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.post-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.post-preview-type {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fdd88d;
    margin-bottom: 0.125rem;
}

.post-preview-caption {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-preview-status {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.post-preview-status.loading {
    color: rgba(255, 255, 255, 0.5);
}

.post-preview-status.success {
    color: #22c55e;
}

.post-preview-status.error {
    color: #ef4444;
}

.form-hint-small {
    font-size: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.form-hint-small i {
    color: #fdd88d;
    margin-right: 0.25rem;
}

/* Responsive Post Grid */
@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .post-card-image {
        aspect-ratio: 4 / 3;
    }
}

/* Findings Section */
.check-results-findings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.findings-column {
    background: var(--soft-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.findings-column h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.findings-strengths h4 {
    color: #22c55e;
}

.findings-improvements h4 {
    color: #f97316;
}

.findings-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.findings-column li {
    padding: 0.625rem 0;
    font-size: 0.875rem;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(15, 12, 48, 0.05);
}

.findings-column li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Results Actions */
.check-results-actions {
    display: flex;
    gap: 1rem;
    padding: 0 2rem 2rem;
}

.check-results-actions .cta-primary,
.check-results-actions .cta-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Results CTA */
.check-results-cta {
    background: linear-gradient(135deg, rgba(253, 216, 141, 0.1) 0%, rgba(253, 216, 141, 0.05) 100%);
    padding: 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(253, 216, 141, 0.2);
}

.check-results-cta h3 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.check-results-cta p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CHECK ERROR STATE ===== */
.check-error {
    background: var(--white);
    padding: 4rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.check-error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: #ef4444;
    font-size: 2rem;
}

.check-error h2 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.check-error p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CHECK RESPONSIVE ===== */
@media (max-width: 900px) {
    .check-form {
        grid-template-columns: 1fr;
    }

    .check-form-aside {
        position: static;
        order: -1;
    }

    .check-results-header {
        flex-direction: column;
        text-align: center;
    }

    .check-results-categories {
        grid-template-columns: 1fr;
    }

    .check-results-findings {
        grid-template-columns: 1fr;
    }

    .check-results-actions {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .check-hero {
        padding: 8rem 1.25rem 3rem;
    }

    .check-form-section {
        padding: 2rem 1.25rem 4rem;
    }

    .check-form-main {
        padding: 1.5rem;
    }

    .check-form-grid {
        grid-template-columns: 1fr;
    }

    .check-form-aside {
        padding: 1.5rem;
    }

    .check-loading,
    .check-error {
        padding: 3rem 1.5rem;
    }

    .check-results-header {
        padding: 2rem 1.5rem;
    }

    .score-gauge {
        width: 140px;
        height: 140px;
    }

    .score-gauge-inner {
        width: 110px;
        height: 110px;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .check-results-categories,
    .check-results-findings,
    .check-results-actions {
        padding: 1.5rem;
    }

    .result-card {
        padding: 1.25rem;
    }
}

/* ===== ADMIN PANEL STYLES ===== */

/* Admin Login Page */
.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.admin-login-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.admin-login-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.admin-login-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.admin-login-logo {
    margin-bottom: 2rem;
}

.admin-login-logo img {
    height: 40px;
}

.admin-login-card h1 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.admin-login-card > p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.admin-login-form .form-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.admin-login-form .form-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.admin-login-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: none;
}

.admin-login-error.visible {
    display: block;
}

/* Admin Dashboard */
.admin-header {
    background: var(--dark-blue);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-logo img {
    height: 32px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-header-user {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.admin-logout-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.admin-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-main {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-main h1 {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

/* Admin Stats Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.admin-stat-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.admin-stat-card .stat-value {
    font-family: 'Inter Tight', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-blue);
}

.admin-stat-card .stat-change {
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

.admin-stat-card .stat-change.positive {
    color: #22c55e;
}

.admin-stat-card .stat-change.negative {
    color: #ef4444;
}

/* Admin Leads Table */
.admin-table-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.admin-table-header h2 {
    font-size: 1.125rem;
    color: var(--dark-blue);
    margin: 0;
}

.admin-table-actions {
    display: flex;
    gap: 0.75rem;
}

.admin-table-actions button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.admin-table-actions button:hover {
    border-color: var(--gold);
    color: var(--dark-blue);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.admin-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.admin-table td {
    font-size: 0.9375rem;
    color: var(--dark-blue);
    border-bottom: 1px solid var(--border-light);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: var(--soft-gray);
}

.lead-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: rgba(15, 12, 48, 0.05);
    border-radius: 6px;
    font-size: 0.8125rem;
}

.lead-type-badge.website {
    color: #3b82f6;
}

.lead-type-badge.social {
    color: #ec4899;
}

.lead-type-badge.contact {
    color: var(--gold);
}

.lead-score {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
}

.lead-status {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.lead-status.new {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.lead-status.contacted {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.lead-status.converted {
    background: rgba(253, 216, 141, 0.2);
    color: var(--gold-dark);
}

.admin-table-row-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-table-row-actions button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-table-row-actions button:hover {
    border-color: var(--gold);
    color: var(--dark-blue);
}

/* Admin Pagination */
.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
}

.admin-pagination-info {
    font-size: 0.875rem;
    color: var(--text-light);
}

.admin-pagination-buttons {
    display: flex;
    gap: 0.5rem;
}

.admin-pagination-buttons button {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 6px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-pagination-buttons button:hover:not(:disabled) {
    border-color: var(--gold);
}

.admin-pagination-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-pagination-buttons button.active {
    background: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

/* Admin Responsive */
@media (max-width: 900px) {
    .admin-main {
        padding: 1.5rem;
    }

    .admin-table-wrapper {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 700px;
    }
}

@media (max-width: 600px) {
    .admin-header {
        padding: 1rem;
    }

    .admin-login-card {
        padding: 2rem 1.5rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== AGENCY OS STYLES ===== */

/* Agency OS Login Page */
.agency-os-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.agency-os-login-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(253, 216, 141, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253, 216, 141, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Animated gradient orbs in background */
.agency-os-login-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: floatOrb 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(-50px, 30px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-30px, 60px) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translate(20px, 40px) scale(0.95);
        opacity: 0.7;
    }
}

.agency-os-login-wrapper {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

/* Animated gradient border container */
.agency-os-login-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        var(--gold) 0%,
        rgba(253, 216, 141, 0.3) 25%,
        var(--gold) 50%,
        rgba(253, 216, 141, 0.3) 75%,
        var(--gold) 100%
    );
    background-size: 300% 300%;
    border-radius: 22px;
    animation: gradientBorderShift 6s ease-in-out infinite;
    opacity: 0.6;
    z-index: -1;
}

@keyframes gradientBorderShift {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.5;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }
}

/* Second floating orb (bottom-left) */
.agency-os-login-wrapper::after {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(253, 216, 141, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: floatOrb 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -2;
}

.agency-os-login-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
}

.agency-os-login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.agency-os-login-logo img {
    height: 48px;
    width: auto;
}

.agency-os-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-blue);
    letter-spacing: 0.02em;
}

.agency-os-login-card h1 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.agency-os-login-card > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.agency-os-login-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    gap: 0.625rem;
}

.agency-os-login-error.visible {
    display: flex;
}

.agency-os-login-error i {
    font-size: 1rem;
}

.agency-os-login-form .form-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.agency-os-login-form .form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.agency-os-login-form input[type="email"],
.agency-os-login-form input[type="password"],
.agency-os-login-form input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: all 0.2s ease;
}

.agency-os-login-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.agency-os-login-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.15);
}

.agency-os-login-form .form-checkbox {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.agency-os-login-form .form-checkbox-mark {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.agency-os-login-form .form-checkbox input:checked + .form-checkbox-mark {
    background: var(--gold);
    border-color: var(--gold);
}

.agency-os-login-form .form-checkbox input:checked + .form-checkbox-mark::after {
    color: var(--dark-blue);
    opacity: 1;
    transform: scale(1);
}

.agency-os-login-form .form-checkbox input:focus + .form-checkbox-mark {
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.2);
}

.agency-os-login-form .form-checkbox-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.5;
}

.agency-os-submit-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.agency-os-login-back {
    margin-top: 2rem;
    font-size: 0.875rem;
}

.agency-os-login-back a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.agency-os-login-back a:hover {
    color: var(--gold);
}

/* Agency OS Dashboard */
.agency-os-section {
    min-height: 100vh;
    background: var(--soft-gray);
    padding: 8rem 5% 4rem;
}

.agency-os-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.agency-os-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.agency-os-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agency-os-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    width: fit-content;
}

.agency-os-badge-large i {
    font-size: 1rem;
}

.agency-os-title p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.agency-os-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agency-os-user {
    color: var(--text-light);
    font-size: 0.875rem;
}

.agency-os-logout {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

/* Agency OS Navigation */
.agency-os-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.25rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    width: fit-content;
}

.agency-os-nav-link {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.agency-os-nav-link:hover {
    color: var(--dark-blue);
    background: var(--mid-gray);
}

.agency-os-nav-link.active {
    background: var(--dark-blue);
    color: var(--white);
}

.agency-os-nav-link i {
    font-size: 0.875rem;
}

/* Agency OS Tabs */
.agency-os-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0;
}

.agency-os-tab {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}

.agency-os-tab:hover {
    color: var(--dark-blue);
}

.agency-os-tab.active {
    color: var(--dark-blue);
    border-bottom-color: var(--gold);
}

.agency-os-tab i {
    font-size: 0.875rem;
}

/* Agency OS Tab Content */
.agency-os-tab-content {
    display: none;
}

.agency-os-tab-content.active {
    display: block;
}

/* ===== Agency OS Dashboard Grid Layout ===== */

/* Layer 1: KPI Overview Bar */
.agency-os-kpi-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agency-os-kpi-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agency-os-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.agency-os-kpi-card.highlight {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1650 100%);
}

.agency-os-kpi-card.highlight .kpi-value,
.agency-os-kpi-card.highlight .kpi-label {
    color: var(--white);
}

.agency-os-kpi-card.highlight .kpi-icon {
    background: var(--gold);
}

.kpi-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.kpi-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.kpi-value {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.1;
}

.kpi-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpi-trend {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.kpi-trend.up {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.kpi-trend.down {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* Layer 2: Analytics Grid (2/3 + 1/3 split) */
.agency-os-analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Chart Panel (Left) */
.agency-os-chart-panel {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.panel-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

.panel-actions {
    display: flex;
    gap: 0.25rem;
    background: var(--mid-gray);
    padding: 0.25rem;
    border-radius: 8px;
}

.panel-btn {
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.panel-btn:hover {
    color: var(--dark-blue);
}

.panel-btn.active {
    background: var(--white);
    color: var(--dark-blue);
    box-shadow: var(--shadow-sm);
}

/* Chart Container */
.chart-container {
    min-height: 200px;
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 180px;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.chart-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 60px;
    height: 100%;
    position: relative;
}

.chart-bar-stack {
    width: 24px;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    transition: height 0.3s ease;
    min-height: 2px;
}

.chart-bar-segment {
    width: 100%;
    transition: height 0.3s ease;
}

.chart-bar-segment.website {
    background: #3b82f6;
}

.chart-bar-segment.social {
    background: #ec4899;
}

.chart-bar-segment.contact {
    background: var(--gold);
}

.chart-bar-label {
    position: absolute;
    bottom: -24px;
    font-size: 0.6875rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-dot.website {
    background: var(--gold);
}

.legend-dot.social {
    background: var(--dark-blue);
}

/* Sidebar Panel (Right) */
.agency-os-sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}

.sidebar-card h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Status List */
.status-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.new {
    background: #22c55e;
}

.status-dot.contacted {
    background: #f59e0b;
}

.status-dot.converted {
    background: var(--gold);
}

.status-dot.archived {
    background: #9ca3af;
}

.status-label {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.status-count {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--dark-blue);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.activity-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.activity-icon {
    width: 28px;
    height: 28px;
    background: var(--mid-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.activity-text {
    font-size: 0.8125rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.activity-time {
    font-size: 0.6875rem;
    color: var(--text-light);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: var(--mid-gray);
    border: none;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark-blue);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    background: var(--gold);
}

.quick-action-btn i {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.quick-action-btn:hover i {
    color: var(--dark-blue);
}

/* Responsive: KPI Bar */
@media (max-width: 1200px) {
    .agency-os-kpi-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .agency-os-kpi-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-os-analytics-grid {
        grid-template-columns: 1fr;
    }

    .agency-os-sidebar-panel {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 600px) {
    .agency-os-kpi-bar {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .agency-os-kpi-card {
        padding: 1rem;
    }

    .kpi-value {
        font-size: 1.25rem;
    }

    .sidebar-card {
        min-width: 100%;
    }

    .chart-bars {
        height: 140px;
        padding: 0 0.5rem;
    }
}

/* Agency OS Stats Cards (Legacy - keeping for compatibility) */
.agency-os-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.agency-os-stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agency-os-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.agency-os-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.agency-os-stat-card .stat-content h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.agency-os-stat-card .stat-value {
    font-family: 'Inter Tight', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
}

/* Agency OS Leads Table */
.agency-os-table-wrapper {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.agency-os-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.agency-os-table-header h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

.agency-os-table-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.agency-os-table-actions button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.agency-os-table-actions button:hover {
    border-color: var(--gold);
    color: var(--dark-blue);
}

.agency-os-table-actions button.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.agency-os-table-actions button.export-btn {
    background: rgba(253, 216, 141, 0.15);
    border-color: var(--gold);
    color: var(--dark-blue);
}

.agency-os-table-actions button.export-btn:hover {
    background: var(--gold);
}

.agency-os-table-container {
    overflow-x: auto;
}

.agency-os-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.agency-os-table th,
.agency-os-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.agency-os-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    background: var(--soft-gray);
}

.agency-os-table td {
    font-size: 0.9375rem;
    color: var(--dark-blue);
    border-bottom: 1px solid var(--border-light);
}

.agency-os-table tr:last-child td {
    border-bottom: none;
}

.agency-os-table tr:hover td {
    background: rgba(253, 216, 141, 0.05);
}

.agency-os-table td a {
    color: var(--dark-blue);
    text-decoration: none;
}

.agency-os-table td a:hover {
    color: var(--gold-dark);
}

/* Table row actions */
.agency-os-row-actions {
    display: flex;
    gap: 0.5rem;
}

.agency-os-row-actions button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.agency-os-row-actions button:hover {
    border-color: var(--gold);
    color: var(--dark-blue);
    background: rgba(253, 216, 141, 0.1);
}

/* Agency OS Empty State */
.agency-os-empty-state {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
}

.agency-os-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.agency-os-empty-state p {
    font-size: 1rem;
}

/* Agency OS Pagination */
.agency-os-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.agency-os-pagination-info {
    font-size: 0.875rem;
    color: var(--text-light);
}

.agency-os-pagination-buttons {
    display: flex;
    gap: 0.375rem;
}

.agency-os-pagination-buttons button {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 8px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-gray);
}

.agency-os-pagination-buttons button:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--dark-blue);
}

.agency-os-pagination-buttons button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.agency-os-pagination-buttons button.active {
    background: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

/* Agency OS Modal */
.agency-os-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.agency-os-modal[hidden] {
    display: none;
}

.agency-os-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 48, 0.7);
    backdrop-filter: blur(4px);
}

.agency-os-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.agency-os-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.agency-os-modal-header h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

.agency-os-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-gray);
    border: none;
    border-radius: 10px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.agency-os-modal-close:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.agency-os-modal-body {
    padding: 1.5rem;
}

.agency-os-modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    justify-content: flex-end;
}

/* Agency OS Modal Form Styles */
.agency-os-modal-body .form-group {
    margin-bottom: 1.25rem;
}

.agency-os-modal-body .form-group:last-child {
    margin-bottom: 0;
}

.agency-os-modal-body .form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.agency-os-modal-body .form-group input[type="text"],
.agency-os-modal-body .form-group input[type="email"],
.agency-os-modal-body .form-group input[type="date"],
.agency-os-modal-body .form-group input[type="password"],
.agency-os-modal-body .form-group textarea,
.agency-os-modal-body .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--soft-gray);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    color: var(--dark-blue);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.agency-os-modal-body .form-group input:focus,
.agency-os-modal-body .form-group textarea:focus,
.agency-os-modal-body .form-group select:focus {
    outline: none;
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.15);
}

.agency-os-modal-body .form-group input::placeholder,
.agency-os-modal-body .form-group textarea::placeholder {
    color: var(--text-light);
}

.agency-os-modal-body .form-group input:disabled,
.agency-os-modal-body .form-group select:disabled {
    background: var(--mid-gray);
    color: var(--text-light);
    cursor: not-allowed;
}

.agency-os-modal-body .form-group small {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.375rem;
}

/* Checkbox styling in modals */
.agency-os-modal-body .form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--dark-blue);
}

.agency-os-modal-body .form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--gold);
    cursor: pointer;
}

.agency-os-modal-body .form-checkbox-mark {
    display: none;
}

.agency-os-modal-body .form-checkbox-label {
    font-weight: 400;
}

/* Lead detail rows */
.lead-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.lead-detail-row:last-of-type {
    border-bottom: none;
}

.lead-detail-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

.lead-detail-value {
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 0.9375rem;
}

.lead-detail-value a {
    color: var(--dark-blue);
    text-decoration: none;
}

.lead-detail-value a:hover {
    color: var(--gold-dark);
}

.lead-detail-score {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--soft-gray);
    border-radius: 12px;
    margin-top: 1.5rem;
}

/* Agency OS Responsive */
@media (max-width: 900px) {
    .agency-os-section {
        padding: 7rem 1.5rem 3rem;
    }

    .agency-os-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .agency-os-table-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .agency-os-login-section {
        padding: 7rem 1.25rem 3rem;
    }

    .agency-os-login-card {
        padding: 2rem 1.5rem;
    }

    .agency-os-stats {
        grid-template-columns: 1fr;
    }

    .agency-os-table-actions {
        width: 100%;
    }

    .agency-os-table-actions button {
        flex: 1;
        justify-content: center;
    }

    .agency-os-modal-content {
        border-radius: 16px;
    }

    .agency-os-modal-footer {
        flex-direction: column;
    }

    .agency-os-modal-footer button {
        width: 100%;
    }

    .lead-detail-score {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   CLS Prevention: Aspect Ratio Containers
   ========================================================================== */

/* Logo - prevent header shift */
.logo img {
    width: 120px;
    height: 48px;
    object-fit: contain;
}

/* Mega menu project images */
.mega-menu-project-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.mega-menu-project-image img,
.mega-menu-project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile project thumbnails */
.mobile-project-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.mobile-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bento gallery items - default square */
.project-detail-gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.project-detail-gallery-item.bento-tall {
    aspect-ratio: 9 / 16;
}

.project-detail-gallery-item.bento-wide {
    aspect-ratio: 16 / 9;
}

.project-detail-gallery-item.bento-featured {
    aspect-ratio: 4 / 3;
}

/* Hero sections */
.project-detail-hero-image,
.project-detail-hero-video {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* Service cards */
.service-card-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

/* Trust badge / ProvenExpert */
.clients-rating img {
    width: 180px;
    height: 60px;
    object-fit: contain;
}

/* Video elements - ensure they don't cause layout shifts */
video {
    background-color: var(--dark-blue);
}

/* =====================================================
   GUEST PORTAL STYLES
   ===================================================== */

/* Guest Badge Variant */
.agency-os-login-badge.guest-badge {
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    color: var(--dark-blue);
}

/* Form Group Row (for forgot password link) */
.form-group-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.form-link {
    font-size: 0.875rem;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.form-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Success Message */
.agency-os-login-success {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #22c55e;
    font-size: 0.875rem;
    line-height: 1.5;
}

.agency-os-login-success i {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Guest Portal Body */
.guest-portal-body {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Guest Portal Header */
.guest-portal-header {
    background: rgba(15, 12, 48, 0.95);
    border-bottom: 1px solid rgba(253, 216, 141, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.guest-portal-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.guest-portal-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.guest-portal-logo img {
    height: 36px;
    width: auto;
}

.guest-portal-badge {
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    color: var(--dark-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guest-portal-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.guest-nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.guest-nav-link.active {
    color: var(--gold);
    background: rgba(253, 216, 141, 0.1);
}

.guest-nav-link i {
    font-size: 1rem;
}

.guest-portal-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-user-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.guest-logout-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-logout-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Guest Portal Main */
.guest-portal-main {
    flex: 1;
    padding: 2rem;
}

.guest-portal-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Welcome Section */
.guest-welcome-section {
    margin-bottom: 2rem;
}

.guest-welcome-section h1 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.guest-welcome-section h1 span {
    color: var(--gold-dark);
}

.guest-welcome-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
}

.guest-welcome-subtitle strong {
    color: var(--dark-blue);
}

/* Guest Stats Grid */
.guest-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guest-stat-card {
    background: var(--dark-blue);
    border: 1px solid rgba(253, 216, 141, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: default;
}

/* Removed hover effect - stat cards are not clickable */

.guest-stat-card.guest-stat-highlight {
    background: var(--dark-blue);
    border: 1px solid rgba(253, 216, 141, 0.3);
    box-shadow: 0 0 20px rgba(253, 216, 141, 0.15);
}

.guest-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(253, 216, 141, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.25rem;
}

.guest-stat-content {
    display: flex;
    flex-direction: column;
}

.guest-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.guest-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Guest Content Grid */
.guest-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guest-content-card {
    background: var(--dark-blue);
    border: 1px solid rgba(253, 216, 141, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.guest-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guest-card-header h3 {
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guest-card-header h3 i {
    color: var(--gold);
}

.guest-card-link {
    color: var(--gold);
    font-size: 0.875rem;
    text-decoration: none;
}

.guest-card-link:hover {
    text-decoration: underline;
}

.guest-card-content {
    padding: 1rem 1.5rem;
}

/* Guest Loading */
.guest-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--text-gray);
}

.guest-loading i {
    color: var(--gold);
}

/* Guest Empty Message */
.guest-empty-message {
    color: var(--text-gray);
    text-align: center;
    padding: 1rem;
}

/* Guest Invoice Item (compact) */
.guest-invoice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.guest-invoice-item:last-child {
    border-bottom: none;
}

.guest-invoice-item .invoice-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.guest-invoice-item .invoice-number {
    color: var(--white);
    font-weight: 500;
}

.guest-invoice-item .invoice-date {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.guest-invoice-item .invoice-amount {
    color: var(--gold);
    font-weight: 600;
}

.guest-invoice-item.overdue {
    background: rgba(239, 68, 68, 0.1);
    margin: 0 -1.5rem;
    padding: 0.75rem 1.5rem;
}

.guest-invoice-item.overdue .invoice-date {
    color: #ef4444;
}

/* Guest Task Item (compact) */
.guest-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.guest-task-item:last-child {
    border-bottom: none;
}

.guest-task-item .task-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.guest-task-item .task-title {
    color: var(--white);
    font-weight: 500;
}

.guest-task-item .task-due {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.guest-task-item .task-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.guest-task-item .task-status.status-open {
    background: rgba(253, 216, 141, 0.2);
    color: var(--gold);
}

.guest-task-item .task-status.status-in_progress {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Priority indicators */
.guest-task-item.priority-high,
.guest-task-item.priority-urgent {
    border-left: 3px solid #ef4444;
    padding-left: calc(0.75rem - 3px);
    margin-left: -0.75rem;
}

/* Quick Actions */
.guest-quick-actions {
    margin-bottom: 2rem;
}

.guest-quick-actions h3 {
    color: var(--dark-blue);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.guest-actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.guest-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--dark-blue);
    border: 1px solid rgba(253, 216, 141, 0.1);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.guest-action-btn:hover {
    background: rgba(253, 216, 141, 0.1);
    color: var(--gold);
}

.guest-action-btn i {
    color: var(--gold);
}

/* Contact Info */
.guest-contact-info {
    background: var(--dark-blue);
    border: 1px solid rgba(253, 216, 141, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.guest-contact-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.guest-contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.guest-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.guest-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.875rem;
}

.guest-contact-link:hover {
    text-decoration: underline;
}

/* GDPR Notice */
.guest-gdpr-notice {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.guest-gdpr-notice p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(253, 216, 141, 0.05);
    border: 1px solid rgba(253, 216, 141, 0.1);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.guest-gdpr-notice i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.guest-gdpr-notice a {
    color: var(--gold);
}

/* Guest Portal Footer */
.guest-portal-footer {
    background: rgba(15, 12, 48, 0.8);
    border-top: 1px solid rgba(253, 216, 141, 0.1);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.guest-portal-footer p {
    color: var(--text-gray);
    font-size: 0.8125rem;
}

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

.guest-footer-links a {
    color: var(--text-gray);
    font-size: 0.8125rem;
    text-decoration: none;
}

.guest-footer-links a:hover {
    color: var(--gold);
}

/* Page Header */
.guest-page-header {
    margin-bottom: 2rem;
}

.guest-page-header h1 {
    color: var(--white);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.guest-page-header h1 i {
    color: var(--gold);
}

.guest-page-header p {
    color: var(--text-gray);
}

.guest-page-header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

/* Invoice Stats */
.guest-invoice-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.guest-invoice-stat {
    background: var(--soft-gray);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.guest-invoice-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guest-invoice-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.guest-invoice-stat .stat-amount {
    font-size: 0.875rem;
    color: var(--gold);
}

.guest-invoice-stat.overdue {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.guest-invoice-stat.overdue .stat-value,
.guest-invoice-stat.overdue .stat-amount {
    color: #ef4444;
}

/* Filters */
.guest-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.guest-filter-btn {
    padding: 0.5rem 1rem;
    background: var(--soft-gray);
    border: none;
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-filter-btn:hover {
    color: var(--white);
}

.guest-filter-btn.active {
    background: var(--gold);
    color: var(--dark-blue);
    font-weight: 600;
}

/* Invoice Card */
.guest-invoice-card {
    background: var(--soft-gray);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.guest-invoice-card .invoice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.guest-invoice-card .invoice-number {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

.guest-invoice-card .invoice-status {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.guest-invoice-card .invoice-status.status-open {
    background: rgba(253, 216, 141, 0.2);
    color: var(--gold);
}

.guest-invoice-card .invoice-status.status-overdue {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.guest-invoice-card .invoice-status.status-paid {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.guest-invoice-card .invoice-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.guest-invoice-card .invoice-dates {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.guest-invoice-card .invoice-amounts {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
}

.guest-invoice-card .amount-net {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.guest-invoice-card .amount-gross {
    color: var(--gold);
    font-size: 1.125rem;
    font-weight: 600;
}

.guest-invoice-card .invoice-description {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.guest-invoice-card .invoice-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.875rem;
}

.guest-invoice-card .invoice-pdf-link:hover {
    text-decoration: underline;
}

.guest-invoice-card.overdue {
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Task Stats */
.guest-task-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.guest-task-stat {
    background: var(--soft-gray);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.guest-task-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.guest-task-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guest-task-stat.completed .stat-value {
    color: #22c55e;
}

/* Task Card */
.guest-task-card {
    background: var(--soft-gray);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.guest-task-card.priority-high {
    border-left: 4px solid #f97316;
}

.guest-task-card.priority-urgent {
    border-left: 4px solid #ef4444;
}

.guest-task-card .task-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.guest-task-card .task-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.guest-task-card .task-status {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.guest-task-card .task-status.status-open {
    background: rgba(253, 216, 141, 0.2);
    color: var(--gold);
}

.guest-task-card .task-status.status-in_progress {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.guest-task-card .task-status.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.guest-task-card .task-status.status-cancelled {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.guest-task-card .task-description {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.guest-task-card .task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.guest-task-card .task-meta i {
    margin-right: 0.25rem;
}

.guest-task-card .task-priority {
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.guest-task-card .task-priority.priority-low {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.guest-task-card .task-priority.priority-normal {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.guest-task-card .task-priority.priority-high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.guest-task-card .task-priority.priority-urgent {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.guest-task-card .task-actions {
    display: flex;
    gap: 0.5rem;
}

.guest-task-card .task-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-blue);
    border: none;
    border-radius: 8px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-task-card .task-action-btn:hover {
    color: var(--gold);
}

.guest-task-card .task-action-btn.complete-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* Empty State */
.guest-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.guest-empty-state i {
    font-size: 3rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.guest-empty-state h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.guest-empty-state p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Modal */
.guest-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.guest-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.guest-modal-content {
    position: relative;
    background: var(--soft-gray);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.guest-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guest-modal-header h2 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
}

.guest-modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
}

.guest-modal-close:hover {
    color: var(--white);
}

.guest-modal-content form {
    padding: 1.5rem;
}

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

.guest-modal-content .form-group label {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.guest-modal-content .form-group input,
.guest-modal-content .form-group textarea,
.guest-modal-content .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
}

.guest-modal-content .form-group input:focus,
.guest-modal-content .form-group textarea:focus,
.guest-modal-content .form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

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

.guest-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

/* Profile Page */
.guest-profile-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--soft-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.guest-profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, #e6c170 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 2rem;
}

.guest-profile-info h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.guest-profile-info p {
    color: var(--text-gray);
}

.guest-profile-info .profile-customer {
    margin-top: 0.5rem;
}

.guest-profile-info .profile-customer strong {
    color: var(--gold);
}

.guest-profile-form {
    max-width: 400px;
}

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

.guest-profile-form .form-group label {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.guest-profile-form .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
}

.guest-profile-form .form-group input:focus {
    outline: none;
    border-color: var(--gold);
}

.guest-profile-form .form-hint {
    color: var(--text-gray);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.guest-privacy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.guest-privacy-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

.guest-privacy-list li strong {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .guest-portal-header-content {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .guest-portal-nav {
        order: 3;
        width: 100%;
        justify-content: space-around;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 1rem;
    }

    .guest-nav-link span {
        display: none;
    }

    .guest-portal-main {
        padding: 1rem;
    }

    .guest-stats-grid {
        grid-template-columns: 1fr;
    }

    .guest-content-grid {
        grid-template-columns: 1fr;
    }

    .guest-invoice-stats,
    .guest-task-stats {
        flex-wrap: wrap;
    }

    .guest-modal-content .form-row {
        grid-template-columns: 1fr;
    }

    .guest-profile-card {
        flex-direction: column;
        text-align: center;
    }

    .guest-page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =====================================================
   AGENCY OS V2 - SIDEBAR LAYOUT
   ===================================================== */

/* Main Layout with Sidebar */
.agency-os-layout {
    display: flex;
    min-height: 100vh;
    background: var(--light-gray);
}

/* Sidebar */
.agency-os-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f0c30 0%, #1a1545 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
}

.agency-os-sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agency-os-sidebar-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
}

.agency-os-sidebar-logo img {
    height: 40px;
    width: auto;
}

.agency-os-sidebar-logo .brand-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Sidebar Navigation */
.agency-os-sidebar-nav {
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.125rem;
}

.agency-os-sidebar-nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    min-height: 52px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-align: left;
    border-radius: 0 8px 8px 0;
    margin-right: 0.5rem;
}

.agency-os-sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.agency-os-sidebar-nav-item.active {
    background: rgba(253, 216, 141, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
}

.agency-os-sidebar-nav-item i {
    width: 24px;
    text-align: center;
    font-size: 1.125rem;
}

.agency-os-sidebar-nav-item .nav-badge {
    margin-left: auto;
    background: var(--gold);
    color: var(--dark-blue);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

/* Sidebar Footer */
.agency-os-sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.agency-os-sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.agency-os-sidebar-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.agency-os-sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.agency-os-sidebar-user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agency-os-sidebar-user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.agency-os-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 100%;
}

.agency-os-sidebar-logout:hover {
    color: var(--white);
}

/* Main Content Area */
.agency-os-main {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
    padding-top: 0;
    min-height: 100vh;
}

/* Top Navigation Bar */
.agency-os-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(15, 12, 48, 0.08);
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 90;
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.agency-os-topbar-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.agency-os-page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

.agency-os-breadcrumb {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.agency-os-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agency-os-search {
    position: relative;
    display: flex;
    align-items: center;
}

.agency-os-search i {
    position: absolute;
    left: 0.875rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.agency-os-search input {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border: 1px solid rgba(15, 12, 48, 0.12);
    border-radius: 8px;
    font-size: 0.875rem;
    width: 220px;
    background: white;
    transition: all 0.2s ease;
}

.agency-os-search input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.2);
}

.agency-os-topbar-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(15, 12, 48, 0.12);
    background: white;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.agency-os-topbar-btn:hover {
    border-color: var(--gold);
    color: var(--dark-blue);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Page Header */
.agency-os-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.agency-os-page-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agency-os-page-title h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

.agency-os-page-title i {
    font-size: 1.5rem;
    color: var(--gold);
}

.agency-os-page-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Content Cards */
.agency-os-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 12, 48, 0.06);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.agency-os-card-header h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 0;
}

/* Tasks Styles */
.tasks-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tasks-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-gray);
    background: var(--soft-gray);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tasks-filter-btn:hover {
    background: var(--white);
    border-color: var(--gold);
}

.tasks-filter-btn.active {
    background: var(--gold);
    color: var(--dark-blue);
    border-color: var(--gold);
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: 8px;
    border-left: 3px solid var(--border-light);
    transition: all 0.2s ease;
}

.task-item:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(15, 12, 48, 0.06);
}

.task-item.priority-high {
    border-left-color: #ef4444;
}

.task-item.priority-medium {
    border-left-color: #f59e0b;
}

.task-item.priority-low {
    border-left-color: #22c55e;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.task-checkbox:hover {
    border-color: var(--gold);
}

.task-checkbox.checked {
    background: var(--gold);
    border-color: var(--gold);
}

.task-checkbox.checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.625rem;
    color: var(--dark-blue);
}

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

.task-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.task-item.completed .task-title {
    text-decoration: line-through;
    color: var(--text-light);
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.task-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.task-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.task-item:hover .task-actions {
    opacity: 1;
}

.task-action-btn {
    padding: 0.375rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.task-action-btn:hover {
    background: var(--soft-gray);
    color: var(--dark-blue);
}

.task-action-btn.delete:hover {
    color: #ef4444;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card-admin {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 12, 48, 0.06);
    transition: all 0.2s ease;
}

.project-card-admin:hover {
    box-shadow: 0 8px 24px rgba(15, 12, 48, 0.1);
    transform: translateY(-2px);
}

.project-card-image {
    aspect-ratio: 16 / 10;
    background: var(--dark-blue);
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-content {
    padding: 1.25rem;
}

.project-card-category {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.project-card-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.project-card-description {
    font-size: 0.8125rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.project-card-tag {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
    background: var(--soft-gray);
    color: var(--text-gray);
    border-radius: 4px;
}

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

.project-card-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.project-card-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Project Card Actions & Status */
.project-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--soft-gray) 0%, #e8e8ed 100%);
    color: var(--text-light);
    font-size: 2rem;
}

.project-card-actions {
    display: flex;
    gap: 0.5rem;
}

.project-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--soft-gray);
    border-radius: 6px;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.project-action-btn:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.project-status {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.project-status.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.project-status.status-completed {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.project-status.status-archived {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

/* Password Locker */
.secrets-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.secret-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--soft-gray);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.secret-item:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(15, 12, 48, 0.06);
}

.secret-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1545 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

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

.secret-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.125rem;
}

.secret-customer {
    font-size: 0.75rem;
    color: var(--text-light);
}

.secret-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.secret-value .masked {
    letter-spacing: 0.1em;
}

.secret-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.secret-action-btn {
    padding: 0.5rem;
    color: var(--text-light);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secret-action-btn:hover {
    border-color: var(--gold);
    color: var(--dark-blue);
}

.secret-action-btn.copied {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark-blue);
}

/* Modals */
.agency-os-modal-v2 {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.agency-os-modal-v2.is-open {
    opacity: 1;
    visibility: visible;
}

.agency-os-modal-backdrop-v2 {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 48, 0.7);
    backdrop-filter: blur(4px);
}

.agency-os-modal-content-v2 {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.agency-os-modal-v2.is-open .agency-os-modal-content-v2 {
    transform: scale(1);
}

.agency-os-modal-header-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.agency-os-modal-header-v2 h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 0;
}

.agency-os-modal-close-v2 {
    padding: 0.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.agency-os-modal-close-v2:hover {
    background: var(--soft-gray);
    color: var(--dark-blue);
}

.agency-os-modal-body-v2 {
    padding: 1.5rem;
}

.agency-os-modal-footer-v2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* Form Styles for Modals */
.modal-form-group {
    margin-bottom: 1.25rem;
}

.modal-form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--dark-blue);
    background: var(--soft-gray);
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(253, 216, 141, 0.15);
}

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

/* Button Variants */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-blue);
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 12px rgba(253, 216, 141, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}

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

.btn-icon {
    padding: 0.625rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* Search Input */
.search-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.875rem;
}

.search-input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    font-size: 0.875rem;
    color: var(--dark-blue);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
}

/* Mobile Sidebar */
.agency-os-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--dark-blue);
    z-index: 99;
    padding: 0 1rem;
    align-items: center;
    justify-content: space-between;
}

.agency-os-mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 600;
}

.agency-os-mobile-toggle {
    padding: 0.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
}

.agency-os-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none; /* KRITISCH: Klicks durchlassen wenn unsichtbar */
    transition: opacity 0.3s ease;
}

.agency-os-sidebar-overlay.is-visible,
.agency-os-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto; /* Klicks abfangen wenn sichtbar */
}

/* Responsive */
@media (max-width: 1024px) {
    .agency-os-sidebar {
        transform: translateX(-100%);
    }

    .agency-os-sidebar.is-open,
    .agency-os-sidebar.open {
        transform: translateX(0);
    }

    .agency-os-main {
        margin-left: 0;
        padding-top: 76px;
    }

    .agency-os-mobile-header {
        display: flex;
    }

    .agency-os-sidebar-overlay {
        display: block;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .agency-os-main {
        padding: 1rem;
        padding-top: 76px;
    }

    .agency-os-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .agency-os-page-actions {
        width: 100%;
    }

    .tasks-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .tasks-filter-btn {
        flex-shrink: 0;
    }

    .modal-form-row {
        grid-template-columns: 1fr;
    }

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

    .secret-item {
        flex-wrap: wrap;
    }

    .secret-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
    }
}

/* ===== Agency OS Notifications ===== */
.agency-os-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    min-width: 280px;
    background: var(--dark-blue);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 12, 48, 0.25);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.agency-os-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.agency-os-notification i {
    font-size: 1.125rem;
}

.agency-os-notification-success i {
    color: #22c55e;
}

.agency-os-notification-error i {
    color: #ef4444;
}

.agency-os-notification-info i {
    color: var(--gold);
}

/* ===== Loading Spinner ===== */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--gold);
    font-size: 1.5rem;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
}

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

/* ===== Audit Log Styles ===== */
.audit-log-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
}

.audit-log-item:last-child {
    border-bottom: none;
}

.audit-log-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 216, 141, 0.15);
    border-radius: 6px;
    color: var(--gold-dark);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.audit-log-content {
    flex: 1;
    color: var(--text-gray);
}

.audit-log-content strong {
    color: var(--dark-blue);
}

.audit-log-user {
    font-weight: 500;
    color: var(--dark-blue);
}

.audit-log-time {
    font-size: 0.75rem;
    color: var(--text-light);
    flex-shrink: 0;
}

/* ===== Lead Row Styles ===== */
.lead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
}

.lead-row:last-child {
    border-bottom: none;
}

.lead-info {
    flex: 1;
}

.lead-name {
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 0.125rem;
}

.lead-email {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.lead-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
}

.lead-type {
    padding: 0.25rem 0.5rem;
    background: rgba(253, 216, 141, 0.2);
    color: var(--gold-dark);
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.lead-date {
    color: var(--text-light);
}

/* ===== KPI Cards ===== */
.kpi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.kpi-card {
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.kpi-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 216, 141, 0.15);
    border-radius: 8px;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.kpi-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.kpi-card-label {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ===== Dashboard Grid ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

/* ===== Agency OS Modal Active State ===== */
.agency-os-modal-v2.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.agency-os-modal-v2.active .agency-os-modal-content-v2 {
    transform: translateY(0);
}

/* ===== Secret Value Revealed ===== */
.secret-masked.revealed {
    background: rgba(253, 216, 141, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--dark-blue);
    font-family: 'Roboto Mono', monospace;
}

/* ===== Status Badges ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-radius: 4px;
}

.status-badge.status-active,
.status-badge.status-accepted {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.status-badge.status-inactive,
.status-badge.status-cancelled {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
}

.status-badge.status-pending {
    background: rgba(253, 216, 141, 0.25);
    color: var(--gold-dark);
}

.status-badge.status-expired {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* ===== Agency OS Table Styles ===== */
.agency-os-table-container {
    overflow-x: auto;
}

.agency-os-table {
    width: 100%;
    border-collapse: collapse;
}

.agency-os-table th,
.agency-os-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.agency-os-table th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--light-gray);
}

.agency-os-table td {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.agency-os-table tbody tr:hover {
    background: var(--light-gray);
}

.agency-os-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== Agency OS Tabs ===== */
.agency-os-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.agency-os-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agency-os-tab:hover {
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}

.agency-os-tab.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.agency-os-tab i {
    font-size: 0.8125rem;
}

.agency-os-tab-content {
    display: none;
}

.agency-os-tab-content.active {
    display: block;
}

/* ===== Agency OS Card Header ===== */
.agency-os-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.agency-os-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

/* ==========================================================================
   AGENCY OS MOBILE OPTIMIZATION
   Comprehensive mobile-first responsive styles for the admin dashboard
   ========================================================================== */

/* ===== MOBILE DRAWER NAVIGATION ENHANCEMENTS ===== */

/* Larger touch targets for sidebar nav items */
@media (max-width: 1024px) {
    .agency-os-sidebar-nav-item {
        min-height: 52px;
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .agency-os-sidebar-nav-item i {
        font-size: 1.25rem;
        width: 28px;
    }

    .agency-os-sidebar-footer {
        padding: 1.25rem;
    }

    .agency-os-sidebar-logout {
        min-height: 48px;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        justify-content: center;
    }

    .agency-os-sidebar-logout:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* ===== MOBILE TOPBAR OPTIMIZATION ===== */

@media (max-width: 768px) {
    .agency-os-topbar {
        padding: 0.75rem 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .agency-os-topbar-left {
        flex: 1;
        min-width: 0;
    }

    .agency-os-page-title {
        font-size: 1.125rem !important;
    }

    .agency-os-breadcrumb {
        display: none;
    }

    .agency-os-topbar-right {
        gap: 0.5rem;
    }

    /* Hide search on mobile - can be accessed via hamburger menu */
    .agency-os-search {
        display: none;
    }

    .agency-os-topbar-btn {
        width: 40px;
        height: 40px;
    }
}

/* ===== MOBILE KPI BAR - SINGLE COLUMN LAYOUT ===== */

@media (max-width: 480px) {
    .agency-os-kpi-bar {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .agency-os-kpi-card {
        flex-direction: row;
        padding: 1rem 1.25rem;
    }

    .kpi-icon {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .kpi-value {
        font-size: 1.5rem;
    }

    .kpi-label {
        font-size: 0.75rem;
    }

    .kpi-trend {
        top: 50%;
        transform: translateY(-50%);
        right: 1rem;
    }
}

/* ===== MOBILE ANALYTICS GRID ===== */

@media (max-width: 768px) {
    .agency-os-analytics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .agency-os-chart-panel {
        padding: 1rem;
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .panel-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .panel-btn {
        flex: 1;
        text-align: center;
    }

    .chart-bars {
        height: 120px;
        padding: 0;
    }

    .chart-bar-stack {
        width: 20px;
    }

    .chart-legend {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start;
    }

    /* Sidebar cards stack vertically */
    .agency-os-sidebar-panel {
        flex-direction: column;
    }

    .sidebar-card {
        min-width: 100%;
    }
}

/* ===== MOBILE TABS - HORIZONTAL SCROLL ===== */

@media (max-width: 640px) {
    .agency-os-tabs {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 0;
    }

    .agency-os-tabs::-webkit-scrollbar {
        display: none;
    }

    .agency-os-tab {
        flex-shrink: 0;
        padding: 0.75rem 1rem;
        min-height: 48px;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .agency-os-tab i {
        display: none;
    }
}

/* ===== MOBILE TABLE - HIDE TABLE, SHOW CARDS ===== */

/* Mobile card view for table data */
.agency-os-mobile-cards {
    display: none;
}

@media (max-width: 768px) {
    /* Table scrollable on mobile */
    .agency-os-table-container {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Mobile cards hidden by default (future enhancement) */
    .agency-os-mobile-cards {
        display: none;
    }

    /* Mobile lead/data card */
    .agency-os-mobile-card {
        background: var(--white);
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .agency-os-mobile-card:hover {
        border-color: var(--gold);
        box-shadow: var(--shadow-sm);
    }

    .agency-os-mobile-card:last-child {
        margin-bottom: 0;
    }

    .agency-os-mobile-card-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 0.75rem;
    }

    .agency-os-mobile-card-title {
        font-weight: 600;
        color: var(--dark-blue);
        font-size: 1rem;
    }

    .agency-os-mobile-card-badge {
        padding: 0.25rem 0.625rem;
        border-radius: 100px;
        font-size: 0.6875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .agency-os-mobile-card-badge.new {
        background: rgba(34, 197, 94, 0.15);
        color: #16a34a;
    }

    .agency-os-mobile-card-badge.contacted {
        background: rgba(245, 158, 11, 0.15);
        color: #d97706;
    }

    .agency-os-mobile-card-badge.converted {
        background: rgba(253, 216, 141, 0.25);
        color: var(--gold-dark);
    }

    .agency-os-mobile-card-badge.archived {
        background: rgba(156, 163, 175, 0.15);
        color: #6b7280;
    }

    .agency-os-mobile-card-body {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .agency-os-mobile-card-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.875rem;
    }

    .agency-os-mobile-card-label {
        color: var(--text-light);
    }

    .agency-os-mobile-card-value {
        color: var(--dark-blue);
        font-weight: 500;
        text-align: right;
        max-width: 60%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agency-os-mobile-card-footer {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-light);
    }

    .agency-os-mobile-card-action {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.625rem;
        background: var(--soft-gray);
        border: none;
        border-radius: 8px;
        color: var(--dark-blue);
        font-size: 0.8125rem;
        font-weight: 500;
        cursor: pointer;
        min-height: 44px;
        transition: all 0.2s ease;
    }

    .agency-os-mobile-card-action:hover {
        background: var(--gold);
    }

    /* Table header adjustments */
    .agency-os-table-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .agency-os-table-header h2 {
        font-size: 1.125rem;
    }

    .agency-os-table-actions {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
    }

    .agency-os-table-actions::-webkit-scrollbar {
        display: none;
    }

    .agency-os-table-actions button {
        flex-shrink: 0;
        min-height: 44px;
    }
}

/* ===== MOBILE PAGINATION ===== */

@media (max-width: 640px) {
    .agency-os-pagination {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.75rem;
    }

    .agency-os-pagination-info {
        text-align: center;
        font-size: 0.8125rem;
    }

    .agency-os-pagination-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .agency-os-pagination-buttons button {
        min-width: 40px;
        min-height: 40px;
        padding: 0.5rem;
    }
}

/* ===== MOBILE MODAL OPTIMIZATION ===== */

@media (max-width: 640px) {
    .agency-os-modal {
        padding: 0;
        align-items: flex-end;
    }

    .agency-os-modal-content {
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        max-width: 100%;
    }

    .agency-os-modal-header {
        padding: 1.25rem 1rem;
    }

    .agency-os-modal-header h3 {
        font-size: 1.125rem;
    }

    .agency-os-modal-body {
        padding: 1rem;
    }

    .agency-os-modal-footer {
        padding: 1rem;
        flex-direction: column;
    }

    .agency-os-modal-footer button,
    .agency-os-modal-footer .cta-primary,
    .agency-os-modal-footer .cta-secondary {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
}

/* ===== MOBILE TASK FILTERS ===== */

@media (max-width: 640px) {
    .tasks-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 0 1rem 0.75rem 1rem;
        gap: 0.5rem;
    }

    .tasks-filters::-webkit-scrollbar {
        display: none;
    }

    .tasks-filter-btn {
        flex-shrink: 0;
        min-height: 44px;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .search-input-wrapper {
        flex-shrink: 0;
        min-width: 180px;
        margin-left: 0 !important;
    }
}

/* ===== MOBILE TASK ITEMS ===== */

@media (max-width: 640px) {
    .task-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.75rem;
    }

    .task-checkbox {
        width: 24px;
        height: 24px;
    }

    .task-content {
        width: 100%;
    }

    .task-title {
        font-size: 1rem;
    }

    .task-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .task-actions {
        width: 100%;
        justify-content: flex-end;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-light);
        margin-top: 0.25rem;
    }

    .task-action-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ===== MOBILE PROJECT CARDS ===== */

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

    .project-card {
        padding: 1.25rem;
    }

    .project-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .project-card-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ===== MOBILE PASSWORD LOCKER ===== */

@media (max-width: 640px) {
    .secret-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }

    .secret-info {
        width: 100%;
    }

    .secret-value {
        width: 100%;
    }

    .secret-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .secret-action-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ===== MOBILE GUEST MANAGEMENT ===== */

@media (max-width: 640px) {
    .guest-card {
        padding: 1rem;
    }

    .guest-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .guest-card-actions {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .guest-card-actions button {
        flex: 1;
        min-height: 44px;
        justify-content: center;
    }
}

/* ===== MOBILE QUICK ACTIONS ===== */

@media (max-width: 640px) {
    .quick-actions {
        gap: 0.75rem;
    }

    .quick-action-btn {
        min-height: 48px;
        padding: 0.875rem 1rem;
    }
}

/* ===== MOBILE EMPTY STATE ===== */

@media (max-width: 640px) {
    .agency-os-empty-state,
    .empty-state {
        padding: 3rem 1.5rem;
    }

    .agency-os-empty-state i,
    .empty-state i {
        font-size: 2.5rem;
    }

    .agency-os-empty-state p,
    .empty-state p {
        font-size: 0.9375rem;
    }
}

/* ===== MOBILE NOTIFICATION ===== */

@media (max-width: 640px) {
    .agency-os-notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        min-width: auto;
    }
}

/* ===== GLOBAL MOBILE TOUCH IMPROVEMENTS ===== */

@media (max-width: 1024px) {
    /* Ensure all interactive elements have proper touch targets */
    button,
    .btn-primary,
    .btn-secondary,
    .cta-primary,
    .cta-secondary,
    a.agency-os-sidebar-nav-item {
        min-height: 44px;
    }

    /* Better tap highlighting */
    button,
    a {
        -webkit-tap-highlight-color: rgba(253, 216, 141, 0.2);
    }

    /* Prevent text selection on interactive elements */
    button,
    .agency-os-tab,
    .tasks-filter-btn,
    .panel-btn {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* ===== MOBILE MAIN CONTENT PADDING ===== */

@media (max-width: 640px) {
    .agency-os-main {
        padding: 1rem;
        padding-top: 76px;
    }

    .agency-os-topbar {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===== PREVENT HORIZONTAL OVERFLOW ===== */

@media (max-width: 768px) {
    .agency-os-layout {
        overflow-x: hidden;
    }

    .agency-os-main {
        overflow-x: hidden;
    }

    /* Ensure cards don't overflow */
    .agency-os-kpi-card,
    .sidebar-card,
    .agency-os-chart-panel,
    .agency-os-table-wrapper,
    .agency-os-card {
        max-width: 100%;
        overflow: hidden;
    }
}

/* =============================================================================
   KANBAN BOARD STYLES
   ============================================================================= */

/* View Toggle Buttons */
.tasks-view-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.25rem;
    background: rgba(15, 12, 48, 0.05);
    border-radius: 8px;
    width: fit-content;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover {
    background: rgba(253, 216, 141, 0.1);
    color: var(--gold);
}

.view-toggle-btn.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark-blue);
}

.view-toggle-btn i {
    font-size: 1rem;
}

/* Kanban Board Container */
.kanban-board {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.kanban-board::-webkit-scrollbar {
    height: 8px;
}

.kanban-board::-webkit-scrollbar-track {
    background: rgba(15, 12, 48, 0.03);
    border-radius: 4px;
}

.kanban-board::-webkit-scrollbar-thumb {
    background: rgba(15, 12, 48, 0.2);
    border-radius: 4px;
}

.kanban-board::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray);
}

/* Kanban Column */
.kanban-column {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    background: rgba(15, 12, 48, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

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

.kanban-column-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-blue);
}

.kanban-column-title i {
    font-size: 0.625rem;
}

.kanban-column-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    background: rgba(253, 216, 141, 0.1);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
}

/* Kanban Cards Container */
.kanban-cards {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
    overflow-y: auto;
}

.kanban-cards::-webkit-scrollbar {
    width: 6px;
}

.kanban-cards::-webkit-scrollbar-track {
    background: transparent;
}

.kanban-cards::-webkit-scrollbar-thumb {
    background: rgba(15, 12, 48, 0.2);
    border-radius: 3px;
}

.kanban-cards.drag-over {
    background: rgba(253, 216, 141, 0.05);
    border-radius: 8px;
}

/* Kanban Card */
.kanban-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1rem;
    cursor: grab;
    transition: all 0.2s ease;
}

.kanban-card:hover {
    border-color: rgba(253, 216, 141, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.5;
    transform: rotate(3deg);
    cursor: grabbing;
}

/* Card Header */
.kanban-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.kanban-card-title {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-blue);
    line-height: 1.4;
}

.kanban-card-priority {
    flex-shrink: 0;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
}

/* Card Description */
.kanban-card-description {
    font-size: 0.8125rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Card Meta (Badges) */
.kanban-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.kanban-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(253, 216, 141, 0.1);
    border: 1px solid rgba(253, 216, 141, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--gold);
}

.kanban-card-badge i {
    font-size: 0.6875rem;
}

.kanban-card-badge.project {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.kanban-card-badge.customer {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

/* Card Due Date */
.kanban-card-due {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.kanban-card-due.overdue {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.kanban-card-due i {
    font-size: 0.6875rem;
}

/* Card Actions */
.kanban-card-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.kanban-card-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.kanban-card-action:hover {
    background: rgba(253, 216, 141, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.kanban-card-action i {
    font-size: 0.875rem;
}

/* Empty State */
.kanban-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* =============================================================================
   KANBAN BOARD RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .kanban-column {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .tasks-view-toggle {
        width: 100%;
        justify-content: stretch;
    }

    .view-toggle-btn {
        flex: 1;
        justify-content: center;
    }

    .kanban-board {
        gap: 1rem;
    }

    .kanban-column {
        flex: 0 0 280px;
    }

    .kanban-card {
        padding: 0.875rem;
    }

    .kanban-card-title {
        font-size: 0.875rem;
    }

    .kanban-card-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .kanban-board {
        gap: 0.75rem;
    }

    .kanban-column {
        flex: 0 0 260px;
    }

    .kanban-column-header {
        padding: 1rem;
    }

    .kanban-cards {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .kanban-card {
        padding: 0.75rem;
    }
}

/* ============================================
   SEO STRATEGY PAGE STYLES
   ============================================ */

/* SEO Hero (White) - Reuses service-hero base */
.seo-hero {
    background: var(--white);
    padding: 8rem 5% 6rem;
    position: relative;
}

.seo-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Light variant eyebrow pill for SEO page */
.eyebrow-pill--light {
    background: rgba(15, 12, 48, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold-dark);
}

.seo-hero h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

/* "Existieren" highlight effect */
.text-highlight-existieren {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 50%, var(--gold) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldGradientShift 6s ease-in-out infinite;
}

.text-highlight-existieren::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1em;
    height: 0.12em;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.seo-hero-intro {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
    color: var(--text-gray);
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
}

/* Pain-Points Section (Dark) - with Blur & Gradient Glow */
.seo-pain-points {
    background: var(--dark-blue);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

/* Blur & Gradient Glow Background */
.seo-pain-points::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(253, 216, 141, 0.08) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.seo-pain-points-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Header - Nur für dunkle SEO-Sektionen */
.seo-pain-points .section-header,
.seo-potential .section-header,
.seo-action .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.seo-pain-points .section-header h2,
.seo-potential .section-header h2,
.seo-action .section-header h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.seo-pain-points .section-header p,
.seo-potential .section-header p,
.seo-action .section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto;
}

/* 2x2 Grid Layout */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-point-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Subtle Pulse Animation */
.pain-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 216, 141, 0.1), transparent);
    animation: painPointPulse 3s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.5s);
}

@keyframes painPointPulse {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
}

.pain-point-card:nth-child(1) { --card-index: 0; }
.pain-point-card:nth-child(2) { --card-index: 1; }
.pain-point-card:nth-child(3) { --card-index: 2; }
.pain-point-card:nth-child(4) { --card-index: 3; }

.pain-point-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(253, 216, 141, 0.4);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(253, 216, 141, 0.1);
}

.pain-point-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 100%);
    border-radius: 14px;
    font-size: 1.6rem;
    color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(253, 216, 141, 0.25);
}

.pain-point-card h3 {
    color: var(--white);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.pain-point-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
}

/* Problem Section (White) - Enhanced Stats with Count-Up Ready */
.seo-problem {
    background: var(--white);
    padding: 6rem 5%;
}

.seo-problem-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.seo-problem-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-stat {
    background: linear-gradient(135deg, var(--soft-gray) 0%, var(--white) 100%);
    border: 2px solid var(--border-light);
    border-left: 4px solid var(--gold);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.problem-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(253, 216, 141, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.problem-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 12, 48, 0.08);
    border-color: var(--gold);
}

.problem-stat:hover::before {
    opacity: 1;
}

/* Stat number ready for count-up animation */
.stat-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--dark-blue);
    font-family: 'Inter Tight', sans-serif;
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1650 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 400;
}

.seo-problem-text h2 {
    color: var(--dark-blue);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.seo-problem-text p {
    color: var(--text-gray);
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Potential Section (Dark) - with Blur, Glow & Sequential Animation */
.seo-potential {
    background: var(--dark-blue);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

/* Blur & Gradient Glow Background */
.seo-potential::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(253, 216, 141, 0.06) 0%, transparent 60%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.seo-potential-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.potential-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sequential Highlight Animation */
.potential-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.potential-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold), #f5d89f);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.potential-card.is-highlighted::after {
    opacity: 1;
    animation: potentialGlow 2s ease-in-out;
}

@keyframes potentialGlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(253, 216, 141, 0.5));
    }
}

.potential-card:nth-child(1) { animation-delay: 0s; }
.potential-card:nth-child(2) { animation-delay: 0.8s; }
.potential-card:nth-child(3) { animation-delay: 1.6s; }

.potential-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(253, 216, 141, 0.4);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.potential-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 100%);
    border-radius: 14px;
    font-size: 1.6rem;
    color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(253, 216, 141, 0.25);
}

.potential-card h3 {
    color: var(--white);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.potential-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
}

/* Solution Section (White) - Enhanced Hierarchy */
.seo-solution {
    background: var(--white);
    padding: 6rem 5%;
}

.seo-solution-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-solution-text h2 {
    color: var(--dark-blue);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.seo-solution-text > p {
    color: var(--text-gray);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 3.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.solution-step {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    background: var(--soft-gray);
    border: 2px solid var(--border-light);
    border-left: 4px solid var(--gold);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.solution-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), #f5d89f);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.solution-step:hover::before {
    transform: scaleY(1);
}

.solution-step:hover {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(15, 12, 48, 0.08),
                0 0 0 1px rgba(253, 216, 141, 0.2);
    transform: translateX(8px);
}

/* Large, prominent step numbers */
.step-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--gold);
    font-family: 'Inter Tight', sans-serif;
    flex-shrink: 0;
    width: 80px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.step-content h4 {
    color: var(--dark-blue);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.step-content p {
    color: var(--text-gray);
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.8;
}

/* Action Section (Dark) - with Blur, Glow & Fixed Button Contrast */
.seo-action {
    background: var(--dark-blue);
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

/* Blur & Gradient Glow Background */
.seo-action::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(253, 216, 141, 0.07) 0%, transparent 60%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.seo-action-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.action-header {
    text-align: center;
    margin-bottom: 4rem;
}

.action-header h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.action-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.action-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.action-offer {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.offer-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, #f5d89f 100%);
    border-radius: 14px;
    font-size: 1.75rem;
    color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(253, 216, 141, 0.25);
}

.action-offer h3 {
    color: var(--white);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.offer-features li {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.offer-features li i {
    color: var(--gold);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.action-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.action-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.action-cta-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    text-align: center;
    margin: 1.5rem 0 1rem;
}

/* WhatsApp Button - Fixed Contrast on Dark Background */
.seo-action .cta-secondary,
.action-cta .cta-secondary {
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.seo-action .cta-secondary:hover,
.action-cta .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Styles for SEO Page */
@media (max-width: 1024px) {
    .seo-problem-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .action-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .potential-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-number {
        font-size: clamp(2rem, 3vw, 2.5rem);
        width: 70px;
    }
}

@media (max-width: 768px) {
    .seo-hero {
        padding: 6rem 5% 4rem;
    }

    .seo-pain-points,
    .seo-problem,
    .seo-potential,
    .seo-solution,
    .seo-action {
        padding: 4rem 5%;
    }

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

    /* Pain-Points Grid: 2x2 becomes 1 column on tablets */
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .solution-step {
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .step-number {
        font-size: 2rem;
        width: 60px;
    }
}

@media (max-width: 480px) {
    .seo-hero {
        padding: 5rem 5% 3rem;
    }

    .seo-pain-points,
    .seo-problem,
    .seo-potential,
    .seo-solution,
    .seo-action {
        padding: 3rem 5%;
    }

    .pain-point-card,
    .potential-card,
    .action-offer,
    .action-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .problem-stat {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .solution-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .step-number {
        font-size: 2rem;
        width: auto;
    }
}
