/* Zenessis Medical — Coming Soon
 * Design tokens preluate 1:1 din proiectul original (oklch). */

:root {
  --radius: 0.625rem;
  --background: oklch(0.97 0.01 70);
  --foreground: oklch(0.25 0.02 60);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.25 0.02 60);
  --primary: oklch(0.55 0.22 30);
  --primary-foreground: oklch(1 0 0);
  --muted: oklch(0.94 0.01 70);
  --muted-foreground: oklch(0.55 0.02 60);
  --accent: oklch(0.94 0.01 70);
  --border: oklch(0.9 0.01 70);
  --input: oklch(0.9 0.01 70);
  --ring: oklch(0.55 0.22 30);
  --destructive: oklch(0.577 0.245 27.325);
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.container {
  width: 100%;
  max-width: 28rem;
}

/* Logo */
.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.logo-wrap img {
  width: 100%;
  max-width: 26rem;
  height: auto;
  object-fit: contain;
}

/* Slogan */
.slogan {
  margin-bottom: 0.75rem;
  text-align: center;
}
.slogan span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
}
.slogan svg {
  height: 1.25rem;
  width: 1.25rem;
}

/* Heading */
.heading {
  margin-bottom: 1rem;
  text-align: center;
}
.heading h1 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .heading h1 {
    font-size: 2.25rem;
  }
}
.heading p {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: var(--muted-foreground);
}

/* Card */
.card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.control {
  position: relative;
}
.control svg.icon {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  height: 1rem;
  width: 1rem;
  color: var(--muted-foreground);
  pointer-events: none;
}
.control.inline svg.icon {
  top: 50%;
  transform: translateY(-50%);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background-color: var(--card);
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted-foreground);
}
input:focus-visible,
textarea:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 30%, transparent);
}
textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 0.625rem;
}

/* GDPR row */
.gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.gdpr input[type="checkbox"] {
  margin-top: 0.15rem;
  height: 1rem;
  width: 1rem;
  accent-color: var(--primary);
  flex: 0 0 auto;
}
.gdpr label {
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--muted-foreground);
}

/* Honeypot — ascuns vizual și pentru cititoare, dar prezent pentru boți */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Button */
button.submit {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius);
  background-color: var(--primary);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
  cursor: pointer;
  transition: opacity 0.15s, background-color 0.15s;
}
button.submit:hover:not(:disabled) {
  opacity: 0.9;
}
button.submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button.submit svg {
  height: 1rem;
  width: 1rem;
}

/* Status messages */
.form-status {
  font-size: 0.875rem;
  margin: 0;
}
.form-status.error {
  color: var(--destructive);
}

/* Success state */
.success {
  text-align: center;
  padding: 2rem 0;
}
.success .badge {
  margin: 0 auto 1rem;
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: color-mix(in oklch, var(--primary) 10%, transparent);
}
.success .badge svg {
  height: 1.5rem;
  width: 1.5rem;
  color: var(--primary);
}
.success h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}
.success p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.fill-primary {
  fill: var(--primary);
}
