/* ========================================
   YOU2AI.DE — Stylesheet
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #E2E8F0;
  background: #0A0E1A;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.2; color: #F8FAFC; }

/* --- Colors --- */
:root {
  --c-bg: #0A0E1A;
  --c-surface: #111827;
  --c-surface-2: #1E293B;
  --c-primary: #7C3AED;
  --c-primary-light: #A78BFA;
  --c-accent: #06B6D4;
  --c-accent-light: #22D3EE;
  --c-text: #E2E8F0;
  --c-text-muted: #94A3B8;
  --c-white: #F8FAFC;
  --c-border: #1E293B;
  --c-gradient: linear-gradient(135deg, #7C3AED, #06B6D4);
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --radius: 12px;
  --radius-lg: 20px;
}

/* --- Container --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.25s ease; cursor: pointer;
  border: none; line-height: 1;
}
.btn-primary {
  background: var(--c-gradient); color: #fff;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(124,58,237,0.5);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: var(--c-white);
  border: 1.5px solid var(--c-text-muted);
}
.btn-secondary:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ========================================
   A. HEADER
   ======================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,14,26,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  transition: background 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--c-white); }
.logo-accent { color: var(--c-accent); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.9rem; color: var(--c-text-muted); font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--c-white); }
.nav-cta { padding: 10px 22px; font-size: 0.85rem; }

/* Mobile toggle */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 24px; height: 2px; background: var(--c-white);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.mobile-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.mobile-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ========================================
   B. HERO
   ======================================== */
.hero {
  padding: 160px 0 100px;
  background: radial-gradient(ellipse at 30% 20%, rgba(124,58,237,0.15), transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(6,182,212,0.1), transparent 50%),
              var(--c-bg);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  font-size: 0.8rem; color: var(--c-primary-light); font-weight: 500;
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--c-white) 0%, var(--c-accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subline {
  font-size: 1.1rem; color: var(--c-text-muted); margin-bottom: 32px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.video-mockup {
  width: 100%; max-width: 460px;
  background: var(--c-surface); border-radius: var(--radius-lg);
  border: 1px solid var(--c-border); overflow: hidden;
  box-shadow: var(--shadow), 0 0 60px rgba(124,58,237,0.1);
}
.mockup-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mockup-dots span:first-child { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:last-child { background: #22C55E; }
.mockup-title { font-size: 0.75rem; color: var(--c-text-muted); }
.mockup-body { padding: 24px; }
.mockup-video-area {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.1));
  border-radius: var(--radius); padding: 40px; text-align: center;
  border: 1px dashed rgba(124,58,237,0.3); margin-bottom: 16px;
}
.mockup-video-icon {
  width: 64px; height: 64px; margin: 0 auto 12px;
  background: var(--c-gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mockup-video-icon svg { width: 28px; height: 28px; }
.mockup-video-text { font-size: 0.8rem; color: var(--c-text-muted); }
.mockup-progress {
  height: 4px; background: var(--c-surface-2); border-radius: 2px;
  overflow: hidden; margin-bottom: 16px;
}
.mockup-progress-bar {
  height: 100%; width: 72%; border-radius: 2px;
  background: var(--c-gradient);
  animation: progressPulse 2s ease-in-out infinite;
}
@keyframes progressPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.mockup-stats { display: flex; gap: 16px; }
.mockup-stat {
  flex: 1; padding: 10px; background: var(--c-surface-2);
  border-radius: 8px; text-align: center;
}
.mockup-stat-value { display: block; font-weight: 700; font-size: 0.95rem; color: var(--c-accent); }
.mockup-stat-label { font-size: 0.7rem; color: var(--c-text-muted); }

/* ========================================
   C. TRUST STRIP
   ======================================== */
.trust-strip { padding: 40px 0; border-bottom: 1px solid var(--c-border); }
.trust-list { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--c-text-muted);
}
.trust-icon { flex-shrink: 0; }

/* ========================================
   D. SECTIONS COMMON
   ======================================== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--c-text-muted); max-width: 680px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--c-accent); margin-bottom: 12px;
}

/* ========================================
   E. SERVICE A — TEXT-TO-VIDEO
   ======================================== */
.service-a { padding: 100px 0; }
.service-a-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-a-content { }
.service-a-content .section-label { text-align: left; }
.service-a-content .section-title { text-align: left; }
.service-a-desc { font-size: 1.05rem; color: var(--c-text-muted); margin-bottom: 28px; }
.service-a-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px;
  background: rgba(124,58,237,0.15); display: flex;
  align-items: center; justify-content: center;
}
.feature-icon svg { width: 16px; height: 16px; }
.feature-text { font-size: 0.95rem; color: var(--c-text); }

/* Steps */
.steps-visual {
  display: flex; flex-direction: column; gap: 0;
}
.step {
  display: flex; align-items: flex-start; gap: 20px;
  position: relative; padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step-line {
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
}
.step-number {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-gradient); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0; position: relative; z-index: 1;
}
.step-connector {
  width: 2px; flex: 1; min-height: 32px;
  background: linear-gradient(to bottom, var(--c-primary), rgba(124,58,237,0.2));
}
.step:last-child .step-connector { display: none; }
.step-content { padding-top: 8px; }
.step-title { font-size: 1.05rem; font-weight: 600; color: var(--c-white); margin-bottom: 4px; }
.step-desc { font-size: 0.9rem; color: var(--c-text-muted); }

/* ========================================
   F. SERVICE B — DIGITAL TWINS
   ======================================== */
.service-b {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg) 100%);
}
.twin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.twin-card {
  background: var(--c-surface-2); border-radius: var(--radius-lg);
  border: 1px solid var(--c-border); padding: 40px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.twin-card:hover {
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 8px 32px rgba(124,58,237,0.1);
}
.twin-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.twin-card-icon.individual { background: rgba(124,58,237,0.15); }
.twin-card-icon.enterprise { background: rgba(6,182,212,0.15); }
.twin-card-icon svg { width: 28px; height: 28px; }
.twin-card-title { font-size: 1.3rem; margin-bottom: 16px; }
.twin-card-desc { font-size: 0.95rem; color: var(--c-text-muted); margin-bottom: 20px; line-height: 1.7; }
.twin-card-highlight {
  padding: 16px; background: rgba(124,58,237,0.08);
  border-radius: 8px; border-left: 3px solid var(--c-primary);
  font-size: 0.9rem; color: var(--c-text); font-style: italic;
}
.twin-card:nth-child(2) .twin-card-highlight {
  background: rgba(6,182,212,0.08);
  border-left-color: var(--c-accent);
}

/* ========================================
   G. HOW IT WORKS
   ======================================== */
.how-it-works { padding: 100px 0; }
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hiw-step {
  text-align: center; padding: 40px 28px;
  background: var(--c-surface); border-radius: var(--radius-lg);
  border: 1px solid var(--c-border); transition: border-color 0.3s;
}
.hiw-step:hover { border-color: rgba(124,58,237,0.3); }
.hiw-number {
  width: 52px; height: 52px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--c-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 1.2rem; color: #fff;
}
.hiw-title { font-size: 1.1rem; margin-bottom: 12px; }
.hiw-desc { font-size: 0.9rem; color: var(--c-text-muted); }

/* ========================================
   H. PRICING HINT
   ======================================== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-surface) 100%);
}
.pricing-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--c-surface-2); border-radius: var(--radius-lg);
  border: 1px solid var(--c-border); padding: 48px;
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--c-gradient);
}
.pricing-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(34,211,238,0.1); border: 1px solid rgba(6,182,212,0.3);
  font-size: 0.8rem; color: var(--c-accent-light); font-weight: 600;
  margin-bottom: 20px;
}
.pricing-title { font-size: 1.8rem; margin-bottom: 16px; }
.pricing-desc { font-size: 1rem; color: var(--c-text-muted); margin-bottom: 32px; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; text-align: left; }
.pricing-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; color: var(--c-text);
}
.pricing-feature svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--c-accent); }

/* ========================================
   I. CTA
   ======================================== */
.cta-section {
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12), transparent 70%);
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.cta-desc { font-size: 1.05rem; color: var(--c-text-muted); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========================================
   J. FOOTER
   ======================================== */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--c-border); background: var(--c-surface);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.85rem; color: var(--c-text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-link { font-size: 0.85rem; color: var(--c-text-muted); transition: color 0.2s; }
.footer-link:hover { color: var(--c-white); }

/* ========================================
   K. REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   L. RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-subline { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; }
  .video-mockup { max-width: 380px; }

  .service-a-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-a-content .section-label,
  .service-a-content .section-title { text-align: center; }
  .service-a-desc { text-align: center; }
  .service-a-features { align-items: center; }

  .twin-cards { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(10,14,26,0.98); backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; gap: 32px;
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: center; gap: 24px; }
  .nav-link { font-size: 1.1rem; }
  .trust-list { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-headline { font-size: 1.8rem; }
  .mockup-stats { flex-direction: column; }
}
