/* =============================================
   FLEXYWORKS — Main Stylesheet
   Design inspired by Flock Ramp / Onixtheme
   ============================================= */

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

:root {
  --bg:        #050814;
  --bg2:       #080d1a;
  --bg3:       #0d1428;
  --card:      #0f1729;
  --card2:     #131d35;
  --border:    rgba(99,102,241,.18);
  --border2:   rgba(255,255,255,.07);
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --accent:    #6366f1;
  --accent2:   #8b5cf6;
  --green:     #10b981;
  --blue:      #3b82f6;
  --yellow:    #f59e0b;
  --red:       #ef4444;
  --pink:      #ec4899;
  --cyan:      #06b6d4;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 4px 30px rgba(0,0,0,.5);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-weight: 600;
  font-size: .9rem; border: none; cursor: pointer;
  text-decoration: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.5);
}
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--border2); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(99,102,241,.08);
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.w-full { width: 100%; }

/* ── Section Badge ── */
.section-badge {
  display: inline-flex; align-items: center;
  background: rgba(99,102,241,.12);
  color: var(--accent);
  border: 1px solid rgba(99,102,241,.25);
  padding: 6px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center; max-width: 600px;
  margin: 0 auto 60px;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 50%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes glow {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%       { opacity: .8; transform: scale(1.1); }
}

.fade-up { opacity: 0; animation: fadeUp .8s ease forwards; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }
.delay-5 { animation-delay: .75s; }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5,8,20,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 12px 0;
}
.navbar .container {
  display: flex; align-items: center; gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 1.35rem; font-weight: 800;
  color: var(--text); flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; color: var(--accent); }
.logo .accent { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--border2); }
.arrow { font-size: .7rem; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 8px;
  min-width: 180px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: var(--transition); box-shadow: var(--shadow);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 14px; color: var(--muted);
  font-size: .875rem; border-radius: 8px;
}
.dropdown-menu a:hover { color: var(--text); background: var(--border2); }

.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border2);
  z-index: 999; padding: 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  display: block; padding: 12px 16px; color: var(--text);
  text-decoration: none; font-weight: 500; border-radius: 8px;
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--border2); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,.15) 0%, transparent 70%);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: glow 6s ease-in-out infinite;
}
.glow-1 {
  width: 600px; height: 600px; top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
}
.glow-2 {
  width: 500px; height: 500px; bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, transparent 70%);
  animation-delay: -3s;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 24px;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  padding: 8px 18px; border-radius: 50px;
  font-size: .85rem; font-weight: 500; color: var(--accent);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -.03em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted); max-width: 600px; line-height: 1.7;
}
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tag {
  padding: 8px 18px; border-radius: 50px;
  background: var(--border2); border: 1px solid var(--border);
  font-size: .85rem; font-weight: 500;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Dashboard card */
.hero-dashboard {
  width: 100%; max-width: 640px;
  position: relative; margin-top: 16px;
  animation: float 6s ease-in-out infinite;
}
.dashboard-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.dash-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border2);
  background: var(--bg2);
}
.dash-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #28c840; }
.dash-title { font-size: .8rem; color: var(--muted); font-weight: 500; }
.dash-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-stat {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg2); border-radius: var(--radius-sm); padding: 14px 16px;
}
.stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.stat-icon.blue   { background: rgba(59,130,246,.15); }
.stat-icon.green  { background: rgba(16,185,129,.15); }
.stat-icon.purple { background: rgba(99,102,241,.15); }
.stat-label { font-size: .75rem; color: var(--muted); }
.stat-value { font-size: 1.1rem; font-weight: 700; }
.dash-progress { display: flex; flex-direction: column; gap: 6px; }
.progress-label {
  display: flex; justify-content: space-between;
  font-size: .8rem; color: var(--muted);
}
.progress-bar {
  height: 6px; background: var(--border2); border-radius: 3px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px;
}
.green-fill { background: linear-gradient(90deg, var(--green), var(--cyan)); }

/* Floating badges */
.floating-badge {
  position: absolute; background: var(--card2);
  border: 1px solid var(--border2); border-radius: var(--radius);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  font-size: .8rem; box-shadow: var(--shadow);
}
.badge-top-right { top: -24px; right: -24px; }
.badge-bottom-left { bottom: -24px; left: -24px; }
.floating-badge > span:first-child { font-size: 1.5rem; }
.fb-title { font-weight: 600; font-size: .85rem; }
.fb-sub   { color: var(--muted); font-size: .75rem; }

/* ─────────────────────────────────────────
   CLIENTS
───────────────────────────────────────── */
.clients {
  padding: 48px 0; border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2); overflow: hidden;
}
.clients-label {
  text-align: center; color: var(--muted); font-size: .85rem;
  font-weight: 500; margin-bottom: 24px; letter-spacing: .05em; text-transform: uppercase;
}
.clients-track { overflow: hidden; }
.clients-scroll {
  display: flex; gap: 48px;
  animation: scroll 25s linear infinite;
  width: max-content;
}
.client-logo {
  display: flex; align-items: center;
  padding: 10px 24px; border: 1px solid var(--border2);
  border-radius: 8px; font-weight: 700; font-size: .95rem;
  color: var(--muted); white-space: nowrap;
  background: var(--card);
  transition: var(--transition);
}
.client-logo:hover { color: var(--text); border-color: var(--accent); }

/* ─────────────────────────────────────────
   WHY US
───────────────────────────────────────── */
.why-us { padding: 100px 0; }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 32px 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.why-card::before {
  content: attr(data-num);
  position: absolute; top: -10px; right: 16px;
  font-size: 5rem; font-weight: 900; color: rgba(99,102,241,.06);
  line-height: 1;
}
.why-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,.2);
}
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { padding: 100px 0; background: var(--bg2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative; transition: var(--transition);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.service-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(99,102,241,.08) 0%, var(--card) 60%);
}
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: .75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 50px; white-space: nowrap;
}
.service-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.service-icon-wrap.blue   { background: rgba(59,130,246,.15); }
.service-icon-wrap.purple { background: rgba(99,102,241,.15); }
.service-icon-wrap.green  { background: rgba(16,185,129,.15); }
.service-icon { font-size: 1.6rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; }
.service-card > p { color: var(--muted); font-size: .9rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.check { color: var(--green); font-weight: 700; }

/* Visual mockups */
.service-img {
  border-radius: var(--radius-sm); height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.blue-bg   { background: rgba(59,130,246,.06); border: 1px solid rgba(59,130,246,.15); }
.purple-bg { background: rgba(99,102,241,.06); border: 1px solid rgba(99,102,241,.15); }
.green-bg  { background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.15); }

/* Phone mockup */
.phone-mockup {
  width: 60px; height: 110px; border: 2px solid rgba(59,130,246,.3);
  border-radius: 12px; padding: 6px; background: rgba(59,130,246,.05);
}
.phone-screen { height: 100%; border-radius: 8px; background: rgba(59,130,246,.1); padding: 6px; }
.app-bar { height: 6px; border-radius: 3px; background: rgba(59,130,246,.4); margin-bottom: 6px; }
.app-content { display: flex; flex-direction: column; gap: 4px; }
.app-card { height: 14px; border-radius: 3px; background: rgba(59,130,246,.25); }
.app-card.sm { height: 10px; width: 70%; }

/* Browser mockup */
.browser-mockup {
  width: 180px; border: 1px solid rgba(99,102,241,.2);
  border-radius: 8px; overflow: hidden; background: rgba(99,102,241,.05);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; background: rgba(99,102,241,.1);
  border-bottom: 1px solid rgba(99,102,241,.2);
}
.b-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(99,102,241,.4); }
.b-url {
  flex: 1; background: rgba(99,102,241,.1); border-radius: 3px;
  padding: 3px 8px; font-size: .65rem; color: var(--muted); text-align: center;
}
.browser-content { padding: 10px; }
.b-header { height: 20px; border-radius: 3px; background: rgba(99,102,241,.2); margin-bottom: 8px; }
.b-body { display: flex; gap: 6px; }
.b-card { flex: 1; height: 40px; border-radius: 3px; background: rgba(99,102,241,.1); }

/* Design mockup */
.design-mockup { padding: 16px; display: flex; flex-direction: column; gap: 12px; width: 160px; }
.color-swatches { display: flex; gap: 8px; }
.swatch { width: 24px; height: 24px; border-radius: 6px; }
.s1 { background: var(--accent); }
.s2 { background: var(--green); }
.s3 { background: var(--pink); }
.wireframe { display: flex; flex-direction: column; gap: 6px; }
.wf-row { height: 10px; border-radius: 3px; background: rgba(16,185,129,.2); }
.wf-row.short  { width: 60%; }
.wf-row.medium { width: 80%; }

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(139,92,246,.05) 50%, rgba(6,182,212,.08) 100%);
  border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 40px 24px;
  border-right: 1px solid var(--border2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.stat-suffix {
  font-size: 2rem; font-weight: 800; color: var(--accent);
  display: inline-block; margin-left: 2px;
}
.stat-desc { color: var(--muted); font-size: .9rem; margin-top: 8px; font-weight: 500; }

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testimonials { padding: 100px 0; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testi-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.quote-icon { font-size: 1.8rem; color: var(--accent); line-height: 1; }
.testi-card > p { color: var(--muted); font-size: .9rem; line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: .9rem; }
.author-role { color: var(--muted); font-size: .8rem; }

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about { padding: 100px 0; background: var(--bg2); }
.about-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-inner {
  background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(13,18,40,1) 100%);
  border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 32px 24px;
  min-height: 380px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: visible;
}
/* ── App mockup (About section) ── */
.app-mockup-wrap {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}

/* Background phone */
.mockup-phone-bg {
  position: absolute !important;
  left: -10px; top: 20px;
  transform: rotate(-8deg) scale(.82) !important;
  opacity: .45;
  z-index: 0 !important;
}

/* Main phone frame */
.mockup-phone {
  position: relative; z-index: 1;
  width: 175px;
  background: #0d1120;
  border: 2px solid rgba(99,102,241,.35);
  border-radius: 28px;
  padding: 10px 8px 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(99,102,241,.1) inset;
  transform: rotate(3deg);
  transition: transform .4s ease;
}
.mockup-phone:first-child:hover { transform: rotate(0deg); }

.mockup-notch {
  width: 50px; height: 8px; background: #050814;
  border-radius: 10px; margin: 0 auto 8px;
}

.mockup-screen {
  background: #0a0f1e;
  border-radius: 18px;
  padding: 10px 8px;
  min-height: 260px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}

/* Header row */
.mapp-header {
  display: flex; align-items: center; gap: 6px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(99,102,241,.1);
}
.mapp-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); flex-shrink: 0;
}
.mapp-header-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.mapp-bell { margin-left: auto; flex-shrink: 0; }

/* Generic lines */
.mapp-line {
  height: 5px; border-radius: 3px;
  background: rgba(99,102,241,.25);
}
.mapp-line.thin { height: 3.5px; background: rgba(255,255,255,.1); }
.mapp-line.w80 { width: 80%; }
.mapp-line.w70 { width: 70%; }
.mapp-line.w65 { width: 65%; }
.mapp-line.w60 { width: 60%; }
.mapp-line.w55 { width: 55%; }
.mapp-line.w50 { width: 50%; }
.mapp-line.w45 { width: 45%; }
.mapp-line.w40 { width: 40%; }
.mapp-line.w35 { width: 35%; }

/* Stats row */
.mapp-stats-row {
  display: flex; gap: 5px;
}
.mapp-stat-box {
  flex: 1; border-radius: 8px; padding: 6px 4px; text-align: center;
}
.blue-box   { background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.2); }
.purple-box { background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.2); }
.green-box  { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.2); }
.mapp-stat-val { font-size: .6rem; font-weight: 800; color: #e2e8f0; }
.mapp-stat-lbl { font-size: .45rem; color: #64748b; }

/* Chart */
.mapp-chart { background: rgba(99,102,241,.05); border-radius: 8px; padding: 7px; }
.mapp-chart-label { font-size: .45rem; color: #64748b; margin-bottom: 6px; }
.mapp-bars {
  display: flex; align-items: flex-end; gap: 4px; height: 50px;
}
.mbar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: rgba(99,102,241,.25);
  transition: height .6s ease;
}
.mbar.active { background: linear-gradient(180deg, #6366f1, #8b5cf6); }

/* List items */
.mapp-list { display: flex; flex-direction: column; gap: 5px; }
.mapp-list-item {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.03); border-radius: 6px; padding: 5px 6px;
}
.mapp-icon-sm {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
}
.blue-sm   { background: rgba(59,130,246,.2); }
.purple-sm { background: rgba(99,102,241,.2); }
.green-sm  { background: rgba(16,185,129,.2); }
.mapp-item-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.mapp-badge-green {
  font-size: .5rem; font-weight: 700; color: #10b981; flex-shrink: 0;
}
.mapp-badge-yellow { font-size: .5rem; font-weight: 700; color: #f59e0b; flex-shrink: 0; }

/* Bottom nav */
.mapp-nav {
  display: flex; justify-content: center; gap: 5px; margin-top: auto; padding-top: 4px;
}
.mapp-nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(99,102,241,.2);
}
.active-dot { background: #6366f1; width: 14px; border-radius: 3px; }

.about-badge-float {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--card2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
}
.about-badge-float > span { font-size: 2rem; }
.badge-phone-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.about-desc { color: var(--muted); line-height: 1.7; }
.about-pillars { display: flex; flex-direction: column; gap: 16px; }
.pillar {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 16px 20px;
}
.pillar-icon { font-size: 1.4rem; }
.pillar-title { font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.pillar-desc  { color: var(--muted); font-size: .85rem; }

/* ─────────────────────────────────────────
   PORTFOLIO
───────────────────────────────────────── */
.portfolio { padding: 100px 0; }
.portfolio-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 20px; border-radius: 50px; font-size: .875rem; font-weight: 600;
  border: 1px solid var(--border2); background: transparent;
  color: var(--muted); cursor: pointer; transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.portfolio-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); cursor: pointer;
}
.portfolio-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.portfolio-card.hidden { display: none; }
.port-img {
  height: 160px; display: flex; align-items: center; justify-content: center;
}
.port-info { padding: 20px; }
.port-tag {
  font-size: .75rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: .05em;
}
.port-info h4 { font-size: 1rem; font-weight: 700; margin: 6px 0; }
.port-info p  { font-size: .85rem; color: var(--muted); }

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
.faq { padding: 100px 0; background: var(--bg2); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  color: var(--text); font-size: .95rem; font-weight: 600; text-align: left;
  transition: var(--transition);
}
.faq-q:hover { background: var(--border2); }
.faq-arrow {
  font-size: 1.3rem; color: var(--accent); flex-shrink: 0; margin-left: 16px;
  transition: var(--transition);
}
.faq-q.open .faq-arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
}
.faq-a.open { max-height: 200px; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ─────────────────────────────────────────
   BLOG
───────────────────────────────────────── */
.blog { padding: 100px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.blog-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.blog-img {
  height: 140px; display: flex; align-items: center; justify-content: center;
}
.blog-content { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; }
.blog-author { font-size: .75rem; font-weight: 600; color: var(--accent); }
.blog-time   { font-size: .75rem; color: var(--muted); }
.blog-content h4 { font-size: .9rem; font-weight: 700; line-height: 1.4; }
.blog-read {
  font-size: .85rem; color: var(--accent); text-decoration: none; font-weight: 600;
  transition: var(--transition);
}
.blog-read:hover { color: var(--accent2); }
.blog-cta { text-align: center; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact { padding: 100px 0; background: var(--bg2); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}
.contact-text { display: flex; flex-direction: column; gap: 20px; }
.contact-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.contact-text > p { color: var(--muted); line-height: 1.6; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.contact-item span:first-child { font-size: 1.1rem; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-btn {
  padding: 8px 16px; border-radius: 8px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border2); color: var(--muted); text-decoration: none;
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Form */
.contact-form {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: var(--text); font-size: .9rem; font-family: inherit;
  transition: var(--transition); outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--bg); }
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input { width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; accent-color: var(--accent); }
.form-check label { font-size: .82rem; color: var(--muted); cursor: pointer; }

/* ─────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────── */
.newsletter {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(99,102,241,.1) 0%, rgba(139,92,246,.06) 100%);
  border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2);
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.newsletter h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.newsletter p  { color: var(--muted); font-size: .9rem; }
.newsletter-form { display: flex; gap: 8px; flex-shrink: 0; }
.newsletter-form input {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 50px; padding: 12px 20px; color: var(--text);
  font-size: .9rem; outline: none; width: 280px; transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--accent); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer { padding: 80px 0 40px; }
.footer-top {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 80px; margin-bottom: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border2);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo { margin-bottom: 4px; }
.footer-brand > p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 700;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h5 { font-size: .85rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--muted); text-decoration: none; font-size: .875rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--muted); flex-wrap: wrap; gap: 8px;
}

/* ─────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
───────────────────────────────────────── */

/* Base reveal state — elements start hidden */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.reveal-left  { transform: translateX(-50px); }
.reveal.reveal-right { transform: translateX(50px); }
.reveal.reveal-scale { transform: scale(.92); }

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

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: .05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: .15s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: .25s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: .35s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay: .45s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay: .55s; }
.reveal-stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay: .65s; }
.reveal-stagger.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay: .70s; }
.reveal-stagger.visible > *:nth-child(9) { opacity:1; transform:none; transition-delay: .75s; }

/* Parallax subtle effect */
.parallax-slow { will-change: transform; }

/* ─────────────────────────────────────────
   SCROLL TO TOP
───────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(99,102,241,.4);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }

/* ─────────────────────────────────────────
   TOAST
───────────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--card2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 14px 24px;
  display: flex; align-items: center; gap: 10px; font-size: .9rem;
  box-shadow: var(--shadow); z-index: 2000;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border2); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 0 60px; }
  .badge-top-right, .badge-bottom-left { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-container { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { width: 100%; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border2); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-tags { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 24px; }
}
