:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #faf9ff;
  --surface-purple: #f5f1ff;
  --text: #11172a;
  --muted: #687086;
  --line: #e9e7f2;
  --purple: #6c3df4;
  --purple-2: #8257ff;
  --purple-dark: #4a22c9;
  --navy: #0b1020;
  --green: #27b36a;
  --shadow: 0 18px 50px rgba(22, 19, 58, 0.10);
  --shadow-sm: 0 10px 28px rgba(22, 19, 58, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-soft { background: linear-gradient(180deg, #fbfaff 0%, #f6f2ff 100%); }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title .eyebrow { margin-bottom: 8px; }
.section-title h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.15; letter-spacing: -0.035em; }
.section-title p { max-width: 720px; margin: 14px auto 0; color: var(--muted); }
.eyebrow { color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233,231,242,.8);
}
.navbar { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark { position: relative; width: 34px; height: 30px; }
.logo-mark::before, .logo-mark::after {
  content: ""; position: absolute; top: 2px; width: 14px; height: 26px; border-radius: 4px;
  background: linear-gradient(145deg, #9a79ff, #5d31e9);
}
.logo-mark::before { left: 2px; transform: skewY(-28deg); }
.logo-mark::after { right: 2px; transform: skewY(28deg); }
.logo-text { display: grid; line-height: 1.05; }
.logo-text strong { font-size: 1rem; }
.logo-text small { font-size: .58rem; font-weight: 600; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .91rem; font-weight: 650; color: #34394a; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; position: relative; z-index: 1002; border: 0; background: transparent; width: 44px; height: 44px; padding: 0; border-radius: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-toggle:focus-visible { outline: 3px solid rgba(108,61,244,.28); outline-offset: 2px; }
.menu-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .22s ease, opacity .18s ease, top .22s ease; }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.menu-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; padding: 13px 20px; font-weight: 750; cursor: pointer; transition: .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 10px 24px rgba(108,61,244,.26); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(108,61,244,.32); }
.btn-outline { border-color: #ab91ff; color: var(--purple); background: white; }
.btn-outline:hover { background: #f7f3ff; }
.btn-white { background: #fff; color: var(--purple-dark); }
.btn-sm { padding: 10px 16px; font-size: .86rem; }

.hero { overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 580px; height: 580px; right: -180px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(124,81,255,.13), rgba(124,81,255,0) 67%); pointer-events: none; }
.hero-inner { min-height: 660px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; }
.hero-copy h1 { margin: 14px 0 20px; max-width: 650px; font-size: clamp(3rem, 5.2vw, 5.45rem); line-height: .98; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--purple); }
.hero-copy p { max-width: 590px; margin: 0 0 28px; color: #51596f; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { margin-top: 54px; }
.trust-label { font-size: .68rem; text-transform: uppercase; color: #7d8393; font-weight: 800; letter-spacing: .09em; }
.logo-cloud { display: flex; flex-wrap: wrap; gap: 24px 34px; margin-top: 18px; color: #7d8392; font-weight: 800; }
.logo-cloud span { opacity: .8; }

/* Phone mockup */
.phone-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 48% 52% 55% 45%; background: #f1ebff; transform: rotate(-12deg); }
.phone-wrap { position: relative; width: 430px; height: 500px; }
.phone { position: absolute; width: 235px; height: 470px; border: 9px solid #11131a; border-radius: 38px; background: #fff; overflow: hidden; box-shadow: 0 28px 55px rgba(15,17,28,.23); }
.phone.primary { left: 54px; top: 12px; transform: rotate(-2deg); z-index: 2; }
.phone.secondary { right: 18px; top: 62px; transform: rotate(4deg); z-index: 1; }
.phone-notch { width: 88px; height: 22px; background: #11131a; border-radius: 0 0 13px 13px; margin: 0 auto; position: relative; z-index: 5; }
.phone-screen { padding: 18px 15px; height: 100%; background: linear-gradient(180deg,#6d3ef4 0 31%,#fbfbff 31% 100%); }
.phone.secondary .phone-screen { background: #fbfbff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mobile-greeting { color: #fff; font-weight: 700; font-size: .9rem; margin: 5px 0 18px; }
.stat-card { background: rgba(255,255,255,.98); border-radius: 11px; padding: 12px; box-shadow: 0 8px 20px rgba(46,20,130,.15); }
.stat-card small { color: #7b8090; font-size: .62rem; }
.stat-row { display:flex; align-items:center; justify-content:space-between; margin-top:4px; }
.stat-row strong { font-size: 1.05rem; }
.stat-row em { font-style: normal; color: var(--green); font-size: .65rem; font-weight: 800; }
.chart-card { margin-top: 30px; background: #fff; padding: 12px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.chart-line { height: 84px; position: relative; overflow: hidden; }
.chart-line svg { width: 100%; height: 100%; }
.tx-list { display:grid; gap:8px; margin-top:10px; }
.tx { display:flex; justify-content:space-between; font-size:.58rem; color:#555d70; }
.rocket { font-size: 4rem; margin-bottom: 10px; }
.phone.secondary h3 { margin: 5px 0; font-size: 1.25rem; line-height: 1.1; }
.phone.secondary p { font-size: .72rem; color: var(--muted); padding: 0 10px; }
.phone.secondary .btn { padding: 9px 18px; font-size: .65rem; margin-top: 10px; }

/* Laptop mockup */
.laptop-stage { position: relative; min-height: 520px; display: grid; place-items:center; }
.laptop-stage::before { content:""; position:absolute; width:500px; height:380px; border-radius:46% 54% 51% 49%; background:#f1ebff; transform:rotate(-9deg); }
.laptop { position:relative; width:min(570px,100%); z-index:2; }
.laptop-screen { border:10px solid #12141b; border-radius:16px 16px 7px 7px; background:#f9f9fe; height:355px; padding:16px; box-shadow: 0 28px 60px rgba(14,16,27,.22); }
.laptop-base { width:108%; height:16px; margin-left:-4%; border-radius:0 0 50% 50%; background:linear-gradient(#bfc1c8,#858892); box-shadow:0 12px 20px rgba(0,0,0,.15); }
.web-dashboard { display:grid; grid-template-columns:85px 1fr; height:100%; gap:12px; }
.web-sidebar { border-right:1px solid #e5e4ec; display:grid; align-content:start; gap:15px; padding-top:12px; color:#6c7384; font-size:.54rem; }
.web-sidebar b { color:var(--purple); font-size:.66rem; }
.web-main { padding-top:6px; }
.web-top { display:flex; justify-content:space-between; font-size:.72rem; font-weight:800; }
.web-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:16px 0; }
.web-stat { padding:10px; background:#fff; border-radius:8px; box-shadow:0 5px 16px rgba(38,31,70,.07); }
.web-stat small { display:block; color:#8c92a0; font-size:.48rem; }
.web-stat strong { font-size:.75rem; }
.web-content { display:grid; grid-template-columns:1.6fr .8fr; gap:10px; }
.web-panel { min-height:130px; background:#fff; border-radius:8px; padding:10px; box-shadow:0 5px 16px rgba(38,31,70,.07); }
.web-panel small { font-size:.54rem; font-weight:800; }
.donut { width:68px; height:68px; border-radius:50%; margin:18px auto 6px; background:conic-gradient(var(--purple) 0 75%, #ece8fb 75% 100%); display:grid; place-items:center; }
.donut::after { content:"75%"; width:46px; height:46px; background:#fff; border-radius:50%; display:grid; place-items:center; font-size:.58rem; font-weight:800; }

.cards { display:grid; gap:18px; }
.cards-5 { grid-template-columns:repeat(5,1fr); }
.cards-6 { grid-template-columns:repeat(6,1fr); }
.service-card { background:#fff; border:1px solid #eeeaf7; border-radius:14px; padding:28px 20px; text-align:center; box-shadow:var(--shadow-sm); }
.icon-box { width:48px; height:48px; display:grid; place-items:center; margin:0 auto 18px; border-radius:12px; background:#f0eaff; color:var(--purple); font-size:1.45rem; }
.service-card h3 { margin:0 0 8px; font-size:1rem; }
.service-card p { margin:0; color:var(--muted); font-size:.84rem; }

.projects { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.project-card { border:1px solid var(--line); border-radius:15px; overflow:hidden; background:#fff; box-shadow:var(--shadow-sm); transition:.22s ease; }
.project-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.project-visual { height:190px; padding:20px; display:grid; place-items:center; position:relative; overflow:hidden; }
.project-visual.purple { background:linear-gradient(145deg,#6d3ef4,#9b5cff); }
.project-visual.orange { background:linear-gradient(145deg,#ff7a44,#ffb05f); }
.project-visual.blue { background:linear-gradient(145deg,#3165ef,#58a5ff); }
.project-visual.green { background:linear-gradient(145deg,#4bd49f,#9aebc2); }
.project-visual.dark { background:linear-gradient(145deg,#111827,#273452); }
.project-visual.sand { background:linear-gradient(145deg,#f4ede5,#fff); }
.mini-window { width:88%; height:80%; border-radius:9px; background:#fff; box-shadow:0 12px 28px rgba(0,0,0,.17); padding:10px; transform:rotate(-2deg); }
.mini-window .bar { height:6px; width:35%; border-radius:5px; background:#ded8f6; margin-bottom:10px; }
.mini-window .tiles { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }
.mini-window .tiles span { height:28px; border-radius:5px; background:#f1eff8; }
.mini-window .graph { height:40px; margin-top:8px; border-radius:6px; background:linear-gradient(180deg,#f1edff,#fff); }
.project-body { padding:16px 17px 18px; }
.project-body h3 { margin:0 0 4px; font-size:1rem; }
.project-body p { margin:0; color:var(--muted); font-size:.8rem; }
.tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.tag { font-size:.62rem; background:#f5f4f8; color:#5c6373; border-radius:6px; padding:4px 7px; }
.center-action { text-align:center; margin-top:30px; }

.process { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; position:relative; }
.process::before { content:""; position:absolute; top:37px; left:10%; right:10%; border-top:2px dotted #a985ff; z-index:0; }
.step { text-align:center; position:relative; z-index:1; }
.step-icon { width:74px; height:74px; margin:0 auto 12px; border-radius:50%; display:grid; place-items:center; color:#fff; background:linear-gradient(145deg,var(--purple),#8d55ff); font-size:1.55rem; box-shadow:0 10px 22px rgba(108,61,244,.2); }
.step small { display:block; font-weight:800; font-size:.7rem; }
.step h3 { margin:2px 0 5px; font-size:.96rem; }
.step p { margin:0; color:var(--muted); font-size:.79rem; }

.split { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.illustration { min-height:350px; border-radius:50px; background:radial-gradient(circle at 50% 45%, #fff 0 22%, #efe8ff 23% 60%, transparent 61%); display:grid; place-items:center; }
.illustration-card { width:70%; min-height:210px; background:#fff; border-radius:18px; box-shadow:var(--shadow); padding:20px; transform:rotate(-2deg); }
.illustration-people { display:flex; justify-content:center; align-items:end; height:155px; gap:8px; }
.person { width:70px; border-radius:36px 36px 12px 12px; background:linear-gradient(180deg,#1f273a 0 24%,#6d3ef4 25% 100%); }
.person:nth-child(2) { height:140px; background:linear-gradient(180deg,#232b39 0 22%,#171c27 23% 100%); }
.person:nth-child(1) { height:118px; }
.person:nth-child(3) { height:128px; }
.split-copy h2 { margin:8px 0 14px; font-size:clamp(2rem,3.4vw,3.15rem); letter-spacing:-.04em; line-height:1.08; }
.check-list { list-style:none; padding:0; margin:22px 0 0; display:grid; gap:12px; }
.check-list li { color:#4f576a; display:flex; gap:10px; align-items:flex-start; }
.check-list li::before { content:"✓"; flex:0 0 21px; width:21px; height:21px; border-radius:50%; display:grid; place-items:center; background:var(--purple); color:#fff; font-size:.7rem; font-weight:900; margin-top:2px; }

.page-hero { padding:92px 0 76px; background:linear-gradient(180deg,#fff,#faf7ff); text-align:center; }
.page-hero h1 { font-size:clamp(2.8rem,5vw,5rem); line-height:1; letter-spacing:-.055em; margin:14px auto 20px; max-width:900px; }
.page-hero h1 span { color:var(--purple); }
.page-hero p { max-width:700px; margin:0 auto; color:var(--muted); font-size:1.08rem; }

.cta-wrap { padding:0 0 0; }
.cta { transform:translateY(34px); position:relative; z-index:3; padding:30px 36px; border-radius:14px; background:linear-gradient(100deg,#6233ef,#7c43f7,#663ae7); color:#fff; display:flex; align-items:center; justify-content:space-between; gap:25px; box-shadow:0 18px 35px rgba(73,39,170,.22); }
.cta-copy { display:flex; align-items:center; gap:18px; }
.cta-icon { width:56px; height:56px; border:2px solid rgba(255,255,255,.55); border-radius:12px; display:grid; place-items:center; font-size:1.5rem; }
.cta h3 { margin:0; font-size:1.55rem; line-height:1.25; }
.cta p { margin:4px 0 0; color:rgba(255,255,255,.8); }

.site-footer { background:#0b1020; color:#fff; padding:92px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.4fr .8fr 1fr 1.2fr; gap:50px; padding-bottom:45px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand p { color:#b2b8c8; font-size:.88rem; max-width:300px; }
.footer-col h4 { margin:0 0 16px; font-size:.95rem; }
.footer-col a, .footer-col span { display:block; color:#b7bdca; font-size:.84rem; margin:8px 0; }
.footer-col a:hover { color:#fff; }
.footer-bottom { padding-top:22px; display:flex; justify-content:space-between; gap:20px; color:#8f97a9; font-size:.75rem; }
.footer-legal { display:flex; gap:24px; }

.contact-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:65px; align-items:start; }
.contact-card { border:1px solid var(--line); border-radius:20px; padding:34px; box-shadow:var(--shadow-sm); background:#fff; }
.contact-details { display:grid; gap:22px; margin-top:30px; }
.contact-item { display:flex; gap:14px; }
.contact-item .icon-box { margin:0; flex:0 0 44px; width:44px; height:44px; font-size:1rem; }
.contact-item strong { display:block; font-size:.9rem; }
.contact-item span { color:var(--muted); font-size:.85rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { font-size:.8rem; font-weight:750; }
.field input, .field textarea, .field select { width:100%; border:1px solid #dddbea; border-radius:10px; padding:12px 13px; outline:0; background:#fff; color:var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { border-color:#9b7cff; box-shadow:0 0 0 3px rgba(108,61,244,.08); }
.field textarea { resize:vertical; min-height:130px; }
.form-status { min-height:24px; margin-top:12px; color:var(--green); font-size:.84rem; }

.about-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.about-stat { padding:28px; border:1px solid var(--line); border-radius:18px; text-align:center; background:#fff; }
.about-stat strong { display:block; color:var(--purple); font-size:2.2rem; }
.about-stat span { color:var(--muted); font-size:.84rem; }
.values { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.value-card { padding:28px; border-radius:16px; background:#fff; border:1px solid var(--line); }
.value-card h3 { margin:14px 0 8px; }
.value-card p { color:var(--muted); font-size:.88rem; margin:0; }

.work-filters { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:-12px 0 34px; }
.filter-btn { border:1px solid var(--line); padding:9px 14px; border-radius:999px; background:#fff; cursor:pointer; color:#525a6e; font-weight:650; font-size:.8rem; }
.filter-btn.active { background:var(--purple); color:#fff; border-color:var(--purple); }
.project-card.is-hidden { display:none; }

@media (max-width: 1050px) {
  .cards-6 { grid-template-columns:repeat(3,1fr); }
  .cards-5 { grid-template-columns:repeat(3,1fr); }
  .projects { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1.2fr 1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 900px) {
  body.nav-open { overflow: hidden; touch-action: none; }
  .site-header { z-index: 2000; }
  .navbar { position: relative; }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    max-width: none;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
    padding: 18px max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255,255,255,.985);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(21,20,40,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 50px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .nav-links a:hover, .nav-links a.active { background: var(--surface-purple); }
  .menu-toggle { display:block; flex: 0 0 44px; }
  .header-actions .btn { display:none; }
  .hero-inner { grid-template-columns:1fr; padding:72px 0 44px; min-height:auto; }
  .hero-copy { text-align:center; }
  .hero-copy h1, .hero-copy p { margin-left:auto; margin-right:auto; }
  .hero-actions { justify-content:center; }
  .trust { text-align:center; }
  .logo-cloud { justify-content:center; }
  .phone-stage, .laptop-stage { min-height:470px; }
  .split, .contact-grid { grid-template-columns:1fr; gap:35px; }
  .process { grid-template-columns:repeat(2,1fr); }
  .process::before { display:none; }
  .cta { flex-direction:column; align-items:flex-start; }
}

@media (max-width: 680px) {
  .container { width:min(calc(100% - 28px), var(--container)); }
  .section { padding:70px 0; }
  .navbar { height:70px; }
  .nav-links { top:70px; height:calc(100vh - 70px); height:calc(100dvh - 70px); }
  .hero-copy h1 { font-size:clamp(2.55rem,13vw,4rem); }
  .cards-6, .cards-5, .projects, .values, .about-stats { grid-template-columns:1fr; }
  .process { grid-template-columns:1fr; }
  .phone-stage { min-height:410px; overflow:hidden; }
  .phone-wrap { transform:scale(.78); transform-origin:center; width:430px; }
  .laptop-stage { min-height:340px; }
  .laptop { transform:scale(.72); width:560px; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { flex-direction:column; }
  .cta { padding:25px 22px; }
  .cta-copy { align-items:flex-start; }
  .cta h3 { font-size:1.22rem; }
}


/* Laravel validation feedback */
.form-errors { margin-top:12px; padding:12px 14px; border:1px solid #f2c7c7; border-radius:10px; background:#fff6f6; color:#a52a2a; font-size:.82rem; }
.form-errors strong { display:block; margin-bottom:6px; }
.form-errors ul { margin:0; padding-left:18px; }
