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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #05252f;
  background: radial-gradient(circle at top right, #e6f5ff 0, #f7fbff 50%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: #0e7acb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8, 94, 71, 0.06);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 40px rgba(2, 24, 33, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #054938;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: #4f7583;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav a {
  position: relative;
  padding: 0.25rem 0;
  color: #08485a;
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0aa574, #0f8ae1);
  transition: width 0.18s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  border: 1px solid rgba(6, 104, 78, 0.25);
  background: #f4fbff;
  border-radius: 999px;
  padding: 0.4rem 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #056850;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0f8ae1;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
  color: #05252f;
}

.hero h1 span {
  color: #0aa574;
}

.hero-text {
  margin: 0 0 1.7rem;
  color: #425e69;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #0aa574, #0f8ae1);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 93, 69, 0.25);
}

.btn.primary:hover {
  box-shadow: 0 14px 40px rgba(0, 93, 69, 0.3);
  text-decoration: none;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(6, 90, 69, 0.3);
  color: #06523e;
}

.btn.ghost:hover {
  background: #ffffff;
}

.btn.full-width {
  width: 100%;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.meta-list dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7a98a5;
}

.meta-list dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: #053a36;
}

/* Hero device card */

.hero-card {
  position: relative;
}

.device-frame {
  background: radial-gradient(circle at top left, rgba(15, 138, 225, 0.24), transparent 60%),
              radial-gradient(circle at bottom right, rgba(10, 165, 116, 0.24), transparent 60%);
  padding: 0.9rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(3, 85, 64, 0.08);
  box-shadow: 0 26px 70px rgba(0, 38, 44, 0.25);
}

.device-status-bar {
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.3));
  margin-bottom: 0.6rem;
}

.device-screen {
  position: relative;
  border-radius: 1.2rem;
  background: radial-gradient(circle at 20% 10%, #ffffff 0, #e2f7ec 45%, #d4efff 100%);
  padding: 1.3rem 1.1rem 1.4rem;
  overflow: hidden;
}

.egg-badge {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #075f47;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.maze-line {
  position: absolute;
  border-radius: 999px;
  background: rgba(5, 84, 65, 0.12);
}

.maze-line-a {
  left: 8%;
  right: 22%;
  top: 36%;
  height: 10px;
}

.maze-line-b {
  left: 20%;
  right: 10%;
  top: 55%;
  height: 10px;
}

.maze-line-c {
  left: 14%;
  right: 28%;
  top: 74%;
  height: 10px;
}

.chicken-orbit {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0.4rem auto 0;
  border-radius: 50%;
  border: 2px dashed rgba(7, 112, 84, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chicken-body {
  width: 54px;
  height: 54px;
  border-radius: 54% 46% 50% 50%;
  background: linear-gradient(145deg, #ffffff, #fef1cf);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.chicken-eye {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #05252f;
  transform: translate(6px, -6px);
}

.chicken-beak {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 7px solid #f59b2a;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transform: translate(22px, 2px);
}

.egg-trail {
  position: absolute;
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 48% 48%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.egg-1 {
  top: 14%;
  left: 18%;
}

.egg-2 {
  bottom: 12%;
  right: 16%;
}

.device-caption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #587481;
}

/* Features */

.features {
  padding: 1rem 0 2.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.1rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(6, 121, 89, 0.08);
  box-shadow: 0 18px 44px rgba(0, 49, 61, 0.08);
}

.feature h2 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #053739;
}

/* Privacy preview */

.privacy-preview {
  padding: 2.5rem 0 3.2rem;
}

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

.privacy-preview h2 {
  margin-top: 0;
}

.privacy-summary-card {
  background: #05252f;
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  color: #daf7ff;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.35);
}

.privacy-summary-card h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #f8feff;
}

.privacy-summary-card ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0.8rem;
  font-size: 0.9rem;
}

.summary-note {
  font-size: 0.78rem;
  opacity: 0.85;
}

.privacy-actions {
  margin-top: 1.1rem;
}

/* Contact */

.contact {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid rgba(7, 123, 91, 0.1);
}

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

.support-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(5, 102, 76, 0.14);
  box-shadow: 0 18px 48px rgba(0, 51, 63, 0.18);
  display: grid;
  gap: 0.9rem;
}

.support-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #084054;
}

.support-form input,
.support-form textarea {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(6, 115, 85, 0.3);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  background: #f8fdff;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: #0f8ae1;
  box-shadow: 0 0 0 1px rgba(15, 138, 225, 0.35);
  background: #ffffff;
}

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

.form-status {
  font-size: 0.8rem;
  color: #056850;
  min-height: 1.1em;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(5, 79, 60, 0.12);
  background: #f5fbff;
  padding: 1rem 0 1.2rem;
  font-size: 0.8rem;
  color: #3f5c66;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Privacy page */

.privacy-body {
  background: linear-gradient(180deg, #f4fbff 0, #ffffff 40%, #f2faf5 100%);
}

.privacy-main {
  padding: 3.2rem 0 3.5rem;
}

.privacy-hero {
  padding-bottom: 1.5rem;
}

.narrow {
  max-width: 760px;
}

.privacy-meta {
  font-size: 0.85rem;
  color: #4f7583;
}

.privacy-section {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(6, 90, 69, 0.09);
}

.privacy-section h2 {
  margin-top: 0;
  color: #053739;
}

.privacy-block {
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  background: rgba(219, 246, 236, 0.8);
  border: 1px solid rgba(7, 117, 88, 0.2);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset: calc(100% - 0.2rem) 0 auto auto;
    margin: 0.4rem 1.5rem 0;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1rem;
    border: 1px solid rgba(5, 79, 60, 0.1);
    box-shadow: 0 18px 40px rgba(0, 36, 43, 0.18);
    flex-direction: column;
    gap: 0.4rem;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }

  .nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

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

  .hero {
    padding-top: 3.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
