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

:root {
  --yellow:       #FFB133;
  --yellow-hover: #F0A020;
  --yellow-pale:  #FFF8EC;
  --yellow-mid:   #FFD580;
  --navy:         #263342;
  --navy-light:   #344A5E;
  --navy-pale:    #EFF3F7;
  --white:        #FFFFFF;
  --off-white:    #FAFAF8;
  --gray-100:     #F4F2ED;
  --gray-200:     #E8E4DC;
  --gray-400:     #ABA79E;
  --gray-600:     #6E6A63;
  --font:         'Poppins', system-ui;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--navy); background: var(--white); overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── FLASH MESSAGES ── */
.flash-messages { position: fixed; top: 80px; right: 20px; z-index: 1000; max-width: 400px; }
.flash { padding: 14px 20px; border-radius: 10px; margin-bottom: 10px; font-size: 0.9rem; font-weight: 500; animation: slideIn 0.3s ease; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.flash.success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.flash.error { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  text-align: center;
  padding: 9px 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.01em;
}
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 600; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  transition: box-shadow 0.2s;
}
nav.scrolled { box-shadow: 0 2px 16px rgba(38,51,66,0.08); }

.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo-mark {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.nav-logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo-name span { color: var(--yellow-hover); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-login {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: 1.5px solid var(--gray-200);
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.btn-login:hover { border-color: var(--navy); background: var(--navy-pale); }
.btn-signup {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--yellow);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}
.btn-signup:hover { background: var(--yellow-hover); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 40px 5vw 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 4rem;
  min-height: 88vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,177,51,0.07);
}
.hero-bg-circle.c1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-bg-circle.c2 { width: 300px; height: 300px; bottom: 100px; left: -80px; }

.hero-hex-pattern {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  opacity: 0.035;
}

.hero-content { position: relative; z-index: 2; padding-bottom: 80px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,177,51,0.12);
  border: 1px solid rgba(255,177,51,0.3);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.5)} }

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--yellow); }

.hero-desc {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 2.25rem;
}

.hero-cta { display: flex; align-items: center; gap: 12px; margin-bottom: 1.75rem; flex-wrap: wrap; }
.hero-app-badges { margin-bottom: 2rem; }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
}
.btn-hero-primary:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,177,51,0.3);
}
.btn-hero-primary svg { transition: transform 0.18s; }
.btn-hero-primary:hover svg { transform: translateX(3px); }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.65);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
}
.btn-hero-ghost:hover { color: var(--white); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 7px; }
.trust-icon {
  width: 30px; height: 30px;
  background: rgba(255,177,51,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 16px; height: 16px; color: var(--yellow); }
.trust-text { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.trust-text strong { color: rgba(255,255,255,0.85); display: block; font-size: 0.85rem; }

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 0;
}
.app-mockup {
  background: var(--white);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
}
.mockup-bar {
  background: var(--navy-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot.r { background: #FF5F57; }
.mockup-dot.y { background: #FFBD2E; }
.mockup-dot.g { background: #28CA41; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-family: monospace;
}

.mockup-body { padding: 20px; background: var(--off-white); }
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mockup-logo {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 800; color: var(--navy);
}
.mockup-logo-mark {
  width: 22px; height: 22px;
  background: var(--yellow);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
}
.mockup-logo-mark svg { width: 13px; height: 13px; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mockup-stat {
  background: var(--white);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid var(--gray-200);
}
.mockup-stat-label { font-size: 0.6rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.mockup-stat-val { font-size: 1.1rem; font-weight: 800; color: var(--navy); }

.mockup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mockup-card {
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid var(--gray-200);
}
.mockup-card-title { font-size: 0.65rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.mockup-hive-item {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.72rem;
}
.mockup-hive-item:last-child { border-bottom: none; }
.hive-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hive-name { font-weight: 600; color: var(--navy); flex: 1; }
.hive-status {
  font-size: 0.62rem; font-weight: 600;
  padding: 2px 6px; border-radius: 4px;
}
.hive-status.good { background: #E8F5E9; color: #2E7D32; }
.hive-status.warn { background: #FFF8EC; color: #E09520; }

.mockup-task-item {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.72rem;
}
.mockup-task-item:last-child { border-bottom: none; }
.task-check {
  width: 13px; height: 13px;
  border-radius: 3px;
  border: 1.5px solid var(--gray-200);
  flex-shrink: 0;
  margin-top: 1px;
}
.task-check.done { background: var(--yellow); border-color: var(--yellow); }
.task-label { font-size: 0.7rem; color: var(--navy); font-weight: 500; }
.task-date { font-size: 0.62rem; color: var(--gray-400); margin-top: 1px; }

/* ── LOGOS / SOCIAL PROOF BAR ── */
.proof-bar {
  background: var(--gray-100);
  padding: 28px 5vw;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid var(--gray-200);
}
.proof-label { font-size: 0.78rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.proof-stats { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.proof-stat-num { font-size: 1.4rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.proof-stat-txt { font-size: 0.78rem; color: var(--gray-400); font-weight: 500; }
.proof-divider { width: 1px; height: 36px; background: var(--gray-200); }

/* ── SECTIONS COMMON ── */
.section { padding: 96px 5vw; }
.section-alt { background: var(--off-white); }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-hover);
  margin-bottom: 0.85rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 560px;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 520px;
  font-weight: 400;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--gray-200);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3.5rem;
}
.feature-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--yellow-pale); }
.feature-icon {
  width: 46px; height: 46px;
  background: var(--navy-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.2s;
}
.feature-card:hover .feature-icon { background: var(--yellow); }
.feature-icon svg { width: 22px; height: 22px; color: var(--navy); }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-weight: 400;
}

/* ── PLATFORM SPLIT ── */
.platform-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.platform-split.reverse { direction: rtl; }
.platform-split.reverse > * { direction: ltr; }

.platform-visual {
  background: var(--navy);
  border-radius: 16px;
  overflow: visible;
  aspect-ratio: unset;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.platform-visual-inner {
  width: 75%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
}
.phone-mockup {
  width: 140px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.phone-bar {
  background: var(--navy);
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch { width: 40px; height: 10px; background: #000; border-radius: 0 0 8px 8px; }
.phone-body { padding: 10px 8px; background: var(--off-white); }
.phone-hive-card {
  background: var(--white);
  border-radius: 7px;
  padding: 8px;
  margin-bottom: 5px;
  border: 1px solid var(--gray-200);
}
.phone-hive-name { font-size: 0.6rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.phone-hive-row { display: flex; justify-content: space-between; align-items: center; }
.phone-hive-sub { font-size: 0.5rem; color: var(--gray-400); }
.phone-badge { font-size: 0.5rem; font-weight: 700; background: var(--yellow); color: var(--navy); padding: 2px 5px; border-radius: 3px; }
.phone-scan-btn {
  background: var(--yellow);
  border-radius: 7px;
  padding: 7px;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 6px;
}

.platform-list { list-style: none; margin-top: 1.75rem; }
.platform-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.platform-list li:last-child { border-bottom: none; }
.platform-check {
  width: 22px; height: 22px;
  background: var(--yellow-pale);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.platform-check svg { width: 13px; height: 13px; color: var(--yellow-hover); }
.platform-list-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.platform-list-text span { font-size: 0.83rem; color: var(--gray-600); line-height: 1.6; }

/* ── PRICING ── */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 4px;
  margin: 2rem 0 3rem;
  gap: 2px;
}
.toggle-btn {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  background: none;
  color: var(--gray-600);
}
.toggle-btn.active { background: var(--white); color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.save-badge {
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(38,51,66,0.1); }
.pricing-card.featured {
  border-color: var(--yellow);
  border-width: 2px;
  position: relative;
}
.pricing-card.selected {
  border: 2.5px solid var(--yellow);
  box-shadow: 0 8px 32px rgba(255,177,51,0.2);
  transform: translateY(-4px);
}

.plan-name { font-size: 0.78rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 0.4rem;
}
.plan-currency { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-top: 6px; }
.plan-amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.plan-period { font-size: 0.85rem; color: var(--gray-400); font-weight: 500; }
.plan-desc { font-size: 0.83rem; color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.6; }
.plan-divider { border: none; border-top: 1px solid var(--gray-200); margin: 1.25rem 0; }
.plan-features { list-style: none; margin-bottom: 1.75rem; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--navy);
  padding: 5px 0;
  font-weight: 500;
}
.plan-features li svg { width: 16px; height: 16px; color: var(--yellow-hover); flex-shrink: 0; margin-top: 1px; }
.plan-features li.dim { color: var(--gray-400); }
.plan-features li.dim svg { color: var(--gray-400); }

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.8rem;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}
.btn-plan-outline {
  background: none;
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
}
.btn-plan-outline:hover { border-color: var(--navy); background: var(--navy-pale); }
.btn-plan-primary {
  background: var(--yellow);
  border: none;
  color: var(--navy);
}
.btn-plan-primary:hover { background: var(--yellow-hover); transform: translateY(-1px); }
.plan-note { font-size: 0.75rem; color: var(--gray-400); text-align: center; margin-top: 0.6rem; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 1.75rem;
}
.testimonial-stars { color: var(--yellow); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.8;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}
.author-name { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.author-role { font-size: 0.75rem; color: var(--gray-400); }

/* ── IOT TEASER ── */
.iot-teaser {
  background: var(--navy);
  border-radius: 20px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  margin: 0 5vw;
  position: relative;
  overflow: hidden;
}
.iot-bg { position: absolute; inset: 0; pointer-events: none; }
.iot-content { position: relative; z-index: 2; }
.iot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,177,51,0.15);
  border: 1px solid rgba(255,177,51,0.3);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.iot-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.iot-content p { font-size: 0.92rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 480px; }
.iot-visual { position: relative; z-index: 2; flex-shrink: 0; }
.iot-sensor {
  width: 120px; height: 120px;
  background: rgba(255,177,51,0.12);
  border: 2px solid rgba(255,177,51,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.iot-sensor::before, .iot-sensor::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,177,51,0.15);
  animation: ripple 3s ease-in-out infinite;
}
.iot-sensor::before { width: 150px; height: 150px; animation-delay: 0s; }
.iot-sensor::after { width: 190px; height: 190px; animation-delay: 1s; }
@keyframes ripple { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:0.2;transform:scale(1.05)} }
.iot-sensor svg { width: 44px; height: 44px; color: var(--yellow); }
.iot-notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,177,51,0.12);
  border: 1.5px solid rgba(255,177,51,0.35);
  color: var(--yellow);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 9px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.18s;
}
.iot-notify-btn:hover { background: rgba(255,177,51,0.2); }

/* ── CTA SIGNUP ── */
.cta-signup {
  background: var(--yellow);
  padding: 80px 5vw;
  text-align: center;
}
.cta-signup h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.cta-signup p { font-size: 1rem; color: rgba(38,51,66,0.65); margin-bottom: 2rem; }
.cta-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-input {
  flex: 1;
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: 9px;
  border: none;
  background: var(--navy);
  color: var(--white);
  outline: none;
}
.cta-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-input:focus { box-shadow: 0 0 0 2px rgba(38,51,66,0.4); }
.btn-cta-dark {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
}
.btn-cta-dark:hover { background: var(--navy-light); }
.cta-note { font-size: 0.78rem; color: rgba(38,51,66,0.5); margin-top: 0.85rem; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.form-input, .form-select, .form-textarea {
  font-family: var(--font);
  font-size: 0.875rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,177,51,0.15);
}
.form-textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.18s;
}
.btn-submit:hover { background: var(--navy-light); }

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.contact-info p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 1rem 1.1rem;
  background: var(--gray-100);
  border-radius: 10px;
}
.contact-item-icon {
  width: 36px; height: 36px;
  background: var(--yellow-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; color: var(--yellow-hover); }
.contact-item-label { font-size: 0.72rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.07em; }
.contact-item-val { font-size: 0.875rem; font-weight: 600; color: var(--navy); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 60px 5vw 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 260px;
  font-weight: 400;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }
.app-badges { display: flex; gap: 8px; margin-top: 1rem; }
.app-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}
.app-badge:hover { background: rgba(255,255,255,0.12); }
.app-badge svg { width: 14px; height: 14px; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 60px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .platform-split, .platform-split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .platform-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .iot-teaser { grid-template-columns: 1fr; margin: 0 4vw; }
  .iot-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: column; }
  .cta-input { width: 100%; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
/* ── LANGUAGE SWITCHER ── */
.language-switcher { position: relative; }

.language-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(38, 51, 66, 0.06);
  border: 1px solid rgba(38, 51, 66, 0.12);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.language-switcher-btn:hover { background: rgba(38, 51, 66, 0.12); }

.language-switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 0.4rem 0;
  display: none;
  z-index: 1000;
}

.language-switcher-menu.open { display: block; }

.language-switcher-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: #111827;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.language-switcher-menu a:hover,
.language-switcher-menu a.active { background: #f3f4f6; color: #0a2a4d; }

/* Responsive navbar wrap to prevent language switcher clipping */
@media (max-width: 1100px) {
  nav {
    flex-wrap: wrap;
    height: auto;
    min-height: 68px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.6rem;
    gap: 1.25rem;
  }
  .nav-actions {
    order: 2;
  }
}
