/* ═══════════════════════════════════════
   NEXCORP — GLOBAL STYLES
═══════════════════════════════════════ */

/* ══════════════ PRICING SECTION ══════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(99,102,241,.18);
}
.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: .03em;
}
.pricing-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 6px;
}
.pricing-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 24px;
}
.pricing-price-wrap {
  margin-bottom: 28px;
}
.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.pricing-amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.pricing-period {
  font-size: 14px;
  color: var(--text-light);
  margin-left: 4px;
}
.pricing-features {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.pricing-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.pricing-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  background: var(--light-2);
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: var(--transition);
  margin-top: auto;
}
.pricing-card.popular .pricing-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,.35);
}
.pricing-cta:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.pricing-card.popular .pricing-cta:hover {
  opacity: .9;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .pricing-card { padding: 28px 24px; }
}

/* Pricing CTA Strip */
.pricing-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  padding: 32px 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pricing-cta-strip-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-cta-strip-text strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}
.pricing-cta-strip-text span {
  font-size: 14px;
  color: rgba(255,255,255,.8);
}
.pricing-cta-strip .btn {
  background: var(--white);
  color: var(--primary);
  border-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}
.pricing-cta-strip .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* PayPal Button on card */
.pricing-paypal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 20px;
  background: #FFC439;
  color: #003087;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  width: 100%;
  transition: var(--transition);
  letter-spacing: .01em;
}
.pricing-paypal-btn:hover { background: #f0b429; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(255,196,57,.4); }
.pricing-paypal-btn svg { width: 20px; height: 20px; }

/* Payment Modal */
.pay-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.pay-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.pay-modal-box {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 460px;
  width: 92%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: translateY(20px);
  transition: transform .3s ease;
}
.pay-modal-overlay.open .pay-modal-box { transform: translateY(0); }
.pay-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--light-2); border: none;
  border-radius: 50%; cursor: pointer;
  font-size: 14px; color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.pay-modal-close:hover { background: var(--border); }
.pay-modal-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.pay-modal-icon { font-size: 32px; line-height: 1; }
.pay-modal-title { font-size: 22px; font-weight: 800; color: var(--dark); margin: 0; }
.pay-modal-pkg {
  background: var(--light);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.pay-modal-pkg .pkg-name { font-size: 16px; font-weight: 700; color: var(--dark); }
.pay-modal-pkg .pkg-price { font-size: 24px; font-weight: 900; color: var(--primary); }
.pay-modal-pkg .pkg-currency { font-size: 14px; font-weight: 500; color: var(--text-light); }
.pay-modal-note {
  font-size: 12px; color: var(--text-light);
  text-align: center; margin-top: 14px;
}
.pay-sandbox-warn {
  background: #fff8e1; border: 1px solid #ffc107;
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: #856404;
  margin-bottom: 16px;
}
#paypal-button-container { min-height: 48px; }

/* Payment Success */
.pay-success-box {
  text-align: center; padding: 8px 0;
}
.pay-success-icon { font-size: 48px; margin-bottom: 12px; }
.pay-success-box h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin: 0 0 8px; }
.pay-success-box p { font-size: 14px; color: var(--text); margin: 0 0 6px; }
.pay-success-ref { font-size: 13px; color: var(--text-light); }
.pay-success-box .btn { margin-top: 20px; }

@media (max-width: 600px) {
  .pricing-cta-strip { padding: 24px 22px; }
  .pricing-cta-strip-text strong { font-size: 17px; }
  .pay-modal-box { padding: 28px 20px; }
}

/* ── Dil Seçici ── */
.lang-switcher {
  position: relative; flex-shrink: 0;
}
.lang-current {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 9px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-current:hover { background: rgba(255,255,255,.18); }
#navbar.scrolled .lang-current {
  background: var(--light-2);
  border-color: var(--border);
  color: var(--dark);
}
.lang-flag { font-size: 16px; line-height: 1; }
.lang-code { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.lang-chevron { transition: transform .2s ease; flex-shrink: 0; opacity: .7; }
.lang-dropdown.open ~ button .lang-chevron,
.lang-current[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 150px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  opacity: 0; transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 2000;
}
.lang-dropdown.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: all;
}
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--text); background: none;
  cursor: pointer; font-family: inherit;
  transition: background .15s;
  text-align: left;
}
.lang-opt span { font-size: 16px; }
.lang-opt:hover  { background: var(--light-2); color: var(--primary); }
.lang-opt.active { background: rgba(99,102,241,.08); color: var(--primary); }
.lang-opt.active::after {
  content: '✓'; margin-left: auto;
  font-size: 12px; color: var(--primary);
}

@media (max-width: 768px) {
  .lang-switcher { margin-left: auto; }
  .lang-current { padding: 6px 10px; }
  .lang-code { display: none; }
}
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --text: #475569;
  --text-light: #94a3b8;
  --light: #f8fafc;
  --light-2: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── Section ── */
.section { padding: 100px 0; }
.bg-light { background: var(--light); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
  background: rgba(99,102,241,.08);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text); max-width: 520px; margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,.45); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* gradient text */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
}
.logo {
  font-size: 22px; font-weight: 900; color: var(--white);
  letter-spacing: -.5px; flex-shrink: 0;
}
.logo span { color: var(--accent); }
#navbar.scrolled .logo { color: var(--dark); }
.logo-white { color: var(--white) !important; }

.nav-links {
  display: flex; gap: 4px; margin-left: auto;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 14px; border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); background: rgba(99,102,241,.08); }

.nav-cta { flex-shrink: 0; }
#navbar.scrolled .nav-cta.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
#navbar.scrolled .nav-cta.btn-outline:hover { background: rgba(99,102,241,.08); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--white); transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 130px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* Parçacık canvas */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .22;
}
.s1 { width: 700px; height: 700px; background: var(--primary); top: -220px; right: -180px; animation: float1 9s ease-in-out infinite; }
.s2 { width: 450px; height: 450px; background: var(--accent); bottom: -120px; left: -120px; animation: float2 11s ease-in-out infinite; }
.s3 { width: 350px; height: 350px; background: var(--secondary); top: 35%; left: 38%; animation: float1 13s ease-in-out infinite reverse; }

@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(40px,-30px) scale(1.05)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,40px) scale(1.08)} }

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 780px; margin: 0 auto;
  padding-bottom: 64px; /* boşluk hero-scroll'un üzerinde */
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 13px; font-weight: 600;
  padding: 8px 20px; border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900; line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
#typedText { min-height: 1.2em; display: block; }
#typedText::after {
  content: '|';
  animation: blink .7s infinite;
  color: var(--accent);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.7);
  max-width: 600px; margin: 0 auto 40px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  flex-wrap: wrap;
}
.hstat { text-align: center; }
.hstat strong { display: block; font-size: 28px; font-weight: 900; color: var(--white); }
.hstat span { font-size: 13px; color: rgba(255,255,255,.5); }
.hstat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.4); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap;
  z-index: 3;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap { position: relative; }
.about-img-placeholder {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-badge-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.badge-num { display: block; font-size: 32px; font-weight: 900; color: var(--primary); }
.badge-lbl { font-size: 13px; color: var(--text-light); font-weight: 500; }

.about-text .section-tag { margin-bottom: 12px; }
.about-text .section-title { text-align: left; }
.about-text p { margin-bottom: 16px; color: var(--text); }

.about-features { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.about-features li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--dark-2); }
.check-icon {
  width: 22px; height: 22px;
  background: rgba(99,102,241,.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}

/* ═══════════════════════════════════════
   STATS
═══════════════════════════════════════ */
.stats-section {
  background: var(--gradient);
  padding: 64px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-card {
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
  line-height: 1;
}
.stat-num  { font-size: clamp(36px, 5vw, 56px); font-weight: 900; line-height: 1; }
.stat-plus { font-size: clamp(22px, 3vw, 32px);  font-weight: 900; line-height: 1; }
.stat-card p { font-size: 15px; opacity: .8; margin: 0; font-weight: 500; text-align: center; }

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  opacity: 0; transform: translateY(30px);
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text); line-height: 1.7; }
.service-link { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--primary); transition: var(--transition); }
.service-link:hover { gap: 8px; letter-spacing: .02em; }

/* ═══════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════ */
.portfolio-filters {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary); border-color: var(--primary);
  color: var(--white);
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  opacity: 1; transform: scale(1);
}
.portfolio-item.hidden { opacity: 0; transform: scale(.9); pointer-events: none; display: none; }
.portfolio-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.port-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.port-icon { font-size: 56px; }
.port-info { padding: 20px; background: var(--white); }
.port-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.port-info h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 4px 0 6px; }
.port-info p { font-size: 13px; color: var(--text); }
.port-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .port-overlay { opacity: 1; }

/* ═══════════════════════════════════════
   TEAM
═══════════════════════════════════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--white);
}
.team-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 600; color: var(--primary); }
.team-card p { font-size: 13px; color: var(--text); margin-top: 10px; }
.team-socials { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.social-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--text);
  text-transform: uppercase;
  transition: var(--transition);
}
.social-icon:hover { background: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials-section { background: var(--dark); }
.testimonials-section .section-tag { background: rgba(99,102,241,.2); }
.testimonials-section .section-title { color: var(--white); }

.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex; gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
  min-width: calc(50% - 12px);
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  flex-shrink: 0;
}
.stars { font-size: 18px; color: #f59e0b; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--white); font-size: 15px; }
.testimonial-author span { font-size: 13px; color: rgba(255,255,255,.5); }

.testimonial-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 32px;
}
.tctl-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  color: var(--white); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.tctl-btn:hover { background: var(--primary); border-color: var(--primary); }
.tctl-dots { display: flex; gap: 8px; }
.tctl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: var(--transition); cursor: pointer;
}
.tctl-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ═══════════════════════════════════════
   BRANDS
═══════════════════════════════════════ */
.brands-section { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.brands-label { text-align: center; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 28px; }
.brands-track {
  display: flex; gap: 48px; align-items: center;
  animation: brandScroll 20s linear infinite;
  width: max-content;
}
.brand-item { font-size: 15px; font-weight: 800; letter-spacing: .12em; color: var(--text-light); white-space: nowrap; }
@keyframes brandScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info > p { color: var(--text); margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(99,102,241,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.contact-item span { font-size: 14px; color: var(--text); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark-2); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px; font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.form-group input.error, .form-group textarea.error { border-color: #ef4444; }
.field-err { font-size: 12px; color: #ef4444; font-weight: 500; min-height: 16px; }
.form-group textarea { resize: vertical; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }
.hidden { display: none !important; }
.form-success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  color: #065f46;
  font-weight: 600;
  font-size: 15px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#footer { background: var(--dark); }
.footer-top { padding: 80px 0 48px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 16px; font-size: 24px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  transition: var(--transition);
}
.soc-btn:hover { background: var(--primary); color: var(--white); }

.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); padding-left: 4px; }
.footer-col > p { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 16px; }

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px; font-family: inherit;
  background: rgba(255,255,255,.06);
  color: var(--white); outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form .btn { text-align: center; justify-content: center; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); transition: var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* ═══════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 44px; height: 44px;
  background: var(--gradient);
  color: var(--white); font-size: 18px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(99,102,241,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); }

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 280px; flex-direction: column;
    background: var(--dark-2); padding: 80px 24px 32px;
    gap: 0; transition: right .3s ease;
    z-index: 999;
  }
  .nav-links.open { right: 0; box-shadow: -10px 0 40px rgba(0,0,0,.3); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.8); }
  .nav-cta { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hstat-divider { width: 40px; height: 1px; }
  .contact-form-wrap { padding: 24px; }
}

/* ═══════════════════════════════════════
   WHATSAPP WIDGET
═══════════════════════════════════════ */
.wa-widget {
  position: fixed; bottom: 88px; right: 32px;
  z-index: 998; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

/* FAB button */
.wa-fab {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.55); }

.wa-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  background: #ef4444; color: var(--white);
  font-size: 11px; font-weight: 700;
  border-radius: 10px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.wa-badge.pulse { animation: waPulse 1.5s ease-in-out 3; }
@keyframes waPulse {
  0%,100%{transform:scale(1)} 50%{transform:scale(1.3)}
}

/* Bubble card */
.wa-bubble {
  width: 300px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  overflow: hidden;
  opacity: 0; transform: scale(.9) translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(.34,1.4,.64,1);
  transform-origin: bottom right;
}
.wa-bubble.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }

.wa-header {
  background: #075e54;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.wa-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: var(--white); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-info { flex: 1; }
.wa-info strong { display: block; color: var(--white); font-size: 14px; }
.wa-status { font-size: 12px; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 4px; }
.wa-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; animation: waDot 2s ease-in-out infinite; }
@keyframes waDot { 0%,100%{opacity:1} 50%{opacity:.4} }
.wa-close { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 700; transition: color .2s; }
.wa-close:hover { color: var(--white); }

.wa-body { background: #ece5dd; padding: 16px; }
.wa-msg {
  background: var(--white);
  border-radius: 0 10px 10px 10px;
  padding: 12px 14px;
  font-size: 14px; line-height: 1.6; color: var(--dark);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  position: relative;
}
.wa-msg p { margin: 0; }
.wa-time { display: block; text-align: right; font-size: 11px; color: var(--text-light); margin-top: 4px; }

.wa-start-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 14px 16px 16px;
  background: #25d366; color: var(--white);
  border-radius: 10px; padding: 13px;
  font-size: 14px; font-weight: 700;
  transition: background .2s;
}
.wa-start-btn:hover { background: #1ebe5d; }
.wa-start-btn svg { width: 18px; height: 18px; }

/* Contact section WA button */
.wa-contact-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.wa-contact-row span { font-size: 14px; color: var(--text-light); }
.wa-contact-btn {
  background: #25d366 !important;
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(37,211,102,.35) !important;
  gap: 8px;
}
.wa-contact-btn:hover { background: #1ebe5d !important; transform: translateY(-2px); }

/* Admin footer link */
.admin-link {
  color: rgba(255,255,255,.25) !important;
  font-size: 12px !important;
  transition: color .2s;
}
.admin-link:hover { color: rgba(255,255,255,.6) !important; }

@media (max-width: 480px) {
  .wa-widget { bottom: 80px; right: 16px; }
  .wa-bubble { width: 270px; }
}

