/* ─── VARIABLES ─── */
:root {
  --bg: #EDEDED;
  --white: #FFFFFF;
  --black: #000000;
  --blue: #0073FF;
  --gray: #373737;
  --gradient-btn: linear-gradient(134.61deg, #00B8D6 7.54%, #9E79FF 99.92%);
  --gradient-text: linear-gradient(270.08deg, #9E79FF -12.18%, #00D1F3 99.92%);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body); color: var(--black);
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── CONTAINER ─── */
.container { max-width: 1800px; margin: 0 auto; padding: 0 60px; }

/* ─── BUTTONS (exact homepage) ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 50px; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  line-height: 19px; text-align: center; color: var(--white); text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 32px rgba(0,115,255,0.25); filter: brightness(1.1); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--gradient { padding: 22px 31px; background: var(--gradient-btn); }
.btn--gradient-sm { padding: 15px 26px; background: var(--gradient-btn); }

/* ─── TOPBAR (exact homepage) ─── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0; transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 20px; transition: padding 0.3s;
}
.topbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.topbar.scrolled .topbar-inner { padding: 16px 20px; }
.topbar-logo { height: 51px; width: auto; transition: height 0.3s; }
.topbar.scrolled .topbar-logo { height: 38px; }
.topbar-nav { display: flex; align-items: center; gap: 38px; }
.topbar-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--black); text-decoration: none; transition: color 0.2s;
  position: relative;
}
.topbar-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--gradient-text); transition: width 0.3s ease;
}
.topbar-nav a:hover {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.topbar-nav a:hover::after { width: 100%; }
.topbar-nav .nav-demo-link { display: none; }
.topbar-nav .nav-home-link { display: none; }
.topbar-cta {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--white); background: var(--gradient-btn);
  padding: 15px 26px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease; text-decoration: none;
}
.topbar-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 32px rgba(0,115,255,0.25); filter: brightness(1.1); }

/* ─── HAMBURGER (exact homepage) ─── */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 1001; padding: 0; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--black);
  position: absolute; left: 0; transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
.topbar-nav.mobile-open {
  display: flex !important;
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; z-index: 1000;
}
.topbar-nav.mobile-open .nav-demo-link { display: block; }
.topbar-nav.mobile-open .nav-home-link { display: block; }
.topbar-nav.mobile-open a {
  font-size: 22px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── HERO ─── */
.demo-hero {
  padding-top: 100px; min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.demo-hero-bg {
  position: absolute; top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 1920px;
  height: auto; pointer-events: none; z-index: 0;
}
.demo-hero-bg svg { width: 100%; height: auto; display: block; }
.demo-hero-content {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; position: relative; z-index: 1;
  padding: 80px 20px 40px;
}
.demo-hero .blue-label {
  font-family: var(--font-body); font-weight: 500; font-size: 18px;
  color: var(--blue); margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.demo-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 8vw, 120px); line-height: 110%;
  letter-spacing: -0.03em; color: var(--gray); margin-bottom: 30px;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.demo-hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.demo-hero .subtitle {
  font-family: var(--font-body); font-weight: 400; font-size: 22px;
  line-height: 30px; color: var(--black); max-width: 700px;
  animation: fadeInUp 0.7s ease 0.35s both;
}
.scroll-hint {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 40px 0 60px; position: relative; z-index: 1;
}
.scroll-track {
  width: 8px; height: 38px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(0,115,255,0) 16%, rgba(0,115,255,0.5) 100%);
  position: relative;
}
.scroll-dot {
  width: 8px; height: 8px; background: var(--blue); border-radius: 50%;
  position: absolute; bottom: 0; animation: scrollBob 3.5s ease-in-out infinite;
}
@keyframes scrollBob { 0%,100%{bottom:0} 50%{bottom:18px} }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.scroll-hint span {
  font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--blue);
}

/* ─── INFO SECTIONS (What to Expect / Who This is For) ─── */
.demo-info {
  background: var(--white); padding: 80px 0;
}
.info-section {
  display: grid; grid-template-columns: 350px 1fr; gap: 60px;
  align-items: start; max-width: 1800px; margin: 0 auto; padding: 0 60px;
}
.info-section + .info-divider {
  max-width: 1800px; margin: 0 auto; padding: 0 60px;
}
.info-divider hr {
  border: none; border-top: 1px solid rgba(0,115,255,0.3);
  margin: 60px 0;
}
.info-left h2 {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(36px, 4.5vw, 68px); line-height: 130%;
  letter-spacing: -0.03em; color: var(--black); margin-bottom: 8px;
}
.info-left .info-sub {
  font-family: var(--font-body); font-weight: 400; font-size: 22px;
  line-height: 30px; color: var(--blue);
}
.info-items { display: flex; flex-direction: column; gap: 10px; }
.info-item {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 30px; border-radius: 18px;
  background: rgba(237,237,237,0.5);
  box-shadow: 20px 34px 24px rgba(0,0,0,0.01);
  backdrop-filter: blur(17px);
}
.info-dot {
  width: 23px; height: 23px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(0,115,255,0.2);
}
.info-dot::after {
  content: ''; width: 11px; height: 11px; border-radius: 50%;
  background: var(--gradient-text);
}
.info-item p {
  font-family: var(--font-body); font-weight: 400; font-size: 22px;
  line-height: 30px; color: var(--black);
}

/* ─── FORM SECTION ─── */
.demo-form-section {
  position: relative; overflow: clip;
  padding: 120px 0 100px;
}
.demo-form-inner {
  position: relative; z-index: 1;
  max-width: 1043px; margin: 0 auto; padding: 0 20px;
  text-align: center;
}
.demo-form-title {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(48px, 11vw, 170px); line-height: 1.36;
  letter-spacing: -0.02em; text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 50px;
}
.demo-form {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 50px;
}
.form-row-2col {
  display: flex; gap: 14px;
}
.form-row-2col input { flex: 1; min-width: 0; }
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%; padding: 26px 24px;
  background: var(--white);
  border: none; border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.25);
  font-family: var(--font-body); font-weight: 400; font-size: 18px;
  line-height: 30px; color: var(--black);
  outline: none; transition: box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.demo-form input::placeholder,
.demo-form select,
.demo-form textarea::placeholder {
  color: rgba(55,55,55,0.5);
}
.demo-form select {
  color: rgba(55,55,55,0.5);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L9 9L17 1' stroke='rgba(0,0,0,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  padding-right: 56px; cursor: pointer;
}
.demo-form select.has-value { color: var(--black); }
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  box-shadow: 0 1px 1px rgba(0,0,0,0.25), 0 0 0 2px rgba(0,115,255,0.3);
}
.demo-form textarea {
  resize: vertical; min-height: 83px;
}
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 48px;
  background: var(--gradient-btn); border: none; border-radius: 50px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--white); cursor: pointer; transition: opacity 0.2s;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.btn-submit:hover { opacity: 0.9; }
.btn-submit.loading { opacity: 0.7; pointer-events: none; }
.btn-submit .arrow {
  display: inline-block; width: 10px; height: 10px;
  border-right: 1.5px solid #fff; border-top: 1.5px solid #fff;
  transform: rotate(45deg); margin-left: 2px;
}
.form-status {
  text-align: center; padding: 40px 20px; margin-top: 14px;
  border-radius: 10px; font-family: var(--font-body);
  line-height: 1.6;
}
.form-status.success {
  font-size: 22px; padding: 60px 20px;
  color: var(--black);
}
.form-status.error {
  background: rgba(255,59,48,0.08); color: #cc2200;
  font-size: 18px;
}

/* ─── FOOTER ─── */
.footer-nav { padding-top: 80px; }
.footer-menu {
  display: flex; justify-content: center; gap: 38px;
  padding-bottom: 40px; flex-wrap: wrap;
}
.footer-menu a {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--black); transition: color 0.2s;
}
.footer-menu a:hover {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-rule {
  width: 100%; max-width: 1796px; height: 1px; background: rgba(0,115,255,0.3); margin: 0 auto;
}
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1796px; margin: 0 auto; padding: 28px 0 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 20px;
}
.footer-brand img { height: 42px; width: auto; }
.footer-tagline {
  font-family: var(--font-body); font-weight: 400; font-size: 16px;
  color: rgba(0,0,0,0.4); padding-left: 20px;
  border-left: 1px solid rgba(0,0,0,0.12);
}
.footer-legal {
  display: flex; align-items: center; gap: 60px; flex-wrap: wrap;
}
.footer-legal a, .footer-legal span {
  font-family: var(--font-body); font-weight: 400; font-size: 15px;
  line-height: 20px; color: var(--black); opacity: 0.6; text-decoration: none;
}
.footer-legal a:hover { opacity: 1; }

/* ─── FOOTER SECTION ─── */
footer {
  background: var(--white); padding: 60px 60px 40px;
}

/* ─── ANIMATIONS ─── */
.anim {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.12s; }
.anim-d2 { transition-delay: 0.24s; }
.anim-d3 { transition-delay: 0.36s; }

/* ─── TABLET ≤900px ─── */
@media (max-width: 900px) {
  .container { padding: 0 30px; }
  footer { padding: 40px 30px 30px; }
  .topbar-nav { display: none; }
  .topbar-cta { display: none; }
  .hamburger { display: block; }

  .demo-hero { padding-top: 80px; }
  .demo-hero-bg { top: 0; width: 180%; max-width: none; }

  .info-section {
    grid-template-columns: 1fr; gap: 30px; padding: 0 30px;
  }
  .info-divider { padding: 0 30px; }
  .info-left h2 { font-size: clamp(32px, 6vw, 48px); }
  .info-item { padding: 20px 24px; }
  .info-item p { font-size: 18px; }


  .footer-bar { flex-direction: column; gap: 20px; text-align: center; }
  .footer-brand { flex-direction: column; gap: 8px; }
  .footer-tagline { border-left: none; padding-left: 0; }
  .footer-legal { justify-content: center; gap: 20px; flex-wrap: wrap; }
  .footer-menu { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
}

/* ─── PHONE ≤580px ─── */
@media (max-width: 580px) {
  .container { padding: 0 20px; }
  footer { padding: 30px 20px 24px; }

  .topbar { padding: 12px 0; }
  .topbar-logo { height: 36px; }
  .topbar.scrolled { padding: 8px 0; }
  .topbar.scrolled .topbar-logo { height: 30px; }

  .demo-hero { padding-top: 65px; }
  .demo-hero h1 { font-size: clamp(36px, 10vw, 60px); }
  .demo-hero .subtitle { font-size: 18px; }
  .demo-hero-bg { top: -20px; width: 280%; max-width: none; }
  .scroll-hint { display: none; }

  .info-section { padding: 0 20px; }
  .info-divider { padding: 0 20px; }
  .info-left h2 { font-size: clamp(28px, 8vw, 40px); }
  .info-item p { font-size: 16px; line-height: 24px; }
  .info-item { padding: 16px 20px; border-radius: 12px; }

  .demo-form-section { padding: 80px 0 60px; }
  .demo-form input,
  .demo-form select,
  .demo-form textarea { padding: 20px 18px; font-size: 16px; }
  .form-row-2col { flex-direction: column; }

  .footer-menu a { font-size: 13px; }
  .footer-menu { gap: 12px 20px; }
}