:root {
  --navy: #06152e;
  --navy-2: #0b1f3f;
  --text: #132033;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --soft: #f8fafc;
  --card: rgba(255, 255, 255, 0.86);
  --orange: #f97316;
  --orange-2: #ea580c;
  --gold: #f59e0b;
  --blue: #38bdf8;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 5%, rgba(249, 115, 22, 0.12), transparent 28rem),
    radial-gradient(circle at 90% 15%, rgba(56, 189, 248, 0.13), transparent 26rem),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 42%, #eef2f7 100%);
  min-height: 100vh;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
}

.brand-text { font-size: 1.05rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #314057;
  font-weight: 750;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.site-nav a:hover {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.06);
}

.nav-cta {
  color: white !important;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 55% 40%, black, transparent 68%);
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  top: 8%;
  left: 10%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.24), rgba(249, 115, 22, 0.07), transparent 70%);
  filter: blur(8px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-copy, .hero-card { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 0.78rem;
}

h1, h2, h3 { color: var(--navy); margin: 0; }

h1 {
  font-size: clamp(2.05rem, 4vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 720px;
  margin: 26px 0 0;
  color: #42526a;
  font-size: 1.2rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 16px 35px rgba(249, 115, 22, 0.32);
}

.btn-secondary {
  color: var(--navy);
  background: white;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.hero-card {
  border-radius: 36px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-card img {
  border-radius: 28px;
  background: white;
}

.hero-mini-card {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  font-weight: 800;
}

.hero-mini-card p { margin: 0; }

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.17);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.service-card {
  min-height: 245px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(249, 115, 22, 0.10);
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

.projects-section {
  background: rgba(255, 255, 255, 0.38);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.11);
  box-shadow: var(--shadow);
}

.featured-project, .wide-card { grid-column: 1 / -1; }

.project-media {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.dark-media {
  background: radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.18), transparent 42%), linear-gradient(135deg, #071326, #0a1a38);
}

.logo-media img { max-height: 280px; object-fit: contain; }
.wide-logo-media img { width: 100%; max-height: 230px; object-fit: contain; }

.website-media {
  min-height: 360px;
  padding: 0;
  background: #dbeafe;
}

.website-media img,
.project-video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.project-video {
  background: #06152e;
}

.bugforge-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.18), transparent 42%), linear-gradient(135deg, #071326, #0a1a38);
}

.bugforge-media img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  border-radius: 16px;
}

.bugforge-media img:nth-child(2) {
  max-height: 220px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.project-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.project-content {
  padding: 26px;
}

.project-label {
  margin: 0 0 8px !important;
  color: var(--orange-2) !important;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 950;
}

.project-content p {
  color: #536279;
  line-height: 1.7;
  margin: 14px 0 0;
}

.skills {
  font-size: 0.92rem;
  color: #475569 !important;
}

.gallery-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-media img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 18px;
  background: white;
  padding: 8px;
}

.demo-logo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.demo-logo-row figure {
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 22px;
  background: white;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.demo-logo-row img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.demo-logo-row figcaption {
  text-align: center;
  font-weight: 900;
  color: var(--navy);
}

.workflow-section {
  background: linear-gradient(135deg, #071326, #0d2144);
  color: white;
}

.workflow-section h2,
.workflow-section .section-heading p:not(.eyebrow) { color: white; }
.workflow-section .section-heading p:not(.eyebrow) { opacity: 0.75; }

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

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(0,0,0,0.2);
}

.screenshot-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
}

.phone-shot img {
  object-fit: cover;
  object-position: top center;
}

.code-shot img {
  object-fit: cover;
  object-position: top left;
}

.screenshot-card figcaption {
  padding: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 0.95rem;
}

.testimonial-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.testimonial-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  border: 1px solid rgba(249, 115, 22, 0.18);
  box-shadow: var(--shadow);
  text-align: center;
}

blockquote {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.testimonial-name {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.about-section {
  background: rgba(255, 255, 255, 0.45);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about-copy {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.about-copy p {
  margin: 0 0 18px;
  color: #48576c;
  line-height: 1.85;
  font-size: 1.04rem;
}

.about-copy p:last-child { margin-bottom: 0; }

.contact-section {
  padding-top: 80px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 78px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 16% 20%, rgba(249,115,22,0.22), transparent 22rem),
    linear-gradient(135deg, #06152e, #0b1f3f);
  color: white;
  box-shadow: 0 30px 90px rgba(6, 21, 46, 0.25);
}

.contact-card h2 { color: white; }

.contact-card p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  font-size: 1.1rem;
  margin: 18px 0 26px;
}


.availability-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 4px 0 22px;
  padding: 9px 14px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.10);
  color: #9a3412;
  font-size: 0.95rem;
  font-weight: 850;
}

.contact-card .availability-note {
  margin: 0 0 26px;
  border-color: rgba(249, 115, 22, 0.42);
  background: rgba(249, 115, 22, 0.16);
  color: #fed7aa;
}

.site-footer {
  color: rgba(255, 255, 255, 0.75);
  background: #051025;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 20px;
  align-items: center;
}


.footer-legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 115, 22, 0.35);
  padding-bottom: 2px;
}

.footer-legal a:hover {
  color: white;
  border-bottom-color: rgba(249, 115, 22, 0.9);
}

.legal-page {
  min-height: 70vh;
  padding-top: 130px;
  background:
    radial-gradient(circle at 80% 18%, rgba(249,115,22,0.10), transparent 24rem),
    linear-gradient(180deg, #f8fafc, #ffffff);
}

.legal-card {
  max-width: 900px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.10);
}

.legal-card h1 {
  margin: 8px 0 8px;
  color: #07152e;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
}

.legal-card h2 {
  margin: 30px 0 10px;
  color: #07152e;
  font-size: 1.25rem;
}

.legal-card p {
  color: #475569;
  line-height: 1.8;
  margin: 0 0 16px;
}

.legal-updated {
  color: #64748b !important;
  font-size: 0.95rem;
}

.legal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.footer-brand .brand-text { color: white; }
.site-footer p { margin: 0; }
.trademark-note {
  grid-column: 1 / -1;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.6;
}
.copyright { font-size: 0.9rem; color: rgba(255,255,255,0.55); }

@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 68px 0; }
  .site-header { padding: 12px 14px; }
  .brand-text { font-size: 0.96rem; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { text-align: center; }
  h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero { min-height: auto; padding-top: 70px; }
  .hero-text { font-size: 1.04rem; }
  .button-row { align-items: stretch; }
  .btn { width: 100%; }
  .card-grid, .project-grid, .workflow-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .featured-project, .wide-card { grid-column: auto; }
  .demo-logo-row { grid-template-columns: 1fr; }
  .gallery-media { grid-template-columns: 1fr 1fr; }
  .project-media { min-height: 210px; }
  .website-media, .website-media img { min-height: 240px; }
  .bugforge-media { grid-template-columns: 1fr; }
  .footer-grid { text-align: center; justify-items: center; }
}

.full-testimonial {
  margin: 28px auto 0;
  max-width: 760px;
  text-align: left;
}

.full-testimonial summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--navy);
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  font-weight: 900;
  list-style-position: inside;
}

.full-testimonial-copy {
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.full-testimonial-copy p {
  margin: 0 0 16px;
  color: #48576c;
  line-height: 1.75;
  font-size: 1rem;
}

.full-testimonial-copy p:last-child {
  margin-bottom: 0;
}


/* v8 SEO + digital overlay polish */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(249, 115, 22, 0.12), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.10), transparent 22rem),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(249, 115, 22, 0.055) 34% 34.4%, transparent 34.4% 100%),
    linear-gradient(245deg, transparent 0 58%, rgba(56, 189, 248, 0.045) 58% 58.35%, transparent 58.35% 100%);
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 76%, transparent);
}

.hero-pattern {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 16px 16px, rgba(249, 115, 22, 0.14) 1.5px, transparent 2px);
  background-size: 46px 46px, 46px 46px, 92px 92px;
}

.hero-card::before,
.card::before,
.project-card::before,
.about-copy::before,
.testimonial-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), transparent 34%, rgba(249,115,22,0.055));
  opacity: 0.65;
}

.card,
.project-card,
.about-copy,
.testimonial-card,
.legal-card {
  position: relative;
}

.card > *,
.project-card > *,
.about-copy > *,
.testimonial-card > *,
.legal-card > * {
  position: relative;
  z-index: 1;
}

.workflow-section::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 60% 40%, black, transparent 70%);
}

.workflow-section > .container,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.project-card:hover,
.card:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover,
.card:hover {
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
