/* ═══════════════════════════════════════════════════════════════════
   IKB Innovations — Stylesheet
   Brand: #009292 (teal) | Dark tech theme
   Font: Poppins + JetBrains Mono
═══════════════════════════════════════════════════════════════════ */

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

:root {
  --teal:        #009292;
  --teal-light:  #00b4b4;
  --teal-dim:    rgba(0, 146, 146, 0.15);
  --teal-glow:   rgba(0, 146, 146, 0.25);

  --dark-900:    #0b0f14;
  --dark-800:    #111820;
  --dark-700:    #18222e;
  --dark-600:    #1e2d3d;
  --dark-500:    #2a3f52;

  --text-primary:   #e8f0f7;
  --text-secondary: #8ba3b8;
  --text-muted:     #4d6478;
  --border:         rgba(0, 146, 146, 0.18);
  --border-subtle:  rgba(255, 255, 255, 0.06);

  --font-main:  'Poppins', sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --transition: 0.25s ease;
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 146, 146, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--dark-900);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography helpers ───────────────────────────────────────────── */
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; }
.accent { color: var(--teal); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 146, 146, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal-dim);
  transform: translateY(-1px);
}

.btn-card {
  background: var(--teal-dim);
  color: var(--teal-light);
  border: 1px solid rgba(0, 146, 146, 0.3);
  padding: 9px 20px;
  font-size: 0.85rem;
}
.btn-card:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ── Navigation ───────────────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav-header.scrolled {
  background: rgba(11, 15, 20, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav-links .nav-cta {
  color: var(--teal);
  border: 1.5px solid rgba(0, 146, 146, 0.5);
  border-radius: var(--radius-sm);
  padding: 6px 18px;
}
.nav-links .nav-cta:hover {
  background: var(--teal-dim);
  color: var(--teal-light);
  border-color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: var(--dark-900);
}

/* Dot-grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0, 146, 146, 0.25) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* Teal glow blob */
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 146, 146, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 20px;
  color: var(--teal);
  opacity: 0.85;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.7rem;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Section Shared ───────────────────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  color: var(--teal);
  opacity: 0.8;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ── Products ─────────────────────────────────────────────────────── */
.products {
  padding: 100px 0;
  background: var(--dark-900);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Product Card */
.product-card {
  position: relative;
  background: var(--dark-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  border-color: rgba(0, 146, 146, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.product-card:hover::before { opacity: 1; }

.product-card.featured {
  border-color: rgba(0, 146, 146, 0.4);
  background: linear-gradient(160deg, var(--dark-700) 0%, var(--dark-800) 100%);
}

.product-card.featured::before { opacity: 0.7; }

/* Glow effect on hover */
.card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 146, 146, 0.1), transparent 70%);
  pointer-events: none;
  transition: opacity var(--transition);
  opacity: 0;
}
.product-card:hover .card-glow { opacity: 1; }

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--teal);
  background: var(--teal-dim);
  border-radius: var(--radius-sm);
  padding: 8px;
  border: 1px solid rgba(0, 146, 146, 0.2);
}

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

.card-tag {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: right;
  padding-top: 4px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.card-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.card-status {
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.card-status.live      { color: #4ade80; }
.card-status.coming-soon { color: var(--text-muted); }

/* ── About ────────────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--dark-800);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-layout {
  max-width: 680px;
}

.about-text .section-tag { display: block; margin-bottom: 14px; }

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text .btn { margin-top: 8px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat {
  background: var(--dark-700);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition);
}
.stat:hover { border-color: rgba(0, 146, 146, 0.3); }

.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
}

/* ── Contact ──────────────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--dark-900);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 146, 146, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact-layout { text-align: center; }

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-inner .section-tag { display: block; margin-bottom: 14px; }

.contact-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.contact-inner p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--dark-800);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-logo { height: 40px; width: auto; margin-bottom: 12px; }

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
  max-width: 260px;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--teal-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-build { color: rgba(0, 146, 146, 0.45); font-size: 0.7rem; }

/* ── Scroll animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 15, 20, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .nav-links .nav-cta { border: none; padding: 0; }

  .about-stats { grid-template-columns: 1fr; }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav { gap: 40px; }

  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .hero-headline { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-nav { flex-wrap: wrap; }
}
