:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #22222f;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --green: #00cec9;
  --green-glow: rgba(0, 206, 201, 0.3);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b5;
  --text-muted: #6c6c80;
  --border: rgba(255,255,255,0.06);
  --gradient-1: linear-gradient(135deg, #6c5ce7, #00cec9);
  --gradient-2: linear-gradient(135deg, #6c5ce7, #fd79a8);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

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

/* NAV */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.navbar.scrolled { padding: 10px 0; background: rgba(10,10,15,0.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient-1);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px var(--accent-glow);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-1); transition: width 0.3s; border-radius: 2px; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 10px 24px; background: var(--gradient-1); color: #fff; border: none; border-radius: 50px; font-weight: 600; font-size: 0.85rem; cursor: pointer; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px var(--accent-glow); }
.menu-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero {
  min-height: 80vh; display: flex; align-items: center;
  padding: 130px 0 70px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite 2s;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0.8; } }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.3); border-radius: 50px;
  font-size: 0.8rem; color: var(--accent-light); margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 .gradient { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px; background: var(--gradient-1); color: #fff;
  border: none; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-secondary {
  padding: 14px 32px; background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--accent); background: rgba(108,92,231,0.05); }
.hero-image { position: relative; display: flex; justify-content: center; }
.hero-image-wrapper {
  position: relative; width: 380px; height: 420px;
  border-radius: 30px; overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-secondary);
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.08) saturate(1.05) brightness(1.02);
  transform: scale(1.08);
}
.hero-image-wrapper::before {
  content: ''; position: absolute; inset: -2px; border-radius: 30px;
  background: var(--gradient-1); z-index: -1; opacity: 0.5;
}
.hero-float-card {
  position: absolute; padding: 14px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  backdrop-filter: blur(10px); animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-float-card.card-1 { top: 30px; right: -40px; animation-delay: 0s; }
.hero-float-card.card-2 { bottom: 60px; left: -50px; animation-delay: 1s; }
.hero-float-card.card-3 { bottom: -10px; right: -20px; animation-delay: 2s; }
.float-number { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.float-label { font-size: 0.75rem; color: var(--text-muted); }

/* STATS BAR */
.stats-bar {
  padding: 25px 0; border: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* SECTIONS */
section { padding: 100px 0; }
.section-badge {
  display: inline-flex; padding: 6px 16px; background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.2); border-radius: 50px;
  font-size: 0.8rem; color: var(--accent-light); font-weight: 500; margin-bottom: 16px;
}
.section-title { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.section-title .gradient { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-desc { color: var(--text-secondary); max-width: 600px; font-size: 1.05rem; }
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 36px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all 0.4s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-1); transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(108,92,231,0.3); background: var(--bg-card-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(108,92,231,0.1); color: var(--accent-light); font-size: 1.4rem; margin-bottom: 20px;
}
.service-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.service-num { position: absolute; top: 20px; right: 24px; font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; color: rgba(255,255,255,0.03); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.about-image { position: relative; min-height: 100%; }
.about-image picture { display: block; width: 100%; height: 100%; }
.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-content .section-desc { margin-bottom: 30px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.about-tag { padding: 8px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50px; font-size: 0.8rem; color: var(--text-secondary); }
.about-exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-exp-item { padding: 20px; background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.about-exp-item h4 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.about-exp-item p { font-size: 0.8rem; color: var(--text-muted); }

/* INDUSTRIES */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.industry-card {
  padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); text-align: center; transition: all 0.3s; cursor: default;
}
.industry-card:hover { border-color: rgba(108,92,231,0.3); transform: translateY(-4px); }
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-bottom: 14px;
  color: var(--accent);
}
.industry-icon svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.industry-card:nth-child(1) .industry-icon { color: #f5f0ff; }
.industry-card:nth-child(2) .industry-icon { color: #d9d2e9; }
.industry-card:nth-child(3) .industry-icon { color: #ff9f5c; }
.industry-card:nth-child(4) .industry-icon { color: #ffc857; }
.industry-card:nth-child(5) .industry-icon { color: #ff8a4c; }
.industry-card:nth-child(6) .industry-icon { color: #38bdf8; }
.industry-card:nth-child(7) .industry-icon { color: #f59e8b; }
.industry-card:nth-child(8) .industry-icon { color: #9ee25f; }
.industry-card:nth-child(9) .industry-icon { color: #ff4f7b; }
.industry-card:nth-child(10) .industry-icon { color: #ffd166; }
.industry-card:nth-child(11) .industry-icon { color: #f4b6ff; }
.industry-card:nth-child(12) .industry-icon { color: #9b7ac9; }
.industry-card h4 { font-size: 0.9rem; font-weight: 600; }
.industries-hidden { display: none; }

/* PORTFOLIO SHOWCASE - LIGHT THEME */
.portfolio-light {
  background: radial-gradient(circle at 8% 55%, rgba(139, 195, 74, 0.12), transparent 26%),
              radial-gradient(circle at 82% 20%, rgba(236, 237, 98, 0.18), transparent 24%),
              #f5f8e8;
  position: relative;
  overflow: hidden;
  padding: 86px 0 76px;
}
.portfolio-light .section-badge {
  background: rgba(108,92,231,0.12);
  border-color: rgba(108,92,231,0.25);
}
.portfolio-light .section-title {
  color: #1a1a2e;
}
.portfolio-light .section-desc {
  color: #555;
}
.portfolio-light .section-header {
  display: block;
  margin-bottom: 54px;
}
.portfolio-light .section-badge {
  color: #8b80ff;
}
.portfolio-light .section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
}
.portfolio-light .section-title .gradient {
  background: linear-gradient(90deg, #7467f0, #15c7c9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.portfolio-light .section-desc {
  max-width: 660px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.portfolio-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 66px;
  align-items: start;
}
.showcase-item {
  text-align: center;
  transition: transform 0.3s ease;
}
.showcase-item:hover {
  transform: translateY(-6px);
}
.showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 235px;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-visual::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 178px;
  border-radius: 38% 62% 58% 42% / 46% 38% 62% 54%;
  background: var(--shape-color, #7bd94f);
  opacity: 0.82;
  z-index: 0;
  transform: rotate(-10deg);
}
.showcase-visual::after {
  content: '';
  position: absolute;
  width: 168px;
  height: 126px;
  right: 26px;
  bottom: 14px;
  z-index: 0;
  opacity: 0.52;
  background-image: radial-gradient(var(--dot-color, #7bd94f) 1.6px, transparent 1.8px);
  background-size: 11px 11px;
  transform: rotate(-5deg);
}
.showcase-visual:hover {
  transform: scale(1.04);
}
.showcase-item:nth-child(1) .showcase-visual { --shape-color: #ff7f77; --dot-color: #f05f5a; }
.showcase-item:nth-child(2) .showcase-visual { --shape-color: #46d86b; --dot-color: #35c563; }
.showcase-item:nth-child(3) .showcase-visual { --shape-color: #dbe34d; --dot-color: #d1b91c; }
.showcase-item:nth-child(4) .showcase-visual { --shape-color: #8bd22d; --dot-color: #7bc51c; }
.showcase-item:nth-child(5) .showcase-visual { --shape-color: #04c6c9; --dot-color: #05b9c0; }
.showcase-item:nth-child(6) .showcase-visual { --shape-color: #6378f2; --dot-color: #5970ec; }

/* Phone Mockup Stack */
.phone-stack {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 205px;
  margin: 0 auto;
}
.phone {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 84px;
  height: 168px;
  padding: 7px 5px;
  border-radius: 18px;
  background: linear-gradient(145deg, #181c2a, #05070d);
  box-shadow: 0 18px 24px rgba(15, 18, 30, 0.24);
  overflow: hidden;
}
.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: #090b12;
  transform: translateX(-50%);
  z-index: 3;
}
.phone::after {
  content: '';
  position: absolute;
  inset: 7px 5px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.45);
  pointer-events: none;
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  filter: saturate(1.04) contrast(1.03);
}
.phone-left {
  transform: translateX(-104px) rotate(-9deg);
  z-index: 1;
}
.phone-main {
  top: 0;
  width: 96px;
  height: 188px;
  transform: translateX(-48px);
  z-index: 3;
}
.phone-right {
  transform: translateX(24px) rotate(10deg);
  z-index: 2;
}
.showcase-item:nth-child(2) .phone-left,
.showcase-item:nth-child(5) .phone-left {
  transform: translateX(-105px) rotate(-7deg);
}
.showcase-item:nth-child(2) .phone-right,
.showcase-item:nth-child(5) .phone-right {
  transform: translateX(24px) rotate(7deg);
}
.showcase-item:nth-child(3) .phone-stack,
.showcase-item:nth-child(6) .phone-stack {
  transform: rotate(-7deg);
}

/* Different phone compositions, matching the reference section style */
.showcase-item:nth-child(1) .phone-stack {
  width: 255px;
}
.showcase-item:nth-child(1) .phone-left {
  width: 74px;
  height: 156px;
  transform: translateX(-112px) rotate(-14deg);
}
.showcase-item:nth-child(1) .phone-main {
  width: 92px;
  height: 178px;
  transform: translateX(-50px) rotate(-2deg);
}
.showcase-item:nth-child(1) .phone-right {
  width: 76px;
  height: 158px;
  transform: translateX(30px) rotate(14deg);
}
.showcase-item:nth-child(2) .phone-stack {
  width: 260px;
}
.showcase-item:nth-child(2) .phone-left {
  width: 78px;
  height: 162px;
  transform: translateX(-112px) rotate(-12deg);
}
.showcase-item:nth-child(2) .phone-main {
  width: 96px;
  height: 192px;
  transform: translateX(-48px) rotate(0deg);
}
.showcase-item:nth-child(2) .phone-right {
  top: 12px;
  width: 80px;
  height: 164px;
  padding: 7px 5px;
  border-radius: 18px;
  transform: translateX(28px) rotate(12deg);
}
.showcase-item:nth-child(2) .phone-right::before {
  display: block;
}
.showcase-item:nth-child(2) .phone-right::after {
  inset: 7px 5px;
  border-radius: 14px;
}
.showcase-item:nth-child(2) .phone-right img {
  border-radius: 13px;
}
.showcase-item:nth-child(3) .phone-stack {
  width: 230px;
  transform: rotate(-11deg);
}
.showcase-item:nth-child(3) .phone-left {
  width: 82px;
  height: 166px;
  transform: translateX(-72px) rotate(-3deg);
}
.showcase-item:nth-child(3) .phone-main {
  width: 86px;
  height: 172px;
  transform: translateX(-8px) rotate(3deg);
}
.showcase-item:nth-child(3) .phone-right {
  display: none;
}
.showcase-item:nth-child(4) .phone-stack {
  width: 250px;
}
.showcase-item:nth-child(4) .phone-left {
  width: 76px;
  height: 160px;
  transform: translateX(-106px) rotate(-1deg);
}
.showcase-item:nth-child(4) .phone-main {
  top: 34px;
  width: 106px;
  height: 86px;
  padding: 7px;
  border-radius: 11px;
  transform: translateX(-52px) rotate(0deg);
}
.showcase-item:nth-child(4) .phone-main::before {
  display: none;
}
.showcase-item:nth-child(4) .phone-main::after {
  inset: 6px;
  border-radius: 8px;
}
.showcase-item:nth-child(4) .phone-main img {
  border-radius: 7px;
}
.showcase-item:nth-child(4) .phone-right {
  width: 76px;
  height: 160px;
  transform: translateX(32px) rotate(1deg);
}
.showcase-item:nth-child(5) .phone-stack {
  width: 260px;
}
.showcase-item:nth-child(5) .phone-left {
  width: 76px;
  height: 158px;
  transform: translateX(-112px) rotate(-11deg);
}
.showcase-item:nth-child(5) .phone-main {
  width: 86px;
  height: 174px;
  transform: translateX(-42px) rotate(-5deg);
}
.showcase-item:nth-child(5) .phone-right {
  width: 78px;
  height: 160px;
  transform: translateX(30px) rotate(13deg);
}
.showcase-item:nth-child(6) .phone-stack {
  width: 245px;
  transform: rotate(0deg);
}
.showcase-item:nth-child(6) .phone-left {
  width: 84px;
  height: 166px;
  transform: translateX(-92px) rotate(0deg);
}
.showcase-item:nth-child(6) .phone-main {
  top: 12px;
  width: 86px;
  height: 168px;
  transform: translateX(-20px) rotate(0deg);
}
.showcase-item:nth-child(6) .phone-right {
  width: 80px;
  height: 164px;
  transform: translateX(44px) rotate(0deg);
}

/* Mockup Image */
.showcase-mockup {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(10, 10, 20, 0.18));
  transition: transform 0.4s ease;
}
.showcase-visual:hover .showcase-mockup {
  transform: scale(1.02);
}

/* Showcase Info */
.showcase-info {
  margin-top: 2px;
}
.showcase-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0;
  color: #11131f;
  margin-bottom: 4px;
}
.showcase-info p {
  font-size: 1.05rem;
  color: #303030;
  font-weight: 400;
}




/* SUCCESS STORIES SECTIONS */
.success-stories-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.success-stories-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.success-stories-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.success-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.success-slider-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: none;
  border: none;
}
.success-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.success-slider .success-card {
  flex: 0 0 100%;
  min-width: 100%;
  border-radius: 0;
  border: none;
  background: transparent;
}
.success-slider .success-card:hover {
  transform: none;
  box-shadow: none;
}
.success-slider .success-card::before {
  display: none;
}
.success-slider .success-img-wrap img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  background: transparent;
}
.success-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  border: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.success-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
  z-index: 2;
}
.success-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 92, 231, 0.4);
  box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15), 0 8px 16px rgba(0, 0, 0, 0.3);
}
.success-card:hover::before {
  transform: scaleX(1);
}
.success-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.success-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.success-card:hover .success-img-wrap img {
  transform: scale(1.05);
}
.success-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 15, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.success-card:hover .success-img-wrap::after {
  opacity: 1;
}

/* Lightbox Overlay */
.success-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  cursor: zoom-out;
}
.success-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-media img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.success-lightbox.active .lightbox-media img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* RESULTS CARD GRID */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
  z-index: 2;
}
.result-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 92, 231, 0.4);
  box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15), 0 8px 16px rgba(0, 0, 0, 0.3);
}
.result-card:hover::before { transform: scaleX(1); }
.result-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.result-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.result-card:hover .result-img-wrap img { transform: scale(1.05); }
.result-info {
  padding: 24px;
}
.result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.result-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.result-metrics {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.result-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-val {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* AWARDS & RECOGNITION */
.awards-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.awards-light {
  background: #ffffff;
}
.awards-heading {
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: #111;
  margin-bottom: 56px;
  line-height: 1.25;
}
.awards-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  align-items: center;
  justify-items: center;
}
.award-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.award-img-wrap:hover { transform: translateY(-5px); }

/* MEETUPS & NETWORKING */
.meetups-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.meetups-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}
.meetups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.meetup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.meetup-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
  z-index: 2;
}
.meetup-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 92, 231, 0.4);
  box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15), 0 8px 16px rgba(0, 0, 0, 0.3);
}
.meetup-card:hover::before { transform: scaleX(1); }
.meetup-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.meetup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.meetup-card:hover .meetup-img-wrap img { transform: scale(1.05); }
.meetup-info {
  padding: 24px;
}
.meetup-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.meetup-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.meetup-link {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s;
}
.meetup-link:hover { color: var(--accent-secondary); }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 32px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all 0.3s;
}
.testimonial-card:hover { border-color: rgba(108,92,231,0.3); }
.testimonial-stars { color: #ffd700; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* LLM SEO SECTION */
.llm-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-header {
  padding-top: 140px;
  padding-bottom: 20px;
}
#about-intro {
  padding-top: 40px;
}
.llm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.llm-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.llm-badge-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
}
.llm-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.llm-card {
  padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); text-align: center; transition: all 0.3s;
}
.llm-card:hover { border-color: rgba(0,206,201,0.3); transform: translateY(-4px); }
.llm-card .icon { font-size: 2rem; margin-bottom: 10px; }
.llm-card h4 { font-size: 0.9rem; font-weight: 600; }

/* CONTACT FORM SECTION (INDEX) */
.contact-form-section { padding: 100px 0; position: relative; }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-form-info { padding: 60px; border-right: 1px solid var(--border); }
.contact-form-info h2 { font-size: 2.8rem; }
.contact-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-checklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}
.check-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.15); /* matching the purple/gradient theme faintly */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-icon i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.contact-form-wrapper { padding: 60px; background: rgba(10,10,15,0.3); }

.contact-form-section .contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form-section .full-width {
  grid-column: 1 / -1;
}
.contact-form-section .form-group { display: flex; flex-direction: column; gap: 8px; }
.contact-form-section .form-group label {
  font-size: 0.95rem; font-weight: 600; color: var(--text-primary);
}
.contact-form-section .form-group label span { color: var(--green); }
.contact-form-section .form-control {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}
.contact-form-section .form-control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px var(--green-glow); }
.contact-form-section textarea.form-control { resize: vertical; min-height: 140px; }

/* FOOTER */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; margin-top: 12px; line-height: 1.8; }
.footer h4 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-light); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bg-card);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); text-decoration: none; font-size: 1.1rem; transition: all 0.3s;
}
.social-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* TOOLS MARQUEE */
.tools-marquee-section {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tools-marquee-container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.tools-marquee-title {
  flex-shrink: 0;
  padding-right: 40px;
  border-right: 1px solid var(--border);
}
.tools-marquee-title h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.tools-marquee-title p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 400;
}
.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.tool-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.tool-logo:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}
.tool-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--gradient-1);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}
.tool-logo > span:not(.tool-mark) {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(108, 92, 231, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 22px 55px rgba(108, 92, 231, 0.48);
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 968px) {
  .hero-grid, .about-grid, .llm-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero p, .section-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image-wrapper { width: 280px; height: 320px; }
  .about-image picture { height: auto; }
  .about-image img { height: auto; min-height: 0; object-fit: contain; }
  .hero-float-card.card-1 { right: 0; }
  .hero-float-card.card-2 { left: 0; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .meetups-grid { grid-template-columns: 1fr; }
  .awards-badges-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .success-slider-wrapper { max-width: 100%; }
  .portfolio-showcase { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
  .showcase-visual { height: 210px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,10,15,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .section-title { font-size: 2rem; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-info { padding: 40px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .contact-form-wrapper { padding: 40px 24px; }
  .contact-form-info h2 { font-size: 2.2rem; margin-bottom: 24px; }
  .tools-marquee-container { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tools-marquee-title { border-right: none; padding-right: 0; }
  .contact-form-section .contact-form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .portfolio-showcase { grid-template-columns: 1fr; gap: 44px; }
  .results-grid { grid-template-columns: 1fr; gap: 20px; }
  .result-metrics { gap: 12px; }
  .success-slider-wrapper { max-width: 100%; }
  .showcase-visual { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float-card { display: none; }
}
