/* ── Design tokens ── */
:root {
  --color-bg: #0f1410;
  --color-bg-elevated: #1a2218;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8ede4;
  --color-text-muted: #9aab94;
  --color-accent: #6baf4a;
  --color-accent-light: #8fd46a;
  --color-accent-dark: #4a8a32;
  --color-gold: #c9a84c;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 80px rgba(107, 175, 74, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Background layers ── */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(107, 175, 74, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(74, 138, 50, 0.1) 0%, transparent 50%),
    var(--color-bg);
}

.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236baf4a' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-leaves {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  opacity: 0.06;
  border-radius: 0 50% 0 50%;
  animation: float 20s ease-in-out infinite;
}

.leaf-1 { top: 15%; left: 10%; animation-delay: 0s; transform: rotate(45deg); }
.leaf-2 { top: 60%; right: 15%; animation-delay: -5s; width: 32px; height: 32px; }
.leaf-3 { bottom: 20%; left: 25%; animation-delay: -10s; width: 18px; height: 18px; }
.leaf-4 { top: 35%; right: 30%; animation-delay: -15s; width: 28px; height: 28px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-30px) rotate(60deg); }
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(15, 20, 16, 0.7);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-icon {
  display: flex;
  color: var(--color-accent);
  width: 28px;
  height: 28px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch {
  display: flex;
  padding: 3px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.lang-btn {
  padding: 0.35rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.2;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(107, 175, 74, 0.35);
}

body.lang-hi {
  font-family: "Noto Sans Devanagari", var(--font-body);
}

body.lang-hi .hero-title,
body.lang-hi .section-header h2,
body.lang-hi .service-card h3,
body.lang-hi .platform-card h3,
body.lang-hi .intel-panel-header h3,
body.lang-hi .blog-card h3,
body.lang-hi .farmer-portal-text h2,
body.lang-hi .roadmap-step h3,
body.lang-hi .notify-text h2,
body.lang-hi .values-content blockquote,
body.lang-hi .stat-number,
body.lang-hi .footer-tagline {
  font-family: "Noto Sans Devanagari", var(--font-display);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--color-accent-light);
}

.nav-contact {
  color: var(--color-text) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Hero ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent-light);
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(107, 175, 74, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(107, 175, 74, 0.45);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: rgba(107, 175, 74, 0.3);
}

/* ── Services ── */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  background: var(--color-surface-hover);
  border-color: rgba(107, 175, 74, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Values ── */
.values {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.values-content {
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(107, 175, 74, 0.08) 0%, rgba(201, 168, 76, 0.05) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.values-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--color-text);
}

.values-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Platform ── */
.platform {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.platform-card {
  position: relative;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.platform-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.platform-card:hover {
  background: var(--color-surface-hover);
  border-color: rgba(107, 175, 74, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.coming-soon-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-full);
}

.platform-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.platform-icon svg {
  width: 100%;
  height: 100%;
}

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  padding-right: 5rem;
}

.platform-card > p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.platform-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-features li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.platform-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ── Farm intelligence ── */
.farm-intel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.intel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.intel-panel {
  padding: 2rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.intel-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.intel-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.intel-panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.intel-badge {
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-full);
}

.weather-current {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.weather-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.weather-temp {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.temp-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1.1;
}

.temp-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.weather-location {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.weather-forecast {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.forecast-day span:last-child {
  font-weight: 600;
  color: var(--color-text);
}

.forecast-icon {
  font-size: 1.125rem;
}

.intel-alert {
  font-size: 0.875rem;
  color: var(--color-accent-light);
  background: rgba(107, 175, 74, 0.08);
  border: 1px solid rgba(107, 175, 74, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.intel-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.mandi-table-wrap {
  overflow-x: auto;
  margin-bottom: 0.75rem;
}

.mandi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.mandi-table th,
.mandi-table td {
  padding: 0.75rem 0.625rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.mandi-table th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.mandi-table td {
  color: var(--color-text);
}

.mandi-table tbody tr:last-child td {
  border-bottom: none;
}

.trend-up { color: var(--color-accent-light); font-weight: 600; }
.trend-down { color: #e07070; font-weight: 600; }
.trend-stable { color: var(--color-gold); font-weight: 600; }

/* ── Blog preview ── */
.blog-preview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  padding: 2rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  border-color: rgba(107, 175, 74, 0.25);
  transform: translateY(-4px);
}

.blog-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.blog-meta {
  font-size: 0.8125rem;
  color: var(--color-gold);
  font-style: italic;
}

/* ── Farmer portal ── */
.farmer-portal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.farmer-portal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem;
  background: linear-gradient(135deg, rgba(107, 175, 74, 0.06) 0%, rgba(26, 34, 24, 0.8) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.farmer-portal-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.farmer-portal-text > p {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.farmer-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.farmer-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(107, 175, 74, 0.15);
  border-radius: 50%;
}

.portal-status {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent-light);
  background: rgba(107, 175, 74, 0.1);
  border: 1px solid rgba(107, 175, 74, 0.25);
  border-radius: var(--radius-full);
}

.portal-mock {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portal-mock-header {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
}

.portal-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.portal-mock-dot:first-child { background: rgba(107, 175, 74, 0.5); }

.portal-mock-body {
  display: flex;
  min-height: 220px;
}

.portal-mock-sidebar {
  width: 60px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 1px solid var(--color-border);
}

.mock-nav-item {
  height: 8px;
  border-radius: 4px;
  background: var(--color-border);
}

.mock-nav-item.active {
  background: var(--color-accent);
}

.portal-mock-content {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-stat-row {
  display: flex;
  gap: 0.5rem;
}

.mock-stat {
  flex: 1;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.mock-chart {
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(107, 175, 74, 0.2) 0%, transparent 100%);
  border: 1px solid var(--color-border);
}

.mock-table {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mock-row {
  height: 10px;
  border-radius: 4px;
  background: var(--color-surface);
}

.mock-row:nth-child(2) { width: 85%; }
.mock-row:nth-child(3) { width: 70%; }

.portal-mock-label {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* ── Roadmap ── */
.roadmap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.roadmap-steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.roadmap-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.roadmap-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-step.active {
  border-color: rgba(107, 175, 74, 0.4);
  background: rgba(107, 175, 74, 0.06);
}

.roadmap-phase {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(107, 175, 74, 0.12);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.roadmap-step h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.roadmap-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ── Notify ── */
.notify {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.notify-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.notify-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.notify-text p {
  color: var(--color-text-muted);
  line-height: 1.65;
}

.notify-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  background: #25d366;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.notify-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ── Footer ── */
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo-icon {
  width: 22px;
  height: 22px;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.footer-phone {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-accent-light);
  transition: color var(--transition);
}

.footer-phone:hover {
  color: var(--color-accent);
}

.footer-tagline {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-muted);
  font-family: var(--font-display);
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .nav {
    gap: 1.25rem;
  }

  .hero {
    padding: 4rem 1.25rem 3rem;
  }

  .services,
  .platform,
  .farm-intel,
  .blog-preview,
  .farmer-portal,
  .roadmap,
  .values,
  .notify {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .farmer-portal-inner {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .intel-grid {
    grid-template-columns: 1fr;
  }

  .weather-forecast {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.375rem;
  }

  .forecast-day {
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
  }

  .roadmap-steps {
    grid-template-columns: 1fr;
  }

  .roadmap-steps::before {
    display: none;
  }

  .notify-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .notify-action {
    align-items: stretch;
  }

  .btn-whatsapp {
    width: 100%;
  }

  .values-content {
    padding: 2rem 1.5rem;
  }

  .values-stats {
    gap: 2rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .footer-contact {
    align-items: center;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .nav a[data-i18n="navPlatform"],
  .nav a[data-i18n="navNotify"] {
    display: none;
  }

  .nav-contact {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
