/* Unicorn Sweet Secrets · One-page site styles */

:root {
  --pink: #ff7ac8;
  --pink-soft: #ffe6f6;
  --blue: #6fd0ff;
  --blue-soft: #e3f6ff;
  --ink: #1d1027;
  --ink-soft: #4e345f;
  --surface: #ffffff;
  --border-subtle: rgba(255, 255, 255, 0.7);
  --shadow-soft: 0 18px 45px rgba(36, 7, 66, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 170, 220, 0.7), transparent 55%),
    radial-gradient(circle at bottom right, rgba(130, 210, 255, 0.7), transparent 55%),
    #fdfaff;
}

.wrapper {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    90deg,
    rgba(255, 244, 252, 0.96),
    rgba(232, 247, 255, 0.96)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.site-header.header-scrolled {
  box-shadow: 0 10px 40px rgba(109, 57, 149, 0.16);
  transform: translateY(-2px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.25rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 40%;
  background:
    radial-gradient(circle at 20% 20%, #ffffff, transparent 55%),
    linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 4px 15px rgba(255, 122, 200, 0.65);
}

.brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

/* Hero */

.hero {
  position: relative;
  padding: 5.5rem 0 4.75rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 186, 235, 0.85), transparent 60%),
    radial-gradient(circle at 95% 75%, rgba(164, 225, 255, 0.85), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: blur(2px);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  z-index: 1;
}

.hero-copy {
  max-width: 34rem;
}

.hero-domain {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.hero-tagline {
  margin-top: 0.4rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-body {
  margin-top: 0.75rem;
  font-size: 0.98rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-badge {
  padding: 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(136, 92, 168, 0.18);
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 140px;
}

.badge-label {
  text-transform: uppercase;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.badge-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

/* Device / hero panel */

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.device-shell {
  width: 100%;
  max-width: 320px;
  border-radius: 34px;
  padding: 0.9rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 246, 255, 0.92)),
    linear-gradient(160deg, rgba(255, 173, 221, 0.65), rgba(136, 211, 255, 0.75));
  box-shadow:
    0 24px 55px rgba(47, 10, 86, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.7);
  position: relative;
}

.device-shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 29px;
  border: 1px dashed rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.device-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  width: fit-content;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, var(--pink));
  box-shadow: 0 0 0 0 rgba(255, 122, 200, 0.8);
  animation: pulse 1.6s infinite;
}

.device-content {
  margin-top: 1.1rem;
  padding: 1.1rem 1rem 1.1rem;
  border-radius: 24px;
  background: linear-gradient(150deg, #ffffff, #fdf4ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.device-text {
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.device-meta {
  margin: 1.3rem 0 0;
  padding: 0.75rem 0.6rem 0.4rem;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 235, 252, 0.9), rgba(227, 245, 255, 0.9));
}

.device-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.device-meta-row dt {
  font-weight: 600;
  color: var(--ink-soft);
}

.device-meta-row dd {
  margin: 0;
  color: var(--ink);
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}

.btn-primary {
  background: linear-gradient(130deg, var(--pink), var(--blue));
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(255, 122, 200, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(255, 122, 200, 0.7);
}

.btn-secondary {
  margin-left: 0.6rem;
  padding-inline: 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(149, 121, 188, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--ink);
}

.full-width {
  width: 100%;
}

/* Sections: policy */

.policy-section {
  padding: 4.5rem 0 4.25rem;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.9rem;
}

.section-subtitle {
  font-size: 0.98rem;
}

.policy-updated {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

.policy-card {
  margin-top: 0.5rem;
  padding: 2.3rem 2rem 2.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.policy-card h3 {
  margin-top: 1.8rem;
  font-size: 1.15rem;
}

.policy-card h3:first-of-type {
  margin-top: 0;
}

.policy-card h4 {
  margin-top: 1.45rem;
  font-size: 0.98rem;
}

.policy-contact {
  font-weight: 600;
}

/* Contact section */

.contact-section {
  padding: 4.25rem 0 4.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: flex-start;
}

.contact-copy h2 {
  font-size: 1.7rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

.contact-value,
.contact-details a {
  font-size: 0.95rem;
  color: var(--ink);
}

.contact-form-card {
  padding: 1.8rem 1.6rem 1.9rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 255, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.98);
}

.field-group {
  margin-bottom: 1.1rem;
}

.field-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(210, 190, 230, 0.85);
  font: inherit;
  color: var(--ink);
  background-color: rgba(255, 255, 255, 0.96);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
  resize: vertical;
}

.field-group textarea {
  min-height: 120px;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px rgba(255, 122, 200, 0.7);
  background-color: #ffffff;
}

.form-helper {
  margin-top: 0.75rem;
  font-size: 0.78rem;
}

.form-success {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #1b7f3b;
  background: rgba(203, 244, 215, 0.9);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.7rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 160ms ease, max-height 160ms ease, margin-top 160ms ease;
}

.form-success.visible {
  opacity: 1;
  max-height: 80px;
  margin-top: 0.7rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(
    90deg,
    rgba(255, 244, 252, 0.96),
    rgba(232, 247, 255, 0.96)
  );
}

.footer-inner {
  padding: 1.1rem 0.25rem 1.3rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Utilities and media queries */

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 122, 200, 0.8);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 122, 200, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 122, 200, 0);
  }
}

@media (max-width: 799px) {
  .header-inner {
    padding-inline: 0;
  }

  .main-nav {
    gap: 0.15rem;
  }

  .main-nav a {
    padding-inline: 0.7rem;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-card {
    margin-top: 0.5rem;
  }

  .policy-card {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 520px) {
  .wrapper {
    width: min(100% - 1.8rem, 480px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .device-shell {
    max-width: 100%;
  }
}
