@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-alt: #f7f9f6;
  --surface: #ffffff;
  --surface-2: #f3f6f2;
  --border: #e2e7e0;
  --text: #121813;
  --text-dim: #5a655c;
  --text-faint: #8b968c;
  --primary: #0f766e;
  --primary-hover: #0a524c;
  --primary-light: #16aca1;
  --accent: #1de2d3;
  --danger: #e0483e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -25px rgba(16,30,20,.18);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(15,118,110,.10), transparent 60%),
    radial-gradient(500px circle at 85% 20%, rgba(15,118,110,.08), transparent 60%),
    var(--bg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary-light); background: rgba(15,118,110,.08); }
.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-logo { height: 30px; width: auto; }
.footer-brand .brand-logo { height: 26px; }
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .15s; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 8px 18px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--primary);
  background: rgba(15,118,110,.1);
  border: 1px solid rgba(15,118,110,.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Screenshot frame ---------- */
.hero-visual { position: relative; }
.shot-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shot-frame.tilt { transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.shot-frame img { display: block; width: 100%; cursor: zoom-in; }

/* ---------- Hero illustration ---------- */
.hero-illustration { display: flex; align-items: center; justify-content: center; }
.hero-illustration img { width: 100%; max-width: 560px; display: block; margin: 0 auto; }

/* ---------- Hero 3D icon circle ---------- */
.hero-3d-circle {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.hero-3d-ring {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  z-index: 1;
}
.hero-3d-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: max-content;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.hero-3d-item img {
  width: 190px;
}
.hero-3d-item img.flip-x { transform: scaleX(-1); }
.hero-3d-item.pos-top { top: 12%; left: 50%; }
.hero-3d-item.pos-left { top: 74%; left: 21%; }
.hero-3d-item.pos-right { top: 65%; left: 82%; }
.hero-3d-item.pos-left img, .hero-3d-item.pos-right img { width: 190px; }
.hero-3d-item img.hero-3d-card { width: 226px; }
.hero-3d-item img.hero-3d-computer { width: 170px; }
.hero-3d-item img.hero-3d-bag { width: 165px; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,15,12,.85);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Photo card ---------- */
.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.gallery-item h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
.gallery-item p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(15,118,110,.4); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(15,118,110,.1);
  margin-bottom: 18px;
  color: var(--primary);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Split sections ---------- */
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text ul.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text-dim); font-size: 15.5px; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(15,118,110,.15);
  color: var(--primary);
  font-size: 12px; font-weight: 800;
}
.split h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }

/* ---------- Workflow ---------- */
.workflow { background: var(--bg); }
.workflow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.workflow-step { position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { font-size: 13px; font-weight: 800; color: var(--primary-light); }
.workflow-step h3 { font-size: 17px; font-weight: 700; margin: 10px 0 8px; }
.workflow-step p { color: var(--text-dim); font-size: 14px; }

/* ---------- Highlight Banner ---------- */
.highlight-banner {
  background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(29,226,211,.06));
  border-top: 1px solid rgba(15,118,110,.25);
  border-bottom: 1px solid rgba(15,118,110,.25);
  padding: 64px 0;
}
.highlight-banner .section-head strong { font-weight: inherit; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.stars { color: #f5b400; font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-quote { font-size: 15.5px; color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-size: 15px; font-weight: 700; }
.testimonial-author span { font-size: 13.5px; color: var(--text-dim); }

/* ---------- CTA / Demo ---------- */
.cta-section {
  background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(29,226,211,.06));
  border-top: 1px solid rgba(15,118,110,.25);
  border-bottom: 1px solid rgba(15,118,110,.25);
}
.cta-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-inner p { color: var(--text-dim); margin-bottom: 32px; font-size: 16px; }
.demo-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.demo-form input {
  flex: 1 1 200px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
}
.demo-form input::placeholder { color: var(--text-faint); }
.demo-form input:focus { outline: none; border-color: var(--primary-light); background: var(--surface); }
.demo-form button { flex: 0 0 auto; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--primary); min-height: 20px; }
.form-note a { color: var(--primary); font-weight: 700; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 28px; border-top: 1px solid var(--border); }
.site-footer-flush { border-top: none; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-faint); font-size: 14px; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14.5px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split-inner { grid-template-columns: 1fr; }
  .split-visual { order: -1; margin-bottom: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shot-frame.tilt { transform: none; }
}

body.nav-open .main-nav {
  display: flex;
  position: absolute;
  top: 72px; left: 0; right: 0;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  gap: 16px;
}

/* ---------- Legal pages ---------- */
.legal { padding: 160px 0 100px; }
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.legal-updated { color: var(--text-faint); font-size: 14px; margin-bottom: 44px; }
.legal-content h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; }
.legal-content p { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin: 10px 0 16px; }
.legal-content li { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; margin-bottom: 6px; }
.legal-content address { font-style: normal; }
.legal-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--text); }
