/* ===========================
   CSS Variables
   =========================== */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-light: #f9fafb;
    --color-bg-gray: #f3f4f6;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-error: #ef4444;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    --container-max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   Utility Classes
   =========================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hidden {
    display: none !important;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* ===========================
   Header & Navigation - Dark Premium SaaS
   =========================== */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    /* Dark glassmorphism background */
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Gradient bottom border */
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

/* Logo with gradient & glow effect */
.logo {
    position: relative;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    /* Gradient text */
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

/* Logo glow effect */
.logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, transparent 70%);
    filter: blur(12px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.logo:hover {
    transform: scale(1.02);
}

.logo:hover::after {
    opacity: 0.7;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 50;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #e5e7eb;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

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

/* Navigation */
.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    position: relative;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

/* Bottom border animation on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active link state */
.nav-link--active {
    color: #3b82f6;
}

.nav-link--active::after {
    width: 100%;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-form {
    width: 100%;
    max-width: 300px;
}

/* ===========================
   Hero Section - Modern SaaS Design with SVG Network
   =========================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Dark gradient background */
    background: linear-gradient(135deg, #020617 0%, #030712 50%, #000000 100%);
}

/* SVG Network Background */
.hero-svg-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

/* Blue glow top-right */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

/* Turquoise/cyan glow bottom-left */
.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    filter: blur(70px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

/* Grid overlay - now more subtle to work with SVG */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 70px 70px;
    pointer-events: none;
    z-index: 3;
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-md);
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #e5e7eb;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

/* Enhanced button styles for dark background */
.hero-cta .btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.hero-cta .btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

.hero-cta .btn-secondary {
    background-color: transparent;
    color: #e5e7eb;
    border: 2px solid rgba(229, 231, 235, 0.3);
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.hero-cta .btn-secondary:hover {
    background-color: rgba(229, 231, 235, 0.1);
    border-color: rgba(229, 231, 235, 0.5);
    color: white;
}

.hero-credibility {
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
    opacity: 0.8;
}

/* ===========================
   Features Accordion - Dark SaaS Design
   =========================== */
.features {
    background: linear-gradient(135deg, #020617 0%, #030712 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.features-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.features-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.features-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #9ca3af;
}

.feature-accordion {
    margin-top: var(--spacing-xl);
}

.feature-item {
    background: linear-gradient(135deg, #050816 0%, #020617 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.15);
}

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

.feature-item.is-open {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2);
}

.feature-item.is-open::before {
    opacity: 1;
}

.feature-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #e5e7eb;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    transition: color 0.2s ease;
}

.feature-header:hover {
    color: #ffffff;
}

.feature-title {
    font-size: 1.125rem;
    line-height: 1.5;
}

.feature-title strong {
    color: #60a5fa;
    font-weight: 700;
}

.feature-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: var(--spacing-md);
}

/* Plus icon (default) */
.feature-icon::before,
.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #3b82f6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.feature-icon::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.feature-icon::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
}

/* Minus icon (when open) */
.feature-item.is-open .feature-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.feature-item.is-open .feature-icon::before {
    background: #60a5fa;
}

.feature-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.5rem;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.feature-item.is-open .feature-body {
    max-height: 600px;
    opacity: 1;
    padding: 0 1.5rem 1.25rem;
}

.feature-body p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.feature-body p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Sections
   =========================== */
.section {
    padding: var(--spacing-3xl) 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2.25rem;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.subsection-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    color: var(--color-text);
}

/* ===========================
   Feature List
   =========================== */
.feature-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: var(--spacing-md);
}

.feature-list li {
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
    font-size: 1.0625rem;
    line-height: 1.6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-list strong {
    color: var(--color-primary);
}

/* ===========================
   Steps - Dark SaaS Card Design
   =========================== */
.steps {
    background: linear-gradient(135deg, #020617 0%, #030712 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.steps::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 45%;
    height: 60%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.steps-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.steps-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

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

.step-card {
    position: relative;
    height: 100%;
    border-radius: 24px;
    padding: 1.75rem 1.5rem 2rem;
    background: radial-gradient(circle at top, #0b1120 0%, #020617 55%, #000000 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.7);
    border-color: rgba(59, 130, 246, 0.8);
}

.step-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb 60%, #1d4ed8 100%);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.7);
}

.step-heading {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f9fafb;
    line-height: 1.3;
}

.step-text {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
}

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

/* ===========================
   Audiences - Dark SaaS Card Design
   =========================== */
.audiences {
    background: linear-gradient(135deg, #020617 0%, #030712 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.audiences::before {
    content: '';
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.audiences-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.audiences-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

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

.audience-card {
    border-radius: 24px;
    padding: 1.5rem 1.5rem 1.75rem;
    background: radial-gradient(circle at top, #0b1120 0%, #020617 55%, #000000 100%);
    border-top: 3px solid rgba(59, 130, 246, 0.85);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.7);
    border-color: rgba(96, 165, 250, 1);
}

.audience-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f9fafb;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.audience-intro {
    margin: 0 0 0.5rem;
    font-size: 0.96rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.audience-list {
    margin: 0;
    padding-left: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #e5e7eb;
    line-height: 1.6;
}

.audience-list li {
    list-style-type: disc;
}

/* ===========================
   Cards (Legacy - kept for backward compatibility)
   =========================== */
.cards {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.card {
    background-color: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--color-primary);
}

.card-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.card-list {
    list-style: disc;
    padding-left: var(--spacing-lg);
}

.card-list li {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===========================
   About Section - Dark SaaS Accordion
   =========================== */
.about {
    background: linear-gradient(135deg, #020617 0%, #030712 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #9ca3af;
}

.about-accordion {
    margin-top: var(--spacing-xl);
}

/* Legacy styles kept for backward compatibility */
.section-about {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

.about-points {
    display: grid;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.about-point {
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
}

.about-point strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

/* ===========================
   Contact Form - Dark SaaS Design
   =========================== */
.contact {
    background: linear-gradient(135deg, #020617 0%, #030712 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 65%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.contact-inner {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-intro {
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.contact-card {
    margin: 0 auto;
    border-radius: 24px;
    padding: 2rem 1.75rem;
    background: radial-gradient(circle at top, #0b1120 0%, #020617 55%, #000000 100%);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(37, 99, 235, 0.4);
    text-align: left;
}

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

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e5e7eb;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #4b5563;
    background-color: #111827;
    padding: 0.625rem 0.75rem;
    font-size: 0.95rem;
    color: #e5e7eb;
    outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7280;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.6);
    background-color: #020617;
}

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

.form-select {
    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='%23e5e7eb' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.375rem;
    display: block;
    min-height: 1.25rem;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    align-items: flex-start;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.375rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.55);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
    font-family: var(--font-sans);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 46px rgba(37, 99, 235, 0.7);
    filter: brightness(1.03);
}

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

.form-note {
    font-size: 0.8rem;
    color: #9ca3af;
    max-width: 520px;
    line-height: 1.5;
    margin: 0;
}

.form-success {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    background-color: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.5);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: center;
}

.form-success p {
    color: #10b981;
    font-weight: 600;
    margin: 0;
}

/* Legacy styles kept for backward compatibility */
.section-contact {
    background-color: var(--color-bg-light);
}

.form-row {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* ===========================
   Legal Pages (Impressum, Datenschutz)
   =========================== */
.legal {
    background: linear-gradient(135deg, #020617 0%, #030712 100%);
    min-height: 100vh;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.legal::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.legal-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.legal-content {
    background: radial-gradient(circle at top, #0b1120 0%, #020617 55%, #000000 100%);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.legal-section {
    margin-bottom: 2.5rem;
}

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

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

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

.legal-section a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.legal-section strong {
    color: #e5e7eb;
    font-weight: 600;
}

/* ===========================
   Footer - Modern SaaS Design
   =========================== */
.site-footer {
    background: linear-gradient(180deg, #020617 0%, #030712 100%);
    color: #e5e7eb;
    padding: 60px 0 24px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 32px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    width: fit-content;
    margin-bottom: 4px;
}

.footer-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.25) 0%, transparent 70%);
    filter: blur(16px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 320px;
}

/* Navigation Section */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.92rem;
    color: #e5e7eb;
    text-decoration: none;
    opacity: 0.85;
    transition: color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
    width: fit-content;
}

.footer-link:hover {
    color: #3b82f6;
    opacity: 1;
    transform: translateX(3px);
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Legal Section */
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-contact-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-contact-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-contact-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.footer-legal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.7);
    margin-top: 24px;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-copyright,
.footer-tagline {
    opacity: 0.85;
}

/* Legacy Footer Styles - Keep for backward compatibility */
.footer {
    background-color: var(--color-text);
    color: white;
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 2.5rem;
        --spacing-3xl: 3rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .steps-title {
        font-size: 1.75rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .audiences-title {
        font-size: 1.75rem;
    }
    
    .audiences-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Legal pages mobile */
    .legal-title {
        font-size: 1.75rem;
    }
    
    .legal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section p {
        font-size: 0.95rem;
    }
    
    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 400px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: left;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .btn-form {
        max-width: 100%;
    }
}

/* Tablet for Steps Grid */
@media (min-width: 640px) and (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Tablet/Medium Screens for Audiences Grid */
@media (min-width: 700px) and (max-width: 1024px) {
    .audiences-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop Large */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}
