/* ============================================================
   Technologia Services — Redesigned Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg:           #060a14;
  --bg-2:         #0a0e1e;
  --surface:      #0d1228;
  --surface-2:    #121830;
  --glass:        rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.09);

  --blue:         #3b82f6;
  --blue-dim:     rgba(59, 130, 246, 0.12);
  --blue-glow:    rgba(59, 130, 246, 0.22);
  --violet:       #7c3aed;
  --violet-dim:   rgba(124, 58, 237, 0.12);
  --cyan:         #06b6d4;
  --cyan-dim:     rgba(6, 182, 212, 0.12);
  --green:        #10b981;
  --green-dim:    rgba(16, 185, 129, 0.12);

  --accent:       #3b82f6;
  --accent-hov:   #2563eb;
  --accent-dim:   rgba(59, 130, 246, 0.12);

  --grad-primary: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
  --grad-text:    linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #67e8f9 100%);

  --text-1:       #f1f5f9;
  --text-2:       #94a3b8;
  --text-3:       #64748b;
  --border:       rgba(255, 255, 255, 0.07);

  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow:  0 0 40px rgba(59, 130, 246, 0.15);
  --max-w:        1200px;
  --nav-h:        72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

[dir="rtl"] {
  font-family: 'Space Grotesk', 'Inter', 'Segoe UI', Arial, sans-serif;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

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

section { padding: 100px 0; position: relative; }

/* ---------- Typography ---------- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 1.5px;
  background: var(--blue);
}

[dir="rtl"] .section-label { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .section-label::before { left: auto; right: 0; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-1);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.7;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
}

.btn-glass {
  background: var(--glass);
  color: var(--text-1);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--text-1);
  transform: translateY(-2px);
}

/* ---------- Section Glows ---------- */
.section-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.07;
}

.section-glow-left  { left: -200px; top: 50%; transform: translateY(-50%); background: var(--blue); }
.section-glow-right { right: -200px; top: 50%; transform: translateY(-50%); background: var(--violet); }

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(6, 10, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(6, 10, 20, 0.95);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-logo svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text-1); background: rgba(255,255,255,0.06); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.lang-btn.active   { background: var(--grad-primary); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--text-1); background: rgba(255,255,255,0.07); }

/* Hamburger */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 14, 30, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: block;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-mobile a:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }
.nav-mobile.open    { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Canvas */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.orb-1 {
  top: -15%;
  right: -8%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 65%);
  animation-duration: 12s;
}

.orb-2 {
  bottom: -10%;
  left: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 65%);
  animation-duration: 17s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  top: 40%;
  left: 35%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 65%);
  animation-duration: 20s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 25px) scale(1.06); }
}

/* Hero direct CSS animation (above fold — no observer needed) */
.hero-animate {
  animation: hero-in 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero layout */
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 620px; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.22);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #93c5fd;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
  animation: badge-pulse 2s ease infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--blue); }
  50%       { opacity: 0.6; transform: scale(0.8); box-shadow: 0 0 4px var(--blue); }
}

/* Hero title */
.hero-title {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--text-1);
}

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.hero-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-lbl {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

/* ---------- Hero Visual Panel ---------- */
.hero-visual {
  animation: hero-in 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 12px;
}

.hero-visual-bg {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.07) 0%, transparent 70%);
  border-radius: 24px;
  pointer-events: none;
}

/* Decorative grid */
.visual-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  pointer-events: none;
  opacity: 0.25;
}

.visual-grid > div {
  border: 0.5px solid rgba(99, 102, 241, 0.2);
}

/* Float cards */
.float-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, border-color 0.3s;
}

.float-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px) !important;
}

.float-1 { animation: float-anim 5.5s ease-in-out infinite; }
.float-2 { animation: float-anim 5.5s ease-in-out 0.8s infinite; }
.float-3 { animation: float-anim 5.5s ease-in-out 1.6s infinite; }
.float-4 { animation: float-anim 5.5s ease-in-out 2.4s infinite; }

@keyframes float-anim {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon-blue   { background: var(--blue-dim);   color: var(--blue); }
.float-icon-violet { background: var(--violet-dim); color: #a78bfa; }
.float-icon-cyan   { background: var(--cyan-dim);   color: var(--cyan); }
.float-icon-green  { background: var(--green-dim);  color: var(--green); }

.float-card-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.1;
}

.float-card-lbl {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--text-3));
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TECH TICKER
   ============================================================ */
.ticker-wrapper {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.018);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.ticker-track   { overflow: hidden; }

.ticker-items {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-run 38s linear infinite;
}

.ticker-items:hover { animation-play-state: paused; }

@keyframes ticker-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.2s;
}

.ticker-item svg { color: var(--blue); opacity: 0.7; flex-shrink: 0; }
.ticker-item:hover { color: var(--text-2); }

.ticker-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
  pointer-events: none;
}

.ticker-fade-l { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.ticker-fade-r { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--surface); overflow: hidden; }

.services-header { margin-bottom: 56px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(99,102,241,0.08);
}

.service-card-top { margin-bottom: 20px; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.service-card:hover .service-icon { transform: scale(1.08); }

.service-icon-blue   { background: var(--blue-dim);   color: var(--blue); box-shadow: 0 0 20px rgba(59,130,246,0.12); }
.service-icon-green  { background: var(--green-dim);  color: var(--green); box-shadow: 0 0 20px rgba(16,185,129,0.12); }
.service-icon-violet { background: var(--violet-dim); color: #a78bfa; box-shadow: 0 0 20px rgba(124,58,237,0.12); }
.service-icon-cyan   { background: var(--cyan-dim);   color: var(--cyan); box-shadow: 0 0 20px rgba(6,182,212,0.12); }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-1);
}

.service-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-3);
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s;
}

.service-card:hover .tag { color: var(--text-2); }

/* Card ambient glow */
.card-glow {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}

.service-card:hover .card-glow { opacity: 1; }

/* ============================================================
   SUCCESS STORIES
   ============================================================ */
.stories-header { margin-bottom: 56px; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.story-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Accent bar at top */
.story-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.story-accent-blue   { background: linear-gradient(90deg, var(--blue), #60a5fa); }
.story-accent-violet { background: linear-gradient(90deg, var(--violet), #a78bfa); }
.story-accent-cyan   { background: linear-gradient(90deg, var(--cyan), #67e8f9); }

.story-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-client-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: 'Space Grotesk', sans-serif;
}

.story-savings {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}

.story-savings-star {
  color: #fbbf24;
  background: rgba(251,191,36,0.1);
  border-color: rgba(251,191,36,0.2);
}

.story-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
}

.story-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.story-results {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-result-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.story-result-item::before {
  content: '→';
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--surface); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 88px;
  align-items: center;
}

.about-photo-wrap { position: relative; }

.about-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-ring {
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: var(--grad-primary);
  z-index: -1;
  opacity: 0.4;
  animation: ring-pulse 4s ease-in-out infinite alternate;
}

@keyframes ring-pulse {
  from { opacity: 0.25; }
  to   { opacity: 0.5; }
}

.about-photo-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.about-photo-badge span { display: block; font-size: 10px; font-weight: 500; opacity: 0.85; width: 100%; margin-top: 2px; }

.about-text { display: flex; flex-direction: column; gap: 28px; }

.about-bio {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
}

.about-certs { display: flex; flex-direction: column; gap: 10px; }

.about-certs-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.cert-item:hover {
  border-color: var(--glass-border);
  background: var(--glass);
}

.cert-icon {
  width: 26px;
  height: 26px;
  background: var(--blue-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

/* ============================================================
   WHY ME
   ============================================================ */
.why { }

.why-header { margin-bottom: 56px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}

.why-card:hover::after { opacity: 1; }

.why-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon-blue   { background: var(--blue-dim);   color: var(--blue); }
.why-icon-green  { background: var(--green-dim);  color: var(--green); }
.why-icon-violet { background: var(--violet-dim); color: #a78bfa; }
.why-icon-cyan   { background: var(--cyan-dim);   color: var(--cyan); }

.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.12);
  line-height: 1;
  letter-spacing: -0.03em;
  position: absolute;
  top: 20px;
  right: 24px;
}

[dir="rtl"] .why-num { right: auto; left: 24px; }

.why-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
}

.why-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--surface); overflow: hidden; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info { display: flex; flex-direction: column; gap: 36px; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-2);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--blue);
  background: var(--blue-dim);
  border-color: rgba(59, 130, 246, 0.2);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-dim);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.contact-link:hover .contact-link-icon { transform: scale(1.1); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.form-group select { appearance: none; cursor: pointer; }

.form-group textarea { min-height: 140px; }

.form-submit { align-self: flex-start; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-dim);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--green);
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-logo:hover { color: var(--text-2); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.footer-links a:hover { color: var(--text-1); background: rgba(255,255,255,0.04); }

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual    { max-width: 480px; margin: 0 auto; }
  .hero-content   { max-width: 100%; }
}

@media (max-width: 900px) {
  .about-inner    { grid-template-columns: 1fr; gap: 52px; }
  .about-photo    { max-width: 280px; }
  .contact-inner  { grid-template-columns: 1fr; gap: 48px; }
  .contact-form   { padding: 24px; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .nav-links     { display: none; }
  .nav-right .btn { display: none; }
  .nav-menu-btn  { display: flex; }
  .form-row      { grid-template-columns: 1fr; }
  .hero-stats    { gap: 20px; }
  .footer-inner  { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-visual   { display: none; }
  .hero-scroll   { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas     { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stories-grid  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .hero-stats    { gap: 16px; }
}

/* ============================================================
   PACKAGES SECTION
   ============================================================ */
.packages-header { margin-bottom: 56px; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.package-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.package-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
}

.package-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.package-card-top { margin-bottom: 4px; }

/* ============================================================
   IS THIS RIGHT FOR YOU SECTION
   ============================================================ */
.fit-section { }

.fit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.fit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.fit-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green-dim);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.fit-cta-box {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.fit-cta-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .fit-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  .packages-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RTL ADJUSTMENTS
   ============================================================ */
[dir="rtl"] .nav .container          { flex-direction: row-reverse; }
[dir="rtl"] .hero-container          { direction: rtl; }
[dir="rtl"] .hero-ctas               { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats              { direction: rtl; }
[dir="rtl"] .story-client            { flex-direction: row-reverse; }
[dir="rtl"] .cert-item               { flex-direction: row-reverse; }
[dir="rtl"] .contact-link            { flex-direction: row-reverse; }
[dir="rtl"] .footer-inner            { flex-direction: row-reverse; }
[dir="rtl"] .about-photo-badge       { right: auto; left: -18px; }
[dir="rtl"] .section-card::before    { transform-origin: right; }
[dir="rtl"] .story-result-item       { flex-direction: row-reverse; }
[dir="rtl"] .story-result-item::before { content: '←'; }
[dir="rtl"] .ticker-items            { animation-direction: reverse; }
[dir="rtl"] .about-inner             { direction: rtl; }
[dir="rtl"] .fit-inner               { direction: rtl; }
[dir="rtl"] .fit-item                { flex-direction: row-reverse; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--text-1);
}
