:root {
  --navy-950: #031022;
  --navy-900: #06152b;
  --navy-800: #0b2241;
  --navy-700: #12345a;
  --cyan: #22c8ef;
  --cyan-soft: #a6efff;
  --orange: #ff8a1f;
  --orange-dark: #e86c00;
  --ink: #10233b;
  --muted: #5e6f82;
  --surface: #f4f8fb;
  --white: #fff;
  --line: rgba(255,255,255,.13);
  --radius: 22px;
  --shadow: 0 24px 80px rgba(3,16,34,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 14px; top: -60px; background: var(--white); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 14px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(3,16,34,.9); border-color: var(--line); backdrop-filter: blur(16px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; min-width: 150px; }
.brand-name { color: var(--orange); font-size: 31px; font-weight: 800; letter-spacing: -1.8px; }
.brand-name span { color: var(--white); }
.brand-tagline { color: rgba(255,255,255,.63); font-size: 10px; text-transform: uppercase; letter-spacing: 2.2px; margin-top: 6px; }
.main-menu { display: flex; align-items: center; gap: 31px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 650; }
.main-menu a:not(.nav-cta) { position: relative; }
.main-menu a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-menu a:hover::after, .main-menu a:focus-visible::after { transform: scaleX(1); }
.nav-cta { color: var(--white); border: 1px solid rgba(255,138,31,.65); padding: 10px 16px; border-radius: 10px; transition: background .2s; }
.nav-cta:hover { background: var(--orange); }
.menu-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 3px; transition: transform .2s, opacity .2s; }

.hero { min-height: 830px; display: grid; align-items: center; position: relative; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; background-image: url("assets/upnica-ia-hero.jpg"); background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,34,.98) 0%, rgba(3,16,34,.87) 37%, rgba(3,16,34,.15) 70%, rgba(3,16,34,.1) 100%), linear-gradient(0deg, rgba(3,16,34,.56), transparent 45%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(3,16,34,.92)); }
.hero-grid { position: relative; z-index: 1; padding: 150px 0 95px; }
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--cyan-soft); font-size: 13px; text-transform: uppercase; font-weight: 800; letter-spacing: 2px; margin-bottom: 20px; }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: var(--navy-700); }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(44px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -3.2px; margin-bottom: 28px; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 690px; color: rgba(255,255,255,.76); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; gap: 13px; margin: 36px 0 48px; }
.button { min-height: 53px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 0 24px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--orange); color: #1b1208; box-shadow: 0 14px 35px rgba(255,138,31,.22); }
.button.primary:hover { background: #ff9a3d; box-shadow: 0 18px 45px rgba(255,138,31,.3); }
.button.secondary { border-color: rgba(255,255,255,.25); color: var(--white); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.button.secondary:hover { background: rgba(255,255,255,.1); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 720px; padding-top: 25px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; padding-right: 18px; }
.hero-proof strong { font-size: 13px; }
.hero-proof span { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 4px; }

.problem-section { padding: 115px 0; background: var(--white); }
.split-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; }
.split-heading h2, .section-heading h2, .product-copy h2, .faq-intro h2, .contact-copy h2 { font-size: clamp(35px, 4vw, 54px); line-height: 1.08; letter-spacing: -2.2px; margin-bottom: 0; }
.split-heading > p { color: var(--muted); font-size: 18px; margin: 0 0 4px; }
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 65px; }
.issue-card { padding: 30px; border: 1px solid #dde6ee; border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.issue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.issue-number { color: var(--orange-dark); font-size: 12px; font-weight: 850; letter-spacing: 1.5px; }
.issue-card h3 { font-size: 22px; margin: 42px 0 9px; }
.issue-card p { color: var(--muted); margin-bottom: 0; }

.solutions-section { padding: 115px 0; color: var(--white); background: var(--navy-950); position: relative; overflow: hidden; }
.solutions-section::before { content:""; position:absolute; width:600px; height:600px; border-radius:50%; background:rgba(34,200,239,.06); filter:blur(10px); top:-250px; right:-180px; }
.section-heading { max-width: 760px; margin-bottom: 58px; position: relative; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading p { color: rgba(255,255,255,.64); font-size: 18px; margin-bottom: 0; }
.solution-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.solution-card { display: flex; flex-direction: column; min-height: 530px; padding: 35px 31px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.035); }
.solution-card.featured { background: linear-gradient(160deg, rgba(34,200,239,.13), rgba(255,255,255,.035) 50%); border-color: rgba(34,200,239,.42); box-shadow: 0 25px 80px rgba(0,0,0,.2); }
.solution-kicker { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.52); font-size: 12px; text-transform: uppercase; letter-spacing: 1.1px; }
.solution-icon { display: grid; place-items: center; min-width: 45px; height: 45px; border-radius: 12px; background: rgba(34,200,239,.12); color: var(--cyan); font-weight: 900; font-size: 11px; border: 1px solid rgba(34,200,239,.25); }
.solution-card:nth-child(2) .solution-icon { background: rgba(255,138,31,.12); color: var(--orange); border-color: rgba(255,138,31,.3); }
.solution-card h3 { font-size: 27px; line-height: 1.2; margin: 30px 0 15px; }
.solution-card > p { color: rgba(255,255,255,.61); }
.check-list { list-style: none; padding: 0; margin: 17px 0 30px; }
.check-list li { position: relative; padding: 9px 0 9px 25px; color: rgba(255,255,255,.79); font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }
.text-link { color: var(--orange); font-size: 14px; font-weight: 850; margin-top: auto; display: inline-flex; gap: 11px; align-items: center; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.product-section { padding: 120px 0; background: var(--surface); }
.product-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 80px; align-items: center; }
.product-copy > p { color: var(--muted); font-size: 17px; margin: 25px 0 32px; }
.mini-features { display: grid; gap: 10px; }
.mini-features div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #dce5ec; }
.mini-features span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: var(--cyan); font-size: 11px; font-weight: 850; }
.mini-features p { margin: 0; color: var(--muted); }
.mini-features strong { color: var(--ink); }
.dashboard { border-radius: 24px; background: var(--navy-950); color: var(--white); box-shadow: 0 35px 90px rgba(6,21,43,.24); overflow: hidden; transform: perspective(1000px) rotateY(-2deg); }
.dashboard-top { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); }
.dashboard-brand, .status { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; }
.dashboard-brand i { width: 10px; height: 10px; background: var(--orange); border-radius: 3px; box-shadow: 14px 0 0 var(--cyan); margin-right: 13px; }
.status { color: #8fe4be; font-size: 11px; font-weight: 650; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #42d693; box-shadow: 0 0 0 5px rgba(66,214,147,.09); }
.dashboard-body { display: grid; grid-template-columns: 145px 1fr; min-height: 470px; }
.dashboard-body aside { padding: 24px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.dashboard-body aside span { color: rgba(255,255,255,.42); padding: 10px 11px; font-size: 11px; border-radius: 8px; }
.dashboard-body aside .active { background: rgba(34,200,239,.1); color: var(--cyan-soft); }
.chat-panel { padding: 28px; }
.panel-title { display: flex; flex-direction: column; margin-bottom: 28px; }
.panel-title strong { font-size: 17px; }
.panel-title small { color: rgba(255,255,255,.4); margin-top: 3px; }
.chat { max-width: 86%; padding: 13px 15px; border-radius: 13px; font-size: 12px; margin-bottom: 14px; }
.chat.user { margin-left: auto; background: var(--navy-700); }
.chat.agent { display: flex; gap: 11px; background: rgba(255,255,255,.07); }
.chat.agent b { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; background: var(--orange); color: #2c1705; border-radius: 8px; font-size: 10px; }
.chat.agent p { margin: 0; color: rgba(255,255,255,.74); }
.result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.result-row div { background: rgba(34,200,239,.06); border: 1px solid rgba(34,200,239,.16); padding: 14px; border-radius: 12px; display: flex; flex-direction: column; }
.result-row small { color: rgba(255,255,255,.42); }
.result-row strong { color: var(--cyan-soft); font-size: 20px; }
.demo-action { width: 100%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; padding: 13px; border-radius: 10px; text-align: left; display: flex; justify-content: space-between; }

.process-section { padding: 115px 0; color: #fff; background: linear-gradient(145deg, #06152b, #0b2444); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 35px 26px 15px 0; position: relative; }
.process-step::before { content: ""; position: absolute; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; top: -4px; left: 0; box-shadow: 0 0 0 7px rgba(255,138,31,.12); }
.process-step span { color: var(--orange); font-size: 11px; font-weight: 850; }
.process-step h3 { font-size: 21px; margin: 24px 0 10px; }
.process-step p { color: rgba(255,255,255,.55); font-size: 14px; }

.faq-section { padding: 120px 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro p { color: var(--muted); margin: 24px 0 28px; }
.dark-link { color: var(--orange-dark); }
.accordion details { border-bottom: 1px solid #dfe7ed; padding: 0 4px; }
.accordion summary { list-style: none; cursor: pointer; padding: 23px 48px 23px 0; font-weight: 800; font-size: 17px; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span, .accordion summary span::after { position: absolute; right: 7px; top: 50%; width: 14px; height: 2px; background: var(--orange-dark); content: ""; }
.accordion summary span::after { right: 0; top: 0; transform: rotate(90deg); transition: transform .2s; }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { color: var(--muted); margin: -5px 45px 22px 0; }

.contact-section { padding: 120px 0; position: relative; overflow: hidden; color: #fff; background: var(--navy-950); }
.contact-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; left: -280px; bottom: -400px; background: radial-gradient(circle, rgba(34,200,239,.13), transparent 68%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; position: relative; }
.contact-copy h2 { font-size: clamp(40px, 4.4vw, 61px); }
.contact-copy > p { color: rgba(255,255,255,.62); font-size: 17px; margin: 25px 0 45px; }
.contact-lines { display: grid; gap: 12px; }
.contact-lines a { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-lines span { color: rgba(255,255,255,.4); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.contact-lines strong { margin-top: 4px; }
.lead-form { padding: 35px; background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.form-heading { display: flex; flex-direction: column; margin-bottom: 24px; }
.form-heading strong { font-size: 23px; }
.form-heading span { color: var(--muted); font-size: 13px; }
.lead-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 800; margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; border: 1px solid #d7e1e8; background: #f9fbfc; color: var(--ink); border-radius: 9px; padding: 12px 13px; outline: none; font-weight: 500; transition: border .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,200,239,.1); }
.lead-form textarea { resize: vertical; }
.lead-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.lead-form .consent input { width: 17px; height: 17px; margin: 1px 0 0; }
.lead-form .consent a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { width: 100%; border: 0; }
.form-note { color: #7f8d99; text-align: center; font-size: 10px; margin: 10px 0 0; }
.form-submit:disabled { cursor: wait; opacity: .72; }
.form-status { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 12px; font-weight: 700; }
.form-status.is-sending { color: #526371; }
.form-status.is-success { color: #087a52; }
.form-status.is-error { color: #b23a2b; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

footer { background: #020b17; color: rgba(255,255,255,.6); padding: 65px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 70px; }
.footer-brand p { max-width: 370px; font-size: 13px; margin-top: 20px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-grid strong { color: #fff; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); margin-top: 45px; padding-top: 18px; font-size: 10px; }
.floating-wa { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #18b66a; box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: 12px; font-weight: 900; }

.legal-page { min-height: 100vh; background: var(--surface); padding: 135px 0 90px; }
.legal-card { max-width: 850px; margin: 0 auto; padding: 48px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-card h1 { color: var(--ink); font-size: 46px; letter-spacing: -2px; }
.legal-card h2 { margin-top: 32px; font-size: 22px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--orange-dark); }
.legal-back { display: inline-flex; margin-bottom: 26px; color: var(--orange-dark); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand, .menu-toggle { position: relative; z-index: 102; }
  .menu-toggle { display: block; }
  .main-menu { position: fixed; z-index: 101; inset: 0; width: 100%; min-height: 100vh; min-height: 100dvh; padding: 100px 24px 40px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; background: rgba(3,16,34,.985); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .25s; }
  .main-menu.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-menu a { font-size: 20px; }
  .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); }
  .hero { min-height: 780px; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,16,34,.98), rgba(3,16,34,.74) 65%, rgba(3,16,34,.35)); }
  .split-heading, .product-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .solution-stack { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .faq-intro { position: static; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-wrap { height: 70px; }
  .brand-name { font-size: 27px; }
  .brand-tagline { font-size: 8px; }
  .hero { min-height: 790px; }
  .hero-grid { padding: 125px 0 55px; }
  .hero-media { background-position: 68% center; opacity: .72; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,16,34,.98), rgba(3,16,34,.74)), linear-gradient(0deg, rgba(3,16,34,.85), transparent); }
  h1 { font-size: clamp(39px, 11.5vw, 54px); letter-spacing: -2px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 12px; }
  .hero-proof div { flex-direction: row; justify-content: space-between; }
  .problem-section, .solutions-section, .product-section, .process-section, .faq-section, .contact-section { padding: 80px 0; }
  .split-heading { gap: 25px; }
  .split-heading h2, .section-heading h2, .product-copy h2, .faq-intro h2, .contact-copy h2 { font-size: 38px; letter-spacing: -1.5px; }
  .issue-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .issue-card h3 { margin-top: 24px; }
  .solution-card { padding: 28px 22px; }
  .dashboard { transform: none; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-body aside { display: none; }
  .chat-panel { padding: 22px 17px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding-bottom: 5px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 26px 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
  .legal-card { padding: 28px 20px; }
  .legal-card h1 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
