/* ========================================
   Saife Website - Neo-Brutalist Design
   ======================================== */

/* ========================================
   NEOBRUTALIST DESIGN TOKENS
   ======================================== */
:root {
  /* Neo-Brutalism Core Colors - Bold & Vibrant */
  --nb-bg: #FDF6E3;
  --nb-main: #FF6B4A;           /* Bright orange - primary accent */
  --nb-main-foreground: #000000;
  --nb-secondary: #FEFAE0;
  --nb-border: #000000;
  --nb-shadow: #000000;
  --nb-text: #000000;           /* Pure black for max contrast */

  /* Neo-Brutalism Accent Colors */
  --nb-yellow: #FFE566;         /* Bright yellow accent */
  --nb-cyan: #4ECDC4;           /* Cyan accent */
  --nb-pink: #FF6B9D;           /* Pink accent */
  --nb-purple: #9B5DE5;         /* Purple accent */

  /* Neobrutalism Shadows - Hard, no blur */
  --nb-shadow-x: 4px;
  --nb-shadow-y: 4px;
  --nb-shadow-offset: 4px 4px 0 0 var(--nb-shadow);
  --nb-shadow-sm: 2px 2px 0 var(--nb-shadow);
  --nb-shadow-md: 4px 4px 0 var(--nb-shadow);
  --nb-shadow-lg: 6px 6px 0 var(--nb-shadow);
  --nb-shadow-xl: 8px 8px 0 var(--nb-shadow);

  /* Neobrutalism Border - Thick & Bold */
  --nb-border-width: 3px;
  --nb-border-radius: 0;        /* Sharp corners for true neo-brutalism */
  --nb-border-radius-sm: 4px;   /* Slightly rounded option */

  /* Legacy Colors (mapped to neobrutalism) */
  --bg-cream: var(--nb-bg);
  --bg-stone: var(--nb-secondary);
  --bg-white: #FFFFFF;
  --text-primary: var(--nb-text);
  --text-secondary: #333333;    /* Darker for better contrast */
  --text-muted: #666666;        /* Darker muted text */
  --border-black: var(--nb-border);
  --border-soft: #000000;

  /* Action Colors - High contrast */
  --action-primary: var(--nb-main);
  --action-primary-hover: #E85A3A;
  --action-success: #22C55E;
  --action-warning: #FFE566;
  --action-danger: #EF4444;
  --action-info: #4ECDC4;
  --primary-light: #FFF0ED;

  /* Neo-Brutalist Design */
  --border-width: var(--nb-border-width);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --shadow-brutal: var(--nb-shadow-md);
  --shadow-small: var(--nb-shadow-sm);
  --shadow-large: var(--nb-shadow-xl);

  /* Typography - Bold & Impactful */
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Monaco', 'Menlo', monospace;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;

  /* Additional colors for support page */
  --primary: var(--nb-main);
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography - Chunky Bold Neobrutalist Headings */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.05;
  font-weight: 900;
  color: var(--nb-text);
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
  text-transform: none;
}

h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

a {
  color: var(--action-primary);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.15s ease;
  position: relative;
}

a:hover {
  color: var(--nb-text);
}

/* Bold underline effect for links */
a:not(.btn):not(.logo):not(.nav-link):not(.footer-links a)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--nb-main);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}

a:not(.btn):not(.logo):not(.nav-link):not(.footer-links a):hover::after {
  transform: scaleX(1);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========================================
   NEOBRUTALIST COMPONENT STYLES
   ======================================== */

/* NB Button - Bold neobrutalist button */
.nb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--nb-main);
  color: var(--nb-main-foreground);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  font-family: inherit;
  box-shadow: var(--nb-shadow-md);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nb-button:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

.nb-button:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

.nb-button--secondary {
  background: var(--bg-white);
  color: var(--nb-text);
}

.nb-button--dark {
  background: var(--nb-text);
  color: var(--bg-white);
}

.nb-button--yellow {
  background: var(--nb-yellow);
  color: var(--nb-text);
}

.nb-button--cyan {
  background: var(--nb-cyan);
  color: var(--nb-text);
}

/* NB Card - Card with thick border, hard shadow */
.nb-card {
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  padding: 32px;
  box-shadow: var(--nb-shadow-md);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.nb-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

.nb-card--flat {
  box-shadow: none;
}

.nb-card--flat:hover {
  transform: none;
  box-shadow: none;
}

/* NB Input - Form input with thick border */
.nb-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 500;
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  outline: none;
  transition: box-shadow 0.1s ease;
}

.nb-input:focus {
  box-shadow: var(--nb-shadow-md);
}

.nb-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* NB Badge - Badge/tag style */
.nb-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--nb-yellow);
  color: var(--nb-text);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--nb-shadow-sm);
}

.nb-badge--primary {
  background: var(--nb-main);
  color: var(--bg-white);
}

.nb-badge--dark {
  background: var(--nb-text);
  color: var(--bg-white);
}

.nb-badge--cyan {
  background: var(--nb-cyan);
  color: var(--nb-text);
}

/* ========================================
   BUTTONS (Enhanced with Neobrutalism)
   ======================================== */

/* Buttons - Neobrutalist Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  font-family: inherit;
  box-shadow: var(--nb-shadow-md);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

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

.btn-primary:hover {
  background: var(--action-primary-hover);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--nb-text);
}

.btn-secondary:hover {
  background: var(--nb-yellow);
}

.btn-dark {
  background: var(--nb-text);
  color: white;
}

.btn-dark:hover {
  background: #222222;
}

.btn-outline {
  background: transparent;
  color: var(--nb-text);
  border: var(--nb-border-width) solid var(--nb-border);
}

.btn-outline:hover {
  background: var(--nb-text);
  color: var(--bg-white);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 14px;
  box-shadow: var(--nb-shadow-sm);
}

.btn-sm:hover {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: var(--nb-shadow-lg);
}

.btn-lg:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--nb-shadow);
}

.btn-lg:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

/* Button color variants */
.btn-yellow {
  background: var(--nb-yellow);
  color: var(--nb-text);
}

.btn-yellow:hover {
  background: #FFD633;
}

.btn-cyan {
  background: var(--nb-cyan);
  color: var(--nb-text);
}

.btn-cyan:hover {
  background: #3DBDB5;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--nb-main);
}

.logo-icon {
  font-size: 28px;
  line-height: 1;
}

.logo-icon svg {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

.logo-icon-img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.1s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--nb-main);
  transform: scaleX(0);
  transition: transform 0.1s ease;
}

.nav-link:hover {
  color: var(--action-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Language Picker */
.lang-picker {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-option {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.lang-option:hover {
  color: var(--action-primary);
}

.lang-option.active {
  color: var(--action-primary);
  background: rgba(255, 107, 74, 0.1);
}

.lang-divider {
  color: var(--text-muted);
  font-size: 12px;
}

/* Nav Auth Container (logged-in state) */
.nav-auth-container {
  position: relative;
}

.nav-user-dropdown {
  position: relative;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 53, 0.1);
  border: var(--nb-border-width) solid var(--nb-main);
  border-radius: var(--nb-border-radius);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nb-main);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 0 0 var(--nb-shadow);
}

.nav-user-btn:hover {
  background: rgba(255, 107, 53, 0.2);
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--nb-shadow);
}

.nav-user-email {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: var(--nb-border-radius);
  box-shadow: var(--nb-shadow-x) var(--nb-shadow-y) 0 0 var(--nb-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-user-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-user-info {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-user-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.nav-user-email-small {
  font-size: 12px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-menu hr {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0;
}

.nav-user-menu-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-user-menu-item:hover {
  background: var(--bg-stone);
}

.nav-logout-btn {
  color: var(--action-danger);
}

.nav-logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 120px;
  background: var(--nb-main); /* Solid bold color - no gradients */
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

/* When canvas animation is active, canvas draws the background */
.hero.hero-canvas-active {
  background: transparent;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 700px;
}

.badge {
  display: inline-block;
  padding: 10px 20px;
  background: var(--nb-yellow);
  color: var(--nb-text);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
  box-shadow: var(--nb-shadow-sm);
}

.hero-title {
  color: white;
  margin-bottom: 28px;
  text-shadow: 3px 3px 0 var(--border-black);
}

.highlight {
  color: var(--nb-text);
  background: var(--nb-yellow);
  padding: 2px 10px;
  border: var(--nb-border-width) solid var(--nb-border);
}

.highlight-block {
  display: inline-block;
  color: var(--nb-text);
  background: var(--nb-yellow);
  padding: 14px 28px;
  margin-top: 20px;
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  box-shadow: var(--nb-shadow-lg);
  width: fit-content;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 20px;
  margin-bottom: 36px;
  color: white;
  line-height: 1.7;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.mockup-container {
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  padding: 20px;
  box-shadow: var(--nb-shadow-xl);
}

.mockup-screen {
  background: var(--nb-secondary);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mockup-placeholder {
  text-align: center;
  padding: 40px;
}

.mockup-icon {
  font-size: 72px;
  margin-bottom: 20px;
}

.mockup-placeholder p {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
}

.mockup-progress {
  width: 220px;
  height: 10px;
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  margin: 24px auto 0;
  overflow: hidden;
  position: relative;
}

.mockup-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--nb-main);
  animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(200%); }
}

/* Section Styles */
.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 72px;
}

.section-badge {
  display: inline-block;
  padding: 10px 24px;
  background: var(--nb-yellow);
  color: var(--nb-text);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: var(--nb-shadow-sm);
}

.section-badge-cyan {
  background: var(--nb-cyan);
}

.section-badge-pink {
  background: var(--nb-pink);
}

.section-badge-purple {
  background: var(--nb-purple);
}

.section-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-top: 24px;
  line-height: 1.7;
  font-weight: 500;
}

/* Problem Section */
.problem-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-white);
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.problem-card {
  background: var(--nb-bg);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--nb-shadow-md);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.problem-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

.problem-card:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

.problem-icon {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--nb-main);
}

.problem-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 800;
}

.problem-card p {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--nb-bg);
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--nb-shadow-md);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.feature-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

.feature-card:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

.feature-icon {
  display: inline-block;
  padding: 6px 14px;
  background: var(--nb-main);
  border: var(--nb-border-width) solid var(--nb-border);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: var(--nb-shadow-sm);
  color: var(--nb-text);
  line-height: 1.4;
}

.feature-card h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
}

/* How It Works */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-white);
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.steps {
  max-width: 850px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 36px;
  padding: 36px;
  background: var(--nb-bg);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  margin-bottom: 24px;
  box-shadow: var(--nb-shadow-md);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.step:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

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

.step-number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nb-main);
  color: white;
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  font-size: 32px;
  font-weight: 900;
  box-shadow: var(--nb-shadow-sm);
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.step-content p {
  margin: 0;
  font-size: 17px;
}

/* Use Cases */
.use-cases {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--nb-bg);
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.use-case-card {
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  padding: 44px 36px;
  box-shadow: var(--nb-shadow-md);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.use-case-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

.use-case-card:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

.use-case-icon {
  font-size: 64px;
  margin-bottom: 24px;
  color: var(--nb-main);
  line-height: 1;
}

.use-case-card h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.use-case-features {
  list-style: none;
  margin-top: 28px;
  padding-top: 28px;
  border-top: var(--nb-border-width) solid var(--nb-border);
}

.use-case-features li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-white);
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.faq-grid {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  margin-bottom: 16px;
  background: var(--nb-bg);
  overflow: hidden;
  box-shadow: var(--nb-shadow-sm);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.faq-item:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--nb-shadow);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--nb-text);
  font-family: inherit;
  transition: background 0.1s ease;
}

.faq-question:hover {
  background: var(--nb-yellow);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: var(--nb-border-width) solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  border-top-color: var(--nb-border);
}

.faq-answer p {
  padding: 24px 28px;
  margin: 0;
  line-height: 1.7;
  font-size: 17px;
  background: var(--bg-white);
}

/* CTA Section */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--nb-text);
  text-align: center;
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.cta-content h2 {
  color: white;
  margin-bottom: 24px;
  text-shadow: none;
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  margin-bottom: 48px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--nb-main);
  border-color: var(--nb-main);
  box-shadow: 6px 6px 0 rgba(255,255,255,0.4);
}

.cta-buttons .btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(255,255,255,0.4);
}

.cta-buttons .btn-primary:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 rgba(255,255,255,0.4);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border-top: var(--nb-border-width) solid var(--nb-border);
  padding: 80px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
  font-size: 16px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--nb-secondary);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  color: var(--nb-text);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: var(--nb-shadow-sm);
}

.footer-social a:hover {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--nb-shadow);
  background: var(--nb-main);
  color: white;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.1s ease;
}

.footer-links a:hover {
  color: var(--action-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  border-top: var(--nb-border-width) solid var(--nb-border);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 28px;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-bottom-links a:hover {
  color: var(--nb-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

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

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

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

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }

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

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translate(2px, 2px);
  }

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

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --nb-border-width: 2px; /* Slightly thinner borders on mobile */
  }

  /* Hide hero canvas animation on mobile */
  .hero-canvas {
    display: none;
  }

  /* Ensure hero has solid background when canvas is hidden */
  .hero,
  .hero.hero-canvas-active {
    background: var(--nb-main);
  }

  /* Mobile sections - reduced padding */
  .problem-section,
  .features-section,
  .how-it-works,
  .use-cases,
  .faq-section,
  .pricing-section {
    padding: 80px 0;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 28px;
    border-bottom: 3px solid var(--nb-border);
    box-shadow: 0 6px 0 0 var(--nb-shadow);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    gap: 20px;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link::after {
    display: none;
  }

  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    border: 2px solid var(--nb-border);
    background: var(--bg-white);
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 0 var(--nb-shadow);
  }

  .hamburger:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--nb-shadow);
  }

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

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

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

  .hero {
    padding: 60px 0 80px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .problem-grid,
  .features-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .section-header {
    margin-bottom: 48px;
  }

  /* Pricing cards - horizontal swipeable carousel on mobile */
  .pricing-section .container {
    padding-left: 0;
    padding-right: 0;
  }

  .pricing-section .section-header {
    padding: 0 20px;
  }

  .pricing-grid,
  .pricing-grid-4 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 20px 20px 30px 20px;
    margin: 0;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .pricing-grid::-webkit-scrollbar,
  .pricing-grid-4::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    padding: 28px 24px;
    box-shadow: var(--shadow-small);
    margin: 0;
  }

  .pricing-card-featured {
    margin-top: 10px;
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translate(2px, 2px);
  }

  /* Sort pricing cards by price ascending on mobile */
  .pricing-card:nth-child(1) { order: 1; } /* Family €199 */
  .pricing-card:nth-child(2) { order: 2; } /* Team €499 */
  .pricing-card:nth-child(3) { order: 3; } /* School €1,200 */
  .pricing-card:nth-child(4) { order: 4; } /* Enterprise Custom */

  .pricing-badge {
    top: -10px;
  }

  .pricing-price .price {
    font-size: 36px;
  }

  .pricing-features {
    margin-bottom: 24px;
  }

  .pricing-features li {
    padding: 6px 0;
    font-size: 14px;
  }

  /* Carousel indicators */
  .pricing-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 20px 20px;
  }

  .pricing-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-soft);
    border: 1px solid var(--border-black);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .pricing-carousel-dot.active {
    background: var(--nb-main);
    width: 24px;
    border-radius: 4px;
  }

  /* Carousel navigation arrows on mobile */
  .pricing-carousel-nav {
    display: block;
  }

  .pricing-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .pricing-carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .pricing-carousel-arrow-prev {
    left: 4px;
  }

  .pricing-carousel-arrow-next {
    right: 4px;
  }

  /* Carousel controls container */
  .pricing-carousel-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 20px 20px;
  }

  .pricing-carousel-controls .pricing-carousel-dots {
    padding: 0;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Prevent long German words from overflowing horizontally */
  h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  /* Reduce large heading sizes that overflow on narrow phones */
  h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  h3 {
    font-size: clamp(1.1rem, 4vw, 1.75rem);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 16px 24px;
    font-size: 16px;
  }

  /* Extra small screens - pricing adjustments */
  .pricing-section {
    padding: 60px 0;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .pricing-header h3 {
    font-size: 20px;
  }

  .pricing-price .price {
    font-size: 32px;
  }

  .pricing-price .period {
    font-size: 14px;
  }

  /* Problem cards smaller */
  .problem-card {
    padding: 24px 16px;
  }

  .problem-icon {
    font-size: 36px;
  }

  /* Feature cards smaller */
  .feature-card {
    padding: 28px 20px;
  }

  .feature-icon {
    font-size: 18px;
  }

  /* Use case cards smaller */
  .use-case-card {
    padding: 28px 20px;
  }

  .use-case-icon {
    font-size: 42px;
  }

  /* Highlight block in hero */
  .highlight-block {
    padding: 10px 16px;
    font-size: 0.9em;
  }

  /* Smaller carousel arrows on very small screens */
  .pricing-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .pricing-carousel-arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* Interactive Hero Canvas */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Liquid Background Animation (legacy - kept for fallback) */
.liquid-bg {
  display: none;
}

@keyframes blob-float {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(50px, -30px) scale(1.05) rotate(5deg);
  }
  50% {
    transform: translate(-20px, 40px) scale(0.95) rotate(-5deg);
  }
  75% {
    transform: translate(30px, 20px) scale(1.02) rotate(3deg);
  }
}

/* Hero Centered (without mockup) */
.hero-centered {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-centered .hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-centered .hero-cta {
  justify-content: center;
}

/* Pricing Section */
.pricing-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-white);
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.pricing-card {
  position: relative;
  background: var(--nb-bg);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--nb-shadow-md);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.pricing-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--nb-shadow-sm);
}

.pricing-card:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--nb-shadow);
}

.pricing-card-featured {
  background: var(--nb-main);
  color: white;
  transform: scale(1.03);
  z-index: 1;
  box-shadow: var(--nb-shadow-lg);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--nb-shadow);
}

.pricing-card-featured .pricing-header p,
.pricing-card-featured .pricing-features li {
  color: rgba(255, 255, 255, 0.95);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nb-yellow);
  color: var(--nb-text);
  padding: 10px 24px;
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: var(--nb-shadow-sm);
}

.pricing-header {
  margin-bottom: 28px;
}

.pricing-header h3 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 900;
}

.pricing-card-featured .pricing-header h3 {
  color: white;
}

.pricing-header p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
  font-weight: 500;
}

.pricing-price {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: var(--nb-border-width) solid var(--nb-border);
}

.pricing-card-featured .pricing-price {
  border-color: rgba(255, 255, 255, 0.3);
}

.pricing-price .price {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-price .period {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 600;
}

.pricing-card-featured .pricing-price .period {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}

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

.pricing-card-featured .pricing-features li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Carousel dots - hidden on desktop */
.pricing-carousel-dots {
  display: none;
}

/* Pricing Carousel Navigation Arrows */
.pricing-carousel-wrapper {
  position: relative;
}

.pricing-carousel-nav {
  display: none;
}

.pricing-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 0 var(--nb-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
  z-index: 10;
}

.pricing-carousel-arrow:hover {
  transform: translateY(-50%) translate(3px, 3px);
  box-shadow: 0 0 0 0 var(--nb-shadow);
}

.pricing-carousel-arrow:active {
  transform: translateY(-50%) translate(3px, 3px);
  box-shadow: 0 0 0 0 var(--nb-shadow);
}

.pricing-carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pricing-carousel-arrow:disabled:hover {
  transform: translateY(-50%);
  box-shadow: 3px 3px 0 0 var(--nb-shadow);
}

.pricing-carousel-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  stroke-width: 2.5;
  fill: none;
}

.pricing-carousel-arrow-prev {
  left: 8px;
}

.pricing-carousel-arrow-next {
  right: 8px;
}

.pricing-carousel-controls {
  display: none;
}

/* Footer 4 columns */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

/* Accessibility - Neo-Brutalist Focus States */
a:focus, button:focus {
  outline: 3px solid var(--nb-main);
  outline-offset: 3px;
}

/* Focus styles for interactive cards */
.feature-card:focus-within,
.pricing-card:focus-within,
.problem-card:focus-within,
.use-case-card:focus-within {
  outline: 3px solid var(--nb-main);
  outline-offset: 4px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--nb-yellow);
  color: var(--nb-text);
  padding: 12px 24px;
  z-index: 100;
  font-weight: 800;
  border: 3px solid var(--nb-border);
  text-transform: uppercase;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   FORM STYLES (Neobrutalist)
   ======================================== */

/* Standard form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 16px 20px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 500;
  background: var(--bg-white);
  border: var(--nb-border-width) solid var(--nb-border);
  border-radius: 0;
  outline: none;
  transition: box-shadow 0.1s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  box-shadow: var(--nb-shadow-md);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* Labels */
label {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--nb-text);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form groups */
.form-group {
  margin-bottom: 24px;
}

/* Checkbox and Radio - Neobrutalist style */
input[type="checkbox"],
input[type="radio"] {
  width: 24px;
  height: 24px;
  border: var(--nb-border-width) solid var(--nb-border);
  background: var(--bg-white);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  vertical-align: middle;
  margin-right: 10px;
}

input[type="checkbox"] {
  border-radius: 0;
}

input[type="radio"] {
  border-radius: 0;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--nb-main);
  box-shadow: inset 0 0 0 4px var(--bg-white);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  box-shadow: var(--nb-shadow-sm);
}

/* Print Styles */
@media print {
  .navbar, .footer, .cta-section {
    display: none;
  }
}
