/* Black Tulip Technologies — brand tokens come straight from the logo artwork */
:root {
  --ink: #0b0910;
  --ink-2: #120e17;
  --surface: #191420;
  --surface-2: #211a2a;
  --line: rgba(255, 255, 255, .09);
  --text: #f5f0f5;
  --muted: #b5abba;
  --plum: #511c4d;
  --orchid: #a84b9c;
  --orchid-hi: #d58ac9;
  --blush: #f4e8f1;
  --wa: #25d366;
  --wa-dark: #128c4a;

  --tulip-dark: #f5f0f5;
  --tulip-plum: #7a2e72;
  --tulip-orchid: #c25fb4;

  --radius: 18px;
  --wrap: 1180px;
  --display: "Raleway", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orchid); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orchid-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 20px; height: 20px; flex: none; color: inherit; }
.btn--wa { background: var(--wa); color: #06210f; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn--wa:hover { box-shadow: 0 14px 36px -10px rgba(37, 211, 102, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .22); color: var(--text); }
.btn--ghost:hover { border-color: var(--orchid-hi); background: rgba(168, 75, 156, .12); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 30px; height: 39px; }
.brand__word { display: flex; flex-direction: column; font-family: var(--display); text-transform: uppercase; line-height: 1; }
.brand__word span { font-weight: 200; font-size: 19px; letter-spacing: .08em; }
.brand__word small { font-weight: 300; font-size: 9.5px; letter-spacing: .32em; color: var(--muted); margin-top: 5px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11, 9, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; margin-left: 8px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav__toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform .25s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; margin-top: -76px; padding-top: 140px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb--a { width: 620px; height: 620px; background: radial-gradient(circle, var(--orchid) 0%, transparent 65%); right: -140px; top: -80px; }
.orb--b { width: 520px; height: 520px; background: radial-gradient(circle, var(--plum) 0%, transparent 70%); left: -200px; bottom: -220px; opacity: .8; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: rgba(255, 255, 255, .03); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
.hero h1 { font-weight: 200; font-size: clamp(40px, 6vw, 74px); letter-spacing: -.01em; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; font-weight: 600; background: linear-gradient(100deg, var(--orchid-hi), var(--orchid) 60%, #e7b6de); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: var(--muted); }
.hero__pills li { display: flex; align-items: center; gap: 8px; }
.hero__pills li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(168, 75, 156, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23d58ac9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.hero__visual { position: relative; height: 520px; }
.bloom { position: absolute; inset: 0; display: grid; place-items: center; }
.bloom__halo { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(213, 138, 201, .35), transparent 65%); animation: pulse 6s ease-in-out infinite; }
.bloom__halo::before, .bloom__halo::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(213, 138, 201, .25); animation: spin 40s linear infinite; }
.bloom__halo::after { inset: -100px; border-style: solid; border-color: rgba(255, 255, 255, .06); animation-duration: 70s; animation-direction: reverse; }
.bloom__mark { position: relative; width: 230px; height: 298px; filter: drop-shadow(0 30px 60px rgba(168, 75, 156, .35)); animation: float 7s ease-in-out infinite; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; min-width: 230px;
  background: rgba(25, 20, 32, .72); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  font-size: 13px; line-height: 1.35;
  animation: float 8s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 600; font-size: 13.5px; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; flex: none; }
.fc__icon--amber { background: rgba(245, 180, 60, .16); color: #f5b43c; }
.fc__icon--green { background: rgba(37, 211, 102, .16); color: var(--wa); }
.fc__icon--orchid { background: rgba(213, 138, 201, .16); color: var(--orchid-hi); }
.fc-1 { top: 40px; left: -10px; animation-delay: -1s; }
.fc-2 { top: 230px; right: -20px; animation-delay: -3s; }
.fc-3 { bottom: 40px; left: 20px; animation-delay: -5s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__head--left { text-align: left; margin-left: 0; }
.kicker { font: 600 12.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--orchid-hi); margin-bottom: 18px; }
.section h2 { font-weight: 300; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.005em; }
.sub { color: var(--muted); font-size: 17px; margin-top: 18px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(25, 20, 32, .4));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 75, 156, .28), transparent 70%); opacity: 0; transition: opacity .3s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(213, 138, 201, .35); }
.card:hover::after { opacity: 1; }
.card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--plum), var(--orchid)); margin-bottom: 22px; }
.card__ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-weight: 600; font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.industries { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 54px; color: var(--muted); font-size: 14px; }
.industries ul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.industries li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .02); }

/* Platform */
.platform { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.platform__copy { position: sticky; top: 120px; }
.platform__copy .btn { margin-top: 32px; }
.products { display: grid; gap: 16px; counter-reset: p; }
.product { display: flex; gap: 22px; padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s ease, background .3s ease; }
.product:hover { border-color: rgba(213, 138, 201, .35); background: var(--surface-2); }
.product__n { font: 200 34px/1 var(--display); color: var(--orchid-hi); min-width: 48px; }
.product h3 { font-weight: 600; font-size: 19px; margin-bottom: 6px; }
.product p { color: var(--muted); font-size: 15px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--orchid), transparent); }
.step { position: relative; padding: 0 8px; text-align: center; }
.step__stage { position: relative; display: inline-block; padding: 12px 20px; border-radius: 999px; font: 500 13px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; background: var(--ink); border: 1px solid rgba(213, 138, 201, .45); color: var(--orchid-hi); margin-bottom: 24px; }
.step h3 { font-weight: 600; font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* Why */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--ink-2); padding: 32px 30px; }
.why__item h3 { font-weight: 600; font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.why__item h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--orchid); }
.why__item p { color: var(--muted); font-size: 15px; }

/* Idea / brief form */
.idea { overflow: hidden; }
.idea::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(81, 28, 77, .7), transparent 65%); filter: blur(40px); pointer-events: none; }
.idea__inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.idea__contact { display: grid; gap: 14px; margin-top: 34px; }
.idea__contact li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.idea__contact a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.idea__contact a:hover { border-color: var(--orchid-hi); }
.ico { width: 22px; height: 22px; color: var(--wa); }
.ico--txt { display: grid; place-items: center; color: var(--orchid-hi); font-weight: 600; }
.idea__note { color: var(--muted); font-size: 14px; margin-top: 26px; }

.brief { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: grid; gap: 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 10px; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: var(--ink); color: var(--text); border: 1px solid rgba(255, 255, 255, .14);
  font: 400 15px/1.4 var(--body); transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b5abba' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #776d7d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orchid-hi); box-shadow: 0 0 0 4px rgba(168, 75, 156, .2); }
.field .is-invalid { border-color: #e2677a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; transition: all .2s ease; user-select: none; }
.chips label:hover span { border-color: var(--orchid-hi); }
.chips input:checked + span { background: linear-gradient(135deg, var(--plum), var(--orchid)); border-color: transparent; color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--orchid-hi); outline-offset: 2px; }
.brief__error { color: #f0899a; font-size: 14px; }
.brief__fine { color: var(--muted); font-size: 12.5px; text-align: center; }

/* CTA band */
.cta-band { padding: 0 0 110px; }
.cta-band__inner {
  display: flex; align-items: center; gap: 36px; padding: 44px 52px; border-radius: 28px;
  background: linear-gradient(120deg, var(--plum) 0%, #7e3276 55%, var(--orchid) 100%);
  position: relative; overflow: hidden;
}
.cta-band__inner::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-band__mark { width: 70px; height: 91px; flex: none; --tulip-plum: #2b0e29; --tulip-orchid: #f0c4e8; position: relative; z-index: 1; }
.cta-band h2 { font-weight: 300; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 6px; }
.cta-band .btn { margin-left: auto; position: relative; z-index: 1; }
.cta-band__inner > div { position: relative; z-index: 1; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #08070b; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 360px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font: 600 12.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--orchid-hi); margin-bottom: 8px; }
.footer__col a, .footer__brand a:not(.brand) { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer__col a:hover, .footer__brand a:not(.brand):hover { color: var(--text); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); color: #7d7383; font-size: 13px; }
.footer__legal a { text-decoration: none; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .7);
  transition: transform .2s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.07); }
.wa-float__tip { position: absolute; right: 72px; white-space: nowrap; background: var(--text); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 10px; opacity: 0; transform: translateX(8px); transition: all .25s ease; pointer-events: none; }
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav__links { gap: 20px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .platform, .idea__inner { grid-template-columns: 1fr; gap: 44px; }
  .platform__copy { position: static; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner > .btn--wa { margin-left: auto; }
  .nav__toggle { display: flex; }
  .mobile-menu { display: grid; position: absolute; top: 76px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease; }
  .mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .mobile-menu a { padding: 14px 4px; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 16px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta-band__inner { flex-direction: column; text-align: center; padding: 40px 28px; gap: 22px; }
  .cta-band .btn { margin: 0; }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .nav__inner > .btn--wa span { display: none; }
  .nav__inner > .btn--wa { padding: 10px; width: 44px; height: 44px; }
  .hero { padding-top: 116px; padding-bottom: 64px; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .lead { font-size: 16.5px; }
  .hero__cta .btn { width: 100%; }
  .hero__visual { height: 380px; }
  .bloom__mark { width: 160px; height: 207px; }
  .bloom__halo { width: 260px; height: 260px; }
  .float-card { min-width: 0; padding: 10px 12px; }
  .fc-1 { left: 0; top: 10px; }
  .fc-2 { right: 0; top: 180px; }
  .fc-3 { left: 0; bottom: 10px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .cards, .why__grid, .steps { grid-template-columns: 1fr; }
  .product { padding: 22px; gap: 16px; }
  .brief { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .cta-band { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
