/* ============================================
   SHARATH INTEGRATED SYSTEMS — WORLD CLASS CSS
   White & Black Liquid Glass Theme (Light)
   ============================================ */

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

:root {
  --black: #ffffff;
  --white: #0a0a0a;
  --off-white: #0a0a08;
  --gray-100: #0d0d0d;
  --gray-200: #1a1a1a;
  --gray-400: #141414;
  --gray-600: #2a2a2a;
  --gray-800: #dddddd;
  --glass-bg: rgba(0,0,0,0.04);
  --glass-bg-hover: rgba(0,0,0,0.08);
  --glass-border: rgba(0,0,0,0.1);
  --glass-border-hover: rgba(0,0,0,0.25);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.12);
  --glass-blur: blur(20px);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 2px; }

/* ============ BACKGROUND CANVAS ============ */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

/* ============ CURSOR ============ */
.cursor {
  width: 10px; height: 10px;
  background: var(--white); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,0,0,0.3); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s;
  backdrop-filter: blur(2px);
}
.cursor.cursor-hover { width: 20px; height: 20px; }
.cursor-follower.cursor-hover { width: 60px; height: 60px; border-color: rgba(0,0,0,0.5); }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0;
  background: var(--black); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo { margin-bottom: 2rem; animation: pulse 1.5s ease infinite; }
.loader-bar { width: 200px; height: 2px; background: rgba(0,0,0,0.1); border-radius: 2px; overflow: hidden; margin: 0 auto 1rem; }
.loader-progress { height: 100%; background: linear-gradient(90deg,transparent,#000,transparent); width: 0%; transition: width 0.05s linear; border-radius: 2px; }
.loader-text { font-size: 0.75rem; color: var(--gray-400); letter-spacing: 0.2em; text-transform: uppercase; }

/* ============ GLASS CARD ============ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow), 0 0 60px rgba(0,0,0,0.04);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 1.2rem 0;
  transition: var(--transition);
  /* Liquid glass SVG distortion — subtle on transparent state */
  backdrop-filter: url('#liquid-filter') blur(0px) brightness(1.0);
  -webkit-backdrop-filter: url('#liquid-filter') blur(0px) brightness(1.0);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.76);
  backdrop-filter: url('#liquid-filter') blur(0px) brightness(1.03);
  -webkit-backdrop-filter: url('#liquid-filter') blur(0px) brightness(1.03);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.8rem 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 -1px 0 rgba(0,0,0,0.04) inset,
    0 4px 24px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.nav-logo-img { height: 42px; width: auto; display: block; transition: opacity 0.2s ease; }
.nav-logo-img:hover { opacity: 0.8; }
.nav-links { display: flex; list-style: none; gap: 0.2rem; }
.nav-links a {
  display: block; padding: 0.5rem 0.9rem;
  color: var(--gray-400); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; border-radius: 8px;
  transition: var(--transition-fast); letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(0,0,0,0.06); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--white); color: var(--black);
  font-size: 0.82rem; font-weight: 700;
  border-radius: 50px; text-decoration: none;
  letter-spacing: 0.03em; white-space: nowrap;
  transition: var(--transition-fast);
  box-shadow: 0 0 30px rgba(0,0,0,0.12);
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 50px rgba(0,0,0,0.2); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: var(--transition-fast); }

/* ============ HERO (HOME) ============ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 8rem 2rem 4rem;
  z-index: 1;
}
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: orbFloat 8s ease-in-out infinite; }
.orb1 { width: 500px; height: 500px; background: radial-gradient(circle,rgba(0,0,0,0.05) 0%,transparent 70%); top: -100px; right: -100px; animation-delay: 0s; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle,rgba(0,0,0,0.04) 0%,transparent 70%); bottom: -50px; left: -50px; animation-delay: -3s; }
.orb3 { width: 300px; height: 300px; background: radial-gradient(circle,rgba(0,0,0,0.03) 0%,transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -6s; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(30px,-20px) scale(1.05)} 66%{transform:translate(-20px,30px) scale(0.95)} }

.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.glass-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.45rem 1.2rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; color: var(--gray-400);
  border-radius: 50px; margin-bottom: 2.5rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  animation: fadeInDown 0.8s ease 0.5s both;
}
.badge-dot { width: 6px; height: 6px; background: var(--white); border-radius: 50%; animation: blink 1.5s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.8rem;
}
.hero-title .line { display: block; }
.hero-title .line:nth-child(1) { animation: fadeInUp 0.8s ease 0.7s both; }
.hero-title .line:nth-child(2) { animation: fadeInUp 0.8s ease 0.9s both; min-height: 1.1em; }
.hero-title .line:nth-child(3) { animation: fadeInUp 0.8s ease 1.1s both; }
.gradient-text {
  background: linear-gradient(135deg,#0a0a0a 0%,rgba(0,0,0,0.4) 50%,#0a0a0a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite, fadeInUp 0.8s ease 0.9s both !important;
  font-family: var(--font-display); font-style: italic;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: var(--gray-400);
  max-width: 600px; margin: 0 auto 3rem; line-height: 1.7;
  animation: fadeInUp 0.8s ease 1.3s both;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1.5s both;
}
.hero-scroll { margin-top: 4rem; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: fadeInUp 0.8s ease 1.8s both; }
.scroll-indicator { width: 28px; height: 48px; border: 1.5px solid rgba(0,0,0,0.2); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-dot { width: 4px; height: 8px; background: var(--white); border-radius: 2px; animation: scrollBounce 2s ease infinite; }
@keyframes scrollBounce { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(10px);opacity:0.3} }
.hero-scroll span { font-size: 0.7rem; color: var(--gray-400); letter-spacing: 0.15em; text-transform: uppercase; }

/* ============ INNER PAGES ============ */
.inner-page { padding-top: 80px; position: relative; z-index: 1; }
.page-hero {
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem 3rem; position: relative;
}
.page-hero-content { max-width: 800px; }
.page-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.03em; margin: 1rem 0;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.page-title em { font-family: var(--font-display); font-style: italic; }
.page-sub {
  font-size: 1.05rem; color: var(--gray-400); line-height: 1.75; max-width: 600px; margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 1.2rem; padding: 0.35rem 1rem;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 50px;
  animation: fadeInDown 0.8s ease 0.1s both;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.9rem 2rem; background: var(--white); color: var(--black);
  font-size: 0.9rem; font-weight: 700; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 0 40px rgba(0,0,0,0.15);
  letter-spacing: 0.02em;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 60px rgba(0,0,0,0.25); }
.btn-primary i { transition: transform 0.3s ease; }
.btn-primary:hover i { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.9rem 2rem; background: transparent; color: var(--white);
  font-size: 0.9rem; font-weight: 600; border-radius: 50px;
  text-decoration: none; border: 1px solid var(--glass-border);
  transition: var(--transition); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--glass-border-hover); background: rgba(0,0,0,0.06); transform: translateY(-3px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0.85rem 2rem; width: 100%; background: transparent; color: var(--white);
  font-size: 0.88rem; font-weight: 600; border-radius: 12px;
  text-decoration: none; border: 1px solid var(--glass-border);
  transition: var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: var(--white); background: rgba(0,0,0,0.05); }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 1.1rem 2.8rem; font-size: 1rem; }

/* ============ SECTION COMMON ============ */
.section-container { max-width: 1300px; margin: 0 auto; padding: 2rem 2rem 4rem; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 1.2rem;
}
.section-title em { font-family: var(--font-display); font-style: italic; font-weight: 700; }
.section-sub { font-size: 1rem; color: var(--gray-400); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ============ STATS ============ */
.stats { padding: 2rem 2rem; position: relative; z-index: 1; }
.stats-container { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.stat-item { padding: 3.5rem 2.5rem; text-align: center; border-radius: 20px; }
.stat-number { font-size: 3rem; font-weight: 900; letter-spacing: -0.03em; }
.stat-label { font-size: 0.8rem; color: var(--gray-400); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; }

/* ============ HOME SERVICES ============ */
.home-services { padding: 2rem 2rem 4rem; position: relative; z-index: 1; }
.home-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.hs-card {
  padding: 2.5rem 2rem; border-radius: 24px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: var(--transition);
}
.hs-card:hover { transform: translateY(-8px); }
.hs-icon { width: 56px; height: 56px; background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 0.5rem; transition: var(--transition); }
.hs-card:hover .hs-icon { background: rgba(0,0,0,0.12); transform: scale(1.1); }
.hs-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.hs-card p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.7; flex: 1; }
.hs-link { font-size: 0.85rem; font-weight: 600; color: var(--white); display: inline-flex; align-items: center; gap: 6px; margin-top: 0.5rem; transition: gap 0.3s; }
.hs-card:hover .hs-link { gap: 12px; }

/* ============ SERVICES PAGE ============ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.service-card { padding: 3rem 2.5rem; border-radius: 24px; overflow: hidden; transform-style: preserve-3d; }
.featured-service { background: rgba(0,0,0,0.07) !important; border-color: rgba(0,0,0,0.2) !important; box-shadow: 0 0 60px rgba(0,0,0,0.06); }
.featured-badge { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; background: var(--white); color: var(--black); border-radius: 50px; }
.service-icon { width: 60px; height: 60px; background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.8rem; transition: var(--transition); }
.service-card:hover .service-icon { background: rgba(0,0,0,0.12); transform: scale(1.1); }
.service-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.service-card p { color: var(--gray-400); line-height: 1.7; font-size: 0.92rem; margin-bottom: 1.8rem; }
.service-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--gray-200); }
.service-features li i { color: var(--white); font-size: 0.7rem; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--white); text-decoration: none; transition: gap 0.3s; }
.service-link:hover { gap: 14px; }
.card-glow { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 0%,rgba(0,0,0,0.04) 0%,transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.service-card:hover .card-glow { opacity: 1; }

/* Why Us / Values Grid */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.why-card { padding: 2rem; border-radius: 18px; text-align: center; }
.why-card i { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.83rem; color: var(--gray-400); line-height: 1.65; }

/* Tech Stack */
.techstack { position: relative; z-index: 1; }
.tech-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; max-width: 900px; margin: 0 auto; }
.tech-item { padding: 1.2rem 1.8rem; border-radius: 14px; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); opacity: 0; transform: translateY(20px); }
.tech-item.visible { opacity: 1; transform: translateY(0); }
.tech-item:hover { transform: translateY(-4px) scale(1.05); }
.tech-item i { font-size: 1.3rem; }

/* ============ PROCESS PAGE ============ */
.process-vertical { display: flex; flex-direction: column; gap: 2rem; max-width: 900px; margin: 0 auto; }
.pv-step { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 3rem; border-radius: 24px; }
.pv-left { display: flex; flex-direction: column; align-items: center; }
.pv-number { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.2em; color: var(--gray-600); margin-bottom: 1rem; }
.pv-line { flex: 1; width: 1px; background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent); min-height: 40px; }
.pv-icon { width: 52px; height: 52px; background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.2rem; }
.pv-right h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.pv-right p { color: var(--gray-400); line-height: 1.75; font-size: 0.95rem; margin-bottom: 1.8rem; }
.pv-deliverables ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.8rem; }
.pv-deliverables li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--gray-200); }
.pv-deliverables li i { color: var(--white); font-size: 0.7rem; }

/* ============ PORTFOLIO PAGE ============ */
.portfolio-full-grid { display: flex; flex-direction: column; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.pf-card { border-radius: 24px; overflow: hidden; border-left: 3px solid rgba(0,0,0,0.12); }
.pf-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 2.5rem 0;
}
.pf-number { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.3em; color: var(--gray-600); }
.pf-category { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); }
.pf-category i { font-size: 0.8rem; }
.pf-body { padding: 1.5rem 2.5rem 2.5rem; }
.pf-title-row { margin-bottom: 1.8rem; }
.pf-title-row h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.pf-meta { display: flex; gap: 1.5rem; }
.pf-meta span { font-size: 0.78rem; color: var(--gray-400); display: flex; align-items: center; gap: 6px; }
.pf-content { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.pf-desc { display: flex; flex-direction: column; gap: 1.2rem; }
.pf-block h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 0.5rem; }
.pf-block p { font-size: 0.88rem; color: var(--gray-200); line-height: 1.75; }
.pf-results { display: flex; flex-direction: column; gap: 1.5rem; min-width: 160px; padding-left: 2rem; border-left: 1px solid rgba(0,0,0,0.07); }
.pf-result-item { display: flex; flex-direction: column; gap: 3px; }
.pf-result-number { font-size: 1.8rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.pf-result-item span:last-child { font-size: 0.7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ TEAM PAGE ============ */
.founder-card {
  display: grid; grid-template-columns: 100px 1fr; gap: 2.5rem;
  padding: 3rem; border-radius: 24px; max-width: 900px; margin: 0 auto;
  align-items: start;
}
.founder-icon-wrap {
  width: 80px; height: 80px;
  background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white); flex-shrink: 0;
}
.founder-info h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 0.6rem 0 1rem; }
.founder-info p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.75; margin-bottom: 0.8rem; }
.founder-socials { display: flex; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.founder-socials a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0.45rem 1rem; font-size: 0.78rem; font-weight: 600;
  background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px; color: var(--gray-400); text-decoration: none;
  transition: var(--transition-fast);
}
.founder-socials a:hover { background: rgba(0,0,0,0.1); color: var(--white); border-color: rgba(0,0,0,0.2); }
.dept-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.dept-card { display: flex; gap: 1.2rem; padding: 2rem; border-radius: 20px; align-items: flex-start; }
.dept-icon { width: 46px; height: 46px; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.dept-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.dept-body p { font-size: 0.83rem; color: var(--gray-400); line-height: 1.65; margin-bottom: 1rem; }
.dept-skills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dept-skills li { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem; background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.1); border-radius: 50px; color: var(--gray-400); }

/* ============ PRICING PAGE ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; align-items: start; }
.pricing-card { padding: 3rem 2.5rem; border-radius: 24px; }
.pricing-featured { background: rgba(0,0,0,0.07) !important; border-color: rgba(0,0,0,0.2) !important; transform: scale(1.03); box-shadow: 0 0 80px rgba(0,0,0,0.06); }
.pricing-popular { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; background: var(--white); color: var(--black); border-radius: 50px; margin-bottom: 1.5rem; }
.pricing-tier { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; }
.pricing-price { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 1rem; }
.price-currency { font-size: 1.5rem; font-weight: 700; margin-top: 0.5rem; }
.price-amount { font-size: 3.5rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.pricing-desc { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.5rem; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.pricing-features li i.fa-check { color: var(--white); font-size: 0.7rem; }
.pricing-features li i.fa-xmark { color: var(--gray-600); font-size: 0.7rem; }
.pricing-features li.disabled { color: var(--gray-600); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.faq-item { padding: 2rem; border-radius: 18px; }
.faq-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; }
.faq-item h4 i { color: var(--gray-400); }
.faq-item p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.7; }

/* ============ INSIGHTS PAGE ============ */
.insights-full-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.insight-card-full { padding: 2.2rem; border-radius: 22px; display: flex; flex-direction: column; gap: 1rem; border-left: 3px solid rgba(0,0,0,0.1); }
.insight-card-top { display: flex; align-items: center; justify-content: space-between; }
.insight-chip { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.3rem 0.8rem; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1); border-radius: 50px; color: var(--gray-200); }
.insight-date { font-size: 0.72rem; color: var(--gray-600); font-weight: 600; }
.insight-card-full h2 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.insight-card-full p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.75; }
.insight-card-full p + p { margin-top: -0.2rem; }
.insight-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.06); }
.insight-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.insight-tags span { font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.6rem; background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.08); border-radius: 50px; color: var(--gray-400); }
.insight-read-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--white); text-decoration: none; white-space: nowrap; transition: gap 0.3s; }
.insight-read-link:hover { gap: 12px; }

/* ============ CONTACT PAGE ============ */
.contact-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { padding: 1.5rem; border-radius: 16px; display: flex; align-items: flex-start; gap: 1rem; }
.contact-item i { font-size: 1.1rem; color: var(--white); margin-top: 2px; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 3px; }
.contact-item span { font-size: 0.8rem; color: var(--gray-400); line-height: 1.5; }
.contact-form { padding: 3rem; border-radius: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--gray-400); letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.12); border-radius: 12px; padding: 0.9rem 1.1rem; color: var(--white); font-family: var(--font-main); font-size: 0.9rem; outline: none; transition: var(--transition-fast); resize: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-600); }
.form-group select option { background: #f5f5f5; color: #0a0a0a; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(0,0,0,0.35); background: rgba(0,0,0,0.07); box-shadow: 0 0 30px rgba(0,0,0,0.06); }
.form-success { display: none; margin-top: 1rem; text-align: center; font-size: 0.88rem; color: var(--white); font-weight: 600; padding: 1rem; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.15); border-radius: 10px; }

/* ============ CTA BANNER ============ */
.cta-banner { padding: 4rem 2rem; position: relative; z-index: 1; }
.cta-glass { max-width: 1100px; margin: 0 auto; background: rgba(0,0,0,0.04); backdrop-filter: blur(30px); border: 1px solid rgba(0,0,0,0.1); border-radius: 28px; padding: 5rem 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta-orb1 { width: 300px; height: 300px; background: rgba(0,0,0,0.03); top: -100px; left: -50px; }
.cta-orb2 { width: 250px; height: 250px; background: rgba(0,0,0,0.02); bottom: -80px; right: -30px; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.03em; }
.cta-content h2 em { font-family: var(--font-display); font-style: italic; }
.cta-content p { font-size: 1rem; color: var(--gray-400); margin-bottom: 2.5rem; }

/* ============ FOOTER ============ */
.footer { padding: 5rem 2rem 2rem; border-top: 1px solid rgba(0,0,0,0.08); position: relative; z-index: 1; }
.footer-container { max-width: 1300px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { height: 40px; width: auto; }
.footer-brand p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.7; margin: 1.2rem 0 1.5rem; max-width: 300px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 0.85rem; text-decoration: none; transition: var(--transition-fast); }
.footer-socials a:hover { background: rgba(0,0,0,0.1); color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.83rem; color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: var(--gray-600); }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Mobile overlay — hidden globally, shown only when .open is added by JS */
#mobileMenuOverlay { display: none; }

/* ============================================================
   RESPONSIVE — TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid                { grid-template-columns: 1fr 1fr; }
  .home-services-grid           { grid-template-columns: 1fr 1fr; }
  .why-grid                     { grid-template-columns: 1fr 1fr; }
  .dept-grid                    { grid-template-columns: 1fr 1fr; }
  .pricing-grid                 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-featured             { transform: scale(1); }
  .stats-container              { grid-template-columns: repeat(3, 1fr); }
  .contact-wrapper              { grid-template-columns: 1fr; }
  .footer-top                   { grid-template-columns: 1fr; gap: 2rem; }
  .pf-content                   { grid-template-columns: 1fr; }
  .pf-results                   { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; border-left: none; border-top: 1px solid rgba(0,0,0,0.07); padding-left: 0; padding-top: 1.2rem; }
  .insights-full-grid           { grid-template-columns: 1fr; }
  .founder-card                 { grid-template-columns: 1fr; gap: 1.5rem; }
  .founder-icon-wrap            { display: none; }
  .faq-grid                     { grid-template-columns: 1fr; }
  .process-vertical             { max-width: 100%; }
  .pv-step                      { grid-template-columns: 60px 1fr; gap: 1.5rem; padding: 2rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {

  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }

  /* ---- Navbar ---- */
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .hamburger  { display: flex; z-index: 100000; position: relative; }

  /* Hamburger → X animation */
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile menu overlay — appended directly to <body> by JS */
  #mobileMenuOverlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) brightness(1.04);
    -webkit-backdrop-filter: blur(24px) brightness(1.04);
    z-index: 99999;
    overscroll-behavior: contain;
  }
  #mobileMenuOverlay.open {
    display: flex;
    align-items: center; justify-content: center;
    animation: menuFadeIn 0.28s cubic-bezier(0.34,1.2,0.64,1) both;
  }
  @keyframes menuFadeIn { from{opacity:0;transform:scale(0.96)} to{opacity:1;transform:scale(1)} }

  .mm-inner {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.5rem;
    width: 100%; max-width: 380px;
    padding: 2rem 1.5rem;
    position: relative;
  }

  .mm-close {
    position: absolute; top: -1rem; right: 1.5rem;
    background: none; border: none; cursor: pointer;
    color: var(--white); font-size: 1.6rem;
    padding: 0.5rem; line-height: 1;
  }

  .mm-nav { display: flex; flex-direction: column; gap: 0.4rem; width: 100%; }
  .mm-nav a {
    display: block; width: 100%; padding: 1rem 1.5rem;
    font-size: 1.15rem; font-weight: 600; color: var(--gray-400);
    text-align: center; border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(0,0,0,0.03);
    text-decoration: none; transition: var(--transition-fast);
  }
  .mm-nav a:hover, .mm-nav a.active {
    color: var(--white);
    background: rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.18);
  }

  .mm-cta {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 1rem; padding: 1rem 2rem; width: 100%;
    justify-content: center;
    background: var(--white); color: var(--black);
    font-size: 1rem; font-weight: 700;
    border-radius: 14px; text-decoration: none;
  }

  /* ---- Typography ---- */
  .hero-title     { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .page-title     { font-size: clamp(2rem, 8vw, 3rem); }
  .section-title  { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  /* ---- Hero ---- */
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.8rem; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; font-size: 0.95rem; }
  .hero-scroll { margin-top: 2.5rem; }

  /* ---- Page hero ---- */
  .page-hero { padding: 2.5rem 1.5rem 2rem; }
  .page-sub { font-size: 0.95rem; }

  /* ---- Stats ---- */
  .stats { padding: 1.5rem; }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 200px; margin: 0 auto; }
  .stat-item { padding: 1.5rem 1rem; border-radius: 16px; }
  .stat-number { font-size: 2.2rem; }
  .stat-label { font-size: 0.72rem; }

  /* ---- Section container ---- */
  .section-container { padding: 1.5rem 1.5rem 3rem; }

  /* ---- Services ---- */
  .services-grid, .home-services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 2rem 1.5rem; }
  .hs-card { padding: 1.8rem 1.5rem; }

  /* ---- Process ---- */
  .process-vertical { gap: 1rem; }
  .pv-step { grid-template-columns: 1fr; gap: 1rem; padding: 1.8rem 1.5rem; }
  .pv-left { display: flex; flex-direction: row; align-items: center; gap: 1rem; }
  .pv-line { display: none; }
  .pv-right h2 { font-size: 1.4rem; }
  .pv-deliverables ul { gap: 0.4rem; }

  /* ---- Why grid / Values ---- */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .why-card { padding: 1.5rem 1.2rem; }

  /* ---- Tech stack ---- */
  .tech-grid { gap: 0.7rem; }
  .tech-item { padding: 0.9rem 1.2rem; font-size: 0.8rem; }

  /* ---- Portfolio ---- */
  .portfolio-full-grid { gap: 1rem; }
  .pf-card { border-left: none; border-top: 3px solid rgba(0,0,0,0.1); }
  .pf-header { padding: 1.5rem 1.5rem 0; }
  .pf-body { padding: 1rem 1.5rem 2rem; }
  .pf-title-row h2 { font-size: 1.4rem; }
  .pf-result-number { font-size: 1.4rem; }

  /* ---- Team ---- */
  .dept-grid { grid-template-columns: 1fr; gap: 1rem; }
  .dept-card { flex-direction: row; align-items: flex-start; padding: 1.5rem; }
  .founder-card { padding: 2rem 1.5rem; }
  .founder-info h2 { font-size: 1.6rem; }
  .founder-socials { flex-wrap: wrap; }

  /* ---- Pricing ---- */
  .pricing-grid { max-width: 100%; gap: 1rem; }
  .pricing-card { padding: 2rem 1.5rem; }
  .price-amount { font-size: 2.8rem; }

  /* ---- FAQ ---- */
  .faq-grid { gap: 1rem; }
  .faq-item { padding: 1.5rem; }

  /* ---- Insights ---- */
  .insights-full-grid { gap: 1rem; }
  .insight-card-full { padding: 1.6rem; }

  /* ---- Contact ---- */
  .contact-wrapper { gap: 1.5rem; }
  .contact-form { padding: 1.8rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { gap: 0.8rem; }
  .contact-item { padding: 1.2rem; }

  /* ---- CTA Banner ---- */
  .cta-banner { padding: 2rem 1.5rem; }
  .cta-glass { padding: 3rem 1.8rem; border-radius: 20px; }
  .cta-content h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-content p { font-size: 0.9rem; margin-bottom: 1.8rem; }
  .btn-large { padding: 1rem 2rem; font-size: 0.95rem; }

  /* ---- Footer ---- */
  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-top { gap: 1.8rem; margin-bottom: 2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-logo { height: 34px; }
  .footer-brand p { font-size: 0.82rem; margin: 0.8rem 0 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; padding-top: 1.5rem; }

  /* ---- Glass cards — reduce blur on mobile for performance ---- */
  .glass-card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero { padding: 6rem 1.2rem 2.5rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); letter-spacing: -0.02em; }
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 1rem; margin-bottom: 1.5rem; }

  .page-hero { padding: 2rem 1.2rem 1.5rem; }
  .page-title { font-size: clamp(1.8rem, 9vw, 2.5rem); }

  .stats-container { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .stat-item { padding: 1.2rem 0.8rem; }
  .stat-number { font-size: 1.8rem; }

  .section-container { padding: 1.2rem 1.2rem 2.5rem; }
  .section-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-tag { font-size: 0.65rem; padding: 0.3rem 0.8rem; }

  .service-card { padding: 1.6rem 1.2rem; }
  .service-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 1.2rem; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 1.3rem 1.2rem; }

  .pv-step { padding: 1.5rem 1.2rem; }
  .pv-right h2 { font-size: 1.25rem; }

  .pf-header { padding: 1.2rem 1.2rem 0; }
  .pf-body { padding: 0.8rem 1.2rem 1.8rem; }
  .pf-results { gap: 1rem; }
  .pf-result-number { font-size: 1.2rem; }

  .dept-card { flex-direction: column; padding: 1.3rem; }
  .founder-card { padding: 1.5rem 1.2rem; }
  .founder-info h2 { font-size: 1.4rem; }
  .founder-socials a { font-size: 0.72rem; padding: 0.4rem 0.8rem; }

  .pricing-card { padding: 1.8rem 1.2rem; }
  .price-amount { font-size: 2.4rem; }
  .pricing-features li { font-size: 0.82rem; }

  .faq-item { padding: 1.2rem; }
  .faq-item h4 { font-size: 0.88rem; }

  .insight-card-full { padding: 1.3rem; }
  .insight-card-full h2 { font-size: 1rem; }

  .contact-form { padding: 1.5rem 1.2rem; }
  .contact-item { padding: 1rem; }

  .cta-glass { padding: 2.5rem 1.2rem; }
  .cta-content h2 { font-size: clamp(1.4rem, 7vw, 2rem); }

  .footer { padding: 2.5rem 1.2rem 1.2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .footer-col h4 { font-size: 0.72rem; }
  .footer-col a { font-size: 0.78rem; }

  .nav-container { padding: 0 1.2rem; }
  .nav-logo-img { height: 36px; }

  .tech-item { padding: 0.75rem 1rem; font-size: 0.75rem; }
  .tech-item i { font-size: 1.1rem; }
}
