:root {
  --bg:     oklch(8% 0.015 250);
  --bg2:    oklch(11% 0.018 250);
  --bg3:    oklch(14% 0.018 248);
  --red:    oklch(56% 0.20 260);
  /*--blue:   oklch(60% 0.19 245); */
  --text:   oklch(94% 0.008 250);
  --muted:  oklch(58% 0.012 250);
  --border: oklch(22% 0.02 250);

  --black:   #0a0f1e;
  --navy:    #131c35;
  --blue:    #4f8ef7;
  --blue-lt: #a8c8ff;
  --white:   #f0f4ff;
  --muted:   #8899bb;
  --mono: 'Space Mono', monospace;
  --sans: 'DM Sans', sans-serif;

}
 

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1000;
}

/* ─── NAV ─── */
#site-nav {
  position: absolute;
  top: 0; left: 0;
  z-index: 500;
  padding: clamp(18px, 3vh, 28px) clamp(24px, 5vw, 80px);
  pointer-events: none;
}

.nav-logo {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  pointer-events: all;
  transition: opacity 0.2s;
}
.nav-logo span { color: var(--blue); }
.nav-logo:hover { opacity: 0.8; color: var(--text); }

/* ─── HERO ─── */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.2;
  animation: blobFloat 16s ease-in-out infinite;
}
.hero-blob-1 {
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: var(--blue);
  top: -15%; right: -5%;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 45vw; height: 45vw; max-width: 600px; max-height: 600px;
  background: var(--red);
  bottom: -10%; right: 25%;
  animation-delay: -8s;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-25px) scale(1.04); }
  66%      { transform: translate(-15px,18px) scale(0.97); }
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* kept for browsers that block autoplay — hidden once video plays */
.hero-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
}
.play-ring {
  width: 68px; height: 68px;
  border: 2px solid oklch(28% 0.02 250);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.play-ring::after {
  content: '';
  border-left: 20px solid oklch(26% 0.02 250);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.video-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(26% 0.02 250);
  font-weight: 500;
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,  oklch(8% 0.015 250) 0%, oklch(8% 0.015 250 / 0.75) 28%, transparent 60%),
    linear-gradient(to right, oklch(8% 0.015 250 / 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 5vw, 80px) clamp(48px, 7vh, 80px);
  max-width: min(780px, 90vw);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards 0.15s;
}
.eyebrow::before {
  content: ''; display: block;
  width: 26px; height: 1px; background: var(--blue);
}

.hero-h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp 0.75s ease forwards 0.3s;
}
.hero-h1 em { font-style: normal; color: var(--blue); }

.hero-sub {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 36px;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.75s ease forwards 0.5s;
}

.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.75s ease forwards 0.65s;
}

.hero-scroll {
  position: absolute; right: clamp(24px, 4vw, 56px); bottom: clamp(48px, 7vh, 80px);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 0.75s ease forwards 1s;
}
.hero-scroll span {
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); writing-mode: vertical-rl; font-weight: 500;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, oklch(30% 0.02 250), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.35;transform:scaleY(0.45)} }

@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--blue) !important;
  color: #fff !important;
  font-family: 'Rubik', sans-serif;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px; border: none; border-radius: 6px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: filter 0.2s, transform 0.15s;
}
.btn-primary:hover { filter: brightness(1.15); transform: translateY(-1px); color: #fff !important; }

.btn-ghost {
  font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost::after { content: '↓'; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--text); text-decoration: none;
  border: 1px solid var(--border); padding: 10px 20px;
  border-radius: 6px; width: fit-content;
  transition: border-color 0.2s, background 0.2s;
}
/* .btn-outline:hover { border-color: oklch(40% 0.04 250); background: oklch(14% 0.018 248 / 0.6); color: var(--text); } */

/* ─── SHARED SECTION ─── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.section-label::before {
  content: ''; display: block; width: 18px; height: 1px; background: var(--blue);
}

.section-title {
  font-family: 'Rubik', sans-serif; font-weight: 700;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 52px;
}

/* ─── APPS ─── */
#apps {
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 80px);
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.apps-stack { display: flex; flex-direction: column; gap: 16px; }

.app-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
  transition: border-color 0.3s;
}
.app-card:hover { border-color: oklch(32% 0.03 250); }

.app-card-info {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: center;
}

.app-name {
  font-family: 'Rubik', sans-serif; font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em; margin-bottom: 10px;
}

.app-url {
  font-size: 13px; color: var(--muted); letter-spacing: 0.04em;
  margin-bottom: 18px; text-decoration: none; font-weight: 400;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.2s;
}
.app-url:hover { color: var(--text); }
.app-url::after { content: '↗'; font-size: 10px; }

.app-desc {
  font-size: clamp(14px, 1.5vw, 16px); font-weight: 300;
  color: var(--muted); line-height: 1.7; margin-bottom: 20px;
}

.store-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.store-badge {
  height: 50px;
  width: auto;
  display: block;
  transition: opacity 0.2s, transform 0.15s;
}

.website_btn {
     height: 50px;
     border-color: #a6a6a6;
     border-width: 1px;
}
 
/* App screenshot — no phone mockup wrapper */
.app-card-visual {
  position: relative; overflow: hidden;
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px;
}
.glow-violet {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, oklch(56% 0.20 260 / 0.2) 0%, transparent 68%);
}
.glow-blue {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 55%, oklch(60% 0.19 245 / 0.2) 0%, transparent 68%);
}

.app-screenshot {
  position: relative; z-index: 2;
  max-height: 300px;
  max-width: 100%;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px oklch(0% 0 0 / 0.55);
  display: block;
  min-height: 600px;;
}

/* ─── SERVICES ─── */
#services {
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 80px);
  background: var(--bg);
}

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

.service-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg3);
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.service-card:hover {
  border-color: oklch(32% 0.03 250);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: oklch(60% 0.19 245 / 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-name {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.service-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── CONTACT ─── */
#contact {
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 80px);
  background: var(--bg);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-title {
  font-family: 'Rubik', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.contact-title em { font-style: normal; color: var(--blue); }

.contact-sub {
  font-size: 15px; font-weight: 300; color: var(--muted);
  line-height: 1.7; margin-bottom: 40px;
}

/* Form — Bootstrap .form-control overrides */
.form-group { margin-bottom: 14px; }
.form-group .form-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 7px;
}
.form-control {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  color: var(--text) !important;
  font-family: 'Rubik', sans-serif !important;
  font-size: 15px !important; font-weight: 400 !important;
  padding: 12px 15px !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.form-control::placeholder { color: oklch(32% 0.01 250) !important; }
.form-control:focus {
  border-color: var(--blue) !important;
  background: oklch(12% 0.018 250) !important;
  box-shadow: none !important;
}
textarea.form-control { resize: vertical; min-height: 118px; }

.form-footer { margin-top: 6px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
  background: oklch(6% 0.012 250);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

.footer-logo {
  font-family: 'Rubik', sans-serif; font-weight: 800;
  font-size: 18px; letter-spacing: 0.03em;
  color: var(--text); text-decoration: none;
}
.footer-logo span { color: var(--blue); }

.footer-meta { font-size: 13px; color: oklch(33% 0.01 250); line-height: 1.8; text-align: center; }

.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 13px; color: oklch(38% 0.01 250);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }



.hero-wordmark {
  font-family: var(--mono);
  font-size: 28px; /*clamp(36px, 6vw, 72px); */
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .hero-scroll { display: none; }
  .hero-blob-1 { width: 80vw; height: 80vw; right: -20%; top: -10%; }
  .hero-blob-2 { width: 70vw; height: 70vw; right: 10%; bottom: -5%; }

  .app-card-visual { min-height: 280px; }
  .app-card-info { padding: 28px 24px 32px; }

  .contact-sub { max-width: 100%; }

  footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 480px) {
  .app-card-visual { min-height: 240px; padding: 24px 16px; }
  .app-screenshot { max-height: 220px; }
}
