/* Font faces: Doran (served from Flask via /assets/fonts) */
@font-face {
  font-family: 'Doran';
  src: url('/assets/fonts/woff2/Doran-Regular.woff2') format('woff2'),
       url('/assets/fonts/woff/Doran-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Doran';
  src: url('/assets/fonts/woff2/Doran-Medium.woff2') format('woff2'),
       url('/assets/fonts/woff/Doran-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Doran';
  src: url('/assets/fonts/woff2/Doran-Bold.woff2') format('woff2'),
       url('/assets/fonts/woff/Doran-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b12;
  --bg-2: #0b1120;
  --text: #e6ecff;
  --muted: #a6b0c2;
  --primary: #6ea8ff;
  --primary-2: #8e7cff;
  --accent: #00e0c7;
  --danger: #ff6b6b;
  --success: #22c55e;
  --surface: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --ring: rgba(142, 124, 255, 0.6);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --shadow-lg: 0 10px 30px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.05) inset;
  --container: 1160px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IRANSansX', 'IRANSans', 'Vazirmatn', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  background: linear-gradient(180deg, var(--bg), var(--bg));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent);
  color: #002922;
  padding: 8px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  z-index: 1000;
}
.skip-link:focus { top: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Bold headings should use Doran */
h1, h2, h3, h4, h5, h6, strong, b, .brand-name { font-family: 'Doran', inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(140%) blur(10px); background: linear-gradient(180deg, rgba(7,11,18,.7), rgba(7,11,18,.3) 60%, rgba(7,11,18,0)); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 10px; background: conic-gradient(from 180deg at 50% 50%, var(--primary), var(--primary-2), var(--accent), var(--primary)); box-shadow: 0 6px 18px rgba(110,168,255,.35); }
.brand-name { font-weight: 700; letter-spacing: .2px; }
.top-nav { display: flex; gap: 18px; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s ease; }
.top-nav a:hover, .top-nav a:focus { color: var(--text); outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

/* Hero Section */
.hero { padding: 64px 0 40px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }

.urgency-badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255,107,107,.15), rgba(255,107,107,.08));
  border: 1px solid rgba(255,107,107,.3);
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

.hero-title { font-size: clamp(28px, 4vw, 52px); line-height: 1.25; margin: 10px 0 14px; }
.gradient-text { background: linear-gradient(90deg, var(--text), var(--primary) 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { color: var(--muted); font-size: clamp(15px, 1.9vw, 18px); line-height: 1.9; margin: 0 0 22px; }

.social-proof-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 12px 0;
}
.avatars { display: flex; align-items: center; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; margin-left: -8px; border: 2px solid var(--bg); font-size: 14px; }
.more { width: 24px; height: 24px; border-radius: 50%; background: var(--muted); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-left: 4px; }
.social-proof-mini p { margin: 0; font-size: 14px; }

.cta-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); }
.special-offer { margin-bottom: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(18,255,217,.12); border: 1px solid rgba(18,255,217,.35); color: var(--text); }

/* Form layout */
.waitlist-form { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; color: var(--text); font-size: .95rem; font-family: 'Doran', inherit; display: flex; align-items: center; gap: 6px; }
.field input[type="email"] { direction: ltr; text-align: left; width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.05); color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; font-size: 16px; }
.field input::placeholder { color: #9aa3b2; }
.field input:focus { border-color: var(--ring); box-shadow: 0 0 0 4px rgba(142,124,255,.15); background: rgba(255,255,255,.08); }

/* Chips */
.track-group { display: flex; flex-wrap: wrap; gap: 8px; }
.track-chip { display: inline-flex; align-items: center; }
.track-chip input { display: none; }
.track-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.06); color: var(--text); cursor: pointer; user-select: none; transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.track-chip:hover span { transform: translateY(-1px); background: rgba(255,255,255,.1); }
.track-chip input:checked + span { background: rgba(0,224,199,.18); border-color: rgba(0,224,199,.45); box-shadow: 0 0 0 4px rgba(0,224,199,.14); color: var(--text); }
.track-chip input:checked + span::after { content: ' ✓'; color: #12ffd9; font-weight: 700; }
.track-chip input:focus-visible + span { outline: 0; box-shadow: 0 0 0 4px rgba(142,124,255,.35); border-color: var(--ring); }
.track-chip:has(input:checked) span { background: rgba(0,224,199,.18); border-color: rgba(0,224,199,.45); box-shadow: 0 0 0 4px rgba(0,224,199,.14); }

/* CTA */
.waitlist-actions { display: grid; gap: 8px; margin-top: 6px; }
.waitlist-actions button { width: 100%; padding: 18px; font-size: 17px; white-space: nowrap; border: 0; border-radius: var(--radius); color: #0b0f1a; background: linear-gradient(135deg, var(--accent), #12ffd9); box-shadow: 0 10px 24px rgba(0,224,199,.35), 0 1px 0 rgba(255,255,255,.2) inset; font-weight: 700; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, filter .2s ease; font-family: 'Doran', inherit; }
.waitlist-actions button:hover, .waitlist-actions button:focus { transform: translateY(-1px); filter: saturate(110%); box-shadow: 0 14px 28px rgba(0,224,199,.45); outline: 2px solid var(--accent); outline-offset: 2px; }
.waitlist-actions button:active { transform: translateY(0); }
.waitlist-actions button[disabled] { opacity: .7; cursor: not-allowed; transform: none; }

.trust-signals { margin-top: 12px; text-align: center; }
.privacy { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.guarantee { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); padding: 6px 12px; border-radius: 8px; color: var(--success); font-size: .85rem; display: inline-block; }

.cta-aux { text-align: center; color: var(--muted); font-size: .92rem; }

.cta-note { margin: 10px 2px 6px; color: var(--text); }
.cta-note strong { color: var(--accent); }
.success { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius); background: rgba(0,224,199,.08); border: 1px solid rgba(0,224,199,.25); color: #bafff5; }
.success-icon { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:8px; background:#12ffd9; color:#002922; font-weight:700; }

/* Visual */
.hero-visual { position: relative; min-height: 320px; }
.orb { position: absolute; border-radius: 999px; filter: blur(18px); opacity: .6; mix-blend-mode: screen; }
.orb-1 { width: 220px; height: 220px; background: radial-gradient(circle, var(--primary-2), transparent 70%); top: 6%; inset-inline-start: 12%; animation: float 10s ease-in-out infinite; }
.orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, var(--primary), transparent 70%); bottom: 6%; inset-inline-end: 10%; animation: float 12s ease-in-out infinite reverse; }
.glass.demo-card { position: absolute; inset: 18% 10% auto auto; width: clamp(240px, 40vw, 380px); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)); border: 1px solid var(--border); border-radius: 18px; padding: 14px; backdrop-filter: blur(10px) saturate(140%); box-shadow: var(--shadow-lg); }
.demo-row { display:flex; align-items:center; gap:10px; padding:10px 8px; }
.demo-row + .demo-row { border-top: 1px solid var(--border); }
.demo-row .dot { width: 10px; height: 10px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,224,199,.12); }
.demo-row .bar { flex: 1; height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.1)); position: relative; overflow: hidden; }
.demo-row .bar.long { width: 80%; }
.demo-row .bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transform: translateX(-100%); animation: shimmer 2.2s linear infinite; }

.floating-logos { position: absolute; inset: 0; pointer-events: none; perspective: 900px; }
.logo { position: absolute; width: 72px; height: 72px; border-radius: 20px; display:flex; align-items:center; justify-content:center; font-weight:800; font-family:'Doran',inherit; color:#0b0f1a; box-shadow: 0 14px 40px rgba(0,0,0,.35); transform-style: preserve-3d; transform: translateZ(0); will-change: transform, filter; animation: floatLogo 8s ease-in-out infinite; }
.logo::after { content: attr(data-label); position:absolute; bottom:-22px; left:50%; transform: translateX(-50%); font-size:12px; color: var(--muted); text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.logo { background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.logo img { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.logo-python { top: 6%; inset-inline-end: 8%; animation-delay: .2s; }
.logo-js { top: 32%; inset-inline-end: 2%; animation-delay: .8s; }
.logo-react { top: 14%; inset-inline-start: 0%; animation-delay: 1.2s; }
.logo-go { bottom: 12%; inset-inline-end: 12%; animation-delay: .5s; }
.logo-rust { bottom: 6%; inset-inline-start: 2%; animation-delay: 1.5s; }

.logo { filter: saturate(110%) contrast(105%); }
.logo:hover { filter: brightness(110%); }

@keyframes floatLogo { 0% { transform: translate3d(0,0,0) rotateX(0deg) rotateY(0deg); } 50% { transform: translate3d(0,-10px,10px) rotateX(6deg) rotateY(-6deg); } 100% { transform: translate3d(0,0,0) rotateX(0deg) rotateY(0deg); } }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; margin-top: 18px; }
  .logo { width: 60px; height: 60px; border-radius: 16px; }
}

@media (max-width: 560px) {
  .logo { width: 48px; height: 48px; border-radius: 14px; }
  .logo::after { display:none; }
}

/* Social Proof Section */
.social-proof { padding: 60px 0; background: rgba(255,255,255,.02); }
.section-title { text-align: center; font-size: clamp(24px, 3vw, 36px); margin: 0 0 40px; font-family: 'Doran', inherit; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; height: 100%; }
.testimonial-content p { margin: 0 0 16px; font-style: italic; line-height: 1.7; }
.testimonial-author strong { display: block; margin-bottom: 4px; color: var(--text); }
.testimonial-author span { color: var(--muted); font-size: .9rem; }

/* Benefits Section */
.benefits { padding: 60px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.benefit-card { height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); transition: transform .25s ease, box-shadow .25s ease; }
.benefit-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 18px 38px rgba(0,0,0,.35); }
.benefit-icon { font-size: 2.5rem; margin-bottom: 16px; }
.benefit-card h3 { margin: 0 0 12px; font-size: 1.25rem; font-family: 'Doran', inherit; }
.benefit-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }
.benefit-stat { background: rgba(0,224,199,.1); border: 1px solid rgba(0,224,199,.3); padding: 8px 12px; border-radius: 8px; color: var(--accent); font-size: .9rem; font-weight: 600; }

/* Tech section */
.tech { padding: 40px 0; }
.tech-title { margin: 0 0 32px; font-size: clamp(20px, 2.8vw, 32px); font-family: 'Doran', inherit; text-align: center; }
.tech-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; max-width: 800px; margin: 0 auto; }
.tech-badge { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); transition: transform .2s ease; }
.tech-badge:hover { transform: translateY(-2px); }
.tech-badge .emoji { font-size: 18px; }
.tech-badge .label { font-size: .95rem; color: var(--text); font-weight: 500; }

/* Final CTA Section */
.final-cta { padding: 80px 0; background: linear-gradient(135deg, rgba(142,124,255,.08), rgba(0,224,199,.06)); }
.final-cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.final-cta-content h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 16px; }
.final-cta-content p { font-size: 18px; color: var(--muted); margin: 0 0 32px; }
.final-stats { display: flex; justify-content: center; gap: 40px; margin: 32px 0; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; color: var(--accent); font-family: 'Doran', inherit; }
.stat span { font-size: .9rem; color: var(--muted); }
.final-cta-btn { display: inline-block; padding: 18px 36px; background: linear-gradient(135deg, var(--accent), #12ffd9); color: #0b0f1a; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 18px; font-family: 'Doran', inherit; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 10px 30px rgba(0,224,199,.3); }
.final-cta-btn:hover, .final-cta-btn:focus { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(0,224,199,.4); outline: 2px solid var(--accent); outline-offset: 4px; }

.site-footer { border-top: 1px solid var(--border); padding: 22px 0 28px; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap: 16px; color: var(--muted); }
.brand-mini { display:inline-flex; align-items:center; gap: 10px; }

/* Animations */
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes shimmer { from { transform: translateX(-100%) } to { transform: translateX(100%) } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
[data-animate] { opacity: 0; transform: translateY(10px); }
.in-view { opacity: 1 !important; transform: none !important; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; min-height: 260px; }
  .tech-logos { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .final-stats { gap: 24px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 32px; }
  .top-nav { display: none; }
  .social-proof, .benefits, .final-cta { padding: 40px 0; }
  .testimonials { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .tech-logos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .final-stats { flex-direction: column; gap: 16px; }
  .social-proof-mini { flex-direction: column; text-align: center; gap: 8px; }
  .waitlist-actions button { font-size: 16px; }
}

@media (max-width: 480px) {
  .cta-card { padding: 16px; }
  .special-offer { padding: 10px 12px; font-size: 14px; }
  .field input[type="email"] { font-size: 16px; /* prevent zoom on iOS */ }
  .tech-logos { grid-template-columns: 1fr; }
  .avatars { justify-content: center; }
}

/* Focus visible for better keyboard navigation */
@media (prefers-reduced-motion: reduce) { 
  * { animation: none !important; transition: none !important; } 
  html { scroll-behavior: auto; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(255, 255, 255, 0.3);
    --surface: rgba(255, 255, 255, 0.1);
  }
}

/* Enhanced selects for thank-you page */
.pretty-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255,255,255,.06) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23a6b0c2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat left 12px center;
  padding-left: 40px !important;
}
.pretty-select:hover { background-color: rgba(255,255,255,.08); }
.pretty-select:focus { border-color: var(--ring); box-shadow: 0 0 0 6px rgba(142,124,255,.15); }

/* Improve persona chips */
.chips .chip span { background: rgba(255,255,255,.06); border: 1px solid var(--border); transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.chips .chip:hover span { background: rgba(255,255,255,.1); }
.chips .chip input:checked + span { background: rgba(0,224,199,.18); border-color: rgba(0,224,199,.45); box-shadow: 0 0 0 4px rgba(0,224,199,.14); } 

/* Thank You Page Styling */
.thanks-page { 
  padding: 40px 0 60px; 
  min-height: 100vh;
  background: radial-gradient(ellipse at top, rgba(142,124,255,.15), transparent 50%),
              radial-gradient(ellipse at bottom, rgba(0,224,199,.08), transparent 50%);
}

.thanks-hero { 
  margin-bottom: 40px; 
  text-align: center; 
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(0,224,199,.12), rgba(18,255,217,.08));
  border: 1px solid rgba(0,224,199,.3);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,224,199,.2);
}

.success-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #12ffd9, #00e0c7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #002922;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(18,255,217,.4);
}

.success-text h1 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 28px);
  background: linear-gradient(90deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.success-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
}

.persona-form {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.form-section {
  margin-bottom: 32px;
}

.form-section:last-of-type {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.section-icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
}

.section-header h3 {
  margin: 0;
  font-size: 18px;
  font-family: 'Doran', inherit;
  color: var(--text);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  font-family: 'Doran', inherit;
}

.label-icon {
  font-size: 16px;
}

.optional-text {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-right: 6px;
}

.select-wrapper {
  position: relative;
}

.modern-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23a6b0c2" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: left 12px center;
  padding-left: 40px;
  transition: all .2s ease;
  cursor: pointer;
}

.modern-select:hover {
  background-color: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}

.modern-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,224,199,.15);
  background-color: rgba(255,255,255,.1);
}

.modern-select option {
  background: #1a1f2e;
  color: #e6ecff;
  padding: 8px;
}

.modern-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 14px;
  transition: all .2s ease;
  direction: ltr;
  text-align: left;
}

.modern-input::placeholder {
  color: var(--muted);
  direction: ltr;
}

.modern-input:hover {
  background-color: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}

.modern-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,224,199,.15);
  background-color: rgba(255,255,255,.1);
}

.modern-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modern-chip {
  position: relative;
  cursor: pointer;
}

.modern-chip input {
  display: none;
}

.chip-content {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all .2s ease;
  user-select: none;
}

.chip-icon {
  font-size: 16px;
}

.chip-text {
  font-size: 14px;
  font-weight: 500;
}

.modern-chip:hover .chip-content {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-1px);
}

.modern-chip input:checked + .chip-content {
  background: linear-gradient(135deg, rgba(0,224,199,.2), rgba(18,255,217,.15));
  border-color: rgba(0,224,199,.5);
  box-shadow: 0 4px 20px rgba(0,224,199,.2);
  color: var(--text);
}

.submit-section {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #12ffd9, #00e0c7);
  border: none;
  border-radius: 50px;
  color: #002922;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Doran', inherit;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 8px 30px rgba(18,255,217,.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(18,255,217,.4);
  filter: brightness(110%);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

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

.time-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Enhanced animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
}

[data-animate="rise"] {
  transform: translateY(30px);
}

.in-view {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}

/* Responsive */
@media (max-width: 768px) {
  .thanks-page { padding: 20px 0 40px; }
  .persona-form { padding: 24px; margin: 0 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .success-badge { flex-direction: column; text-align: center; gap: 12px; }
  .modern-chips { justify-content: center; }
  .submit-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .persona-form { padding: 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
} 