/* webforme.ai Marketing Page */

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --text: #1a202c;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --radius: 12px;
}

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

body {
  font-family: 'Inter', 'Heebo', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid #edf2f7;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.nav-logo span {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

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

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

.btn-lg {
  padding: 14px 32px;
  font-size: 17px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-sub {
  font-size: 20px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Features */
.features {
  padding: 80px 0;
}

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

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid #edf2f7;
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: #eef2ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* Signup */
.signup-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.signup-card {
  max-width: 480px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.signup-card h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.signup-card > p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.signup-form .form-group {
  margin-bottom: 18px;
  text-align: right;
}

.signup-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
}

.signup-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.slug-input-wrapper {
  position: relative;
  direction: ltr;
}

.slug-input-wrapper input {
  padding-left: 130px;
}

.slug-suffix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
  pointer-events: none;
}

.signup-error {
  color: #e53e3e;
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

/* Footer */
.footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .signup-card { padding: 32px 24px; }
}
