/* ============================================================
   SMART HOME — STYLES.CSS
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #080c14;
  color: #e2e8f0;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── CSS VARIABLES ── */
:root {
  --blue:    #0082c9;
  --blue-lt: #00b4f5;
  --blue-dk: #005a8c;
  --glass:   rgba(255,255,255,0.04);
  --border:  rgba(255,255,255,0.08);
  --surface: #0d1421;
  --card:    #111827;
  --text:    #e2e8f0;
  --muted:   #94a3b8;
  --radius:  16px;
  --radius-sm: 10px;
  --shadow:  0 8px 32px rgba(0,130,201,0.15);
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ── CUSTOM CURSOR ── */
#cursor {
  width: 10px; height: 10px;
  background: var(--blue-lt);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: background .2s;
}
#cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .12s ease, width .3s, height .3s, opacity .3s;
}
body.cursor-hover #cursor-follower { width: 56px; height: 56px; opacity: .5; }

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0;
  background: #080c14;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 56px; height: 56px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader-text {
  margin-top: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--blue-lt);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--blue-dk); border-radius: 10px; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--blue-lt), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-lt);
  padding: 6px 14px;
  border: 1px solid rgba(0,180,245,.25);
  border-radius: 100px;
  background: rgba(0,130,201,.08);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); max-width: 540px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: #fff;
  box-shadow: 0 0 0 0 rgba(0,180,245,.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px 4px rgba(0,180,245,.35);
}
.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ── SCROLL ANIMATIONS ── */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(.92); }

.reveal-up.visible, .reveal-left.visible,
.reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}

.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }

/* ────────────────────────────────────────────
   NAV
──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .4s, padding .4s, box-shadow .4s;
}
#navbar.scrolled {
  background: rgba(8,12,20,.9);
  backdrop-filter: blur(18px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: #fff;
}
.nav-logo i { color: var(--blue-lt); font-size: 1.4rem; }
.nav-logo b { color: var(--blue-lt); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--blue-lt);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 20px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: #fff;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────────────────────────────────────────
   HERO
──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 60px;
}
#particles-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,130,201,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,130,201,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent);
}
.hero > .container { display: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center;
         max-width: 1200px; margin: 0 auto; gap: 60px; width: 100%; }

/* override for hero to not use container */
.hero-content { position: relative; z-index: 2; }
.hero-visual   { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  border: 1px solid rgba(0,180,245,.3);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue-lt);
  background: rgba(0,130,201,.08);
  margin-bottom: 24px;
  letter-spacing: .06em;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-lt);
  line-height: 1;
}
.stat > span:last-of-type { font-size: 1.8rem; font-weight: 800; color: var(--blue-lt); }
.stat p { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── PHONE MOCKUP ── */
.phone-mockup {
  width: 260px; margin: 0 auto;
  background: #0d1421;
  border-radius: 32px;
  border: 1.5px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,130,201,.1);
  padding: 24px 16px;
  position: relative;
  animation: float 4s ease-in-out infinite;
}
.phone-mockup::before {
  content: ''; position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: var(--border); border-radius: 4px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.app-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  font-weight: 700; font-size: .95rem;
}
.app-header i { color: var(--blue-lt); }

.app-tiles {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 18px;
}
.tile {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: var(--transition);
  cursor: pointer;
}
.tile.active {
  background: rgba(0,130,201,.15);
  border-color: rgba(0,130,201,.4);
}
.tile i { font-size: 1.1rem; color: var(--muted); }
.tile.active i { color: var(--blue-lt); }
.tile span { font-size: .7rem; font-weight: 600; }
.tile small { font-size: .62rem; color: var(--muted); }

.app-scene { margin-bottom: 14px; }
.app-scene > span { font-size: .72rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 8px; }
.scenes { display: flex; gap: 6px; }
.scene-btn {
  flex: 1; padding: 6px;
  border: 1px solid var(--border);
  background: var(--glass); border-radius: 8px;
  font-size: .65rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: var(--transition);
}
.scene-btn.active {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

.app-temp {
  display: flex; align-items: center; gap: 12px;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px;
}
.app-temp i { color: var(--blue-lt); font-size: 1.2rem; }
.temp-val { font-size: 1.1rem; font-weight: 700; display: block; }
.app-temp small { font-size: .65rem; color: var(--muted); }

/* ── FLOATING CARDS ── */
.floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(13,20,33,.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.floating-card i { color: var(--blue-lt); }
.card-1 { top: 10%; right: -10px; animation: float 3.5s ease-in-out infinite; }
.card-2 { bottom: 30%; left: -10px; animation: float 4.2s ease-in-out infinite .5s; }
.card-3 { bottom: 5%; right: 10%; animation: float 3.8s ease-in-out infinite 1s; }

/* ── HERO SCROLL HINT ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .7rem; letter-spacing: .12em; color: var(--muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}

/* ────────────────────────────────────────────
   MARQUEE
──────────────────────────────────────────── */
.marquee-strip {
  background: rgba(0,130,201,.07);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; align-items: center; gap: 32px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.marquee-track .dot { color: var(--blue-lt); font-size: .6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ────────────────────────────────────────────
   ABOUT
──────────────────────────────────────────── */
.about { background: var(--surface); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 80px;
}
.about-visual {
  position: relative; height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.about-ring-1, .about-ring-2 {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(0,130,201,.2);
  animation: rotate 20s linear infinite;
}
.about-ring-1 { width: 320px; height: 320px; }
.about-ring-2 { width: 240px; height: 240px; animation-direction: reverse; animation-duration: 14s; }
@keyframes rotate { to { transform: rotate(360deg); } }

.about-card-stack { position: relative; z-index: 2; }
.acard {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.acard-back  { width: 240px; height: 140px; top: -20px; left: -20px; opacity: .4; transform: rotate(-4deg); }
.acard-mid {
  width: 240px; height: 140px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px;
}
.acard-mid i { font-size: 2rem; color: var(--blue-lt); }
.acard-mid h4 { font-size: 1.2rem; font-weight: 700; }
.acard-mid p  { font-size: .8rem; color: var(--muted); }
.acard-front {
  width: 240px;
  top: 120px; left: -10px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.acard-icon-row { display: flex; gap: 16px; }
.acard-icon-row i { font-size: 1.2rem; color: var(--blue-lt); }
.acard-front p { font-size: .72rem; color: var(--muted); text-align: center; }

.about-list { margin: 20px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .92rem; color: var(--muted);
}
.about-list li i { color: var(--blue-lt); flex-shrink: 0; }

/* ────────────────────────────────────────────
   PRODUCTS
──────────────────────────────────────────── */
.products { background: #080c14; }

.filter-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--glass);
  color: var(--muted);
  font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  transform-origin: bottom center;
}
.product-card:hover {
  border-color: rgba(0,130,201,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(0,130,201,.15);
}
.product-card.hidden { display: none; }

.product-glow {
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(0,130,201,.15), transparent 70%);
  border-radius: 50%;
  transition: var(--transition);
}
.product-card:hover .product-glow { transform: scale(1.5); opacity: .8; }

.product-badge, .new-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .68rem; font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: #fff;
  letter-spacing: .05em;
}
.new-badge { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.product-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(0,130,201,.1);
  border: 1px solid rgba(0,130,201,.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.product-card:hover .product-icon-wrap {
  background: rgba(0,130,201,.2);
  box-shadow: 0 0 20px rgba(0,130,201,.3);
}
.product-icon-wrap i { font-size: 1.3rem; color: var(--blue-lt); }

.product-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.product-card p  { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.product-tags span {
  padding: 3px 10px;
  background: rgba(0,130,201,.08);
  border: 1px solid rgba(0,130,201,.15);
  border-radius: 100px;
  font-size: .68rem; font-weight: 600; color: var(--blue-lt);
}
.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600;
  color: var(--blue-lt);
  transition: var(--transition);
}
.product-link:hover { gap: 10px; }

/* ────────────────────────────────────────────
   FEATURES — BENTO
──────────────────────────────────────────── */
.features { background: var(--surface); position: relative; overflow: hidden; }
.features-bg-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,130,201,.08), transparent 70%);
  pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.orb-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.bento-card:hover {
  border-color: rgba(0,130,201,.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

.bento-icon {
  width: 48px; height: 48px;
  background: rgba(0,130,201,.1);
  border: 1px solid rgba(0,130,201,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.bento-icon i { font-size: 1.2rem; color: var(--blue-lt); }
.bento-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.bento-card p  { font-size: .85rem; color: var(--muted); line-height: 1.6; }

.bento-deco {
  position: absolute; bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,130,201,.12), transparent 70%);
}
.bento-deco-r { right: auto; left: -30px; }

/* Mini chart */
.mini-chart {
  display: flex; align-items: flex-end;
  gap: 6px; height: 60px; margin-top: 20px;
}
.bar {
  flex: 1;
  height: var(--h);
  background: rgba(0,130,201,.25);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height .6s ease;
}
.active-bar { background: linear-gradient(to top, var(--blue), var(--blue-lt)); }

/* ────────────────────────────────────────────
   HOW IT WORKS
──────────────────────────────────────────── */
.how-it-works { background: #080c14; }
.steps-track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative; margin-top: 20px;
}
.steps-line {
  position: absolute;
  top: 40px; left: calc(12.5%); right: calc(12.5%);
  height: 1px; background: linear-gradient(to right, transparent, var(--blue), transparent);
  z-index: 0;
}
.step {
  text-align: center; position: relative; z-index: 1;
}
.step-num {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-size: .65rem; font-weight: 800;
  color: var(--blue-lt); letter-spacing: .08em;
}
.step-icon {
  width: 64px; height: 64px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.step:hover .step-icon {
  background: rgba(0,130,201,.15);
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(0,130,201,.3);
}
.step-icon i { font-size: 1.2rem; color: var(--blue-lt); }
.step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.step p   { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ────────────────────────────────────────────
   CONTACT
──────────────────────────────────────────── */
.contact { background: var(--surface); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}
.info-card:hover { border-color: rgba(0,130,201,.3); }
.info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(0,130,201,.1);
  border: 1px solid rgba(0,130,201,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-lt);
}
.info-card h4 { font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.info-card p  { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.info-card a:hover { color: var(--blue-lt); }

.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted);
  transition: var(--transition);
}
.social-btn:hover {
  background: rgba(0,130,201,.15);
  border-color: var(--blue);
  color: var(--blue-lt);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  resize: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(0,130,201,.06);
  box-shadow: 0 0 0 3px rgba(0,130,201,.15);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--card); }
.form-note { font-size: .75rem; color: var(--muted); text-align: center; }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.footer {
  background: #060a11;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; color: var(--muted); line-height: 1.7; max-width: 240px; }
.footer-links-group h5 {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: 16px;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a,
.footer-links-group span {
  font-size: .85rem; color: var(--muted);
  transition: var(--transition);
}
.footer-links-group a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  font-size: .78rem; color: var(--muted);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom i { color: #f87171; }

/* ────────────────────────────────────────────
   FLOATING WIDGETS
──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 900;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.wa-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.8); opacity: 0; }
}

#backToTop {
  position: fixed; bottom: 96px; right: 28px;
  width: 44px; height: 44px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--muted);
  cursor: pointer; z-index: 900;
  transition: var(--transition);
  opacity: 0; transform: translateY(10px);
}
#backToTop.visible { opacity: 1; transform: none; }
#backToTop:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ────────────────────────────────────────────
   FORM SUCCESS STATE
──────────────────────────────────────────── */
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success i {
  font-size: 3rem; color: #22c55e;
  display: block; margin-bottom: 16px;
  animation: bounceIn .6s ease;
}
@keyframes bounceIn {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 80px;
    text-align: center;
    max-width: 100%;
  }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 280px; }
  .features-bento { grid-template-columns: repeat(2,1fr); }
  .bento-wide { grid-column: span 2; }
  .steps-track { grid-template-columns: repeat(2,1fr); }
  .steps-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(8,12,20,.97);
    backdrop-filter: blur(18px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
  }
  .nav-links.open a { display: block; padding: 12px 16px; font-size: 1rem; color: var(--text); }

  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .features-bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-tall { grid-row: span 1; }
  .steps-track { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section-pad { padding: 70px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .filter-tabs { gap: 8px; }
  .filter-btn { padding: 7px 14px; font-size: .78rem; }
}

/* ── Selection ── */
::selection { background: rgba(0,130,201,.3); color: #fff; }
