@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f0f4f8;
  --bg-card: #e8edf3;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent: #1d4ed8;
  --accent-light: #2563eb;
  --accent-soft: #60a5fa;
  --dark: #0f172a;
  --dark-card: #1e293b;

  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* ================ Header ================ */
.site-header {
  background: rgba(240, 244, 248, 0.88);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand img {
  width: 120px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  background: var(--accent);
  color: white !important;
  box-shadow: 0 18px 35px rgba(29, 78, 216, 0.16);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
}

/* ================ Mobile Menu Button ================ */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ================ Mobile Navigation ================ */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(240, 244, 248, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }

  .site-nav.active {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--text-primary) !important;
    font-size: 1rem;
    font-weight: 600;
  }

  .header-cta {
    background: transparent;
    color: var(--text-primary) !important;
    box-shadow: none;
    border-radius: 0;
    padding: 1rem 0;
    justify-content: flex-start;
  }
}

/* ================ Hero Section ================ */
.hero-section {
  padding: 2.3rem 0 2rem;
  background: var(--bg);
}

.hero-container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--accent-light);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.02;
  max-width: 760px;
}

.brand-text {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 1rem 0 2rem;
  max-width: 610px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  min-height: 320px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-photo {
  width: min(460px, 100%);
  border-radius: 30px;
  object-fit: cover;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 900px) {
  .hero-section {
    padding: 0 0 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0.1rem;
  }

  .hero-visual {
    order: -1;
    min-height: unset;
    position: static;
    display: flex;
    justify-content: center;
  }

  .hero-photo {
    position: static;
    transform: none;
    width: min(220px, 60%);
    border-radius: 16px;
  }
}

/* ================ Buttons ================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 18px 35px rgba(29, 78, 216, 0.16);
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid rgba(29, 78, 216, 0.3);
}

.button-secondary:hover {
  background: rgba(29, 78, 216, 0.06);
  border-color: var(--accent);
}

.button-cta-white {
  background: white;
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.button-cta-white:hover {
  background: #f0f9ff;
}

.button-cta-outline {
  background: transparent;
  color: white;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.button-cta-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

/* ================ Scroll Reveal ================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ================ Shared ================ */
.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-label {
  display: block;
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* ================ Featured Projects ================ */
.project-spotlight {
  padding: 4rem 0;
  background: var(--bg);
}

.ps-inner {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.ps-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ps-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-top: 0.4rem;
}

.ps-header .section-label {
  color: var(--accent-light);
}

.view-all-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 160ms ease;
  display: inline-block;
  white-space: nowrap;
}

.view-all-link:hover {
  transform: translateX(4px);
}

.ps-grid {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  overflow: hidden;
}

.ps-card {
  position: relative;
  display: block;
  height: 480px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
}

.ps-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.7s ease;
}

.ps-card:hover .ps-card-bg {
  transform: scale(1.06);
}

.ps-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.08) 100%
  );
  transition: background 0.4s ease;
}

.ps-card:hover .ps-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.ps-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(48px);
  transition: transform 0.4s ease;
}

.ps-card:hover .ps-card-content {
  transform: translateY(0);
}

.ps-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.ps-card:hover .ps-card-tag {
  opacity: 1;
  transform: translateY(0);
}

.ps-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ps-card-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: fit-content;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s,
    background 0.3s ease, color 0.3s ease;
}

.ps-card:hover .ps-card-btn {
  opacity: 1;
  transform: translateY(0);
}

.ps-card-btn:hover {
  background: #ffffff;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .ps-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .ps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-card {
    height: 300px;
  }

  .ps-card-content {
    transform: translateY(0);
  }

  .ps-card-tag,
  .ps-card-btn {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 540px) {
  .ps-grid {
    grid-template-columns: 1fr;
  }
  .ps-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.7s ease;
}

  .ps-card {
    height: 260px;
  }
}

/* ================ Solutions I Build ================ */
.solutions-section {
  padding: 5rem 0;
  background: var(--dark);
}

.sl-inner {
  width: min(1140px, calc(100% - 4rem));
  margin: 0 auto;
}

.sl-header {
  margin-bottom: 3rem;
}

.sl-header h2 {
  font-size: 2rem;
  color: #f1f5f9;
  margin-top: 0.4rem;
}

.sl-header .section-label {
  color: var(--accent-soft);
}

.sl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sl-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2rem;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.sl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(96, 165, 250, 0.2);
}

.sl-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: white;
  color: var(--accent-soft);
  flex-shrink: 0;
}

.sl-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.sl-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.25;
}

.sl-card-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  flex: 1;
}

.sl-card-btn {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-soft);
  transition: transform 160ms ease;
  width: fit-content;
}

.sl-card:hover .sl-card-btn {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .sl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sl-grid {
    grid-template-columns: 1fr;
  }
}

/* ================ My Process ================ */
.process-section {
  padding: 4rem 0;
  background: var(--bg);
}

.process-inner {
  width: min(1140px, calc(100% - 4rem));
  margin: 0 auto;
}

.process-header {
  margin-bottom: 3rem;
  max-width: 600px;
}

.process-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.process-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.step-number {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ================ About Preview ================ */
.about-section {
  padding: 4rem 0;
  background: var(--dark);
}

.about-inner {
  width: min(1140px, calc(100% - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--dark-card);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-copy .section-label {
  color: var(--accent-soft);
}

.about-copy h2 {
  font-size: 2.25rem;
  color: #f1f5f9;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.15;
}

.about-copy p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    aspect-ratio: 3/2;
  }

  .about-copy h2 {
    font-size: 1.75rem;
  }
}

/* ================ Testimonials ================ */
.testimonials-section {
  padding: 4rem 0;
  background: var(--bg);
}

.testi-inner {
  width: min(1140px, calc(100% - 4rem));
  margin: 0 auto;
}

.testi-header {
  margin-bottom: 3rem;
}

.testi-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-top: 0.4rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.testi-quote {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testi-company {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}


/* ================ CTA Section ================ */
.cta-section {
  padding: 1rem;
  background: var(--bg);
  max-width: 1200px;
  margin: 1rem auto;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, #1a294d 0%, #1e3a8a 60%, #2563eb 100%);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.25);
}

.cta-section h2 {
  font-size: 2rem;
  margin: 0.5rem 0 0;
  color: white;
}

.cta-section .section-label {
  color: #93c5fd;
}

.cta-sub {
  color: #93c5fd;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

@media (max-width: 980px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .cta-section h2 {
    font-size: 1.4rem;
  }
}

/* ================ Footer ================ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  width: min(1140px, calc(100% - 4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--bg);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
}

.footer-socials a:hover {
  background: rgba(37, 99, 235, 0.9);
  transform: translateY(-2px);
}

.footer-socials img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-socials a:hover img {
  opacity: 1;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--bg);
  opacity: 0.7;
  transition: color 160ms ease;
}

.footer-col ul li a:hover {
  color: var(--accent-soft);
}

.footer-col ul li:not(:has(a)) {
  font-size: 0.9rem;
  color: white;
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  width: min(1140px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-inner p {
  font-size: 0.82rem;
  color: white;
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ================ Reveal Stagger ================ */
.ps-grid .ps-card:nth-child(1) { transition-delay: 0ms; }
.ps-grid .ps-card:nth-child(2) { transition-delay: 100ms; }
.ps-grid .ps-card:nth-child(3) { transition-delay: 200ms; }
.ps-grid .ps-card:nth-child(4) { transition-delay: 300ms; }

.sl-grid .sl-card:nth-child(1) { transition-delay: 0ms; }
.sl-grid .sl-card:nth-child(2) { transition-delay: 100ms; }
.sl-grid .sl-card:nth-child(3) { transition-delay: 200ms; }
.sl-grid .sl-card:nth-child(4) { transition-delay: 300ms; }

.process-grid .process-step:nth-child(1) { transition-delay: 0ms; }
.process-grid .process-step:nth-child(2) { transition-delay: 100ms; }
.process-grid .process-step:nth-child(3) { transition-delay: 200ms; }
.process-grid .process-step:nth-child(4) { transition-delay: 300ms; }

.testi-grid .testi-card:nth-child(1) { transition-delay: 0ms; }
.testi-grid .testi-card:nth-child(2) { transition-delay: 150ms; }
.testi-grid .testi-card:nth-child(3) { transition-delay: 300ms; }