:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --panel-2: #fbfdff;
  --text: #0b0b10;
  --muted: #58627a;
  --brand: #4fb8ff;
  --brand-2: #22c1a1;
  --accent: #22c1a1;
  --danger: #e24d4d;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(15, 35, 65, .08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(79,184,255,.25), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(34,193,161,.18), transparent 65%),
    linear-gradient(180deg, #ffffff, #f4f8ff);
  filter: saturate(110%);
  z-index: -2;
}

.nav {
  position: sticky;
  top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700;
}
.brand img { display: block; }

.hamburger { background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 8px; }
.hamburger:hover { background: rgba(0,0,0,.05); }
.hamburger span { display: block; width: 22px; height: 2px; background: #333c4a; margin: 4px 0; border-radius: 2px; }

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

.hero { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; padding: 32px 0 18px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.2fr .8fr; padding: 56px 0 24px; }
}

.appname {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ff9f4a, #ff3d71);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__text h1 {
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #0b0b10, #31445a 45%, #0f7f68 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: #1e2737; opacity: .92; font-size: clamp(16px, 1.9vw, 20px); margin: 0 0 16px; }

.quote { border: 1px solid rgba(0,0,0,.08); background: linear-gradient(180deg, #ffffff, #fbfdff); padding: 14px 16px; border-radius: var(--radius); color: var(--muted); box-shadow: var(--shadow); }
.quote p { margin: 0; }

.contact-inline { margin-top: 16px; }
.email { color: var(--brand); text-decoration: none; font-weight: 600; }
.email:hover { text-decoration: underline; }

.hero__visual { display: grid; place-items: center; }
.phone { width: min(320px, 90%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.18)); }

.features { margin: 60px 0; padding: 40px 0; }
.features__grid { 
  display: grid; 
  gap: 24px; 
  grid-template-columns: 1fr; 
}
@media (min-width: 768px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 35, 65, .12);
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(79,184,255,.1), rgba(34,193,161,.1));
  border-radius: 20px;
  border: 1px solid rgba(79,184,255,.2);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

.contact { margin-top: 28px; padding: 18px; background: linear-gradient(180deg, #ffffff, #f9fbff); border: 1px solid rgba(0,0,0,.08); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }
.contact h2 { margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 28px); }
.contact p { margin: 0 0 18px; color: var(--muted); }

.beta { margin-top: 16px; display: grid; gap: 12px; padding: 14px; background: linear-gradient(180deg, #fff, #fbfdff); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; box-shadow: var(--shadow); }
.btn-cta { 
  font-size: 15px; 
  padding: 10px 14px; 
  text-decoration: none; 
  display: inline-block; 
  width: fit-content; 
}

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { color: #c7d2e0; font-size: 14px; }
.field-security label { color: #0b0b10 !important; }
.field input, .field textarea {
  width: 100%;
  background: var(--panel);
  color: var(--text);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  outline: none;
  padding: 12px 14px;
  transition: border .15s ease, box-shadow .15s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa7bd; }
.field input:focus, .field textarea:focus { border-color: rgba(79,184,255,.7); box-shadow: 0 0 0 6px rgba(79,184,255,.18); background: var(--panel-2); }

.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn {
  appearance: none;
  border: 0; cursor: pointer; font-weight: 700;
  padding: 12px 16px; border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  box-shadow: 0 10px 22px rgba(79,184,255,.25), 0 8px 20px rgba(34,193,161,.18);
}
.btn:hover { filter: saturate(110%); }
.hint { color: var(--muted); font-size: 13px; }
.hint.error { color: #e24d4d !important; }
.hint.success { 
  color: #22c1a1 !important; 
  font-size: 16px; 
  font-weight: 600; 
  text-align: center; 
  padding: 20px; 
  background: linear-gradient(180deg, #f0fdfa, #ecfdf5); 
  border: 1px solid #22c1a1; 
  border-radius: 12px; 
  margin-top: 20px;
}

.footer { max-width: 1100px; margin: 24px auto; padding: 0 24px 32px; color: #6b788b; }
