/* ================================================================
   Sultexio Software Solutions — Premium Stylesheet
   Apple-inspired design language
   ================================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== DESIGN TOKENS ===== */
:root {
  --bg:         #000000;
  --surface-1:  #0d0d0f;
  --surface-2:  #111113;
  --surface-3:  #1c1c1e;
  --surface-4:  #2c2c2e;
  --text:       #f5f5f7;
  --text-2:     #a1a1a6;
  --muted:      #6e6e73;
  --blue:       #2060ff;
  --blue-dim:   rgba(32, 96, 255, 0.14);
  --blue-glow:  rgba(32, 96, 255, 0.28);
  --purple:     #7b5ea7;
  --border:     rgba(255, 255, 255, 0.1);
  --border-2:   rgba(255, 255, 255, 0.18);
  --header-bg:  rgba(0, 0, 0, 0.75);
  --header-h:   52px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:        #f2f2f7;
    --surface-1: #ffffff;
    --surface-2: #f5f5f7;
    --surface-3: #e5e5ea;
    --surface-4: #d1d1d6;
    --text:      #1d1d1f;
    --text-2:    #3a3a3c;
    --muted:     #6e6e73;
    --blue:      #0071e3;
    --blue-dim:  rgba(0, 113, 227, 0.1);
    --blue-glow: rgba(0, 113, 227, 0.22);
    --purple:    #6440c4;
    --border:    rgba(0, 0, 0, 0.08);
    --border-2:  rgba(0, 0, 0, 0.14);
    --header-bg: rgba(242, 242, 247, 0.82);
  }
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

p { color: var(--text-2); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 52px);
}

/* Prevent double padding for nested containers */
.container .container { padding-inline: 0; margin-top: 16px; }

main.container {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 100px;
  min-height: 60vh;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 500;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

/* On home page: header starts transparent */
.page-home header {
  background: transparent;
  border-color: transparent;
  transition: background 0.4s ease, border-color 0.4s ease,
              backdrop-filter 0.4s ease;
}

.page-home header.scrolled {
  background: var(--header-bg);
  border-color: var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo { flex-shrink: 0; }
.logo img { height: 34px; width: auto; }

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.menu a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  letter-spacing: -0.01em;
}

.menu a:hover { color: var(--text); background: var(--border); }
.menu a[aria-current="page"] { color: var(--text); font-weight: 600; }
.menu .cta { margin-left: 10px; }

/* ===== HAMBURGER ===== */
.hamb {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 9px;
  margin-left: auto;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-shrink: 0;
}

.hamb span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamb.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamb.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamb.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== MOBILE DRAWER ===== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 499;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.drawer.open { opacity: 1; pointer-events: all; }

.sheet {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--header-h) + 16px) 0 28px;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer.open .sheet { transform: none; }

.sheet .container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline: clamp(20px, 5vw, 52px) !important;
  margin-top: 0 !important;
}

.sheet a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}

.sheet a:hover,
.sheet a[aria-current="page"] { color: var(--text); background: var(--surface-3); }

.sheet a.cta {
  margin-top: 12px;
  text-align: center;
  background: var(--blue);
  color: #fff !important;
  border-radius: 980px;
}

/* ===== BUTTONS ===== */
.cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 24px;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--blue);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}

.cta:hover,
.btn-primary:hover {
  opacity: 0.86;
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 24px;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: transparent;
  color: var(--blue) !important;
  border: 1.5px solid rgba(32, 96, 255, 0.4);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-ghost:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
  transform: scale(1.02);
}

@media (prefers-color-scheme: light) {
  .btn-ghost { border-color: rgba(0, 113, 227, 0.35); }
  .btn-ghost:hover { border-color: var(--blue); }
}

.ghost {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

/* ===== EYEBROW / CHIP ===== */
.eyebrow,
.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0;
}

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

.s-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) clamp(20px, 5vw, 52px) 100px;
  overflow: hidden;
  background: var(--bg);
}

/* Subtle dot grid */
.s-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 40%,
    black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 40%,
    black 20%, transparent 75%);
  pointer-events: none;
}

/* Glow orb */
.s-hero::after {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  background: radial-gradient(circle,
    rgba(32, 96, 255, 0.1) 0%,
    rgba(123, 94, 167, 0.05) 40%,
    transparent 68%);
  pointer-events: none;
}

@media (prefers-color-scheme: light) {
  .s-hero::before {
    background-image:
      radial-gradient(circle, rgba(0,0,0,0.1) 1px, transparent 1px);
  }
  .s-hero::after {
    background: radial-gradient(circle,
      rgba(0, 113, 227, 0.07) 0%,
      transparent 60%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-inner .eyebrow {
  margin-bottom: 24px;
  opacity: 0;
}

.hero-headline {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
}

.hero-headline .accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-body {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce-down 2.2s ease infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
  50%       { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}

/* ===== STATS STRIP ===== */
.s-stats {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.s-stats .container {
  display: flex;
  justify-content: center;
  padding-block: 44px;
}

.stat-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding-inline: 28px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: var(--border);
}

.stat-num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ===== ================================================= ===== */
/* ===== SHOWCASE SECTION (scroll-pinned phone)            ===== */
/* ===== ================================================= ===== */

.s-showcase {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-1);
  overflow: hidden;
  position: relative;
}

.showcase-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  padding-inline: clamp(20px, 5vw, 52px);
  width: 100%;
  max-width: 1100px;
}

/* Phone mockup */
.phone-wrap { flex-shrink: 0; }

.phone-frame {
  width: 260px;
  height: 530px;
  background: #111113;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 60px 120px rgba(0, 0, 0, 0.7),
    0 24px 48px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #000;
  border-radius: 18px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  overflow: hidden;
  background: linear-gradient(160deg, #0f0f2e 0%, #070714 60%, #0c0c1e 100%);
  display: flex;
  flex-direction: column;
  padding: 50px 16px 20px;
}

.app-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-inline: 6px;
}

.app-statusbar span { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55); }

.app-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.app-title-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
}

.app-lock-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(32, 96, 255, 0.18);
  border: 1px solid rgba(32, 96, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a9cff;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.app-tile {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  aspect-ratio: 1;
}

.app-tile.locked {
  background: rgba(32, 96, 255, 0.12);
  border: 1px solid rgba(32, 96, 255, 0.25);
  position: relative;
}

.app-tile.locked::after {
  content: '';
  width: 20px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' stroke='%235a9cff' stroke-width='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4' stroke='%235a9cff' stroke-width='2'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

/* Showcase text */
.showcase-text { max-width: 460px; }

.showcase-text .eyebrow { display: block; margin-bottom: 14px; }

.showcase-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 18px;
  color: var(--text);
}

.showcase-text > p {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-2);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1.5px solid var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' fill='none' viewBox='0 0 11 9'%3E%3Cpath d='M1 4l3 3 6-6' stroke='%232060ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

@media (prefers-color-scheme: light) {
  .feature-list li::before { border-color: var(--blue); }
}

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

.s-services {
  padding-block: 120px;
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-header .eyebrow { display: block; margin-bottom: 14px; }

.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--surface-2);
  padding: 48px 40px;
  transition: background 0.2s;
}

.service-card:hover { background: var(--surface-3); }

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--blue-dim);
  border: 1px solid rgba(32, 96, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--blue);
}

@media (prefers-color-scheme: light) {
  .service-icon { border-color: rgba(0, 113, 227, 0.2); }
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  transition: gap 0.15s;
}

.service-link:hover { gap: 9px; }

/* ===== ================================================= ===== */
/* ===== CTA SECTION                                       ===== */
/* ===== ================================================= ===== */

.s-cta {
  padding-block: 120px;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  text-align: center;
}

.s-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 18px;
}

.s-cta p {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 44px;
  line-height: 1.7;
}

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

/* ===== ================================================= ===== */
/* ===== INNER PAGE STYLES                                 ===== */
/* ===== ================================================= ===== */

/* Inner pages: chip + h1 header area */
main.container > .chip,
main.container > .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  margin-top: 0;
}

main.container > h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

main.container > p.reveal,
main.container > p {
  color: var(--text-2);
}

/* Preise page section spacing */
main.container > h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 56px; margin-bottom: 6px; }
main.container > h3.reveal { font-size: 1.25rem; margin-top: 40px; margin-bottom: 4px; }

/* ===== CARD GROUP (inner pages) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 24px;
}

.card {
  background: var(--surface-2);
  padding: 36px 32px;
  transition: background 0.18s;
}

.card:hover { background: var(--surface-3); }

.card h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p  { font-size: 0.9375rem; color: var(--text-2); line-height: 1.72; }
.card p + p { margin-top: 12px; }
.card strong { color: var(--text); font-weight: 700; }

/* ===== PROJECT TILES ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 16px;
  margin-top: 28px;
}

.tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.tile:hover {
  background: var(--surface-3);
  border-color: var(--border-2);
  transform: translateY(-2px);
}

a.tile { cursor: pointer; }

.tile h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--text); }
.tile p  { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }
.tile .small { font-size: 0.8rem; font-weight: 600; color: var(--blue); }

.tilt { opacity: 0.5; cursor: default; }
.tilt:hover { transform: none !important; background: var(--surface-2) !important; border-color: var(--border) !important; }

/* ===== FILTERS ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  letter-spacing: -0.01em;
}

.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding-top: 56px;
  padding-bottom: 40px;
  background: var(--surface-1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.logo-small { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.logo-small img { height: 28px; width: auto; }
.logo-small span { font-size: 0.9375rem; font-weight: 700; color: var(--text); }

footer h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 0 0 16px;
}

footer p.small { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }
footer p.small + p.small { margin-top: 7px; }
footer a { color: var(--text-2); font-size: 0.875rem; transition: color 0.15s; }
footer a:hover { color: var(--text); }
footer .cta { color: #fff !important; }

footer > p.small {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ===== UTILITY ===== */
.small { font-size: 0.875rem; color: var(--text-2); }

.sub {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
}

.brand-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 600;
}

.glow { box-shadow: 0 4px 24px var(--blue-glow); }

/* ===== REVEAL (inner pages, no GSAP) ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show { opacity: 1; transform: none; }

/* Stagger for grids */
.grid .card:nth-child(2), .projects .reveal:nth-child(2) { transition-delay: 0.07s; }
.grid .card:nth-child(3), .projects .reveal:nth-child(3) { transition-delay: 0.14s; }
.projects .reveal:nth-child(4) { transition-delay: 0.21s; }
.projects .reveal:nth-child(5) { transition-delay: 0.28s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .service-card { padding: 36px 28px; }

  .showcase-inner {
    flex-direction: column;
    text-align: center;
    gap: 44px;
    padding-block: 60px;
  }
  .showcase-text { max-width: 560px; margin-inline: auto; }
  .feature-list li { justify-content: flex-start; }
  .s-showcase { height: auto; min-height: 100vh; }
}

@media (max-width: 768px) {
  :root { --header-h: 52px; }

  .menu { display: none; }
  .hamb { display: flex; }

  .s-hero { text-align: left; padding-inline: 20px; }
  .hero-inner { align-items: flex-start; }
  .hero-body { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-scroll-hint { display: none; }

  .s-stats .container { flex-wrap: wrap; gap: 28px; justify-content: flex-start; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { text-align: left; padding-inline: 0; max-width: none; }

  .s-services { padding-block: 80px; }
  .s-cta { padding-block: 80px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  main.container { padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; }
}

@media (max-width: 600px) {
  .phone-frame { width: 230px; height: 470px; border-radius: 44px; }
  .phone-notch { width: 84px; height: 24px; top: 12px; }
  .phone-screen { border-radius: 42px; }
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero-headline { font-size: clamp(2.5rem, 13vw, 4rem); letter-spacing: -0.03em; }
  .card { padding: 28px 22px; }
  .tile { padding: 22px 20px; }
  .footer-grid { gap: 24px; }
  .s-stats .container { padding-block: 36px; }
}
