/* ============================================================
   Tweety — Portfolio stylesheet
   Brand palette extracted from the app source (Flutter theme):
   - Primary        : Indigo  #3F51B5  (Colors.indigo)
   - Accent         : Indigo Accent #536DFE / #3D5AFE
   - Dark surface   : #333739  (darkTheme scaffold)
   - Light surface  : #FFFFFF
   ============================================================ */

:root {
  --indigo: #3F51B5;
  --indigo-600: #3949AB;
  --indigo-700: #303F9F;
  --indigo-800: #283593;
  --accent: #536DFE;
  --accent-bright: #3D5AFE;
  --cyan: #29B6F6;           /* the "sociall" bird swoosh accent */
  --ink: #1a1c2b;
  --dark-surface: #333739;

  /* Semantic (dark-first landing page) */
  --bg: #0e1020;
  --bg-2: #14172b;
  --panel: #1a1e38;
  --panel-2: #20264a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef1ff;
  --text-soft: #b7bcd8;
  --text-dim: #8b90b3;
  --glass: rgba(26, 30, 56, 0.55);

  --grad-brand: linear-gradient(135deg, #536DFE 0%, #3F51B5 55%, #283593 100%);
  --grad-soft: linear-gradient(135deg, rgba(83,109,254,.18), rgba(41,182,246,.10));
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 60px -12px rgba(83, 109, 254, 0.45);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(83, 109, 254, 0.22), transparent 60%),
    radial-gradient(800px 700px at 100% 8%, rgba(41, 182, 246, 0.14), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(40, 53, 147, 0.30), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 80%);
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); padding: 7px 14px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 800; }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 18px 0 14px; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; margin: 0; }

.gradient-text {
  background: linear-gradient(120deg, #fff 0%, #cdd4ff 40%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(20, 23, 43, .5) 12%, rgba(20, 23, 43, .5) 88%, transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 14px; font-weight: 650; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 70px -8px rgba(83, 109, 254, .7); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 13, 28, .72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; }
.brand .logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; box-shadow: 0 6px 18px -6px rgba(83, 109, 254, .8); }
.brand b { background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-soft); font-size: .93rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .3s var(--ease); border-radius: 2px; }
.nav-links a:hover { color: #fff; } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: .3s; }

.mobile-menu {
  position: fixed; inset: 70px 0 auto 0; z-index: 99; background: rgba(11, 13, 28, .97);
  backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
  display: none; flex-direction: column; padding: 18px 24px 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 4px; color: var(--text-soft); border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); margin: 22px 0; }
.hero p.lead { font-size: 1.16rem; color: var(--text-soft); max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .stat b { display: block; font-size: 1.8rem; font-weight: 800; background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-meta .stat span { font-size: .84rem; color: var(--text-dim); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-orb {
  position: absolute; width: 115%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 109, 254, .35), transparent 62%);
  filter: blur(20px); z-index: 0; animation: float 8s ease-in-out infinite;
}
.mascot-frame {
  position: relative; z-index: 1; width: min(420px, 82%); border-radius: 30px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow), var(--shadow-glow);
  animation: float 7s ease-in-out infinite;
}
.mascot-frame img { width: 100%; }
.hero-badge {
  position: absolute; z-index: 2; background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); font-size: .86rem; font-weight: 600;
}
.hero-badge .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-brand); }
.hero-badge.b1 { top: 12%; left: -4%; animation: float 6s ease-in-out infinite; }
.hero-badge.b2 { bottom: 14%; right: -6%; animation: float 6.5s ease-in-out .6s infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.marquee-wrap { margin-top: 70px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; gap: 44px; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee span { color: var(--text-dim); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee span::after { content: "•"; color: var(--accent); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid var(--border-strong); font-size: 1.4rem;
}
.card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.card p { color: var(--text-soft); font-size: .96rem; margin: 0; }

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

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-soft); }
.about-list .check { flex: 0 0 24px; height: 24px; border-radius: 7px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-size: .8rem; margin-top: 2px; }
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.about-visual img { width: 100%; }

/* Feature list highlight */
.feature-highlight { grid-column: span 2; background: var(--grad-soft); }

/* Workflow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-step { position: relative; padding-top: 12px; }
.flow-step .num { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-brand); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; box-shadow: var(--shadow-glow); }
.flow-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.flow-step p { color: var(--text-soft); font-size: .93rem; margin: 0; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 33px; left: 62px; right: -10px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .4; }

/* User types */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.role { text-align: left; }
.role .ico { font-size: 1.6rem; }
.role ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.role li { color: var(--text-soft); font-size: .92rem; padding-left: 22px; position: relative; }
.role li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* Architecture */
.arch { display: grid; gap: 16px; }
.arch-row { display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: center; }
.arch-label { font-weight: 700; color: var(--accent); font-size: .95rem; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 15px; border-radius: 11px; background: var(--panel); border: 1px solid var(--border); font-size: .87rem; font-weight: 550; color: var(--text-soft); display: inline-flex; gap: 8px; align-items: center; transition: .25s; }
.chip:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.arch-flow-note { text-align: center; color: var(--text-dim); font-size: .9rem; margin-top: 26px; }

/* Tech stack tabs */
.stack-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.stack-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); color: var(--text-soft); cursor: pointer; font-size: .9rem; font-weight: 600; transition: .25s; }
.stack-tab.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.stack-panel { display: none; }
.stack-panel.active { display: grid; animation: fadeUp .5s var(--ease); }

/* Security / features generic tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Screenshots gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .03); color: var(--text-soft); cursor: pointer; font-size: .88rem; font-weight: 600; transition: .28s var(--ease);
}
.filter-btn.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot {
  position: relative; border-radius: 22px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--border); background: #0b0d1c; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.shot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 20, .92)); z-index: 1; opacity: .85; transition: opacity .3s; }
.shot img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.shot:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.shot:hover img { transform: scale(1.05); }
.shot .caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; }
.shot .caption b { display: block; font-size: .98rem; }
.shot .caption span { font-size: .78rem; color: var(--text-dim); }
.shot.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 7, 16, .93); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fadeUp .3s var(--ease); }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 20px; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--text-soft); font-weight: 600; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--glass); border: 1px solid var(--border-strong); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; transition: .25s; }
.lb-btn:hover { background: var(--accent); }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-close { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--glass); border: 1px solid var(--border-strong); color: #fff; font-size: 1.3rem; cursor: pointer; }

/* Screenshot cards (mobile app section) — square shots shown in full, no zoom/crop */
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.phones { display: flex; justify-content: center; align-items: center; gap: 20px; perspective: 1500px; }
.phone {
  width: 33%; max-width: 250px; border-radius: 22px; padding: 8px;
  background: linear-gradient(160deg, #262a4d, #14162b);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); position: relative;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.phone img { border-radius: 16px; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #0b0d1c; display: block; }
.phone.tilt-l { transform: perspective(1500px) rotateY(16deg) scale(.94); z-index: 1; }
.phone.tilt-r { transform: perspective(1500px) rotateY(-16deg) scale(.94); z-index: 1; }
.phone:not(.tilt-l):not(.tilt-r) { transform: translateY(-10px) scale(1.04); z-index: 2; box-shadow: var(--shadow), var(--shadow-glow); }
.phones:hover .phone.tilt-l { transform: perspective(1500px) rotateY(10deg) scale(.97); }
.phones:hover .phone.tilt-r { transform: perspective(1500px) rotateY(-10deg) scale(.97); }

/* Localization / notifications small feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mini-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.mini-list li { display: flex; gap: 14px; align-items: flex-start; }
.mini-list .ico { flex: 0 0 40px; height: 40px; border-radius: 11px; background: var(--grad-soft); border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 1.1rem; }
.mini-list b { display: block; font-size: 1rem; }
.mini-list p { margin: 2px 0 0; color: var(--text-soft); font-size: .92rem; }

/* Analytics / counters */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.counter { text-align: center; padding: 30px 18px; }
.counter b { display: block; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.counter span { color: var(--text-dim); font-size: .9rem; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-size: 1.02rem; font-weight: 650; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .plus { transition: transform .3s; color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); color: var(--text-soft); }
.faq-a p { padding: 0 22px 20px; margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { text-align: center; }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-glow); position: relative; }
.price-card.featured::after { content: "Popular"; position: absolute; top: 16px; right: 16px; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--grad-brand); }
.price-card .price { font-size: 2.6rem; font-weight: 800; margin: 12px 0; }
.price-card .price small { font-size: .95rem; color: var(--text-dim); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 11px; text-align: left; }
.price-card li { color: var(--text-soft); font-size: .93rem; padding-left: 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-note { text-align: center; color: var(--text-dim); font-size: .86rem; margin-top: 22px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.contact-card { background: var(--grad-soft); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 40px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--text-soft); margin-bottom: 7px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--border-strong); color: #fff; font-family: inherit; font-size: .95rem; transition: border-color .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact-info li { list-style: none; display: flex; gap: 14px; align-items: center; margin-bottom: 18px; color: var(--text-soft); }
.contact-info .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); display: grid; place-items: center; font-size: 1.1rem; }

/* CTA band */
.cta-band { text-align: center; background: var(--grad-brand); border-radius: var(--radius-lg); padding: 66px 30px; box-shadow: var(--shadow-glow); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -30%, rgba(255, 255, 255, .25), transparent); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); position: relative; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 14px auto 28px; position: relative; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; }

/* Footer */
.footer { padding: 66px 0 34px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 44px; }
.footer p { color: var(--text-soft); font-size: .93rem; max-width: 320px; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--text-soft); font-size: .92rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .86rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .roles, .tiles, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .mobile-grid, .split, .contact-wrap { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .roles, .tiles, .flow { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .arch-row { grid-template-columns: 1fr; gap: 8px; }
  .feature-highlight { grid-column: span 1; }
  .counters { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phones { flex-direction: column; align-items: center; }
  .phone { width: 78%; max-width: 300px; }
  .phone.tilt-l, .phone.tilt-r { transform: none; }
  .phone:not(.tilt-l):not(.tilt-r) { transform: none; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .container { padding: 0 18px; }
}
@media (min-width: 1600px) { :root { --maxw: 1320px; } }
