/* ==========================================================
   FarmLens website styles
   Palette: #1b4332, #2d6a4f, #40916c, #52b788, #74c69d,
            #95d5b2, #b7e4c7, #d8f3dc, #f0faf2
   ========================================================== */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-900: #1b4332;
  --c-800: #2d6a4f;
  --c-700: #40916c;
  --c-600: #52b788;
  --c-500: #74c69d;
  --c-400: #95d5b2;
  --c-300: #b7e4c7;
  --c-200: #d8f3dc;
  --c-100: #f0faf2;
  --c-white: #ffffff;
  --c-text: #1a2b22;
  --c-text-soft: #4a5d52;
  --c-muted: #7d8a83;
  --c-border: #e2ece6;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.1);
  --shadow-lg: 0 24px 48px rgba(27, 67, 50, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --tr: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Headings ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--c-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--c-200);
  color: var(--c-800);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-lead {
  color: var(--c-text-soft);
  font-size: 1.05rem;
  margin-top: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--c-700), var(--c-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform var(--tr),
    box-shadow var(--tr),
    background var(--tr),
    color var(--tr);
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-800), var(--c-700));
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45, 106, 79, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--c-800);
  border: 2px solid var(--c-300);
}
.btn-ghost:hover {
  background: var(--c-100);
  border-color: var(--c-500);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background var(--tr),
    box-shadow var(--tr),
    padding var(--tr);
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--c-900);
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-700);
}
.logo-text strong {
  color: var(--c-700);
  font-weight: 800;
}
.logo-light {
  color: #fff;
}
.logo-light .logo-text strong {
  color: var(--c-300);
}
.logo-light .logo-icon {
  color: var(--c-400);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  font-weight: 500;
  color: var(--c-text-soft);
  font-size: 0.95rem;
  position: relative;
  transition: color var(--tr);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--c-700);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.nav-link:hover,
.nav-link.active {
  color: var(--c-900);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--c-100);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-900);
  border-radius: 2px;
  transition:
    transform var(--tr),
    opacity var(--tr);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-100) 0%, #fff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}
.blob-1 {
  width: 360px;
  height: 360px;
  background: var(--c-300);
  top: -80px;
  left: -100px;
}
.blob-2 {
  width: 280px;
  height: 280px;
  background: var(--c-400);
  bottom: 10%;
  right: -60px;
  animation-delay: -4s;
}
.blob-3 {
  width: 200px;
  height: 200px;
  background: var(--c-500);
  bottom: 20%;
  left: 40%;
  opacity: 0.35;
  animation-delay: -8s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--c-text-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-800);
  box-shadow: var(--shadow-sm);
}

/* ---------- Mock window (hero visual) ---------- */
.hero-visual {
  position: relative;
}
.mock-window {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform var(--tr);
}
.mock-window:hover {
  transform: rotate(0deg);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: var(--c-100);
  border-bottom: 1px solid var(--c-border);
}
.mock-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-400);
}
.mock-bar > span:nth-child(1) {
  background: #ff6b6b;
}
.mock-bar > span:nth-child(2) {
  background: #ffd166;
}
.mock-bar > span:nth-child(3) {
  background: #06d6a0;
}
.mock-url {
  margin-left: 16px;
  padding: 4px 12px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--c-text-soft);
  flex: 1;
  max-width: 220px;
}
.mock-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--c-100);
  border-radius: var(--radius-md);
  transition:
    transform var(--tr),
    background var(--tr);
}
.mock-card:hover {
  background: var(--c-200);
  transform: translateX(4px);
}
.mock-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-h {
  font-weight: 600;
  color: var(--c-900);
  font-size: 0.95rem;
}
.mock-p {
  font-size: 0.82rem;
  color: var(--c-text-soft);
  margin-top: 2px;
}
.bar {
  height: 6px;
  background: var(--c-300);
  border-radius: 4px;
  margin-top: 8px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-700), var(--c-500));
  border-radius: 4px;
  animation: fillBar 2s ease-out;
}
@keyframes fillBar {
  from {
    width: 0;
  }
}

.pulse {
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.45);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(82, 183, 136, 0);
  }
}

.floating-tag {
  position: absolute;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-800);
  animation: bob 4s ease-in-out infinite;
}
.tag-1 {
  top: 10%;
  left: -30px;
}
.tag-2 {
  bottom: 12%;
  right: -20px;
  animation-delay: -2s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Section base ---------- */
.section {
  padding: 100px 0;
}
.section.about {
  background: var(--c-100);
}
.section.features {
  background: #fff;
}
.section.how {
  background: var(--c-100);
}
.section.team {
  background: #fff;
}
.section.links {
  background: var(--c-100);
}
.section.contact {
  background: linear-gradient(135deg, var(--c-800) 0%, var(--c-900) 100%);
  color: #fff;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition:
    transform var(--tr),
    box-shadow var(--tr);
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-400);
}
.about-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: var(--c-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.about-card h3 {
  margin-bottom: 12px;
}
.about-card p {
  color: var(--c-text-soft);
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition:
    transform var(--tr),
    box-shadow var(--tr),
    border-color var(--tr);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-100), transparent);
  opacity: 0;
  transition: opacity var(--tr);
  z-index: 0;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-400);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card > * {
  position: relative;
  z-index: 1;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.feature-card h3 {
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--c-text-soft);
  font-size: 0.96rem;
}

/* ---------- How it works ---------- */
.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.how-step {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  position: relative;
  transition:
    transform var(--tr),
    box-shadow var(--tr);
}
.how-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.how-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-700), var(--c-500));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.how-step h3 {
  margin-bottom: 10px;
}
.how-step p {
  color: var(--c-text-soft);
  font-size: 0.95rem;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  text-align: center;
  transition:
    transform var(--tr),
    box-shadow var(--tr);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(45, 106, 79, 0.25);
  border: 4px solid #fff;
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-300), var(--c-500));
  z-index: -1;
}
.team-initials {
  letter-spacing: 0.05em;
}
.team-card h3 {
  margin-bottom: 6px;
}
.team-role {
  font-weight: 600;
  color: var(--c-700);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.team-title {
  font-size: 0.85rem;
  color: var(--c-text-soft);
  font-style: italic;
  margin-bottom: 14px;
}
.team-card p {
  color: var(--c-text-soft);
  font-size: 0.92rem;
}

/* ---------- Links / Resources ---------- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.link-card {
  background: #fff;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  display: block;
  transition:
    transform var(--tr),
    box-shadow var(--tr),
    border-color var(--tr);
}
.link-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-500);
}
.link-card-featured {
  background: linear-gradient(135deg, var(--c-800), var(--c-700));
  color: #fff;
  border-color: transparent;
}
.link-card-featured h3 {
  color: #fff;
}
.link-card-featured p {
  color: rgba(255, 255, 255, 0.85);
}
.link-card-featured .link-cta {
  color: var(--c-300);
  font-weight: 700;
}
.link-card-featured:hover {
  border-color: transparent;
}
.link-card-featured:hover .link-cta {
  color: #fff;
}
.link-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.link-card h3 {
  margin-bottom: 10px;
}
.link-card p {
  color: var(--c-text-soft);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.link-cta {
  color: var(--c-700);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap var(--tr);
}
.link-card:hover .link-cta {
  color: var(--c-800);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--c-300);
}
.contact-info h2 {
  color: #fff;
  margin-bottom: 16px;
}
.contact-info > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-300);
  margin-bottom: 4px;
}
.contact-list a {
  color: #fff;
  transition: color var(--tr);
  display: block;
  word-break: break-word;
}
.contact-list a + a {
  margin-top: 4px;
}
.contact-list a:hover {
  color: var(--c-300);
}

.contact-form {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font: inherit;
  transition:
    border-color var(--tr),
    background var(--tr);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.contact-form select {
  color: rgba(255, 255, 255, 0.9);
}
.contact-form select option {
  background: var(--c-900);
  color: #fff;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-400);
  background: rgba(255, 255, 255, 0.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn {
  width: 100%;
  margin-top: 4px;
}
.form-status {
  font-size: 0.92rem;
  min-height: 1.2em;
  color: var(--c-300);
  text-align: center;
}
.form-status.error {
  color: #ffb4a2;
}
.form-status.success {
  color: var(--c-300);
}

/* ---------- Footer ---------- */
.footer {
  background: #0f2a1e;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin: 16px 0 18px;
  font-size: 0.92rem;
  max-width: 320px;
}
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  max-width: 320px;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
}
.footer-contact li > span {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--tr);
  word-break: break-all;
}
.footer-contact a:hover {
  color: #fff;
}

.social-row {
  display: flex;
  gap: 12px;
}
.social-row a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition:
    background var(--tr),
    color var(--tr),
    transform var(--tr);
}
.social-row a:hover {
  background: var(--c-700);
  color: #fff;
  transform: translateY(-3px);
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition:
    color var(--tr),
    padding-left var(--tr);
}
.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.newsletter {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-top: 14px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: #fff;
  font: inherit;
  outline: none;
  min-width: 0;
}
.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.newsletter button {
  background: var(--c-700);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--tr),
    transform var(--tr);
}
.newsletter button:hover {
  background: var(--c-600);
  transform: scale(1.05);
}
.newsletter-status {
  font-size: 0.85rem;
  color: var(--c-300);
  margin-top: 10px;
  min-height: 1em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}
.footer-meta a {
  transition: color var(--tr);
}
.footer-meta a:hover {
  color: #fff;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity var(--tr),
    visibility var(--tr),
    transform var(--tr),
    background var(--tr);
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--c-700);
  transform: translateY(-3px);
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .about-grid,
  .features-grid,
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--tr),
      visibility var(--tr),
      transform var(--tr);
  }
  .nav-list.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list li {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover {
    background: var(--c-100);
  }
  .nav-list .btn {
    width: 100%;
  }

  .hero {
    padding-top: 120px;
  }
  .section {
    padding: 70px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }

  .about-grid,
  .features-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }
  .how-steps {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .floating-tag {
    display: none;
  }
  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}
