/* ═══════════════════════════════════════════════════
   СФОРМИРУЙ — Landing Page Styles
   Palette: #0D1117 bg, #E6EDF3 text, #F5C518 accent, #58A6FF blue
   ═══════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0D1117;
  color: #E6EDF3;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(245, 197, 24, 0.3); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0D1117; }
::-webkit-scrollbar-thumb { background: #21262D; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #30363D; }

/* ── Containers ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: #8B949E;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #F5C518;
  color: #0D1117;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  background: #FFD43B;
  transform: translateY(-2px);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  background: #F5C518;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
  transition: opacity 0.3s;
}

.btn-glow:hover::after { opacity: 0.5; }

.btn-icon { font-size: 14px; }

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

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.orb-1 {
  width: 600px; height: 600px;
  background: #F5C518;
  top: -200px; right: -100px;
  animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
  width: 400px; height: 400px;
  background: #58A6FF;
  bottom: -100px; left: -100px;
  animation: float-orb 25s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px; height: 300px;
  background: #F5C518;
  top: 50%; left: 40%;
  opacity: 0.08;
  animation: float-orb 15s ease-in-out infinite 5s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #F5C518;
  margin-bottom: 32px;
  animation: fade-in-up 0.8s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: #F5C518;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(245, 197, 24, 0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  animation: fade-in-up 0.8s ease both;
}
.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-accent {
  background: linear-gradient(135deg, #F5C518, #FFD43B, #F5C518);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #8B949E;
  margin-bottom: 40px;
  animation: fade-in-up 0.8s ease 0.4s both;
  line-height: 1.7;
}

.hero-text .btn-primary {
  animation: fade-in-up 0.8s ease 0.5s both;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: #484F58;
  animation: fade-in-up 0.8s ease 0.6s both;
}

/* Phone Mockup */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fade-in-up 1s ease 0.3s both;
}

.phone-glow {
  position: absolute;
  width: 300px; height: 500px;
  background: radial-gradient(ellipse, rgba(245, 197, 24, 0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.glow-blue {
  background: radial-gradient(ellipse, rgba(88, 166, 255, 0.12), transparent 70%);
}

.phone-frame {
  width: 300px;
  background: #1A1A1C;
  border-radius: 48px;
  border: 1.5px solid #3A3A3C;
  overflow: hidden;
  position: relative;
  padding: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 25px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(245, 197, 24, 0.05);
}

.phone-frame-lg { width: 340px; }

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #0D1117;
}

.phone-notch {
  width: 90px; height: 24px;
  background: #000;
  border-radius: 20px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-top: 8px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin-top: -20px;
  font-size: 12px;
  font-weight: 600;
  color: #E6EDF3;
  position: relative;
  z-index: 3;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E6EDF3;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #21262D;
}

.phone-header-title {
  font-size: 16px;
  font-weight: 700;
  color: #F5C518;
}

.phone-header-dot {
  width: 8px; height: 8px;
  background: #34D399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.chat-container {
  height: 380px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
}

.chat-container::-webkit-scrollbar { display: none; }

.phone-frame-lg .chat-container { height: 420px; }

.phone-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #21262D;
  color: #484F58;
  font-size: 14px;
}

.send-btn {
  width: 32px; height: 32px;
  background: #F5C518;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D1117;
}

/* Chat Messages */
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  animation: msg-appear 0.4s ease both;
  word-break: break-word;
}

.chat-msg-user {
  align-self: flex-end;
  background: #1F6FEB;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg-ai {
  align-self: flex-start;
  background: #21262D;
  color: #E6EDF3;
  border-bottom-left-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

.chat-msg-ai .highlight {
  color: #F5C518;
  font-weight: 600;
}

.chat-msg-ai .number {
  color: #58A6FF;
}

.typing-indicator {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  background: #21262D;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  animation: msg-appear 0.3s ease both;
}

.typing-dot {
  width: 7px; height: 7px;
  background: #484F58;
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

@keyframes msg-appear {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: fade-in-up 1s ease 1.5s both;
}

.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid #484F58;
  border-bottom: 2px solid #484F58;
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ═══════════════ PAINS ═══════════════ */
.section-pains {
  background: #0D1117;
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pain-card {
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5C518, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.pain-card:hover {
  border-color: rgba(245, 197, 24, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.pain-card:hover::before { opacity: 1; }

.pain-icon {
  width: 48px; height: 48px;
  background: rgba(245, 197, 24, 0.06);
  border: 1px solid rgba(245, 197, 24, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.pain-card:hover .pain-icon {
  background: rgba(245, 197, 24, 0.1);
  border-color: rgba(245, 197, 24, 0.25);
  transform: scale(1.05);
}

.pain-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #E6EDF3;
}

.pain-text {
  font-size: 15px;
  color: #8B949E;
  line-height: 1.6;
}

.pains-conclusion {
  text-align: center;
  font-size: 20px;
  color: #8B949E;
  line-height: 1.7;
}

.pains-conclusion strong {
  color: #F5C518;
  font-weight: 700;
}

/* ═══════════════ CASES ═══════════════ */
.section-cases {
  background: linear-gradient(180deg, #0D1117 0%, #0A0E14 100%);
}

.cases-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  position: relative;
  background: #161B22;
  border-radius: 12px;
  padding: 4px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.case-tab {
  padding: 10px 24px;
  background: none;
  border: none;
  color: #8B949E;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  flex: 1;
}

.case-tab.active {
  color: #0D1117;
  background: #F5C518;
  font-weight: 600;
}

.case-tab:not(.active):hover {
  color: #E6EDF3;
}

.tab-progress {
  position: absolute;
  bottom: -8px;
  left: 0; right: 0;
  height: 3px;
  background: #21262D;
  border-radius: 2px;
}

.tab-progress-bar {
  height: 100%;
  background: #F5C518;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.cases-phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

/* ═══════════════ STEPS ═══════════════ */
.section-steps {
  background: #0D1117;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 40px 32px;
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
}

.step-card:hover {
  border-color: rgba(245, 197, 24, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: #F5C518;
  flex-shrink: 0;
  margin: 0 -8px;
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(245, 197, 24, 0.1);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card:hover .step-number {
  color: rgba(245, 197, 24, 0.2);
}

.step-icon {
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #E6EDF3;
}

.step-text {
  font-size: 15px;
  color: #8B949E;
  line-height: 1.6;
}

/* ═══════════════ SECURITY ═══════════════ */
.section-security {
  background: linear-gradient(180deg, #0A0E14 0%, #0D1117 100%);
}

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

.security-card {
  text-align: center;
  padding: 48px 32px;
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: 20px;
  transition: all 0.4s ease;
}

.security-card:hover {
  border-color: rgba(88, 166, 255, 0.2);
  transform: translateY(-4px);
}

.security-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(88, 166, 255, 0.06);
  border: 1px solid rgba(88, 166, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s;
}

.security-card:hover .security-icon-wrap {
  background: rgba(88, 166, 255, 0.12);
  border-color: rgba(88, 166, 255, 0.25);
  transform: scale(1.05);
}

.security-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.security-text {
  font-size: 15px;
  color: #8B949E;
  line-height: 1.6;
}

/* ═══════════════ BETA FORM ═══════════════ */
.section-beta {
  background: #0D1117;
  padding-bottom: 60px;
}

.beta-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: start;
}

.beta-form-wrap .section-header {
  text-align: left;
  margin-bottom: 32px;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #8B949E;
  margin-bottom: 6px;
}

.required { color: #F5C518; }

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: 8px;
  color: #E6EDF3;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
}

.form-input::placeholder { color: #484F58; }

.form-input:focus {
  border-color: #F5C518;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.1);
}

.form-input.error {
  border-color: #F85149;
  box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238B949E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: #161B22;
  color: #E6EDF3;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-size: 13px;
  color: #484F58;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
}

.form-success.show {
  display: block;
  animation: fade-in-up 0.5s ease;
}

.success-icon {
  width: 64px; height: 64px;
  background: rgba(52, 211, 153, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #34D399;
}

/* Beta Badge */
.beta-badge-wrap {
  position: sticky;
  top: 40px;
}

.beta-badge {
  background: linear-gradient(135deg, #161B22, #1C2333);
  border: 1px solid #21262D;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.beta-badge::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), transparent, rgba(88, 166, 255, 0.2));
  z-index: -1;
  padding: 1px;
}

.badge-lock { font-size: 40px; margin-bottom: 16px; }

.badge-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #F5C518;
  margin-bottom: 16px;
}

.badge-divider {
  width: 40px; height: 2px;
  background: #21262D;
  margin: 0 auto 16px;
}

.badge-subtitle {
  font-size: 14px;
  color: #8B949E;
  margin-bottom: 8px;
}

.badge-date {
  font-size: 14px;
  font-weight: 600;
  color: #58A6FF;
  font-family: 'JetBrains Mono', monospace;
}

.beta-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.stat {
  background: #161B22;
  border: 1px solid #21262D;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #F5C518;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: #8B949E;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  border-top: 1px solid #21262D;
  padding: 32px 0;
}

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

.footer-brand { display: flex; align-items: center; gap: 24px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-btn {
  width: 28px; height: 28px;
  background: #F5C518;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #0D1117;
  font-weight: 900;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: #E6EDF3;
}

.footer-copy {
  font-size: 13px;
  color: #484F58;
}

.footer-link {
  color: #58A6FF;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover { color: #79C0FF; }

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[style*="--delay: 0"] { transition-delay: 0ms; }
.reveal[style*="--delay: 1"] { transition-delay: 120ms; }
.reveal[style*="--delay: 2"] { transition-delay: 240ms; }
.reveal[style*="--delay: 3"] { transition-delay: 360ms; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    order: 1;
  }

  .hero-phone-wrap {
    order: 2;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
    margin: -8px 0;
  }

  .step-card { max-width: 400px; width: 100%; }

  .beta-grid {
    grid-template-columns: 1fr;
  }

  .beta-badge-wrap {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .beta-badge { order: 1; }
  .beta-stats {
    order: 2;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .pains-grid { grid-template-columns: 1fr; }

  .security-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .phone-frame { width: 280px; border-radius: 40px; padding: 10px; }
  .phone-screen { border-radius: 30px; }
  .phone-frame-lg { width: 300px; }
  .chat-container { height: 340px; }
  .phone-frame-lg .chat-container { height: 370px; }

  .cases-tabs {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .case-tab {
    padding: 8px 14px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .beta-badge-wrap {
    grid-template-columns: 1fr;
  }

  .beta-form-wrap .section-header { text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 60px 0 30px; }

  .hero-title { margin-bottom: 16px; }

  .hero-subtitle br { display: none; }

  .phone-frame { width: 260px; border-radius: 36px; padding: 8px; }
  .phone-screen { border-radius: 28px; }
  .phone-frame-lg { width: 280px; }
  .phone-notch { width: 80px; height: 20px; }
  .chat-container { height: 300px; }
  .phone-frame-lg .chat-container { height: 340px; }

  .pain-card { padding: 24px; }

  .step-card { padding: 28px 20px; }

  .beta-badge { padding: 28px; }

  .btn-primary { padding: 14px 28px; font-size: 16px; }
}
