/* ====== BASE ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg-page: radial-gradient(circle at 20% 20%, #1e293b 0%, #0f172a 40%, #000 75%);
  --bg-card: rgba(15, 23, 42, 0.6);
  --border-card: rgba(148, 163, 184, 0.12);
  --txt-dim: rgb(148 163 184);
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --radius-full: 999px;
  --brand-grad: linear-gradient(90deg,#6366f1 0%, #0ea5e9 40%, #14b8a6 80%);
  --glass-bg: rgba(15,23,42,0.6);
  --glass-border: rgba(148,163,184,.2);
  --glass-shadow: 0 30px 120px rgba(0,0,0,.8);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, "Segoe UI", Arial, sans-serif;
  background: var(--bg-page);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrapper {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(3rem, 2vw + 2rem, 5rem);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
}

h1 {
  font-size: clamp(2rem, 1vw + 1.5rem, 2.75rem);
}

h2 {
  font-size: clamp(1.3rem, .5vw + 1rem, 1.5rem);
}

p {
  color: var(--txt-dim);
  line-height: 1.5;
  font-size: .95rem;
  max-width: 60ch;
}

/* ====== NAV ====== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.brand-icon {
  background: var(--brand-grad);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.4);
}

.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-size: 0.9rem;
  color: #fff;
}
.brand-sub {
  font-size: 0.6rem;
  color: var(--txt-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: none;
  gap: 2rem;
  font-size: 0.8rem;
  color: var(--txt-dim);
}
.nav-links a {
  transition: color 0.18s ease;
}
.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: none;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.5rem;
  gap: 0.3rem;
  cursor: pointer;
}
.burger span {
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 1px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: block;
  }
  .burger {
    display: none;
  }
}

/* ====== BUTTONS ====== */

.btn {
  appearance: none;
  border: 0;
  background: var(--brand-grad);
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.45);
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.btn:hover {
  box-shadow: 0 30px 80px rgba(14, 165, 233, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.btn-outline:hover {
  background: rgba(30, 41, 59, 0.6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

/* ====== HERO ====== */

.hero {
  position: relative;
  padding-block: clamp(3rem, 2vw, 4rem) 4rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.glow-blob {
  position: absolute;
  filter: blur(60px);
  opacity: 0.4;
  mix-blend-mode: screen;
  border-radius: 50%;
}
.g1 {
  background: #6366f1;
  width: 240px;
  height: 240px;
  left: 5%;
  top: 10%;
  opacity: 0.18;
}
.g2 {
  background: #0ea5e9;
  width: 280px;
  height: 280px;
  left: 50%;
  top: 20%;
  opacity: 0.12;
}
.g3 {
  background: #14b8a6;
  width: 200px;
  height: 200px;
  right: 10%;
  bottom: 10%;
  opacity: 0.15;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
}
.eyebrow small {
  color: var(--txt-dim);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}

.dot-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 10px #14b8a6;
}

.hero-headline {
  max-width: 20ch;
}

.headline-grad {
  background: var(--brand-grad);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--txt-dim);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.8rem;
  color: #fff;
}
.trust-item {
  min-width: 8ch;
}
.trust-num {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.trust-label {
  color: var(--txt-dim);
  font-size: 0.7rem;
  line-height: 1.4;
  max-width: 18ch;
}

/* ====== HERO RIGHT / DASHBOARD PREVIEW ====== */

.hero-right {
  position: relative;
  z-index: 1;
}

.dashboard-card {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.07) 0%, rgba(15, 23, 42, 0) 60%),
    var(--bg-card);
  border: 1px solid var(--border-card);
  min-height: 300px;
  padding: 1.25rem 1rem 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.9);
}

.dash-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.dash-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-appname {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 10px #14b8a6;
}

.dash-sub {
  font-size: 0.7rem;
  color: var(--txt-dim);
  line-height: 1.4;
  max-width: 32ch;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.8rem;
  margin-top: 1rem;
}

.metric-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.metric-label {
  color: var(--txt-dim);
  font-size: 0.7rem;
}
.metric-value {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.metric-change {
  font-size: 0.7rem;
  color: #14b8a6;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.arrow-up {
  font-size: 0.7rem;
  line-height: 1;
}

.mini-graph {
  flex: 1;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
  min-height: 80px;
  position: relative;
  overflow: hidden;
  font-size: 0.7rem;
  color: var(--txt-dim);
  padding: 0.75rem;
}
.mini-graph-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #fff;
  font-weight: 500;
  font-size: 0.75rem;
}
.mini-graph-value {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fake-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0.4;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    white 10%,
    white 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    white 10%,
    white 90%,
    transparent 100%
  );
}
.mini-graph-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  text-align: center;
  font-size: 0.6rem;
  color: var(--txt-dim);
  opacity: 0.8;
}

/* ====== SERVICES ====== */

.section-head {
  margin-bottom: 2rem;
}

.services {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.9);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 1);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.4);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #0ea5e9;
}
.service-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.service-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--txt-dim);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.7rem;
}
.tag-pill {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.4rem 0.6rem;
  line-height: 1;
  border-radius: var(--radius-full);
  color: var(--txt-dim);
}

/* ====== WORK / PORTFOLIO ====== */

.work-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.work-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  padding: 1.25rem 1.25rem 1rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .7rem;
}
.work-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 500;
  line-height: 1;
}
.work-status {
  font-size: .6rem;
  line-height: 1;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-full);
}
.work-status.live {
  background: rgba(20,184,166,.12);
  border: 1px solid rgba(20,184,166,.4);
  color: #14b8a6;
}
.work-status.beta {
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.4);
  color: #facc15;
}

.work-title {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
}
.work-desc {
  color: var(--txt-dim);
  font-size: .8rem;
  line-height: 1.4;
}
.work-list {
  margin: 0;
  padding-left: 1rem;
  list-style: disc;
  color: var(--txt-dim);
  font-size: .75rem;
  line-height: 1.4;
}

/* ====== WHY US ====== */

.why-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.why-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.4);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-num {
  font-size: .8rem;
  font-weight: 600;
  color: #14b8a6;
  background: rgba(20,184,166,.12);
  border:1px solid rgba(20,184,166,.4);
  border-radius: var(--radius-md);
  padding: .5rem .6rem;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(20,184,166,.4);
}
.why-title {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}
.why-desc {
  font-size: .8rem;
  color: var(--txt-dim);
  line-height: 1.4;
  margin-top: .4rem;
}

/* ====== CONTACT ====== */

.contact-section {
  padding-bottom: 6rem;
}

.contact-wrapper {
  display: grid;
  gap: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.contact-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
}

@media (min-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-left {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-left h2 {
  margin: 0;
}
.contact-left p {
  margin: 0;
  font-size: .9rem;
}

.contact-points {
  margin: 0;
  padding-left: 1rem;
  list-style: "✅ ";
  font-size: .8rem;
  line-height: 1.4;
  color: var(--txt-dim);
}

.contact-direct {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  font-size: .8rem;
  line-height: 1.4;
}
.contact-line {
  display: grid;
  gap: .25rem;
}
.contact-label {
  font-size: .7rem;
  color: var(--txt-dim);
}
.contact-value {
  font-size: .85rem;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(0,0,0,.2);
}
@media (min-width: 900px) {
  .contact-form {
    border-left: 1px solid rgba(148, 163, 184, 0.15);
    border-top: none;
  }
}

.form-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.form-label {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}
.form-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.8rem 0.75rem;
  font-size: 0.85rem;
  line-height: 1.3;
  color: #fff;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  resize: none;
}
.form-input:focus {
  border: 1px solid rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.textarea {
  min-height: 100px;
}

.form-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--txt-dim);
  margin-top: 0.75rem;
  white-space: pre-wrap;
}

/* ====== FOOTER ====== */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(0,0,0,.4);
  padding-block: 2rem 3rem;
  margin-top: auto;
  font-size: .8rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: start;
  }
}

.footer-col {
  color: var(--txt-dim);
  display: grid;
  gap: .75rem;
}

.footer-icon {
  width: 2rem;
  height: 2rem;
  font-size: .75rem;
  font-weight: 600;
}

.footer-brand {
  display: grid;
}
.footer-name {
  font-weight: 600;
  color: #fff;
  font-size: .8rem;
}
.footer-sub {
  color: var(--txt-dim);
  font-size: .7rem;
  line-height: 1.4;
}

.footer-copy {
  font-size: .7rem;
  color: var(--txt-dim);
}

.footer-links {
  display: grid;
  gap: .5rem;
  font-size: .8rem;
  color: var(--txt-dim);
}
.footer-links a {
  color: var(--txt-dim);
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
