@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   DESIGN SYSTEM - HaNii
   Purple = Structure, Amber = Actions
   ======================================== */

:root {
  --primary: #4C1D95;
  --primary-light: #6D28D9;
  --primary-dark: #3B0764;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --black: #0F172A;
  --text: #334155;
  --gray: #64748B;
  --gray-light: #F1F5F9;
  --border: #E2E8F0;
  --white: #FFFFFF;

  --font: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--black); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-light); }
.section-purple { background: var(--primary); color: var(--white); }
.section-purple h2, .section-purple h3, .section-purple h4 { color: var(--white); }

/* Section Header */
.section-header { margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-purple .section-label { color: var(--accent); }
.section-title { font-size: 2.5rem; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-desc { font-size: 1.1rem; color: var(--gray); max-width: 600px; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-amber {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-amber:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,158,11,0.25);
}

.btn-purple {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-purple:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; text-decoration: none; padding: 0; z-index: 100; position: relative; width: 180px; }
.logo-img { 
  height: 110px; 
  width: auto; 
  transform: scale(1.6); 
  transform-origin: left center;
  transition: transform 0.3s ease; 
  object-fit: contain;
}
.logo-img:hover { transform: scale(1.7); }
.nav-links { display: flex; align-items: center; gap: 40px; margin-left: 100px; }
.nav-link { font-weight: 600; font-size: 1rem; color: var(--text); transition: var(--transition); position: relative; z-index: 101; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* Mobile Nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 6px 0; transition: var(--transition); }
.mobile-menu {
  display: none;
  position: fixed; top: 90px; left: 0; width: 100%; background: var(--white);
  border-bottom: 1px solid var(--border); padding: 24px; z-index: 999;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a { font-weight: 500; font-size: 1.1rem; color: var(--text); }

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--gray-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.5rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 16px; }
.card-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.card-link:hover { color: var(--accent); }

/* ========================================
   GRADIENT CARDS (Service Section)
   ======================================== */
.gc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.gc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  border-radius: 20px;
  padding: 36px;
  overflow: hidden;
  text-decoration: none;
  color: var(--black);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gc-card:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Gradient Variants */
.gc-amber  { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FBBF24 100%); }
.gc-slate   { background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 50%, #CBD5E1 100%); }
.gc-purple { background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 50%, #C4B5FD 100%); }
.gc-green  { background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 50%, #6EE7B7 100%); }

/* Decorative background image */
.gc-bg-img {
  position: absolute;
  right: -15%;
  bottom: -15%;
  width: 65%;
  opacity: 0.25;
  pointer-events: none;
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease;
}

.gc-card:hover .gc-bg-img {
  transform: scale(1.12) rotate(3deg);
  opacity: 0.35;
}

/* Card content */
.gc-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Badge */
.gc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  width: fit-content;
  margin-bottom: 20px;
}

.gc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Title & Desc */
.gc-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
  letter-spacing: -0.5px;
}

.gc-desc {
  font-size: 0.95rem;
  color: var(--text);
  max-width: 320px;
  line-height: 1.6;
  flex-grow: 1;
}

/* CTA link */
.gc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  transition: gap 0.3s ease;
}

.gc-card:hover .gc-cta {
  gap: 12px;
}

.gc-cta svg {
  transition: transform 0.3s ease;
}
.gc-card:hover .gc-cta svg {
  transform: translateX(4px);
}

/* ========================================
   INDUSTRY CARDS (Animated Wave Pattern)
   ======================================== */
@keyframes ic-waves {
  0%   { transform: translateY(-170px); }
  100% { transform: translateY(0); }
}

.ic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ic-card {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--white);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}

.ic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}

/* Color variants */
.ic-primary { background: var(--primary); }
.ic-amber   { background: var(--accent); }
.ic-dark    { background: var(--black); }

/* Wave SVG decoration */
.ic-wave {
  position: absolute;
  top: -106px;
  z-index: 0;
  pointer-events: none;
  animation: ic-waves 4s linear infinite;
}
.ic-wave-left  { left: 4px; }
.ic-wave-right { right: 4px; }

/* Content positioned above waves */
.ic-content {
  position: relative;
  z-index: 2;
  padding: 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  gap: 20px;
}

.ic-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}

.ic-desc {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  max-width: 280px;
  flex-grow: 1;
}

/* CTA button */
.ic-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.ic-btn:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.ic-btn-dark {
  background: var(--black);
  color: var(--white);
}
.ic-btn-dark:hover {
  background: #1e293b;
}

/* ========================================
   FEATURE CAROUSEL (Portfolio)
   ======================================== */
.fc-wrapper {
  display: flex;
  border-radius: 40px;
  overflow: hidden;
  min-height: 600px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.fc-left {
  width: 42%;
  background: var(--primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.fc-fade-top    { top: 0; background: linear-gradient(to bottom, var(--primary) 20%, transparent); height: 100px; }
.fc-fade-bottom { bottom: 0; background: linear-gradient(to top, var(--primary) 20%, transparent); height: 100px; }

.fc-labels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.fc-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.fc-label:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  transform: translateX(8px);
}

.fc-label-active {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.fc-label-active:hover {
  color: var(--primary);
  transform: none;
}

/* Right panel - card stack */
.fc-right {
  flex: 1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--border);
}

.fc-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
}

.fc-slide {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 12px solid var(--white);
  background: var(--white);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  transform: scale(0.8) translateX(120px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.fc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) blur(1px) brightness(0.8);
  transition: all 0.8s ease;
}

.fc-slide-active {
  transform: scale(1) translateX(0) rotate(0deg);
  opacity: 1;
  z-index: 20;
  pointer-events: auto;
}
.fc-slide-active img {
  filter: none;
}

.fc-slide-prev {
  transform: scale(0.9) translateX(-100px) rotate(-4deg);
  opacity: 0.4;
  z-index: 10;
}

.fc-slide-next {
  transform: scale(0.9) translateX(100px) rotate(4deg);
  opacity: 0.4;
  z-index: 10;
}

.fc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 30%, transparent 60%);
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 5;
}
.fc-slide-active .fc-overlay {
  opacity: 1;
}

.fc-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: fit-content;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.fc-caption {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ========================================
   VERTICAL TABS (Process Section)
   ======================================== */
.vt-layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}

.vt-header { margin-bottom: 60px; }

.vt-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 0 32px 32px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--gray);
  border-top: 1px solid rgba(0,0,0,0.06);
  transition: all 0.5s ease;
}

.vt-tab-active {
  color: var(--black);
  background: rgba(0,0,0,0.02);
}

.vt-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(0,0,0,0.05);
  border-radius: 2px;
}

.vt-progress-fill {
  background: var(--primary);
  border-radius: 2px;
  width: 100%;
}

.vt-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.4;
  margin-top: 6px;
  font-family: monospace;
}
.vt-tab-active .vt-num { opacity: 1; }

.vt-tab-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.8px;
}

.vt-tab-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.65;
  max-width: 440px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vt-tab-active .vt-tab-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}
.vt-right { position: relative; }
.vt-image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: var(--border);
  border: 1px solid var(--border);
}
.vt-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.vt-img-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}
.vt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.vt-img-active img:hover { transform: scale(1.04); }
.vt-nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.vt-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: var(--transition);
}
.vt-arrow:hover { background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.vt-arrow:active { transform: scale(0.92); }

@keyframes vt-fill {
  from { height: 0%; }
  to   { height: 100%; }
}

/* ========================================
   HERO (Standard - used on subpages)
   ======================================== */
.hero {
  padding: 160px 0 100px;
  background: var(--white);
}
.hero-content { max-width: 720px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.2rem; color: var(--gray); margin-bottom: 36px; max-width: 580px; }
.hero .btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========================================
   GEMINI HERO (Homepage scroll effect)
   ======================================== */
.gemini-hero {
  height: 300vh;
  position: relative;
  background: var(--black);
  overflow: clip;
}

.gemini-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  z-index: 10;
}

.gemini-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 800px;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(200,200,220,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gemini-desc {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto 32px;
}

.gemini-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 30;
  position: relative;
}

.gemini-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Path rendering controlled by JS (getTotalLength + dashoffset) */
.gemini-path {
  transition: none;
}

/* Override btn-outline on dark bg */
.gemini-cta .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.gemini-cta .btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 56px 0;
}
.stat h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: 4px; }
.stat p { font-size: 0.9rem; color: var(--gray); font-weight: 500; }
.section-purple .stat h3 { color: var(--accent); }
.section-purple .stat p { color: rgba(255,255,255,0.7); }

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

/* ========================================
   PROCESS STEPS (Hex/Number style)
   ======================================== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.process-step { text-align: center; }
.process-num {
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
  margin: 0 auto 16px;
  transform: rotate(0deg);
  transition: var(--transition);
}
.hex-shape { border-radius: 50%; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--gray); }

/* ========================================
   TESTIMONIALS (Grid Style)
   ======================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.t-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  height: 100%;
}

.t-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border-color: var(--primary-light);
}

.t-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.t-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.t-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.t-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
}

.t-role {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

/* Dark mode version */
.section-purple .t-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}
.section-purple .t-text { color: rgba(255,255,255,0.8); }
.section-purple .t-name { color: var(--white); }
.section-purple .t-role { color: var(--accent); }

@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .t-card { padding: 24px; }
}

/* ========================================
   FORM
   ======================================== */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--black);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76,29,149,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ========================================
   MODERN FOOTER
   ======================================== */
.footer-modern {
  position: relative;
  width: 100%;
  padding: 240px 0 60px;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.footer-bg-text {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 18vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
  text-align: center;
}

.footer-logo-float {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo-pill {
  padding: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 2px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.logo-icon {
  width: 320px;
  height: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}

.footer-brand-logo {
  height: 120px;
  width: auto;
}

.logo-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(4.5);
  transform-origin: center;
}

.footer-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 60px;
}

.footer-tagline {
  max-width: 420px;
  margin: 16px auto 32px;
  color: var(--gray);
  font-size: 1rem;
  font-weight: 500;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(76, 29, 149, 0.2);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 80px;
}

.footer-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to r, transparent, var(--border), transparent);
  margin-bottom: 32px;
}

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ========================================
   CTA BLOCK
   ======================================== */
/* ========================================
   WOW CTA (Gen-Z Premium)
   ======================================== */
.wow-cta {
  padding: 160px 0;
  position: relative;
  background: var(--black);
  overflow: hidden;
}

.wow-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wow-gradient {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 30%, var(--primary) 0%, transparent 40%),
              radial-gradient(circle at 70% 70%, var(--accent) 0%, transparent 40%),
              radial-gradient(circle at 50% 50%, var(--primary-dark) 0%, transparent 60%);
  filter: blur(100px);
  animation: meshFlow 20s infinite alternate;
  opacity: 0.5;
}

@keyframes meshFlow {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(15deg) scale(1.3); }
}

.wow-noise {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.2;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.wow-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 64px;
  padding: 120px 80px;
  text-align: center;
  position: relative;
  z-index: 10;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}


.wow-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--white) !important;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
  font-weight: 800;
}

.wow-gradient-text {
  background: linear-gradient(to right, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4); /* White borderline */
}

.wow-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 650px;
  margin: 0 auto 60px;
  line-height: 1.5;
}

.wow-modern-btn {
  display: inline-flex;
  padding: 24px 60px;
  background: var(--white);
  color: var(--black) !important;
  border-radius: 100px;
  font-weight: 900;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.wow-modern-btn:hover {
  transform: scale(1.1) rotate(-1deg);
  background: var(--accent);
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.5);
}

.wow-btn-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.wow-modern-btn:hover .wow-btn-glow { opacity: 1; }


@media (max-width: 768px) {
  .wow-cta { padding: 100px 0; }
  .wow-card { padding: 60px 24px; border-radius: 32px; }
  .wow-title { font-size: 3rem; }
  .wow-subtitle { font-size: 1.1rem; }
  .wow-modern-btn { padding: 18px 36px; font-size: 1rem; }
}

/* ========================================
   FAQ
   ======================================== */
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-q { font-weight: 700; font-size: 1.05rem; color: var(--black); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding-top: 12px; color: var(--gray); display: none; }
.faq-item.open .faq-a { display: block; }

/* ========================================
   ANIMATIONS (Subtle, NOT heavy)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   BENTO GRID (Why HaNii)
   ======================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  grid-auto-rows: auto;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border-color: var(--primary-light);
}

.bento-span-full { grid-column: span 6; }
.bento-span-3 { grid-column: span 3; }
.bento-span-2 { grid-column: span 2; }

@media (min-width: 1024px) {
  .lg-span-2 { grid-column: span 2; }
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--black);
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

.centered { align-items: center; text-align: center; }

/* Visuals */
.bento-visual {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  justify-content: center;
}

.bento-big-num {
  font-size: 4rem;
  font-weight: 800;
  fill: var(--primary);
  font-family: inherit;
}

.centered-visual { height: 140px; }

.bento-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.team-avatars { flex-shrink: 0; }
.avatar-stack {
  display: flex;
  align-items: center;
}
.avatar-stack img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--white);
  margin-left: -12px;
}
.avatar-stack img:first-child { margin-left: 0; }
.avatar-plus {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  margin-left: -12px;
}

.shield-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(76, 29, 149, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========================================
   FEATURE 8 BENTO GRID
   ======================================== */
.feature-8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.f8-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.f8-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.f8-main { grid-column: span 2; grid-row: span 2; }
.f8-wide { grid-column: span 2; }
.f8-sub { grid-column: span 1; }

.f8-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.f8-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
}

.f8-visual {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: center;
}

.f8-svg-main {
  width: 100%;
  height: auto;
  max-height: 120px;
}

@media (max-width: 1024px) {
  .feature-8-grid { grid-template-columns: repeat(2, 1fr); }
  .f8-main, .f8-wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .feature-8-grid { grid-template-columns: 1fr; }
  .f8-main, .f8-wide, .f8-sub { grid-column: span 1; }
  .f8-card { padding: 32px; }
}

/* ========================================
   VERTICAL PROCESS TABS
   ======================================== */
.process-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 40px;
  min-height: 500px;
}

.process-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-tab {
  padding: 24px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.process-tab:hover {
  background: rgba(0,0,0,0.02);
}

.process-tab-active {
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.p-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray);
  opacity: 0.5;
}

.process-tab-active .p-num {
  color: var(--primary);
  opacity: 1;
}

.p-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
}

.process-content {
  position: relative;
  background: var(--white);
  border-radius: 30px;
  padding: 60px;
  display: flex;
  align-items: center;
}

.p-view {
  display: none;
  animation: pFade 0.5s ease forwards;
}

.p-view-active {
  display: block;
}

@keyframes pFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.p-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.p-view h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.p-view p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 600px;
}

@media (max-width: 968px) {
  .process-container { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .process-sidebar { flex-direction: row; overflow-x: auto; padding-bottom: 12px; }
  .process-tab { flex-shrink: 0; padding: 16px 24px; }
  .process-content { padding: 40px; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .gc-grid { grid-template-columns: 1fr 1fr; }
  .ic-grid { grid-template-columns: 1fr 1fr 1fr; }
  .vt-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fc-wrapper { flex-direction: column; min-height: auto; }
  .fc-left { width: 100%; padding: 32px 24px; }
  .fc-labels { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}

/* ========================================
   TECH CLOUD (Modern & Playful)
   ======================================== */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}

.tech-group {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.tech-group-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 700;
  text-align: center;
  opacity: 0.7;
}

.pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-pill {
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.tech-pill:hover {
  transform: scale(1.1) rotate(2deg);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(76, 29, 149, 0.1);
  z-index: 2;
}

.pill-purple {
  background: rgba(76, 29, 149, 0.04);
  border-color: rgba(76, 29, 149, 0.1);
  color: var(--primary);
}

.pill-amber {
  background: rgba(245, 158, 11, 0.04);
  border-color: rgba(245, 158, 11, 0.1);
  color: var(--accent);
}

.pill-purple:hover { background: var(--primary); color: var(--white); }
.pill-amber:hover { background: var(--accent); color: var(--white); }

@media (max-width: 640px) {
  .tech-cloud { gap: 32px; }
  .tech-pill { padding: 10px 18px; font-size: 0.85rem; }
}

/* ========================================
   CONTACT PAGE - ULTRA PREMIUM
   ======================================== */
.contact-glass {
  background: rgba(15, 23, 42, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
  padding: 60px;
  border-radius: 40px;
}

.form-group-modern {
  position: relative;
  margin-bottom: 32px;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
  width: 100%;
  padding: 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 1rem;
  color: var(--black);
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group-modern label {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--gray);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  opacity: 0.8;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.08);
  background: var(--white);
}

/* Floating logic with placeholder-shown hack */
.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:not(:placeholder-shown) + label {
  top: -14px;
  left: 18px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(76, 29, 149, 0.2);
}

/* Hide browsers native focus for select */
.form-group-modern select:focus {
  border-color: var(--primary);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 48px;
  border-radius: 40px;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(76, 29, 149, 0.2);
}

.contact-info-title {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.contact-item {
  margin-bottom: 32px;
}

.item-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  font-weight: 700;
}

.item-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.item-link:hover {
  color: var(--accent);
}

.item-text {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-trust-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--gray);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ========================================
   MODERNIZED SUBPAGE HEROES
   ======================================== */
.hero-modern {
  padding: 160px 0 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(76, 29, 149, 0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  user-select: none;
}

.container-hero {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--black);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 600px;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero .hero-bg-text { color: rgba(76, 29, 149, 0.04); }
.services-hero .hero-bg-text { color: rgba(245, 158, 11, 0.04); }
.portfolio-hero .hero-bg-text { color: rgba(0, 0, 0, 0.03); }
.contact-hero .hero-bg-text { color: rgba(76, 29, 149, 0.05); }

/* ========================================
   GLOBAL RESPONSIVENESS (FINAL RULES)
   ======================================== */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .feature-8-grid { grid-template-columns: repeat(2, 1fr); }
  .f8-main, .f8-wide, .f8-sub { grid-column: span 2; }
}

@media (max-width: 992px) {
  .container { max-width: 720px; }
  .navbar .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; align-items: center; justify-content: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .process-container { grid-template-columns: 1fr; gap: 40px; padding: 24px; }
  .process-sidebar { flex-direction: row; overflow-x: auto; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
  .process-tab { flex-shrink: 0; min-width: 180px; padding: 16px 20px; }
  .hero-title { font-size: 4rem; }
  .hero-bg-text { font-size: 12rem; }
  .gemini-hero { height: 150vh !important; }
}

@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 24px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .ic-grid, .gc-grid { grid-template-columns: 1fr !important; }
  .section { padding: 60px 0; }
  .section-title { font-size: 2.2rem; line-height: 1.1; }
  .hero-modern { padding: 120px 0 60px; min-height: auto; }
  .hero-title { font-size: 2.8rem; margin-bottom: 20px; }
  .hero-bg-text { font-size: 15rem; opacity: 0.02; }
  .tech-cloud { gap: 20px; }
  .contact-glass { padding: 32px 20px; }
  .footer-main { flex-direction: column; text-align: center; gap: 40px; }
  .footer-socials { justify-content: center; }
  .footer-nav { justify-content: center; flex-direction: column; gap: 16px; }
  .process-content { padding: 32px 20px; }
  .gemini-hero { height: 120vh !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .hero-bg-text { display: none !important; }
  .btn, .wow-modern-btn { width: 100%; text-align: center; justify-content: center; padding: 16px 20px; font-size: 0.9rem; }
  .pill-wrap { gap: 6px; }
  .tech-pill { padding: 6px 12px; font-size: 0.75rem; }
  .logo { font-size: 1.3rem; }
  .contact-glass { padding: 24px 16px; border-radius: 20px; }
  .contact-info-card { padding: 32px 20px; border-radius: 24px; }
  .item-link { font-size: 1rem; }
  .container { padding: 0 16px; }
}

/* Extra small screen fix (320px and below) */
@media (max-width: 320px) {
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.4rem; }
  .contact-info-card { padding: 24px 16px; }
  .contact-item { margin-bottom: 20px; }
}

.hero-bg-text, .footer-bg-text {
  user-select: none;
  pointer-events: none;
}
