/* ===== Prosiria Design System v2.0 — Dream. Design. Deliver. ===== */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand */
    --pro-primary: #0066FF;
    --pro-primary-light: #00B8FF;
    --pro-primary-dark: #003DB8;
    --pro-secondary: #6B3DFF;
    --pro-indigo: #312E81;

    /* Gradients */
    --pro-gradient-brand: linear-gradient(135deg, #6B3DFF 0%, #0066FF 50%, #00B8FF 100%);
    --pro-gradient-button: linear-gradient(135deg, #0066FF 0%, #6B3DFF 100%);
    --pro-gradient-text: linear-gradient(90deg, #0066FF 0%, #6B3DFF 55%, #00B8FF 100%);
    --pro-gradient-hero: radial-gradient(circle at top left, rgba(0,184,255,.24), transparent 32%),
                         radial-gradient(circle at top right, rgba(107,61,255,.24), transparent 36%);

    /* Text */
    --pro-text-strong: #0F172A;
    --pro-text: #334155;
    --pro-text-muted: #475569;
    --pro-text-soft: #64748B;
    --pro-text-disabled: #94A3B8;

    /* Surfaces */
    --pro-white: #FFFFFF;
    --pro-background: #F8FAFC;
    --pro-surface: #FFFFFF;
    --pro-surface-soft: #F1F5F9;
    --pro-surface-blue: #EFF6FF;
    --pro-border: #E2E8F0;
    --pro-border-strong: #CBD5E1;

    /* Semantic */
    --pro-success: #22C55E;
    --pro-warning: #F59E0B;
    --pro-error: #EF4444;
    --pro-info: #0EA5E9;

    /* Typography */
    --pro-font-display: 'Space Grotesk', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pro-font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --pro-font-code: 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;

    /* Radius */
    --pro-radius-xs: 6px;
    --pro-radius-sm: 10px;
    --pro-radius-md: 14px;
    --pro-radius-lg: 18px;
    --pro-radius-xl: 24px;
    --pro-radius-2xl: 28px;
    --pro-radius-pill: 999px;

    /* Shadows */
    --pro-shadow-card: 0 1px 2px rgba(15,23,42,.06), 0 12px 32px rgba(15,23,42,.08);
    --pro-shadow-hover: 0 18px 45px rgba(15,23,42,.12);
    --pro-shadow-brand: 0 20px 60px rgba(0,102,255,.18);
    --pro-shadow-violet: 0 20px 60px rgba(107,61,255,.18);

    /* Motion */
    --pro-transition-fast: 160ms ease;
    --pro-transition: 220ms ease;
    --pro-transition-slow: 360ms ease;

    /* Layout */
    --max-width: 1200px;
    --section-padding: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--pro-font-body);
    color: var(--pro-text);
    background: var(--pro-background);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--pro-text-strong);
    font-family: var(--pro-font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--pro-transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 40px, var(--max-width));
    margin-inline: auto;
}

/* ===== Header / Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(226,232,240,.76);
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    transition: box-shadow var(--pro-transition), border-color var(--pro-transition);
}

.header.scrolled {
    border-bottom-color: var(--pro-border);
    box-shadow: 0 1px 3px rgba(15,23,42,.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    width: 10rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    position: relative;
    color: var(--pro-text-muted);
    font-family: var(--pro-font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--pro-transition-fast);
}

.nav-links a:hover {
    color: var(--pro-primary);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    border-radius: var(--pro-radius-pill);
    background: var(--pro-gradient-brand);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    padding: 10px 22px !important;
    border-radius: var(--pro-radius-pill) !important;
    background: var(--pro-gradient-button) !important;
    color: var(--pro-white) !important;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0,102,255,.18);
    transition: transform var(--pro-transition-fast), box-shadow var(--pro-transition-fast);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--pro-shadow-brand);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--pro-text-strong);
    border-radius: 2px;
    transition: transform var(--pro-transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    padding: 160px 0 var(--section-padding);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(226,232,240,.8);
    background: var(--pro-gradient-hero), var(--pro-white);
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,255,.12), transparent 70%);
    filter: blur(80px);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107,61,255,.10), transparent 70%);
    filter: blur(60px);
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(0,102,255,.16);
    border-radius: var(--pro-radius-pill);
    background: rgba(0,102,255,.08);
    color: var(--pro-primary-dark);
    font-family: var(--pro-font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-badge i {
    font-size: 0.85rem;
}

.hero h1 {
    font-family: var(--pro-font-display);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -1.4px;
    color: var(--pro-text-strong);
    margin-bottom: 24px;
}

.hero h1 .gradient-text {
    background: var(--pro-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: var(--pro-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-family: var(--pro-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--pro-text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--pro-radius-pill);
    background: var(--pro-gradient-button);
    color: var(--pro-white);
    font-family: var(--pro-font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 12px 30px rgba(0,102,255,.24);
    cursor: pointer;
    transition: transform var(--pro-transition-fast), box-shadow var(--pro-transition-fast), filter var(--pro-transition-fast);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--pro-shadow-brand);
    filter: saturate(1.08);
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0,102,255,.18), var(--pro-shadow-brand);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 22px;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-pill);
    background: var(--pro-white);
    color: var(--pro-text-strong);
    font-family: var(--pro-font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--pro-transition-fast), border-color var(--pro-transition-fast), transform var(--pro-transition-fast);
}

.btn-secondary:hover {
    background: var(--pro-surface-blue);
    border-color: rgba(0,102,255,.34);
    transform: translateY(-1px);
}

/* ===== Section Shared ===== */
.section {
    padding: var(--section-padding) 0;
}

.section-dark {
    background: var(--pro-text-strong);
    color: var(--pro-white);
}

.section-light {
    background: var(--pro-background);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(0,102,255,.16);
    border-radius: var(--pro-radius-pill);
    background: rgba(0,102,255,.08);
    color: var(--pro-primary-dark);
    font-family: var(--pro-font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-dark .section-label {
    border-color: rgba(107,61,255,.28);
    background: rgba(107,61,255,.14);
    color: #A78BFA;
}

.section-header h2 {
    font-family: var(--pro-font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.12;
    color: var(--pro-text-strong);
    margin-bottom: 16px;
}

.section-dark .section-header h2 {
    color: var(--pro-white);
}

.section-header p {
    font-size: 16px;
    color: var(--pro-text-soft);
    line-height: 1.6;
}

.section-dark .section-header p {
    color: var(--pro-text-disabled);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    padding: 40px;
    border-radius: var(--pro-radius-lg);
    background: var(--pro-white);
    border: 1px solid var(--pro-border);
    box-shadow: var(--pro-shadow-card);
    transition: transform var(--pro-transition), box-shadow var(--pro-transition), border-color var(--pro-transition);
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,102,255,.26);
    box-shadow: var(--pro-shadow-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--pro-radius-md);
    background: var(--pro-gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.service-icon i {
    color: var(--pro-white);
}

.service-card h3 {
    font-family: var(--pro-font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.22;
    color: var(--pro-text-strong);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--pro-text-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

/* ===== Products Section ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    padding: 48px;
    border-radius: var(--pro-radius-xl);
    background: var(--pro-white);
    border: 1px solid var(--pro-border);
    box-shadow: var(--pro-shadow-card);
    transition: transform var(--pro-transition), box-shadow var(--pro-transition), border-color var(--pro-transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pro-gradient-brand);
    opacity: 0;
    transition: opacity var(--pro-transition-fast);
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,102,255,.26);
    box-shadow: var(--pro-shadow-hover);
}

.product-card:hover::before {
    opacity: 1;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(0,102,255,.16);
    border-radius: var(--pro-radius-pill);
    background: rgba(0,102,255,.08);
    color: var(--pro-primary-dark);
    font-family: var(--pro-font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-card h3 {
    font-family: var(--pro-font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.4px;
    line-height: 1.18;
    color: var(--pro-text-strong);
    margin-bottom: 12px;
}

.product-card p {
    color: var(--pro-text-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 24px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--pro-text-muted);
}

.product-features li::before {
    content: "✓";
    color: var(--pro-primary);
    font-weight: 700;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--pro-font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.6px;
    color: var(--pro-text-strong);
    margin-bottom: 24px;
    line-height: 1.12;
}

.about-text p {
    color: var(--pro-text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.about-value {
    padding: 24px;
    border-radius: var(--pro-radius-md);
    background: var(--pro-background);
    border: 1px solid var(--pro-border);
}

.about-value h4 {
    font-family: var(--pro-font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.1px;
    color: var(--pro-text-strong);
    margin-bottom: 6px;
}

.about-value p {
    font-size: 14px;
    color: var(--pro-text-soft);
    margin-bottom: 0;
}

.about-visual {
    position: relative;
}

.about-image-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: var(--pro-radius-2xl);
    background: var(--pro-gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--pro-font-display);
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
    position: relative;
    overflow: hidden;
    box-shadow: var(--pro-shadow-brand);
}

.about-image-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== Statistics Section ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
}

.stat-number {
    font-family: var(--pro-font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--pro-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.section-dark .stat-number {
    background: linear-gradient(135deg, #818CF8, #A78BFA, #C084FC);
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-label {
    font-size: 15px;
    color: var(--pro-text-soft);
    font-weight: 500;
}

.section-dark .stat-label {
    color: var(--pro-text-disabled);
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 40px;
    border-radius: var(--pro-radius-lg);
    background: var(--pro-white);
    border: 1px solid var(--pro-border);
    box-shadow: var(--pro-shadow-card);
}

.testimonial-stars {
    color: var(--pro-warning);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 16px;
    color: var(--pro-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pro-gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.testimonial-info strong {
    display: block;
    font-size: 15px;
    color: var(--pro-text-strong);
}

.testimonial-info span {
    font-size: 13px;
    color: var(--pro-text-soft);
}

/* ===== Blog Section ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-card {
    border-radius: var(--pro-radius-lg);
    overflow: hidden;
    background: var(--pro-white);
    border: 1px solid var(--pro-border);
    box-shadow: var(--pro-shadow-card);
    transition: transform var(--pro-transition), box-shadow var(--pro-transition), border-color var(--pro-transition);
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,102,255,.26);
    box-shadow: var(--pro-shadow-hover);
}

.blog-image {
    height: 200px;
    background: var(--pro-gradient-brand);
    opacity: 0.8;
    position: relative;
}

.blog-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

.blog-content {
    padding: 28px;
}

.blog-meta {
    font-size: 12px;
    color: var(--pro-text-disabled);
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-card h3 {
    font-family: var(--pro-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--pro-text-strong);
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 14px;
    color: var(--pro-text-soft);
    line-height: 1.45;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pro-primary);
}

.blog-link:hover {
    gap: 10px;
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-family: var(--pro-font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.6px;
    color: var(--pro-text-strong);
    margin-bottom: 16px;
    line-height: 1.12;
}

.contact-info > p {
    color: var(--pro-text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--pro-radius-md);
    background: rgba(0,102,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pro-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-icon i {
    color: var(--pro-primary);
}

.contact-item-text strong {
    display: block;
    font-size: 15px;
    color: var(--pro-text-strong);
    margin-bottom: 2px;
}

.contact-item-text span {
    font-size: 14px;
    color: var(--pro-text-soft);
}

.contact-form {
    padding: 48px;
    border-radius: var(--pro-radius-xl);
    background: var(--pro-white);
    border: 1px solid var(--pro-border);
    box-shadow: var(--pro-shadow-card);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--pro-text-strong);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-md);
    background: var(--pro-white);
    color: var(--pro-text-strong);
    font-family: var(--pro-font-body);
    font-size: 15px;
    line-height: 1.4;
    transition: border-color var(--pro-transition-fast), box-shadow var(--pro-transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--pro-text-disabled);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--pro-primary);
    box-shadow: 0 0 0 4px rgba(0,102,255,.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.contact-form .btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.field-validation-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--pro-error);
}

.form-error {
    padding: 12px 16px;
    border-radius: var(--pro-radius-sm);
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--pro-error);
    font-size: 14px;
    margin-bottom: 16px;
}

.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px 48px;
    border-radius: var(--pro-radius-xl);
    background: var(--pro-white);
    border: 1px solid var(--pro-border);
    box-shadow: var(--pro-shadow-card);
}

.contact-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,102,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pro-primary);
    font-size: 2rem;
    margin-bottom: 24px;
}

.contact-success h3 {
    font-family: var(--pro-font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--pro-text-strong);
    margin-bottom: 12px;
}

.contact-success p {
    color: var(--pro-text-soft);
    font-size: 16px;
    margin-bottom: 32px;
}

/* Send copy checkbox */
.form-checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--pro-text);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--pro-secondary);
    cursor: pointer;
    flex-shrink: 0;
}

/* Math CAPTCHA */
.captcha-group label {
    font-weight: 600;
    color: var(--pro-text-strong);
}

.captcha-group input {
    max-width: 160px;
}

/* Honeypot – visually and interactively hidden from real users */
.form-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ===== Footer ===== */
.footer {
    background: var(--pro-text-strong);
    color: var(--pro-text-disabled);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    width: 10rem;
    cursor: pointer;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.45;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--pro-font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--pro-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--pro-text-disabled);
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--pro-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--pro-text-disabled);
}

.footer-bottom-links a:hover {
    color: var(--pro-white);
}

/* ===== Impressum / Legal Pages ===== */
.page-header {
    padding: 160px 0 60px;
    background: var(--pro-gradient-hero), var(--pro-white);
    position: relative;
}

.page-header h1 {
    font-family: var(--pro-font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--pro-text-strong);
    letter-spacing: -1px;
    line-height: 1.08;
}

.page-content {
    padding: 80px 0 var(--section-padding);
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    font-family: var(--pro-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--pro-text-strong);
    margin: 40px 0 16px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    color: var(--pro-text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.page-content a {
    color: var(--pro-primary);
}

.page-content a:hover {
    text-decoration: underline;
}

/* ===== Blazor Specific ===== */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 960px) {
    :root {
        --section-padding: 64px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 48px;
    }

    .container {
        width: min(100% - 32px, var(--max-width));
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--pro-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 var(--section-padding);
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -0.6px;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-header h2,
    .about-text h2,
    .contact-info h2 {
        font-size: 28px;
        letter-spacing: -0.4px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .about-values {
        grid-template-columns: 1fr;
    }
}

/* Mobile small */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .contact-form {
        padding: 24px;
    }

    .product-card {
        padding: 32px;
    }
}