/* Infyrix Coming Soon — minimal, accessible, and SEO-friendly */
:root{
  --primary:#3D52A0;
  --primary-700:#2F3F7A;
  --navy:#0E1C36;
  --ink:#0B1020;
  --muted:#6B78A8;
  --bg:#F7F9FF;
  --card:#FFFFFF;
  --accent:#7E8ED6;
  --ring: rgba(61,82,160,0.4);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji','Segoe UI Emoji';
  color:var(--ink);
  background: radial-gradient(1200px 600px at 50% -10%, #E6ECFF, transparent 70%), var(--bg);
  line-height:1.55;
}

.container{
  min-height:100%;
  display:grid;
  place-items:center;
  padding:2rem;
}

.card{
  width:min(820px, 100%);
  background:var(--card);
  border:1px solid rgba(13,24,54,0.06);
  border-radius:24px;
  box-shadow: 0 10px 30px rgba(14,28,54,0.08);
  padding:2.5rem;
  text-align:center;
  animation: rise 600ms ease-out both;
}

.logo{
  width:120px;
  height:auto;
  border-radius:16px;
  box-shadow:0 4px 16px rgba(14,28,54,0.12);
  transform: translateY(0);
  animation: float 5s ease-in-out infinite;
}

.headline{
  font-size:clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  margin:1rem 0 0.25rem;
  color:var(--navy);
  letter-spacing:0.3px;
}

.tagline{
  margin:0;
  color:var(--muted);
  font-weight:600;
  letter-spacing:0.8px;
}

.lede{
  max-width:60ch;
  margin:1rem auto 2rem;
  color:#24304F;
}

.notify-form{
  display:flex;
  gap:0.75rem;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:wrap;
}

.notify-form input[type="email"]{
  width:min(420px, 100%);
  padding:0.9rem 1rem;
  border-radius:14px;
  border:1px solid rgba(13,24,54,0.15);
  outline:none;
  transition:border 140ms ease, box-shadow 140ms ease;
}

.notify-form input[type="email"]:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px var(--ring);
}

.notify-form button{
  padding:0.9rem 1.1rem;
  border:none;
  border-radius:14px;
  background:linear-gradient(180deg, var(--primary), var(--primary-700));
  color:white;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(61,82,160,0.28);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.notify-form button:hover{
  transform: translateY(-1px);
  box-shadow:0 8px 18px rgba(61,82,160,0.32);
}

.help-text{
  width:100%;
  margin:0.25rem 0 0;
  font-size:0.85rem;
  color:#556091;
}

.form-msg{
  width:100%;
  margin:0.5rem 0 0;
  min-height:1.25rem;
  font-weight:600;
}

.progress{
  margin:2rem auto 0;
  width:min(440px, 100%);
  height:8px;
  background:#E6ECFF;
  border-radius:999px;
  overflow:hidden;
  position:relative;
}

.progress .bar{
  width:35%;
  height:100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  animation: load 2600ms ease-in-out infinite;
}

.social{
  list-style:none;
  display:flex;
  gap:1rem;
  justify-content:center;
  padding:0;
  margin:1.75rem 0 0;
}

.social a{
  text-decoration:none;
  font-weight:600;
  color:var(--primary);
  border-bottom:1px solid transparent;
}

.social a:hover{ border-bottom-color: currentColor; }

.footer{
  text-align:center;
  margin-top:2rem;
  color:#5A628A;
}

.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;
}

/* Animations – keep subtle */
@keyframes rise{
  from{ opacity:0; transform: translateY(8px) }
  to{ opacity:1; transform: translateY(0) }
}

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

@keyframes load{
  0%{ transform: translateX(-60%) }
  50%{ transform: translateX(10%) }
  100%{ transform: translateX(120%) }
}

/* Reduce motion for those who prefer it */
@media (prefers-reduced-motion: reduce){
  .logo, .progress .bar, .card{ animation:none }
}

/* Countdown styles */
.countdown{
  display:flex;
  justify-content:center;
  gap:1rem;
  font-size:1.2rem;
  font-weight:600;
  margin:1rem 0 1.5rem;
  color:var(--primary);
}
.countdown span strong{
  display:block;
  font-size:1.6rem;
  color:var(--navy);
}

/* Dark mode toggle */
.dark-toggle{
  background:none;
  border:2px solid var(--primary);
  border-radius:12px;
  padding:0.4rem 0.8rem;
  font-size:1rem;
  color:var(--primary);
  cursor:pointer;
  margin-top:1rem;
  transition:background 0.3s,color 0.3s;
}
.dark-toggle:hover{
  background:var(--primary);
  color:white;
}

/* Dark mode */
body.dark{
  background: radial-gradient(1200px 600px at 50% -10%, #1C2233, #0E1C36);
  color:#E4E8FF;
}
body.dark .card{ background:#1F2B48; color:#E4E8FF; }
body.dark .headline{ color:#E4E8FF; }
body.dark .tagline{ color:#A9B6E8; }
body.dark .notify-form input[type="email"]{ background:#2C355A; color:#E4E8FF; }
body.dark .notify-form button{ background:linear-gradient(180deg,#7E8ED6,#3D52A0); }
body.dark .help-text{ color:#AAB1D9; }
body.dark .footer{ color:#AAB1D9; }
body.dark .dark-toggle{ border-color:#E4E8FF; color:#E4E8FF; }
body.dark .dark-toggle:hover{ background:#E4E8FF; color:#0E1C36; }

.large-logo{
  width:180px;
  max-width:200px;
}

.features{
  display:grid;
  gap:2rem;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  margin:2.5rem 0;
  padding:0 1rem;
}

.feature{
  text-align:center;
  padding:1rem;
}

.feature .icon{
  font-size:2.2rem;
  display:block;
  margin-bottom:0.5rem;
}

.feature h2{
  font-size:1.3rem;
  margin:0.25rem 0;
  color:var(--navy);
}

.feature p{
  font-size:1rem;
  color:#344166;
}
