/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-deep:    #0d2260;
  --blue-mid:     #1a3fa6;
  --blue-bright:  #2563eb;
  --orange:       #f97316;
  --orange-dark:  #ea6c0a;
  --teal:         #0ea5e9;
  --cyan-light:   #e0f2fe;
  --bg-light:     #f0f6ff;
  --white:        #ffffff;
  --text-dark:    #0f172a;
  --text-muted:   #475569;
  --border:       #dbeafe;
  --card-shadow:  0 4px 24px rgba(13,34,96,.10);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 99px; }

/* ===== UTILITY ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  background: var(--cyan-light);
  color: var(--blue-mid);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
  animation: tagGlow 3s ease-in-out infinite;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--blue-deep);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 560px;
}
.accent { color: var(--orange); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(249,115,22,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,.45);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-dark {
  background: var(--blue-deep);
  color: var(--white);
}
.btn-dark:hover { background: var(--blue-mid); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(13,34,96,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.nav-inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo svg { width: 38px; height: 38px; flex-shrink: 0; transition: transform .3s ease; }
.nav-logo:hover svg { transform: rotate(-8deg) scale(1.08); }
.nav-logo-text { line-height: 1.15; }
.nav-logo-text .name { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.nav-logo-text .tag  { font-size: .68rem; color: var(--teal); letter-spacing: .04em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta { margin-left: 12px; padding: 9px 22px; font-size: .88rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: var(--transition);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  padding-top: 68px;
  background: linear-gradient(145deg, var(--blue-deep) 0%, #0e368a 55%, #1254c8 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--teal);
  top: -100px; right: -80px;
  animation: blobMove1 12s ease-in-out infinite alternate;
}
.hero-blob-2 {
  width: 360px; height: 360px;
  background: var(--orange);
  bottom: -60px; left: 5%;
  animation: blobMove2 15s ease-in-out infinite alternate;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-headline {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
}
.hero-stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  margin-top: 2px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack { position: relative; width: 360px; height: 380px; }
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--white);
}
.hc1 { width: 280px; top: 0; right: 0; animation: floatA 6s ease-in-out infinite; }
.hc2 { width: 260px; top: 130px; left: 0; animation: floatB 7s ease-in-out infinite; }
.hc3 { width: 200px; top: 255px; right: 20px; animation: floatC 5.5s ease-in-out infinite; }
.hc-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.hc-icon.orange { background: rgba(249,115,22,.25); }
.hc-icon.teal   { background: rgba(14,165,233,.25); }
.hc-icon.purple { background: rgba(139,92,246,.25); }
.hc-name { font-weight: 700; font-size: .95rem; }
.hc-sub  { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.hc-badge {
  display: inline-block;
  background: rgba(34,197,94,.22);
  color: #4ade80;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 99px;
  margin-top: 10px;
}

/* ===== TRUSTED BY ===== */
#trust {
  background: var(--bg-light);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-logo-item {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .02em;
}

/* ===== ABOUT ===== */
#about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-main-card {
  background: linear-gradient(135deg, var(--blue-deep), #1a3fa6);
  color: var(--white);
  border-radius: 20px;
  padding: 42px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(13,34,96,.3);
}
.about-logo-big {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
}
.about-logo-big span { color: var(--orange); }
.about-tagline-card {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat-box {
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.about-stat-box .n { font-size: 1.6rem; font-weight: 900; color: var(--teal); }
.about-stat-box .l { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.about-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.afc-bottom { bottom: -24px; right: -20px; }
.afc-top    { top: -24px; left: -20px; }
.afc-icon { font-size: 1.6rem; }
.afc-text .t { font-size: .85rem; font-weight: 700; color: var(--blue-deep); }
.afc-text .s { font-size: .73rem; color: var(--text-muted); }

.about-text {}
.about-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 28px;
  line-height: 1.75;
}
.about-pillars { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.about-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-dark);
}
.pillar-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--cyan-light);
  color: var(--blue-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}
.pillar-text strong { display: block; font-weight: 700; }
.pillar-text span { font-size: .85rem; color: var(--text-muted); }

/* ===== SERVICES ===== */
#services {
  padding: 100px 0;
  background: var(--bg-light);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 12px auto 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--teal));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: var(--blue-bright);
}
.service-card:hover::before { opacity: 1; }
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.si-blue   { background: #dbeafe; }
.si-orange { background: #ffedd5; }
.si-teal   { background: #e0f7fa; }
.si-purple { background: #ede9fe; }
.service-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.service-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.service-bullets { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.service-bullets li {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ===== PRODUCTS ===== */
#products {
  padding: 100px 0 56px;
  background: var(--white);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.product-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,34,96,.14);
}
.product-header {
  padding: 32px 28px 24px;
  position: relative;
}
.ph-nammaooru  { background: linear-gradient(135deg, #0d2260, #1254c8); }
.ph-diyoview   { background: linear-gradient(135deg, #1e3a5f, #0ea5e9); }
.ph-ungabill   { background: linear-gradient(135deg, #431407, #ea580c); }
.ph-enterprise { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.product-logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}
.product-type {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-ready-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(34,197,94,.18);
  color: #4ade80;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(74,222,128,.25);
  overflow: hidden;
}
.product-icon-big {
  font-size: 2.6rem;
  margin-top: 16px;
}
.product-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-tagline {
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.product-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.product-features {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-features li {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-features li::before {
  content: '✓';
  color: var(--blue-bright);
  font-weight: 700;
  font-size: .8rem;
}
.product-platforms {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.platform-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-light);
  color: var(--blue-mid);
  border: 1px solid var(--border);
  transition: background .25s, color .25s, transform .25s;
}
.platform-tag:hover {
  background: var(--blue-mid);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== OFFERS ===== */
#offers {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0e368a 100%);
  position: relative;
  overflow: hidden;
}
.offers-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.offers-content { position: relative; z-index: 2; }
.offers-header { text-align: center; margin-bottom: 56px; }
.offers-header .section-title { color: var(--white); }
.offers-header .section-subtitle { color: rgba(255,255,255,.65); margin: 12px auto 0; }
.offers-header .section-tag { background: rgba(255,255,255,.12); color: var(--teal); }
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.offer-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 40px 36px;
  transition: var(--transition);
}
.offer-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
}
.offer-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}
.oi-orange { background: rgba(249,115,22,.25); }
.oi-teal   { background: rgba(14,165,233,.25); }
.offer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.offer-desc {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  margin-bottom: 20px;
}
.offer-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.offer-perks li {
  font-size: .85rem;
  color: rgba(255,255,255,.82);
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer-perks li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
}

/* ===== CONTACT ===== */
#contact {
  padding: 100px 0;
  background: var(--bg-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: start;
}
.contact-info {}
.contact-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 18px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-methods { display: flex; flex-direction: column; gap: 18px; }
.contact-method {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}
.contact-method:hover { border-color: var(--blue-bright); transform: translateX(4px); }
.cm-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.cm-blue   { background: #dbeafe; }
.cm-orange { background: #ffedd5; }
.cm-text .label { font-size: .75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.cm-text .value { font-size: .97rem; font-weight: 700; color: var(--blue-deep); }

.contact-form {
  background: var(--white);
  border-radius: 18px;
  padding: 42px 40px;
  border: 1.5px solid var(--border);
  box-shadow: var(--card-shadow);
}
.form-title { font-size: 1.2rem; font-weight: 800; color: var(--blue-deep); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition);
  outline: none;
  font-family: inherit;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-bright); background: var(--white); }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; padding: 14px; font-size: 1rem; border-radius: 99px; }

/* ===== FOOTER ===== */
footer {
  background: var(--blue-deep);
  color: var(--white);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text { font-size: 1.4rem; font-weight: 900; margin-bottom: 4px; }
.footer-brand .logo-text span { color: var(--orange); }
.footer-brand .tagline { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-brand .desc { font-size: .85rem; color: rgba(255,255,255,.58); line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: .88rem; font-weight: 700; color: var(--teal); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.78); text-decoration: none; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-bottom .heart { color: var(--orange); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--blue-deep);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  font-size: .9rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid #22c55e; }
.toast.error   { border-left: 4px solid var(--orange); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 44px; height: 44px;
  background: var(--blue-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(13,34,96,.3);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--blue-deep); transform: translateY(-2px); }

/* ===== DEPLOY STRIP ===== */
.deploy-strip {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--blue-deep), #1a3fa6);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.deploy-strip-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
  min-width: 130px;
}
.deploy-options {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  flex: 1;
}
.deploy-option {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}
.deploy-icon { font-size: 1.6rem; flex-shrink: 0; display: inline-block; animation: deployFloat 3s ease-in-out infinite; }
.deploy-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.deploy-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.58);
  margin-top: 2px;
}
.deploy-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ===== CUSTOM SOLUTIONS BANNER ===== */
#custom {
  padding: 32px 0 80px;
  background: var(--white);
}
.custom-banner {
  margin-top: 0;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.custom-banner-text .section-tag { margin-bottom: 10px; }
.custom-banner-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.25;
  margin-bottom: 10px;
}
.custom-banner-desc {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
}
.custom-banner-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.custom-banner-perks li {
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  background: var(--cyan-light);
  color: var(--blue-mid);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-sub { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .about-float-card { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 32px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 18px; }
  .nav-cta { display: none; }
}

@media (max-width: 680px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Container */
  .container { padding: 0 16px; }

  /* Section padding */
  #about, #services, #products, #offers, #contact { padding: 64px 0; }
  #custom { padding: 0 0 60px !important; }

  /* Section titles */
  .section-title { font-size: clamp(1.45rem, 5vw, 1.9rem); }

  /* Hero */
  .hero-headline { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .hero-content { padding: 48px 0; }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* About — hide overflowing float cards on small screens */
  .about-float-card { display: none; }
  .about-main-card { padding: 28px 22px; }
  .about-visual { margin-bottom: 12px; }

  /* Trust */
  #trust { padding: 20px 0; }
  .trust-inner { gap: 16px; }
  .trust-logos { gap: 16px; justify-content: center; }

  /* Services / Products grids */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 24px 20px; }
  .product-header { padding: 24px 20px 18px; }
  .product-body { padding: 18px 20px 22px; }

  /* Ready to Ship badge — remove absolute positioning so it doesn't overlap title */
  .product-ready-badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }

  /* Deploy strip */
  .deploy-strip { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 20px; }
  .deploy-divider { display: none; }
  .deploy-options { gap: 16px; }
  .deploy-option { min-width: unset; }
  .deploy-strip-label { min-width: unset; }

  /* Custom banner */
  .custom-banner { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .custom-banner-perks { flex-direction: column; }
  .custom-banner .btn { width: 100%; justify-content: center; text-align: center; white-space: normal !important; }

  /* Offers */
  .offer-card { padding: 28px 22px; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .contact-method .cm-text .value { font-size: .88rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 0 28px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

  /* Toast */
  .toast { bottom: 16px; right: 16px; left: 16px; text-align: center; }

  /* Back to top */
  .back-top { bottom: 16px; left: 16px; }
}

@media (max-width: 400px) {
  .hero-headline { font-size: 1.65rem; }
  .section-title { font-size: 1.4rem; }
  .hero-badge { font-size: .74rem; }
  .hero-stat-num { font-size: 1.3rem; }
  .about-logo-big { font-size: 2rem; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--blue-deep);
  padding: 24px;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.1);
  gap: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--orange), var(--blue-bright));
  z-index: 2000;
  transition: width .08s linear;
  border-radius: 0 99px 99px 0;
}

/* ===== HERO PARTICLE CANVAS ===== */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ===== ANIMATED BLOBS ===== */
@keyframes blobMove1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-60px, 40px) scale(1.1); }
  100% { transform: translate(40px, -30px) scale(.95); }
}
@keyframes blobMove2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(50px, -50px) scale(1.15); }
  100% { transform: translate(-30px, 30px) scale(.9); }
}

/* ===== FLOATING HERO CARDS ===== */
@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

/* ===== TYPEWRITER CURSOR ===== */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  background: var(--orange);
  margin-left: 4px;
  animation: blink .7s step-end infinite;
  vertical-align: baseline;
  border-radius: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===== SHIMMER BADGES ===== */
.hero-badge, .hc-badge {
  position: relative;
  overflow: hidden;
}
.hero-badge::after, .product-ready-badge::after, .hc-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ===== 3D CARD TILT ===== */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .1s ease, box-shadow .3s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(13,34,96,.2);
}

/* ===== CARD GLOW BORDER ON HOVER ===== */
.product-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal), var(--blue-bright), var(--orange));
  opacity: 0;
  z-index: -1;
  transition: opacity .35s ease;
}
.product-card:hover::after { opacity: .6; }

/* ===== BUTTON RIPPLE ===== */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.35);
  animation: rippleAnim .55s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ===== GRADIENT TEXT ANIMATION ===== */
.gradient-text {
  background: linear-gradient(270deg, #f97316, #0ea5e9, #f97316, #2563eb);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== STAGGERED REVEAL DELAYS ===== */
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ===== STAT PULSE ON REVEAL ===== */
@keyframes statPop {
  0%   { transform: scale(.6); opacity: 0; }
  70%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
.stat-pop { animation: statPop .5s cubic-bezier(.34,1.56,.64,1) both; }

/* ===== DEPLOY ICON DELAYS ===== */
.deploy-option:nth-child(1) .deploy-icon { animation-delay: 0s; }
.deploy-option:nth-child(3) .deploy-icon { animation-delay: .6s; }
.deploy-option:nth-child(5) .deploy-icon { animation-delay: 1.2s; }

/* ===== SERVICE CARD ICON BOUNCE ===== */
.service-card:hover .service-icon-wrap {
  animation: iconBounce .4s cubic-bezier(.34,1.56,.64,1);
}

/* ===== CONTACT METHOD SLIDE ===== */
.contact-method::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.05));
  transform: translateX(-100%);
  transition: transform .4s ease;
}
.contact-method:hover::before { transform: translateX(0); }

/* ===== PILLAR ICON SPIN ===== */
.about-pillars li:hover .pillar-icon {
  animation: pillarSpin .5s ease;
}

/* ===== FOOTER HEART BEAT ===== */
.heart { animation: heartBeat 1.4s ease-in-out infinite; display: inline-block; }

/* ===== KEYFRAMES ===== */
@keyframes deployFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes iconBounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.22) rotate(-5deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes tagGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
  50%       { box-shadow: 0 0 0 6px rgba(14,165,233,.12); }
}
@keyframes pillarSpin {
  0%   { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.3); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.2); }
  70%       { transform: scale(1); }
}
