/* -----------------------------------------------------------------
   IziDeploy landing — light theme, indigo accents, JetBrains Mono.
   ----------------------------------------------------------------- */

:root {
  --bg:           #fafafa;
  --bg-alt:       #ffffff;
  --bg-deep:      #f5f5f7;
  --ink:          #1d1d1f;
  --ink-soft:     #515154;
  --ink-mute:     #86868b;
  --line:         rgba(0, 0, 0, 0.06);
  --line-strong:  rgba(0, 0, 0, 0.1);

  --primary:      #5B5BF7;
  --primary-deep: #4F46E5;
  --primary-soft: rgba(91, 91, 247, 0.08);
  --violet:       #7C3AED;
  --emerald:      #10b981;
  --amber:        #f59e0b;
  --pink:         #ec4899;

  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow:       0 8px 24px -8px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg:    0 24px 48px -12px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.05);
  --shadow-glow:  0 12px 36px rgba(91, 91, 247, 0.28);

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       180ms;
  --t:            320ms;
  --t-slow:       560ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

img, svg { display: block; max-width: 100%; }

::selection { background: rgba(91, 91, 247, 0.25); }

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

/* -- Background gradient orbs ------------------------------------ */
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 24s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; left: -180px; top: -120px; background: radial-gradient(circle at 30% 30%, #8b5cf6 0%, transparent 70%); }
.orb-2 { width: 460px; height: 460px; right: -160px; top: 280px; background: radial-gradient(circle at 30% 30%, #5B5BF7 0%, transparent 70%); animation-delay: -8s; }
.orb-3 { width: 600px; height: 600px; left: 30%; top: 1200px; background: radial-gradient(circle at 30% 30%, #ec4899 0%, transparent 70%); opacity: 0.32; animation-delay: -14s; }

@keyframes drift {
  0%, 100%  { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.05); }
  66%       { transform: translate(-30px, 20px) scale(0.95); }
}

/* -- Nav --------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav.scrolled {
  border-color: var(--line);
  background: rgba(250, 250, 250, 0.86);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links {
  display: none;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { transition: color var(--t-fast); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
}

/* -- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-ghost {
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.04); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
  box-shadow: 0 6px 18px rgba(91, 91, 247, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(91, 91, 247, 0.45);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--bg-deep); }

.btn-lg { padding: 14px 24px; font-size: 14px; }
.btn-xl { padding: 18px 32px; font-size: 15px; }

.arrow { transition: transform var(--t-fast); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* -- Hero -------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 88px 0 64px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 91, 247, 0.2);
  animation: pulse 2.4s var(--ease) infinite;
}
.eyebrow-static { background: rgba(0, 0, 0, 0.04); color: var(--ink-soft); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(91, 91, 247, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(91, 91, 247, 0.05); }
}

h1 {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
h1 .grad {
  background: linear-gradient(120deg, var(--primary) 0%, var(--violet) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 6s var(--ease) infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.lead-sm {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 12px 0 0;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}
.microcopy {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0 0 64px;
}

/* -- Hero mockup ------------------------------------------------- */
.hero-mockup {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  perspective: 1400px;
}
.mockup-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateX(2deg);
  transition: transform var(--t-slow) var(--ease);
}
.hero-mockup:hover .mockup-card { transform: rotateX(0deg); }

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.mockup-header span { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.mockup-url {
  width: auto !important;
  height: auto !important;
  border-radius: 6px !important;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 14px;
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  color: var(--ink-mute);
}
.mockup-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t-fast);
}
.mockup-row:hover { transform: translateX(2px); }
.app-tile { display: flex; align-items: center; gap: 12px; }
.app-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  font-size: 16px;
}
.app-meta {
  display: flex; flex-direction: column; gap: 4px;
}
.app-meta strong { font-size: 13px; font-weight: 700; }
.badge {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700;
  padding: 1px 8px; border-radius: 999px;
  width: fit-content;
}
.badge-live { color: var(--emerald); background: rgba(16, 185, 129, 0.1); }
.badge-deploying { color: var(--amber); background: rgba(245, 158, 11, 0.1); }
.version {
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 600;
}
.progress {
  width: 110px; height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress .bar {
  display: block;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  border-radius: 999px;
  animation: progress 2.4s var(--ease) infinite;
}
@keyframes progress {
  0%   { width: 18%; }
  50%  { width: 78%; }
  100% { width: 18%; }
}

.float-card {
  position: absolute;
  right: -12px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: left;
  animation: float 4s var(--ease) infinite;
  max-width: 240px;
}
.float-card strong { display: block; font-size: 13px; }
.float-card p { margin: 2px 0 0; font-size: 11px; color: var(--ink-mute); }
.float-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* -- Sections ---------------------------------------------------- */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}
.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.6) 100%);
}
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 640px;
}
.section-head h2,
.security-grid h2,
.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 16px 0 0;
}
.section-head .eyebrow,
.security-grid .eyebrow {
  margin-bottom: 0;
}

/* -- Feature cards ----------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t-fast);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(91, 91, 247, 0.18);
}
.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
.card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 20px; height: 20px; }
.icon-violet  { background: rgba(91, 91, 247, 0.1);  color: var(--primary); }
.icon-emerald { background: rgba(16, 185, 129, 0.1); color: var(--emerald); }
.icon-amber   { background: rgba(245, 158, 11, 0.1); color: var(--amber); }
.icon-pink    { background: rgba(236, 72, 153, 0.1); color: var(--pink); }

.card-feature { background: linear-gradient(180deg, #fff 0%, rgba(91, 91, 247, 0.04) 100%); }
.card-pill {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
}

/* -- Steps ------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  position: relative;
  padding: 36px 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-num {
  position: absolute;
  top: 28px; right: 24px;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.3;
}
.steps h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.steps p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 280px;
  line-height: 1.6;
}

/* -- Security ---------------------------------------------------- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 880px) {
  .security-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
}
.trust-list {
  list-style: none;
  padding: 24px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

/* -- CTA section ------------------------------------------------- */
.cta {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(91, 91, 247, 0.08) 0%, rgba(124, 58, 237, 0.08) 50%, rgba(236, 72, 153, 0.06) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta h2 { margin-bottom: 14px; }
.cta p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* -- Footer ------------------------------------------------------ */
.footer {
  position: relative;
  z-index: 1;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-tagline {
  margin: 14px 0 0;
  color: var(--ink-mute);
  font-size: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-weight: 700;
  margin: 0 0 4px;
}
.footer-links a { color: var(--ink-soft); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 12px;
}
.footer-meta { font-style: italic; }

/* -- Reveal animations ------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, h1 .grad, .float-card, .progress .bar, .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* -- Mobile polish ----------------------------------------------- */
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding-top: 56px; }
  h1 { letter-spacing: -0.03em; }
  .float-card { right: -4px; max-width: 200px; }
  .section { padding: 72px 0; }
  .cta { padding: 88px 0; }
}
