/* ===================================
   INSPIREN NETWORK - MAIN STYLESHEET
   Brand: DM Sans · #FFBF00 Gold
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  /* Backgrounds - warm dark */
  --bg-primary:    #0D0B07;
  --bg-secondary:  #141008;
  --bg-card:       rgba(255,191,0,0.03);
  --bg-card-hover: rgba(255,191,0,0.07);

  /* Brand Colors */
  --brand:        #FFBF00;
  --brand-alt:    #FF8C00;
  --brand-light:  #FFD54F;
  --brand-dim:    rgba(255,191,0,0.12);
  --brand-deep:   rgba(255,191,0,0.05);
  --brand-glow:   rgba(255,191,0,0.18);

  /* Borders */
  --border:       rgba(255,191,0,0.12);
  --border-soft:  rgba(255,255,255,0.06);
  --border-hover: rgba(255,191,0,0.45);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #FFBF00 0%, #FF8C00 100%);
  --gradient-glow:    linear-gradient(135deg, rgba(255,191,0,0.18) 0%, rgba(255,140,0,0.12) 100%);
  --gradient-hero:    linear-gradient(135deg, #FFBF00 0%, #FFD54F 50%, #FF8C00 100%);

  /* Text */
  --text-primary:   #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted:     #4B5563;

  /* Font */
  --font-heading: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-brand:      0 0 40px rgba(255,191,0,0.18);
  --shadow-brand-sm:   0 0 20px rgba(255,191,0,0.12);
  --shadow-card:       0 8px 32px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 24px 64px rgba(0,0,0,0.65);

  /* Transitions */
  --t:        all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --t-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--bg-secondary);
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 999px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- CUSTOM CURSOR ---- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand), 0 0 24px rgba(255,191,0,0.5);
  transition: opacity 0.3s;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255,191,0,0.5);
  transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
}
.cursor-ring.hovered {
  width: 54px; height: 54px;
  border-color: var(--brand);
  background: rgba(255,191,0,0.05);
}
@media (hover: none), (max-width: 768px) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ---- SCROLL PROGRESS ---- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9998;
  width: 0%;
  box-shadow: 0 0 8px var(--brand);
  transition: width 0.1s linear;
}

/* ---- PAGE LOADER ---- */
#page-loader {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
}
.loader-logo {
  width: 160px;
  filter: brightness(0) invert(1);
  animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader-bar {
  width: 220px; height: 2px;
  background: rgba(255,191,0,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 999px;
  animation: loaderFill 2.2s ease-in-out forwards;
  box-shadow: 0 0 12px var(--brand);
}
@keyframes loaderPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.96)} }
@keyframes loaderFill { from{width:0} to{width:100%} }
#page-loader.fade-out { animation: loaderFadeOut 0.5s 0.1s forwards; }
@keyframes loaderFadeOut { to{opacity:0;pointer-events:none} }

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--t);
  padding: 0 48px;
}
.navbar.scrolled {
  background: rgba(13,11,7,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4), 0 0 60px rgba(255,191,0,0.03);
}
.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 38px;
  filter: brightness(0) invert(1);
  transition: var(--t);
}
.nav-logo img:hover {
  filter: brightness(0) saturate(100%) invert(76%) sepia(80%) saturate(700%) hue-rotate(1deg) brightness(103%);
}

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  padding: 8px 13px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--t);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 13px;
  width: 0; height: 1.5px;
  background: var(--gradient-primary);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 26px); }

.nav-cta {
  padding: 10px 22px !important;
  background: var(--gradient-primary) !important;
  color: #0D0B07 !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  transition: var(--t-bounce) !important;
  box-shadow: 0 4px 20px rgba(255,191,0,0.3) !important;
  letter-spacing: 0.02em;
}
.nav-cta:hover { transform: scale(1.06) !important; box-shadow: 0 6px 30px rgba(255,191,0,0.5) !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(13,11,7,0.98);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }
.mobile-menu .nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 14px 28px;
  color: var(--text-secondary);
}
.mobile-menu .nav-link:hover { color: var(--brand); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 1.8rem; color: var(--text-secondary);
  cursor: pointer; transition: var(--t);
  line-height: 1;
}
.mobile-close:hover { color: var(--brand); transform: rotate(90deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}
#hero-particles { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,191,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,191,0,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.7) 0%, transparent 80%);
}
.hero-gradient-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); z-index: 0;
  will-change: transform;
}
.hero-gradient-orb.orb-1 { width: 650px; height: 650px; background: rgba(255,191,0,0.1); top: -150px; right: -150px; }
.hero-gradient-orb.orb-2 { width: 500px; height: 500px; background: rgba(255,140,0,0.07); bottom: -100px; left: -100px; }
.hero-gradient-orb.orb-3 { width: 280px; height: 280px; background: rgba(255,213,79,0.07); top: 40%; left: 35%; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--brand-dim);
  border: 1px solid rgba(255,191,0,0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600;
  color: var(--brand); letter-spacing: 0.07em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-badge .dot {
  width: 6px; height: 6px; background: var(--brand); border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--brand);
}
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.typewriter::after { content: '|'; color: var(--brand); animation: blink 0.9s step-end infinite; margin-left: 2px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-subtitle {
  font-size: 1.05rem; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 36px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 28px; margin-top: 48px;
  padding-top: 36px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-visual-card {
  position: relative;
  background: rgba(255,191,0,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(10px);
  overflow: visible;
}
.hero-visual-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: var(--gradient-primary); opacity: 0.7;
}
.hero-img-main { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/9; object-fit: cover; }
.hero-floating-badge {
  position: absolute;
  background: rgba(13,11,7,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.hero-floating-badge.badge-1 { top: -18px; left: -18px; animation: badgeFloat 3s ease-in-out infinite; }
.hero-floating-badge.badge-2 { bottom: 8px; right: -18px; animation: badgeFloat 3s ease-in-out infinite 1.5s; }
@keyframes badgeFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.badge-icon {
  width: 30px; height: 30px; background: var(--gradient-primary);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: #0D0B07;
}

/* ---- SECTION BASE ---- */
section { padding: 100px 48px; }
.container { max-width: 1440px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.section-label::before {
  content: ''; display: block; width: 22px; height: 2px;
  background: var(--gradient-primary); border-radius: 2px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 18px;
}
.section-subtitle { font-size: 1rem; color: var(--text-secondary); max-width: 600px; line-height: 1.75; }
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  transition: var(--t-bounce);
  position: relative; overflow: hidden; cursor: pointer;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #0D0B07;
  box-shadow: 0 4px 20px rgba(255,191,0,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(255,191,0,0.55); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text-primary); background: transparent;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); background: var(--brand-dim); }

.btn-ghost { color: var(--brand); padding: 13px 0; font-weight: 600; }
.btn-ghost .arrow { transition: transform 0.3s; }
.btn-ghost:hover .arrow { transform: translateX(6px); }

.btn-lg { padding: 16px 34px; font-size: 0.95rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--t);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: var(--gradient-primary); opacity: 0; transition: opacity 0.35s;
}
.card:hover {
  border-color: rgba(255,191,0,0.25);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(255,191,0,0.05);
}
.card:hover::before { opacity: 1; }

/* ---- SERVICE ICON ---- */
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px; flex-shrink: 0;
}
.service-icon.brand  { background: var(--brand-dim); color: var(--brand); border: 1px solid rgba(255,191,0,0.2); }
.service-icon.cyan   { background: var(--brand-dim); color: var(--brand); border: 1px solid rgba(255,191,0,0.2); }
.service-icon.purple { background: rgba(255,140,0,0.1); color: var(--brand-alt); border: 1px solid rgba(255,140,0,0.2); }
.service-icon.orange { background: rgba(255,107,53,0.1); color: #FF6B35; border: 1px solid rgba(255,107,53,0.2); }
.service-icon.green  { background: rgba(0,230,118,0.1); color: #00E676; border: 1px solid rgba(0,230,118,0.2); }
.service-icon.pink   { background: rgba(236,72,153,0.1); color: #EC4899; border: 1px solid rgba(236,72,153,0.2); }

/* ---- SERVICES GRID ---- */
.services-section { background: var(--bg-secondary); }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px;
}
.service-card { cursor: pointer; }
.service-card-title {
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; transition: var(--t);
}
.service-card:hover .service-card-title { color: var(--brand); }
.service-card-text { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.84rem; font-weight: 600; color: var(--brand); margin-top: 18px; transition: var(--t);
}
.service-card-link .arrow { transition: transform 0.3s; }
.service-card:hover .service-card-link .arrow { transform: translateX(5px); }

/* ---- STATS ---- */
.stats-section { background: var(--bg-primary); position: relative; overflow: hidden; }
.stats-bg-glow {
  position: absolute; width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(255,191,0,0.06) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; z-index: 1; }
.stat-item {
  text-align: center; padding: 40px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: var(--t); position: relative; overflow: hidden;
}
.stat-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-primary); transform: scaleX(0); transition: transform 0.4s;
}
.stat-item:hover { transform: translateY(-5px); border-color: rgba(255,191,0,0.25); }
.stat-item:hover::after { transform: scaleX(1); }
.stat-number {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.stat-label { color: var(--text-secondary); font-size: 0.85rem; margin-top: 8px; letter-spacing: 0.04em; }

/* ---- MARQUEE ---- */
.marquee-section {
  padding: 36px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 44px;
  animation: marqueeScroll 28s linear infinite; width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 0.88rem; font-weight: 500; white-space: nowrap;
  transition: var(--t);
}
.marquee-item:hover { color: var(--brand); }
.marquee-item .dot { width: 5px; height: 5px; background: rgba(255,191,0,0.25); border-radius: 50%; }

/* ---- PROCESS ---- */
.process-section { background: var(--bg-primary); }
.process-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 56px; position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%;
  height: 1px; background: var(--border);
}
.process-step { text-align: center; padding: 20px 14px; position: relative; }
.process-num {
  width: 64px; height: 64px;
  background: var(--bg-secondary); border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--text-muted);
  margin: 0 auto 18px; transition: var(--t); position: relative; z-index: 1;
}
.process-step:hover .process-num {
  border-color: var(--brand); color: var(--brand); background: var(--brand-dim);
  box-shadow: var(--shadow-brand-sm);
}
.process-step-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.process-step-text { color: var(--text-secondary); font-size: 0.81rem; line-height: 1.6; }

/* ---- PORTFOLIO ---- */
.portfolio-section { background: var(--bg-secondary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  aspect-ratio: 4/3; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--border);
}
.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-card:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,11,7,0.95) 0%, rgba(13,11,7,0.3) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: opacity 0.4s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-name { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; }
.portfolio-tag { font-size: 0.78rem; color: var(--brand); margin-top: 3px; }

/* ---- WHY US ---- */
.why-us-section { background: var(--bg-primary); }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-us-img { border-radius: var(--radius-xl); width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--border); }
.why-us-floating {
  position: absolute;
  background: rgba(13,11,7,0.92); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(12px); box-shadow: var(--shadow-card);
  font-size: 0.82rem; font-weight: 600;
}
.why-us-floating.f1 { bottom: -22px; left: -22px; }
.why-us-floating.f2 { top: 40px; right: -22px; }

.features-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.feature-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: var(--t);
}
.feature-item:hover { border-color: rgba(255,191,0,0.25); transform: translateX(4px); background: var(--bg-card-hover); }
.feature-check {
  width: 34px; height: 34px; min-width: 34px;
  background: var(--brand-dim); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 0.9rem;
}
.feature-title { font-weight: 700; margin-bottom: 3px; font-size: 0.93rem; }
.feature-text { color: var(--text-secondary); font-size: 0.84rem; line-height: 1.6; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--bg-secondary); overflow: hidden; }
.testimonials-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; height: auto;
}
.testimonial-stars { color: var(--brand); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; background: var(--gradient-primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: #0D0B07; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.88rem; }
.author-role { color: var(--text-muted); font-size: 0.76rem; }

/* ---- CTA SECTION ---- */
.cta-section { background: var(--bg-primary); position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,191,0,0.06) 0%, rgba(255,140,0,0.04) 50%, transparent 70%);
  pointer-events: none;
}
.cta-card {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, rgba(255,191,0,0.07) 0%, rgba(255,140,0,0.05) 100%);
  border: 1px solid rgba(255,191,0,0.2); border-radius: var(--radius-xl);
  padding: 80px; text-align: center; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: var(--gradient-primary); opacity: 0.7;
}
.cta-card-title { font-family: var(--font-heading); font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.025em; }
.cta-card-text { color: var(--text-secondary); font-size: 1rem; max-width: 540px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.cta-orb-1 { width: 320px; height: 320px; background: rgba(255,191,0,0.1); top: -120px; left: -80px; }
.cta-orb-2 { width: 280px; height: 280px; background: rgba(255,140,0,0.08); bottom: -80px; right: -80px; }

/* ---- FOOTER ---- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 48px 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px;
  max-width: 1440px; margin: 0 auto;
}
.footer-brand .footer-logo { width: 130px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-desc { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.75; margin-bottom: 22px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; color: var(--text-secondary); transition: var(--t);
}
.social-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-dim); transform: translateY(-2px); }
.footer-col-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; color: var(--text-primary);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 0.86rem; color: var(--text-secondary); transition: var(--t); }
.footer-link:hover { color: var(--brand); transform: translateX(4px); display: inline-block; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 9px;
  margin-bottom: 10px; font-size: 0.84rem; color: var(--text-secondary);
}
.footer-contact-item i { color: var(--brand); margin-top: 2px; font-size: 0.88rem; flex-shrink: 0; }
.footer-bottom {
  max-width: 1440px; margin: 44px auto 0; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 90px) 48px 90px;
  overflow: hidden; text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(255,191,0,0.09) 0%, rgba(255,140,0,0.04) 40%, transparent 70%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,191,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,191,0,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.page-hero-title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 18px;
}
.page-hero-subtitle { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.75; }

/* ---- PACKAGES ---- */
.packages-section { background: var(--bg-secondary); }
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.package-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 28px; transition: var(--t); position: relative; overflow: hidden;
}
.package-card.featured {
  border-color: rgba(255,191,0,0.4);
  background: linear-gradient(135deg, rgba(255,191,0,0.06) 0%, rgba(255,140,0,0.04) 100%);
}
.package-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-primary);
}
.package-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--gradient-primary); color: #0D0B07;
  font-size: 0.7rem; font-weight: 800; padding: 4px 12px;
  border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.07em;
}
.package-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.package-desc { color: var(--text-secondary); font-size: 0.84rem; margin-bottom: 22px; }
.package-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.package-feature {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.86rem; color: var(--text-secondary);
}
.package-feature i { color: var(--brand); font-size: 0.78rem; margin-top: 3px; flex-shrink: 0; }
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(255,191,0,0.25); }

/* ---- SERVICE DETAIL ---- */
.service-detail-section { background: var(--bg-primary); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-img { border-radius: var(--radius-xl); width: 100%; border: 1px solid var(--border); box-shadow: var(--shadow-card); }

/* ---- TABS ---- */
.tabs-section { background: var(--bg-secondary); }
.tab-buttons {
  display: flex; gap: 4px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 5px; width: fit-content; margin-bottom: 36px;
}
.tab-btn {
  padding: 10px 22px; border-radius: var(--radius-full);
  font-size: 0.86rem; font-weight: 600; color: var(--text-secondary); transition: var(--t); cursor: pointer;
}
.tab-btn.active { background: var(--gradient-primary); color: #0D0B07; box-shadow: 0 4px 20px rgba(255,191,0,0.3); }
.tab-btn:hover:not(.active) { color: var(--text-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- VISION / MISSION ---- */
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.vm-card { padding: 44px; border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.vm-card.vision { background: linear-gradient(135deg, rgba(255,191,0,0.07) 0%, rgba(255,191,0,0.03) 100%); border: 1px solid rgba(255,191,0,0.2); }
.vm-card.mission { background: linear-gradient(135deg, rgba(255,140,0,0.07) 0%, rgba(255,140,0,0.03) 100%); border: 1px solid rgba(255,140,0,0.2); }
.vm-icon { font-size: 2.4rem; margin-bottom: 18px; }
.vm-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; }
.vm-text { color: var(--text-secondary); line-height: 1.8; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; }
.office-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; margin-bottom: 14px; transition: var(--t);
}
.office-card:hover { border-color: rgba(255,191,0,0.25); }
.office-name { font-weight: 700; font-size: 0.93rem; margin-bottom: 10px; color: var(--brand); }
.office-detail {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.84rem; color: var(--text-secondary); margin-bottom: 7px;
}
.office-detail i { color: var(--brand); margin-top: 2px; flex-shrink: 0; }
.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 44px; position: relative;
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 7px; color: var(--text-secondary); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-size: 0.9rem; transition: var(--t); outline: none; appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--brand); background: rgba(255,191,0,0.04);
  box-shadow: 0 0 0 3px rgba(255,191,0,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 115px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-select option { background: var(--bg-secondary); }

/* ---- FLOATING WA ---- */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-btn {
  width: 54px; height: 54px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--t-bounce);
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.wa-label {
  background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.8rem; font-weight: 600;
  padding: 7px 14px; border-radius: var(--radius-full); white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: var(--t); pointer-events: none;
}
.wa-float:hover .wa-label { opacity: 1; transform: translateX(0); }

/* ---- BACK TO TOP ---- */
#back-to-top {
  position: fixed; bottom: 96px; right: 28px; z-index: 1000;
  width: 42px; height: 42px;
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 0.9rem; transition: var(--t);
  opacity: 0; pointer-events: none; cursor: pointer;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }

/* ---- UTILITY CLASSES ---- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 768px; }

/* ---- SCROLL REVEAL (fallback for no GSAP) ---- */
[data-aos] { opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos="fade-up"]    { transform: translateY(40px); }
[data-aos="fade-left"]  { transform: translateX(-40px); }
[data-aos="fade-right"] { transform: translateX(40px); }
[data-aos="scale-in"]   { transform: scale(0.9); }
[data-aos].aos-animate  { opacity: 1; transform: none; }
[data-aos-delay="100"]  { transition-delay: 0.1s; }
[data-aos-delay="200"]  { transition-delay: 0.2s; }
[data-aos-delay="300"]  { transition-delay: 0.3s; }
[data-aos-delay="400"]  { transition-delay: 0.4s; }
[data-aos-delay="500"]  { transition-delay: 0.5s; }
[data-aos-delay="600"]  { transition-delay: 0.6s; }

/* ---- GSAP SCROLL STATES ---- */
.gsap-hidden { opacity: 0; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform-origin: center; }

/* ---- SWIPER ---- */
.swiper-pagination-bullet { background: var(--text-muted) !important; opacity: 1; width: 8px; height: 8px; }
.swiper-pagination-bullet-active { background: var(--brand) !important; width: 22px; border-radius: 4px; }
.swiper-button-next, .swiper-button-prev {
  width: 42px !important; height: 42px !important;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary) !important; transition: var(--t);
}
.swiper-button-next:hover, .swiper-button-prev:hover { border-color: var(--brand); color: var(--brand) !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 0.75rem !important; font-weight: 800; }

/* ---- MISC ---- */
.keyword-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kw-tag {
  padding: 5px 13px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-full); font-size: 0.76rem; color: var(--text-secondary); transition: var(--t);
}
.kw-tag:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-dim); }

.glow-divider { height: 1px; background: linear-gradient(to right, transparent, rgba(255,191,0,0.35), transparent); }

.highlight-box {
  background: linear-gradient(135deg, rgba(255,191,0,0.07) 0%, rgba(255,140,0,0.05) 100%);
  border: 1px solid rgba(255,191,0,0.2); border-radius: var(--radius-md); padding: 28px; margin: 28px 0;
}

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); transition: var(--t); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-current { color: var(--brand); }

/* ---- HORIZONTAL SCROLL SECTION ---- */
.h-scroll-outer { overflow: hidden; }
.h-scroll-inner {
  display: flex; gap: 22px; width: max-content; padding: 8px 0 24px;
  transition: none;
}
.h-scroll-card {
  width: 340px; flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; transition: var(--t);
}
.h-scroll-card:hover { border-color: rgba(255,191,0,0.25); transform: translateY(-4px); }

/* ---- AWARD BADGE / PARTNER ---- */
.award-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(255,191,0,0.14), rgba(255,191,0,0.05));
  border: 1px solid rgba(255,191,0,0.3);
  border-radius: var(--radius-full);
  font-size: 0.76rem; font-weight: 700; color: var(--brand); margin-bottom: 10px;
}
.partner-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full); font-size: 0.8rem; color: var(--text-secondary);
}
.partner-badge strong { color: var(--text-primary); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1280px) {
  section { padding: 90px 40px; }
  .navbar, footer { padding-left: 40px; padding-right: 40px; }
  .hero-content { padding: 80px 40px; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(3,1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 1024px) {
  :root { --nav-height: 72px; }
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero-content { padding: 64px 40px 80px; }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-visual { display: none; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 72px 24px; }
  .navbar, footer { padding-left: 20px; padding-right: 20px; }
  .hero-content { padding: 56px 20px 72px; }
  .hero-title { font-size: 2.1rem; letter-spacing: -0.02em; }
  .section-title { font-size: 1.75rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .cta-card { padding: 40px 22px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .testimonials-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 1.7rem; }
  .tab-buttons { width: 100%; flex-direction: column; border-radius: var(--radius-lg); }
  .tab-btn { text-align: center; border-radius: var(--radius-md) !important; }
  .contact-form-card { padding: 28px 20px; }
  .vm-card { padding: 32px 24px; }
  .wa-float { bottom: 20px; right: 16px; }
  #back-to-top { bottom: 88px; right: 16px; }
}

@media (max-width: 480px) {
  section { padding: 60px 16px; }
  .hero-title { font-size: 1.85rem; }
  .section-title { font-size: 1.55rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.2rem; }
  .cta-card { padding: 32px 16px; }
  .page-hero-title { font-size: 1.9rem; }
  .hero-badge { font-size: 0.7rem; }
  .packages-grid { max-width: 100%; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-aos] { opacity: 1; transform: none; }
}
