/* =============================================
   IMC PRO — Premium Landing Page Styles
   ============================================= */

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

:root {
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.35);
  --blue-400: #60a5fa;
  --yellow-400: #facc15;
  --orange-400: #fb923c;
  --red-400: #f87171;

  --bg: #0a0f1e;
  --bg-card: #111827;
  --bg-card-2: #1a2236;
  --border: rgba(255,255,255,0.07);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--green-400), #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-500), #34d399);
  color: #0a0f1e;
  box-shadow: 0 0 24px var(--green-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(34,197,94,0.55);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--green-500);
  color: var(--green-400);
  transform: translateY(-2px);
}

.btn--nav {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-400);
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  padding: 10px 22px;
  font-size: 14px;
}
.btn--nav:hover {
  background: rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10,15,30,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 20px;
  flex-shrink: 0;
}
.logo-icon { font-size: 26px; line-height: 1; }
.logo-text strong { color: var(--green-400); }

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0 auto;
}
.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.blob--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #22c55e, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  top: 30%; right: -80px;
  animation-delay: 3s;
}
.blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #818cf8, transparent 70%);
  bottom: 0; left: 30%;
  animation-delay: 5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__content {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green-400);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}
.hero__title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero__desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hero__stats {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.stat__num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.stat__label {
  font-size: 13px;
  color: var(--text-muted);
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Mockup */
.hero__mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s 0.3s ease both;
}
.mockup-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(34,197,94,0.4), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}
.mockup-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 360px;
  border-radius: 32px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.7));
  transition: transform var(--transition);
}
.mockup-img:hover { transform: translateY(-8px) rotate(1deg); }

/* ── FEATURES ── */
.features {
  padding: 96px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green-400);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,0.25);
  box-shadow: 0 0 40px rgba(34,197,94,0.08);
}
.feature-card--highlight {
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(6,182,212,0.08));
  border-color: rgba(34,197,94,0.2);
}
.feature-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CALCULATOR SECTION ── */
.calculator-section {
  padding: 96px 0;
  background: linear-gradient(180deg, transparent, rgba(34,197,94,0.04), transparent);
}
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.calc-info .section-title { text-align: left; }
.calc-info .section-tag { margin-bottom: 16px; }
.calc-info .section-desc { text-align: left; margin: 0 0 32px; }

.categories { display: flex; flex-direction: column; gap: 14px; }
.category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.category strong { color: var(--text); }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--blue   { background: var(--blue-400); box-shadow: 0 0 8px var(--blue-400); }
.dot--green  { background: var(--green-400); box-shadow: 0 0 8px var(--green-400); }
.dot--yellow { background: var(--yellow-400); box-shadow: 0 0 8px var(--yellow-400); }
.dot--red    { background: var(--red-400); box-shadow: 0 0 8px var(--red-400); }

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.calc-card__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 28px;
}
.calc-form { display: flex; flex-direction: column; gap: 16px; }

.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.input-group input {
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition);
}
.input-group input::placeholder { color: rgba(148,163,184,0.4); font-weight: 400; }
.input-group input:focus { border-color: var(--green-500); }

.btn--calc {
  background: linear-gradient(135deg, var(--green-500), #34d399);
  color: #0a0f1e;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: 14px;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  box-shadow: 0 0 24px var(--green-glow);
  transition: var(--transition);
}
.btn--calc:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(34,197,94,0.5);
}
.btn--calc:active { transform: scale(0.98); }

/* Result */
.calc-result {
  margin-top: 28px;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}
.result-value {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.result-label {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  margin-top: 4px;
}

/* Color bar */
.result-bar-wrap { margin: 0 auto; max-width: 340px; }
.result-bar__track {
  height: 10px;
  border-radius: 50px;
  background: linear-gradient(90deg,
    var(--blue-400) 0%,
    var(--green-400) 30%,
    var(--yellow-400) 58%,
    var(--orange-400) 75%,
    var(--red-400) 100%
  );
  position: relative;
  margin-bottom: 10px;
}
.result-bar__indicator {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  transition: left 0.6s cubic-bezier(0.4,0,0.2,1);
}
.result-bar__labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
.result-tip {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── DOWNLOAD ── */
.download { padding: 80px 0 96px; }
.download__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
}
.download__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}
.download__blob--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #22c55e, transparent);
  top: -100px; left: -100px;
}
.download__blob--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent);
  bottom: -80px; right: -80px;
}
.download__content { position: relative; z-index: 1; }
.download__emoji { font-size: 52px; display: block; margin-bottom: 20px; }
.download__card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.download__card p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
}
.download__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px 24px;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.store-btn:hover {
  border-color: var(--green-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.store-btn svg { flex-shrink: 0; }
.store-btn div { text-align: left; }
.store-btn small { display: block; font-size: 11px; color: var(--text-muted); }
.store-btn strong { font-size: 16px; font-weight: 700; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 14px; color: var(--text-muted); }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero__desc { max-width: 100%; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__mockup { order: -1; }
  .mockup-img { width: 260px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .calc-info .section-title, .calc-info .section-desc { text-align: center; }
  .categories { align-items: center; }
}

@media (max-width: 600px) {
  .nav__links { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .download__card { padding: 48px 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
