/* ============================================================
   Segara Digital — styles
   Ocean-light system: cool white ground, deep-sea ink,
   sea→teal gradient signature. Clean, elegant, motion-aware.
   ============================================================ */

:root {
  /* Palette — the sea, in light */
  --foam:      #F5F9FA;   /* page ground: sea-foam white */
  --foam-2:    #ECF3F5;   /* alt band */
  --surface:   #FFFFFF;   /* cards */
  --ink:       #0A2530;   /* deep-ocean text */
  --ink-soft:  #375863;   /* secondary text */
  --line:      #DCE7EA;   /* hairlines */

  --segara:    #075E77;   /* deep sea */
  --segara-2:  #0E7C93;   /* mid water */
  --teal:      #17B6C4;   /* shallow teal */
  --aqua:      #6FE0E0;   /* light through water */

  --grad: linear-gradient(120deg, var(--segara) 0%, var(--segara-2) 45%, var(--teal) 100%);
  --grad-soft: linear-gradient(120deg, #0a6b84 0%, #159cae 55%, #3fd0d3 100%);

  --deep-bg:   #06323F;   /* deep section ground */
  --deep-bg-2: #052732;

  /* Type */
  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body:    "Manrope", system-ui, sans-serif;
  --f-accent:  "Fraunces", Georgia, serif;

  /* Rhythm */
  --container: 1180px;
  --gutter: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(6,50,63,.05), 0 4px 16px rgba(6,50,63,.04);
  --shadow-md: 0 12px 40px rgba(7,94,119,.10), 0 2px 8px rgba(7,94,119,.06);
  --shadow-lg: 0 30px 70px rgba(7,94,119,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--segara); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 500; font-size: 15px;
  padding: 13px 24px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 15px 24px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px rgba(14,124,147,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(14,124,147,.38); }
.btn-ghost {
  background: transparent; color: var(--segara); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--segara-2); transform: translateY(-2px); background: rgba(23,182,196,.06); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,249,250,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(245,249,250,.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name { display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; line-height: .9; font-family: var(--f-display); color: var(--ink); }
.brand-name-main { font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.brand-name-light { font-weight: 600; font-size: 9px; letter-spacing: .02em; text-transform: none; color: var(--segara-2); margin-top: 2px; margin-right: -.02em; }

.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .25s var(--ease); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-display); font-size: 14px; color: var(--line); }
.lang-toggle button { background: none; border: none; color: var(--ink-soft); font-weight: 500; padding: 2px 3px; transition: color .2s var(--ease); }
.lang-toggle button.is-active { color: var(--segara); font-weight: 700; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 28px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 4px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--foam-2); }
.mobile-menu a:last-child { border: none; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 10vw, 108px) 0 clamp(56px, 7vw, 84px); overflow: hidden; }
.hero-glow {
  position: absolute; z-index: 0; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(45% 45% at 50% 40%, rgba(111,224,224,.35), transparent 70%),
              radial-gradient(40% 40% at 65% 30%, rgba(23,182,196,.22), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-inner { text-align: left; }
.eyebrow {
  font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--segara-2); margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.04; margin-bottom: 22px; color: var(--ink);
}
.hero-title em {
  font-family: var(--f-accent); font-style: italic; font-weight: 500; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; font-size: 14px; color: var(--ink-soft); opacity: .85; }

.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 200px; }
.hero-waves svg { width: 100%; height: 100%; }
.hero-waves .wave { fill: none; }
.wave-1 { fill: rgba(23,182,196,.10); animation: drift 14s ease-in-out infinite; }
.wave-2 { fill: rgba(14,124,147,.10); animation: drift 18s ease-in-out infinite reverse; }
.wave-3 { fill: rgba(7,94,119,.12); animation: drift 22s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-30px); } }

/* ---------- Clients marquee ---------- */
.clients { padding: 56px 0 56px; }
.clients-label {
  text-align: center; font-family: var(--f-display); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); opacity: .7; margin-bottom: 26px;
}
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 54px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em;
  color: var(--ink-soft); opacity: .6; transition: opacity .3s var(--ease), color .3s var(--ease);
}
.logo:hover { opacity: 1; color: var(--segara); }
.logo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
/* real client logos (images) */
.logo-img { opacity: 1; }
.logo-img img { height: 26px; width: auto; max-width: 158px; object-fit: contain; display: block;
  filter: grayscale(1); opacity: .5; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.marquee:hover .logo-img img { filter: none; opacity: 1; }
.logo-emb { height: 26px; width: auto; display: block; filter: grayscale(1); transition: filter .35s var(--ease); }
.marquee:hover .logo-emb { filter: none; }
/* Gili Bali Boat — real app-icon (from their site) + wordmark in their font (Fraunces) */
.logo-gili { filter: grayscale(.9); transition: filter .35s var(--ease); }
.marquee:hover .logo-gili { filter: none; }
.gili-badge-img { width: 27px; height: 27px; border-radius: 7px; flex: none; display: block; }
.gili-wm { font-family: var(--f-display); font-style: normal; font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: #06212F; }
.gili-wm em { font-style: normal; color: #0066CC; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-alt { background: var(--foam-2); }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--ink); margin-bottom: 16px; }
.section-lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); }

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

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 14px; background: linear-gradient(135deg, rgba(23,182,196,.14), rgba(7,94,119,.10));
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--segara); stroke-width: 1.7; }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-chip {
  align-self: flex-start; margin-top: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-display); font-weight: 700; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--segara); background: rgba(23,182,196,.12);
  border: 1px solid rgba(23,182,196,.28); padding: 5px 11px; border-radius: 100px;
}
.card-chip svg { width: 12px; height: 12px; color: var(--teal); }
/* center a lone trailing card on the last row (7th, 10th, …) in the 3-col grid */
.services-grid > .card:last-child:nth-child(3n+1) { grid-column: 2; }
/* swipe hint (mobile carousel only) */
.swipe-hint { display: none; text-align: center; margin-top: 18px; font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--segara-2); }

/* ---------- Work ---------- */
.work-grid { grid-template-columns: repeat(3, 1fr); }
.work-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  min-height: 150px; justify-content: space-between;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.work-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.02em; color: var(--ink);
}
.work-logo svg { width: 30px; height: 30px; fill: none; stroke: var(--segara-2); stroke-width: 1.6; }
.work-tag {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--segara-2);
  background: rgba(23,182,196,.10); padding: 6px 12px; border-radius: 100px;
}

/* wave dividers between bands */
.wave-divider { position: absolute; left: 0; right: 0; height: 60px; overflow: hidden; line-height: 0; }
.wave-top { top: -1px; transform: rotate(180deg); }
.wave-bottom { bottom: -1px; }
.wave-divider::before {
  content: ""; display: block; height: 60px;
  background:
    radial-gradient(circle at 20px -18px, var(--foam) 22px, transparent 23px) repeat-x,
    radial-gradient(circle at 60px 30px, var(--foam-2) 22px, transparent 23px) repeat-x;
  background-size: 80px 60px;
}

/* ---------- Process ---------- */
.process-list { display: grid; gap: 4px; max-width: 820px; }
.process-step {
  display: grid; grid-template-columns: 84px 1fr; gap: 24px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step:hover { padding-left: 10px; }
.process-num {
  font-family: var(--f-accent); font-style: italic; font-weight: 500; font-size: 2.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.process-step p { color: var(--ink-soft); }

/* ---------- About (deep band) ---------- */
.section-deep {
  background: radial-gradient(120% 120% at 15% 0%, var(--deep-bg) 0%, var(--deep-bg-2) 60%, #041d26 100%);
  color: #dff1f3; overflow: hidden;
}
.section-deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 20%, rgba(23,182,196,.16), transparent 70%);
}
.about-inner { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; z-index: 1; }
.about-copy { max-width: 780px; }
.eyebrow-light { color: var(--aqua); }
.section-title-light { color: #fff; }
.section-title-light em { font-family: var(--f-accent); font-style: italic; font-weight: 500; color: var(--aqua); }
.about-lead { color: #b8d9dd; font-size: 1.1rem; margin: 18px 0 24px; }
.about-points { display: grid; gap: 14px; }
.about-points li { position: relative; padding-left: 30px; color: #d3eaec; }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 10px;
  border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua);
  transform: rotate(-45deg);
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 26px 22px; backdrop-filter: blur(4px);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.stat-num {
  display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.5rem; line-height: 1;
  background: linear-gradient(120deg, #fff, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: #a9cdd1; }

/* ---------- CTA + Contact ---------- */
.cta-card {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff; border-radius: 28px;
  padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-glow { position: absolute; inset: 0; background: radial-gradient(60% 100% at 100% 0%, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }
.cta-text { position: relative; z-index: 1; }
.cta-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.cta-lead { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 26px; }
.contact-meta { display: grid; gap: 12px; }
.contact-meta li { display: flex; flex-direction: column; }
.contact-meta span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.contact-meta a { font-weight: 600; }
.contact-meta a:hover { text-decoration: underline; }

.contact-form {
  position: relative; z-index: 1;
  background: var(--surface); color: var(--ink); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--foam); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(23,182,196,.12);
}
.field textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-bg-2); color: #bcd8dc; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name-light { color: var(--aqua); }
.footer-tag { margin-top: 16px; max-width: 300px; color: #8fb4b9; font-size: 15px; }
.footer-col h4 { font-family: var(--f-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #a4c5c9; font-size: 15px; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover { color: var(--aqua); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: #7fa5aa; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero badge ---------- */
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px;
  font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--segara); background: rgba(23,182,196,.10);
  border: 1px solid rgba(23,182,196,.28); padding: 7px 15px; border-radius: 100px;
}
.hero-badge svg { width: 15px; height: 15px; color: var(--teal); }

/* ---------- Hero device showcase ---------- */
.hero-showcase { position: relative; height: 574px; }
.device-stack { position: absolute; inset: 0; }

.phone {
  position: absolute; width: 246px; aspect-ratio: 9 / 19.5;
  background: #0b2027; border-radius: 32px; padding: 4px;
  box-shadow: 0 40px 80px rgba(6,50,63,.26), 0 8px 24px rgba(6,50,63,.16);
  border: 1px solid rgba(255,255,255,.5);
}
.phone .screen {
  width: 100%; height: 100%; background: #f4f8f9; border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-front { right: 4px; bottom: 20px; z-index: 3; animation: floatA 6.5s ease-in-out infinite; }
.phone-back  { left: 0; top: 24px; z-index: 2; transform: rotate(-6deg) scale(.9);
  transform-origin: bottom left; animation: floatB 7.5s ease-in-out infinite; }

/* screen atoms */
.scr-status { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 700; color: var(--ink); font-family: var(--f-display); }
.scr-sig { width: 26px; height: 9px; border-radius: 3px; background: linear-gradient(90deg,var(--ink) 60%, #c7d6da 60%); opacity: .5; }
.scr-head { display: flex; justify-content: space-between; align-items: center; }
.scr-app { font-family: var(--f-display); font-weight: 700; font-size: 13px; color: var(--ink); }
.scr-tiny { font-size: 9px; color: var(--ink-soft); }
.scr-ava { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#075e77,#17b6c4); }

.scr-feature { background: var(--grad); border-radius: 14px; padding: 12px; color: #fff; }
.scr-chip { display: inline-block; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.25); padding: 3px 7px; border-radius: 100px; }
.scr-ftitle { font-family: var(--f-display); font-weight: 600; font-size: 13px; margin-top: 8px; line-height: 1.15; }
.scr-fmeta { font-size: 9px; opacity: .9; margin-top: 3px; }

.scr-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 9px; }
.scr-thumb { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg,#7fd8de,#0e7c93); flex: none; }
.scr-thumb-2 { background: linear-gradient(135deg,#9feff0,#075e77); }
.scr-rt { flex: 1; display: flex; flex-direction: column; }
.scr-rt b { font-size: 11px; color: var(--ink); font-family: var(--f-display); }
.scr-rt small { font-size: 9px; color: var(--segara-2); font-weight: 600; }
.scr-plus { width: 20px; height: 20px; border-radius: 6px; background: rgba(23,182,196,.14); color: var(--segara); font-weight: 700; font-size: 13px; display: grid; place-items: center; }

.scr-ticket { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px; box-shadow: var(--shadow-sm); }
.tk-row { display: flex; align-items: center; justify-content: space-between; }
.tk-pt { display: flex; flex-direction: column; }
.tk-pt b { font-size: 11px; color: var(--ink); font-family: var(--f-display); }
.tk-pt small { font-size: 9px; color: var(--ink-soft); }
.tk-end { text-align: right; }
.tk-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-bottom: 3px; }
.tk-end .tk-dot { margin-left: auto; background: var(--segara); }
.tk-boat { font-size: 14px; }
.tk-cut { display: flex; align-items: center; gap: 4px; margin: 9px 0; }
.tk-cut i { width: 9px; height: 9px; border-radius: 50%; background: var(--foam-2); flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.tk-dash { flex: 1; border-top: 1.5px dashed var(--line); }
.tk-meta { display: flex; justify-content: space-between; font-size: 9px; color: var(--ink-soft); }
.tk-live { color: #0b7a5b; font-weight: 700; }

.scr-chips { display: flex; gap: 5px; }
.scr-chips span { font-size: 9px; font-weight: 600; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 4px 8px; }
.scr-chips span.on { background: var(--segara); color: #fff; border-color: var(--segara); }

.scr-pricebar { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scr-pricebar small { display: block; font-size: 8px; color: var(--ink-soft); }
.scr-pricebar b { font-family: var(--f-display); font-size: 14px; color: var(--ink); }
.scr-btn { font-family: var(--f-display); font-weight: 600; font-size: 11px; color: #fff; background: var(--grad); border: none; border-radius: 100px; padding: 9px 14px; box-shadow: 0 6px 14px rgba(14,124,147,.3); }
.scr-btn-wide { width: 100%; margin-top: auto; padding: 11px; }
.scr-nav { display: flex; justify-content: space-around; padding-top: 6px; }
.scr-nav i { width: 16px; height: 4px; border-radius: 3px; background: var(--line); }
.scr-nav i.on { background: var(--segara); width: 20px; }

/* floating glass cards */
.float-card {
  position: absolute; z-index: 5;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-md);
}
.fc-analytics { top: 6px; right: 0; width: 150px; animation: floatC 5.5s ease-in-out infinite; }
.fc-head { display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; font-size: 11px; color: var(--ink); }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.fc-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin: 9px 0 7px; }
.fc-bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--grad); }
.fc-stat { font-size: 10px; color: var(--ink-soft); }
.fc-stat b { font-family: var(--f-display); font-size: 14px; color: var(--ink); }
.fc-stat em { color: #0b7a5b; font-style: normal; font-weight: 700; }

.fc-badge { bottom: 40px; left: -6px; display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 11px; color: var(--ink); animation: floatB 6.5s ease-in-out infinite; }
.fc-check { width: 20px; height: 20px; border-radius: 50%; background: #0b7a5b; color: #fff; display: grid; place-items: center; font-size: 11px; }

@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%,100% { transform: rotate(-6deg) scale(.9) translateY(0); } 50% { transform: rotate(-6deg) scale(.9) translateY(-9px); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* screenshot screens */
.screen--shot { padding: 0; background: #0a2530; }
.screen--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* invoice app screen (rebuilt in code) */
.screen--app { padding: 12px 11px; gap: 8px; background: #f5f8f9; }
.inv-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-weight: 700; font-size: 9px; color: var(--ink); }
.inv-hero { background: linear-gradient(135deg, #34aa6a, #23934f); border-radius: 12px; padding: 11px 12px; box-shadow: 0 6px 14px rgba(35,147,79,.28); }
.inv-hlabel { display: block; font-size: 8.5px; color: rgba(255,255,255,.9); }
.inv-hamt { display: block; font-family: var(--f-display); font-weight: 700; font-size: 14.5px; margin-top: 3px; color: #fff; }
.inv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.inv-card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px; }
.inv-card small { display: block; font-size: 7.5px; color: var(--ink-soft); }
.inv-card b { display: block; font-family: var(--f-display); font-size: 12px; margin-top: 2px; color: var(--ink); }
.inv-card b.inv-pos { color: #23934f; }
.inv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.inv-stat { background: #eef2f3; border-radius: 8px; padding: 7px 3px; text-align: center; }
.inv-stat b { display: block; font-family: var(--f-display); font-size: 12px; color: var(--ink); }
.inv-stat small { font-size: 7px; color: var(--ink-soft); }
.inv-sent { background: rgba(59,130,246,.12); } .inv-sent b { color: #2563eb; }
.inv-paid { background: rgba(23,182,196,.16); } .inv-paid b { color: #0e7c93; }
.inv-over { background: rgba(239,68,68,.10); } .inv-over b { color: #dc2626; }
.inv-banner { background: #fef6e6; border: 1px solid #f6dfae; border-radius: 8px; padding: 6px 8px; font-size: 8px; font-weight: 600; color: #92650d; }
.inv-rhead { display: flex; justify-content: space-between; align-items: center; }
.inv-rhead span { font-family: var(--f-display); font-weight: 700; font-size: 10px; color: var(--ink); }
.inv-rhead a { font-size: 8px; font-weight: 700; color: #23934f; }
.inv-item { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; }
.inv-il small { display: block; font-size: 7px; color: var(--ink-soft); letter-spacing: .02em; }
.inv-il b { font-family: var(--f-display); font-size: 10px; color: var(--ink); }
.inv-ir { text-align: right; }
.inv-ir b { display: block; font-family: var(--f-display); font-size: 10px; color: var(--ink); }
.inv-pill { display: inline-block; margin-top: 2px; font-size: 6.5px; font-weight: 700; color: #2563eb; background: rgba(59,130,246,.12); padding: 1px 6px; border-radius: 100px; }

/* Media Lombok floating screenshot thumbnail */
.fc-shot { top: -8px; right: -12px; width: 172px; padding: 8px; animation: floatC 5.5s ease-in-out infinite; }
.fc-shot-frame { border-radius: 12px; overflow: hidden; height: 212px; border: 1px solid var(--line); background: #fff; }
.fc-shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.fc-shot-label { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-family: var(--f-display); font-weight: 700; font-size: 12.5px; color: var(--ink); }

/* ---------- About dashboard mockup ---------- */
.dashboard { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5); }
.db-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #eef4f5; border-bottom: 1px solid var(--line); }
.db-tl { width: 10px; height: 10px; border-radius: 50%; background: #cfdce0; }
.db-tl:nth-child(1) { background: #ff6b5e; } .db-tl:nth-child(2) { background: #ffbf3f; } .db-tl:nth-child(3) { background: #29c26b; }
.db-url { margin-left: 10px; font-size: 11px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 3px 12px; }
.db-body { padding: 18px; color: var(--ink); }
.db-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.db-h1 { font-family: var(--f-display); font-weight: 700; font-size: 16px; }
.db-h2 { font-size: 12px; color: var(--ink-soft); }
.db-pill { font-family: var(--f-display); font-size: 12px; font-weight: 700; color: #0b7a5b; background: rgba(11,122,91,.1); padding: 5px 11px; border-radius: 100px; }
.db-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.db-stat { background: var(--foam); border: 1px solid var(--line); border-radius: 12px; padding: 11px; }
.db-stat small { font-size: 11px; color: var(--ink-soft); }
.db-stat b { display: block; font-family: var(--f-display); font-size: 18px; margin-top: 3px; }
.db-chart { height: 96px; margin-bottom: 12px; }
.db-chart svg { width: 100%; height: 100%; }
.db-list { display: grid; gap: 8px; }
.db-li { display: flex; align-items: center; gap: 10px; background: var(--foam); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; }
.db-ico { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg,#7fd8de,#0e7c93); flex: none; }
.db-ico-2 { background: linear-gradient(135deg,#9feff0,#075e77); }
.db-li div { flex: 1; }
.db-li b { display: block; font-family: var(--f-display); font-size: 13px; }
.db-li small { font-size: 11px; color: var(--ink-soft); }
.db-amt { font-family: var(--f-display); font-weight: 600; font-size: 13px; color: var(--segara); }

/* ---------- AI feature card ---------- */
.card-feature {
  position: relative; overflow: hidden; margin-bottom: 22px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: center;
  background: linear-gradient(120deg, #063a48 0%, #0b5e74 60%, #0e7c93 100%);
  color: #eafafb; border-radius: var(--radius); padding: 38px 36px;
  box-shadow: var(--shadow-md);
}
.card-feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 100% 0%, rgba(111,224,224,.22), transparent 60%);
}
.card-feature-text { position: relative; z-index: 1; }
.feature-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #0a2530; background: var(--aqua); padding: 5px 12px; border-radius: 100px;
}
.feature-chip svg { width: 13px; height: 13px; }
.card-feature-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; color: #fff; }
.card-feature-text p { color: #bfe6ea; font-size: 16px; }
.card-feature-points { position: relative; z-index: 1; display: grid; gap: 12px; }
.card-feature-points li { position: relative; padding-left: 26px; font-weight: 500; color: #e4f7f8; }
.card-feature-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 8px;
  border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg);
}

/* ---------- Banner ---------- */
.banner {
  position: relative; overflow: hidden; padding: clamp(72px, 12vw, 140px) 0;
  background: radial-gradient(120% 140% at 15% 0%, #063a48 0%, #052732 55%, #041d26 100%);
}
.banner-overlay { position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 30%, rgba(23,182,196,.18), transparent 70%); }
.banner-content { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.banner-kicker { font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); margin-bottom: 18px; }
.banner-quote { font-family: var(--f-accent); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.8vw, 2.6rem); line-height: 1.25; color: #fff; }

/* ---------- About media (dashboard) ---------- */
.about-inner { align-items: center; }
.about-media { margin: 0; }
.about-stats { margin-top: 48px; grid-template-columns: repeat(4, 1fr); }

/* ---------- Form status ---------- */
.form-status { font-size: 14px; font-weight: 600; text-align: center; padding: 4px 0; margin-top: 2px; }
.form-status.is-ok { color: #0b7a5b; }
.form-status.is-err { color: #c0392b; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > .card:last-child:nth-child(3n+1) { grid-column: auto; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-card { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .card-feature { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .banner { background-attachment: scroll; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-inner { text-align: center; max-width: 640px; margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-showcase { max-width: 470px; margin: 10px auto 0; height: 560px; }
}
@media (max-width: 760px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .lang-toggle { order: 2; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; }
  /* Services → swipeable, overlapping card carousel */
  .services-grid {
    display: flex; grid-template-columns: none; gap: 14px;
    overflow-x: auto; overflow-y: visible;
    scroll-snap-type: x mandatory; scroll-padding: 0 11%;
    padding: 8px 11% 20px; margin: 0 calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .services-grid > .card { flex: 0 0 78%; scroll-snap-align: center; }
  .services-grid > .card:last-child:nth-child(3n+1) { grid-column: auto; }
  .swipe-hint { display: block; }
  .process-step { grid-template-columns: 60px 1fr; gap: 16px; }
  .process-num { font-size: 2rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .contact-form { padding: 22px; }
  .hero-showcase { max-width: 342px; height: 420px; }
  .phone { width: 178px; }
  .phone-front { right: 0; bottom: 12px; }
  .phone-back { left: 0; top: 14px; }
  .fc-shot { width: 138px; right: -8px; top: -6px; padding: 6px; }
  .fc-shot-frame { height: 168px; }
  .fc-shot-label { font-size: 11px; }
  .fc-badge { bottom: 24px; left: -2px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* Scroll-driven focus effect for the mobile services carousel:
   the centered card grows, neighbors shrink & fade for a layered, overlapping feel. */
@supports (animation-timeline: view()) {
  @media (max-width: 620px) {
    .services-grid > .card {
      opacity: 1; transform: none;
      animation: cardFocus linear both;
      animation-timeline: view(inline);
      animation-range: cover;
    }
  }
}
@keyframes cardFocus {
  0%   { transform: scale(.8);  opacity: .4; }
  50%  { transform: scale(1);   opacity: 1;  }
  100% { transform: scale(.8);  opacity: .4; }
}
