/* Custom styles for maschinen-training.de landing page */

:root {
  --primary: #1a9fd4;
  --primary-dark: #147ba8;
  --bg: #31434f;
  --bg-dark: #263540;
  --bg-darker: #1a2830;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: #e2e8f0;
}

/* Gradient hero background */
.hero-gradient {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg) 50%, var(--bg-dark) 100%);
}

/* Glow effect on feature cards */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(38, 181, 239, 0.3);
}

/* CTA button pulse */
.cta-btn {
  background: var(--primary);
  transition: background 0.2s, transform 0.1s;
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.cta-btn:active {
  transform: scale(0.98);
}

/* Phone frame around screenshots */
.phone-frame {
  background: #1a1a1a;
  border-radius: 2rem;
  padding: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 0.3rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  z-index: 1;
}

.phone-frame img {
  border-radius: 1.4rem;
  width: 100%;
  display: block;
}
