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

:root {
  --orange: #f97316;
  --orange-dim: #c2540a;
  --orange-glow: rgba(249, 115, 22, 0.18);
  --bg: #0c0804;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #faf5ee;
  --muted: rgba(250, 245, 238, 0.45);
  --radius: 14px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Grain texture overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Layout ── */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px 40px;
  gap: 60px;
}

/* ── Left content ── */
.content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.tld {
  color: var(--orange);
}

/* Headline */
.headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.headline em {
  font-style: italic;
  color: var(--orange);
}

/* Subline */
.subline {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
  max-width: 380px;
}

/* Form */
.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.input-row {
  display: flex;
  gap: 8px;
  max-width: 440px;
}

input[type="email"] {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

input[type="email"]::placeholder {
  color: rgba(250, 245, 238, 0.28);
}

input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

button[type="submit"] {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.3);
}

button[type="submit"]:hover {
  background: var(--orange-dim);
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(249, 115, 22, 0.4);
}

button[type="submit"]:active {
  transform: translateY(0);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

button[type="submit"]:hover .btn-arrow {
  transform: translateX(3px);
}

.form-message {
  margin-top: 10px;
  font-size: 0.85rem;
  min-height: 1.2em;
  transition: color 0.2s;
}

.form-message.success { color: #4ade80; }
.form-message.error   { color: #f87171; }
.form-message.info    { color: var(--orange); }

/* Count */
.count-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatars {
  display: flex;
  margin-right: 4px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-right: -8px;
}

.av1 { background: linear-gradient(135deg, #f97316, #ea580c); }
.av2 { background: linear-gradient(135deg, #fb923c, #c2410c); }
.av3 { background: linear-gradient(135deg, #fdba74, #f97316); }

.count-text {
  font-size: 0.85rem;
  color: var(--muted);
}

#count {
  color: var(--text);
  font-weight: 500;
}

/* ── Right visual ── */
.visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb {
  border-radius: 50%;
  position: absolute;
}

.orb-main {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 40% 40%, rgba(249, 115, 22, 0.22), rgba(249, 115, 22, 0.04) 70%);
  border: 1px solid rgba(249, 115, 22, 0.15);
  animation: pulse 6s ease-in-out infinite;
}

.orb-sm {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 60% 60%, rgba(249, 115, 22, 0.12), transparent 70%);
  animation: pulse 6s ease-in-out infinite reverse;
}

.orb-xs {
  width: 80px;
  height: 80px;
  top: 80px;
  right: 80px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%);
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.8; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating tags */
.tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: blink 1.5s ease-in-out infinite;
}

.dot-green {
  background: #4ade80;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.tag-1 {
  top: 18%;
  left: 6%;
  animation: float 5s ease-in-out infinite;
}

.tag-2 {
  top: 36%;
  right: 0%;
  animation: float 5s ease-in-out infinite 1s;
}

.tag-3 {
  bottom: 22%;
  left: 10%;
  animation: float 5s ease-in-out infinite 2s;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 24px 40px;
  font-size: 0.78rem;
  color: rgba(250, 245, 238, 0.22);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 32px;
    gap: 40px;
  }

  .visual {
    height: 260px;
    order: -1;
  }

  .orb-main { width: 200px; height: 200px; }
  .orb-sm { width: 110px; height: 110px; }

  .subline br { display: none; }
  .input-row { flex-direction: column; }
  button[type="submit"] { width: 100%; justify-content: center; }
}
