/* ============================================
   NEUTOMA - B2B Intelligence Database
   Premium Website Styles
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

/* CSS Variables */
:root {
  /* Primary Colors */
  --color-bg-dark: #00102b;
  --color-bg-darker: #000a1a;
  --color-bg-card: #001438;
  --color-bg-card-hover: #001d4d;

  /* Gold Accent Gradient */
  --color-gold: #edcd7e;
  --color-gold-dark: #d1a659;
  --color-gold-light: #f5dda3;
  --gradient-gold: linear-gradient(135deg, #edcd7e 0%, #d1a659 100%);

  /* Text Colors */
  --color-text: #ffffff;
  --color-text-muted: #a0b4c8;
  --color-text-subtle: #6b8299;

  /* Borders & Accents */
  --color-border: rgba(237, 205, 126, 0.15);
  --color-border-hover: rgba(237, 205, 126, 0.3);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 30px rgba(237, 205, 126, 0.15);

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-width: 1200px;
  --container-padding: clamp(20px, 5vw, 40px);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-gold-light);
}

/* Gold Text Gradient */
.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-medium);
  background: transparent;
}

header.scrolled {
  background: rgba(0, 16, 43, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.logo svg {
  height: 40px;
  width: auto;
}

.logo:hover {
  color: var(--color-text);
}

.logo:hover svg path {
  fill: var(--color-gold-light);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition-medium);
}

nav a:hover {
  color: var(--color-text);
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-fast);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-medium);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(237, 205, 126, 0.25);
  color: var(--color-bg-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
  background: rgba(237, 205, 126, 0.1);
  color: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-padding) 0;
  padding-top: calc(var(--section-padding) + 80px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(237, 205, 126, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(237, 205, 126, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(237, 205, 126, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero h1 {
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-stat {
  padding: 20px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECTIONS - General
   ============================================ */

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.1rem;
}

/* Alternating Background */
section:nth-child(even) {
  background: var(--color-bg-darker);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  padding: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.product-card.featured {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, rgba(237, 205, 126, 0.05) 0%, var(--color-bg-card) 100%);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 205, 126, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
}

.product-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.product-card>p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
}

.product-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 600;
}

.products-cta {
  text-align: center;
}

.products-cta p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ============================================
   FEATURES / FILTER MODULES
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition-medium);
}

.feature-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 205, 126, 0.1);
  border-radius: 10px;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.feature-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(237, 205, 126, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-family: 'Consolas', monospace;
}

.features-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   USE CASES
   ============================================ */

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.usecase-card {
  padding: 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition-medium);
}

.usecase-card:hover {
  border-color: var(--color-border-hover);
}

.usecase-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.usecase-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.usecase-header h3 {
  font-size: 1.05rem;
  line-height: 1.4;
}

.usecase-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.usecase-filters code {
  display: block;
  padding: 10px 14px;
  background: var(--color-bg-darker);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.85rem;
  color: var(--color-gold);
  overflow-x: auto;
}

/* ============================================
   PROCESS
   ============================================ */

.process-steps {
  display: grid;
  gap: 32px;
  position: relative;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 32px);
  background: var(--color-border);
}

.process-step:last-child .step-number::after {
  display: none;
}

.step-content {
  padding-top: 16px;
}

.step-content h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step-content p {
  font-size: 0.95rem;
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-text h2 {
  margin-bottom: 24px;
}

.security-text>p {
  margin-bottom: 32px;
}

.security-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.security-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.security-feature svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.security-feature span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.security-visual {
  position: relative;
}

.security-visual-box {
  aspect-ratio: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.security-visual-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(237, 205, 126, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(237, 205, 126, 0.05) 0%, transparent 50%);
}

.security-visual svg {
  width: 60%;
  height: 60%;
  opacity: 0.8;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--color-gold);
  transition: var(--transition-medium);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-medium);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: var(--color-bg-darker);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(237, 205, 126, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--color-bg-darker);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-subtle);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero {
  padding-top: calc(var(--section-padding) + 100px);
  padding-bottom: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.contact-info>p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 205, 126, 0.1);
  border-radius: 10px;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.contact-detail h4 {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 1rem;
  color: var(--color-text);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group label span {
  color: var(--color-gold);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 16px 20px;
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(237, 205, 126, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a0b4c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  margin-top: 4px;
}

.form-submit {
  margin-top: 16px;
}

.form-privacy {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  text-align: center;
  margin-top: 20px;
}

.form-privacy a {
  color: var(--color-gold);
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */

.legal-page {
  padding-top: calc(var(--section-padding) + 100px);
  padding-bottom: var(--section-padding);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 20px;
}

.legal-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--color-text-muted);
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--color-gold);
}

.legal-notice {
  margin-top: 48px;
  padding: 24px;
  background: rgba(237, 205, 126, 0.1);
  border: 1px solid var(--color-gold);
  border-radius: 12px;
}

.legal-notice p {
  color: var(--color-gold);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   FILTER DOCUMENTATION PAGE
   ============================================ */

.docs-hero {
  padding-top: calc(var(--section-padding) + 100px);
  padding-bottom: 60px;
}

.docs-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.docs-hero>.container>p {
  font-size: 1.15rem;
  max-width: 700px;
}

.docs-nav {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 48px;
}

.docs-nav h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.docs-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.docs-nav-links a {
  padding: 8px 16px;
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.docs-nav-links a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.docs-section {
  margin-bottom: 60px;
}

.docs-section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold);
}

.docs-section>p {
  margin-bottom: 32px;
}

.docs-module {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.docs-module h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--color-gold);
}

.docs-module>p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.filter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.filter-table th,
.filter-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.filter-table th {
  background: var(--color-bg-darker);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-table td {
  color: var(--color-text-muted);
}

.filter-table td:first-child {
  color: var(--color-gold);
  font-family: 'Consolas', monospace;
}

.filter-table tr:hover td {
  background: rgba(237, 205, 126, 0.05);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.testimonial-card {
  max-width: 800px;
  padding: 48px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  text-align: center;
  position: relative;
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.testimonial-icon {
  margin-bottom: 24px;
  color: var(--color-gold);
}

.quote-icon {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author cite {
  font-style: normal;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Global overflow fix */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
  .security-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .security-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Reduce grid min-widths for tablet */
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .usecases-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile devices */
@media (max-width: 768px) {

  /* Reduce container padding on mobile */
  :root {
    --container-padding: 16px;
    --section-padding: clamp(40px, 8vw, 80px);
  }

  /* Navigation mobile menu */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-bg-darker);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 24px;
    transition: var(--transition-medium);
    border-left: 1px solid var(--color-border);
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.1rem;
  }

  nav .btn.btn-primary {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero section mobile */
  .hero {
    min-height: auto;
    padding-top: calc(60px + 80px);
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    word-break: break-word;
    hyphens: auto;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stat {
    width: 100%;
    padding: 16px 20px;
    min-width: auto;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  /* Section headers mobile */
  .section-header {
    margin-bottom: 40px;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Products grid mobile - force single column */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    padding: 24px;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card>p {
    font-size: 0.9rem;
  }

  /* Features grid mobile - force single column */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  /* Use cases mobile */
  .usecases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .usecase-card {
    padding: 20px;
  }

  .usecase-header h3 {
    font-size: 0.95rem;
  }

  .usecase-filters code {
    font-size: 0.75rem;
    padding: 8px 10px;
    word-break: break-all;
  }

  /* Process steps mobile */
  .process-step {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .step-number::after {
    height: calc(100% + 20px);
  }

  .step-content {
    padding-top: 8px;
  }

  .step-content h3 {
    font-size: 1.1rem;
  }

  .step-content p {
    font-size: 0.9rem;
  }

  /* Security section mobile */
  .security-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .security-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-card blockquote {
    font-size: 1.2rem;
  }

  .security-feature {
    padding: 12px;
  }

  .security-feature span {
    font-size: 0.85rem;
  }

  .security-visual-box {
    max-width: 250px;
    margin: 0 auto;
  }

  /* FAQ mobile */
  .faq-question {
    padding: 20px 0;
    font-size: 1rem;
  }

  .faq-question span {
    padding-right: 12px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  /* CTA section mobile */
  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  /* Contact page mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Filter table mobile */
  .filter-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .filter-table th,
  .filter-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  /* Docs navigation mobile */
  .docs-nav {
    padding: 16px;
  }

  .docs-nav-links {
    gap: 8px;
  }

  .docs-nav-links a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .docs-module {
    padding: 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {

  /* Even smaller typography for small screens */
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }

  /* Buttons full width on small screens */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  /* Further reduce cards padding */
  .product-card,
  .feature-card,
  .usecase-card {
    padding: 20px;
  }

  /* Hero adjustments */
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-stat {
    padding: 14px 16px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Process steps smaller */
  .process-step {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  /* FAQ smaller text */
  .faq-question {
    font-size: 0.95rem;
    padding: 16px 0;
  }

  /* Footer smaller */
  footer {
    padding: 40px 0 24px;
  }

  .footer-links h4 {
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  /* Contact form smaller */
  .contact-form-wrapper {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  /* Use case filters */
  .usecase-filters code {
    font-size: 0.7rem;
    padding: 6px 8px;
  }

  /* Section padding */
  section {
    padding: 40px 0;
  }

  /* Legal pages mobile */
  .legal-content h1 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .legal-content h2 {
    font-size: 1.2rem;
    margin-top: 32px;
  }
}

/* Very small screens (320px) */
@media (max-width: 360px) {
  :root {
    --container-padding: 12px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: 1.35rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .product-card,
  .feature-card,
  .usecase-card {
    padding: 16px;
  }

  .process-step {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
}