:root{
  /* === GOTHAM DARK MODE - Premium Agency Style === */
  --bg: #0a0a0f;
  --bg-dark: #050508;
  --bg-elevated: #12121a;
  --panel: #16161f;
  --panel2: #1e1e2a;
  --panel-border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --text-light: #fefefe;
  --muted: rgba(255,255,255,0.7);
  --muted-light: rgba(254,254,254,0.85);
  /* Gold accent - NYC taxi/luxury feel */
  --primary: #d4a855;
  --primary-dark: #b8933e;
  --primary-light: #e8c277;
  --gold: #d4a855;
  --gold2: #f0d48a;
  --accent: #00d4ff;
  --accent2: #7c3aed;
  --success: #10b981;
  --line: rgba(212,168,85,0.2);
  --line-light: rgba(255,255,255,0.12);
  --shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  --shadow-glow: 0 0 30px rgba(212,168,85,0.15);
  --radius: 16px;
  --max: 1140px;
  /* Gradient backgrounds */
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #15151f 50%, #0f0f18 100%);
  --gradient-card: linear-gradient(145deg, #1a1a25 0%, #12121a 100%);
  --gradient-gold: linear-gradient(135deg, #d4a855 0%, #e8c277 50%, #d4a855 100%);
}

/* Metric-matched fallback for Inter — eliminates CLS from web-font swap.
   Values match Inter's metrics so the Arial fallback renders at near-identical dimensions. */
@font-face{
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.4%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; font-family: Inter, 'Inter Fallback', Arial, sans-serif; color: var(--text); background: var(--bg); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }

.container{ width: min(var(--max), 92%); margin: 0 auto; }

/* === TOPBAR - Dark premium header === */
.topbar{ position: sticky; top:0; z-index: 50; background: rgba(5,5,8,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line-light); }
.topbar_inner{ display:flex; align-items:center; justify-content: space-between; padding: 16px 0; gap: 16px; }

.brand{ display:flex; align-items:center; gap: 10px; }
.brand_logo{ height: 100px; width: 150px; aspect-ratio: 3 / 2; flex-shrink: 0; }

.nav{ display:flex; align-items:center; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
.nav_link{ padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; color: var(--text-light); font-weight: 500; transition: all 0.2s ease; font-size: 14px; white-space: nowrap; }
.nav_link:hover{ background: rgba(255,255,255,0.1); color: #fff; }

.nav_dd{ position: relative; z-index: 100; display: inline-flex; align-items: center; gap: 6px; }
.nav_dd > summary{ list-style: none; cursor: pointer; }
.nav_dd > summary::-webkit-details-marker{ display: none; }
.nav_dd[open] > summary{ background: rgba(255,255,255,0.15); color: #fff; border-radius: 8px; }
.nav_dd[open]{ z-index: 200; }

.nav_parent{ padding: 8px 12px; border-radius: 8px; color: var(--text-light); font-weight: 600; }
.nav_parent:hover{ background: rgba(255,255,255,0.1); }

.nav_toggle{
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-light);
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.nav_toggle:hover{ background: rgba(255,255,255,0.1); }
.nav_toggle:focus-visible{ outline: 2px solid var(--primary-light); outline-offset: 3px; }

@media (min-width: 981px) {
  .nav_toggle { display: none; }
}

.nav_dd.is-open > .nav_menu{ display: flex; }

.nav_menu{
  display: none;
  max-height: 70vh;
  overflow-y: auto;
  position: absolute;
  top: calc(100% + 8px);
  min-width: 220px;
  max-width: 280px;
  padding: 8px;
  background: linear-gradient(180deg, #1e3a5f 0%, #1a2744 100%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(10px);
  animation: dropdownFade 0.2s ease;
}
/* Bridge the gap between button and menu to prevent hover loss */
.nav_menu::before{
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
/* LTR: align dropdown to left */
[dir="ltr"] .nav_menu{ left: 0; right: auto; }
/* RTL: align dropdown to right */
[dir="rtl"] .nav_menu{ right: 0; left: auto; }

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav_item{
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.15s ease;
  display: block;
}
.nav_item:hover{ 
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); 
  color: #fff; 
  transform: translateX(4px);
}
[dir="rtl"] .nav_item:hover{ transform: translateX(-4px); }
.nav_item:first-child{ font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 4px; padding-bottom: 12px; }

.cta_small{ background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #000; border: none; font-weight: 700; }
.cta_small:hover{ background: linear-gradient(135deg, var(--gold2), var(--gold)); box-shadow: var(--shadow-glow); }

.lang_btn{
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--line-light);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}
.lang_btn:hover{ background: rgba(255,255,255,0.1); border-color: var(--gold); }

.home-fx-premium{
  background: #07070c;
}

.home-fx-premium .hero,
.home-fx-premium .section,
.home-fx-premium .social-proof{
  position: relative;
}

.home-fx-premium .hero.has-fx-background,
.home-fx-premium .section.has-fx-background,
.home-fx-premium .social-proof.has-fx-background{
  isolation: isolate;
  overflow: hidden;
  --fx-progress: 0.5;
}

.home-fx-premium .hero.has-fx-background > .container,
.home-fx-premium .section.has-fx-background > .container,
.home-fx-premium .social-proof.has-fx-background > .container{
  position: relative;
  z-index: 1;
}

.home-fx-premium .hero[data-bg-fx~="aurora"]{
  background:
    radial-gradient(circle at 18% 18%, rgba(212,168,85,0.12), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(0,212,255,0.08), transparent 28%),
    linear-gradient(135deg, #06070b 0%, #0b0c14 52%, #050609 100%);
}

.home-fx-premium .section[data-bg-fx~="aurora"]{
  background:
    radial-gradient(circle at 22% 0%, rgba(212,168,85,0.08), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(124,58,237,0.06), transparent 24%),
    linear-gradient(180deg, rgba(9,10,16,0.98) 0%, rgba(5,5,9,1) 100%);
}

.home-fx-premium .social-proof[data-bg-fx~="grid"],
.home-fx-premium .section[data-bg-fx~="grid"]{
  background:
    radial-gradient(circle at 50% -10%, rgba(212,168,85,0.07), transparent 34%),
    linear-gradient(180deg, rgba(8,10,16,0.98) 0%, rgba(5,5,9,1) 100%);
}

.home-fx-premium .hero.has-fx-background::before{
  opacity: 0.18;
}

.home-fx-premium .hero .trust_item,
.home-fx-premium .hero .trust_badges{
  background: rgba(14,14,22,0.72);
  backdrop-filter: blur(16px);
}

.home-fx-premium .grain-overlay{
  opacity: 0.02;
}

/* === HERO SECTION - Dark premium with gold accents === */
.hero{ padding: 100px 0 80px 0; background: var(--gradient-hero); position: relative; overflow: hidden; }
.hero::before{ content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%; background: radial-gradient(circle, rgba(212,168,85,0.08) 0%, transparent 60%); pointer-events: none; }
.hero_grid{ display:grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.badge{
  display:inline-block;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(212,168,85,0.1);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.h1{ font-size: clamp(36px, 5vw, 60px); margin: 0 0 20px 0; line-height: 1.1; color: #fff; font-weight: 800; letter-spacing: -1px; }
.lead{ margin: 0 0 28px 0; color: var(--muted); font-size: 19px; line-height: 1.7; }

.hero_illus{ margin-top: 18px; }

.hero_cta{ display:flex; gap: 16px; flex-wrap: wrap; margin: 32px 0 32px 0; }

.btn_primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 16px 32px;
  background: var(--gradient-gold);
  color: #000;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212,168,85,0.3);
  --btn-shift-x: 0px;
  --btn-shift-y: 0px;
  --btn-hover-lift: 0px;
  --btn-rotate-x: 0deg;
  --btn-rotate-y: 0deg;
  transform: translate3d(var(--btn-shift-x), calc(var(--btn-shift-y) + var(--btn-hover-lift)), 0) rotateX(var(--btn-rotate-x)) rotateY(var(--btn-rotate-y));
  transform-style: preserve-3d;
  will-change: transform;
}
.btn_primary:hover{ --btn-hover-lift: -3px; box-shadow: 0 8px 30px rgba(212,168,85,0.4), var(--shadow-glow); }
.btn_secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 16px 32px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  --btn-shift-x: 0px;
  --btn-shift-y: 0px;
  --btn-hover-lift: 0px;
  --btn-rotate-x: 0deg;
  --btn-rotate-y: 0deg;
  transform: translate3d(var(--btn-shift-x), calc(var(--btn-shift-y) + var(--btn-hover-lift)), 0) rotateX(var(--btn-rotate-x)) rotateY(var(--btn-rotate-y));
  transform-style: preserve-3d;
  will-change: transform;
}
.btn_secondary:hover{ --btn-hover-lift: -2px; background: var(--gold); color: #000; }
.full{ width: 100%; }

.trust{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.trust_item{ padding: 24px; border: 1px solid var(--line-light); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); }
.trust_title{ font-weight: 700; margin-bottom: 8px; color: #fff; }
.trust_text{ color: var(--muted); font-size: 14px; line-height: 1.6; }

.trust_badges{
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.trust_badges_title{
  margin: 0;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}
.trust_badges_sub{
  margin: 8px 0 16px 0;
  color: var(--muted-light);
  font-size: 14px;
}
.trust_badges_list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.trust_badges_list li{ min-width: 0; }
.trust_badge_chip{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(212,168,85,0.08);
}
.trust_badge_chip strong{
  color: var(--gold2);
  font-size: 14px;
  line-height: 1.35;
}
.trust_badge_chip span{
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.45;
}

/* === SECTIONS - Dark theme === */
.section{ padding: 100px 0; background: var(--bg); }
.section.alt{ background: var(--gradient-dark); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }

.h2{ font-size: 42px; margin: 0 0 16px 0; color: #fff; font-weight: 800; letter-spacing: -0.5px; }
.sub{ margin: 0 0 48px 0; color: var(--muted); line-height: 1.7; font-size: 18px; }

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* === CARDS - Glass morphism dark style === */
.card{
  background: var(--gradient-card);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  --card-lift: 0px;
  --card-scale: 1;
  transform: perspective(1200px) translate3d(0, var(--card-lift), 0) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) scale(var(--card-scale));
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card{
  background-image: linear-gradient(180deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.9) 100%), var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover{ 
  box-shadow: var(--shadow-lg), var(--shadow-glow); 
  --card-lift: -6px;
  border-color: var(--gold);
}
.card:hover::before{ opacity: 1; }
.card_icon{ font-size: 48px; margin-bottom: 20px; line-height: 1; }
.card_icon img{ width: 80px; height: 80px; object-fit: contain; display: block; }
.webdev-icon{ margin-bottom: 16px; line-height: 1; }
.webdev-icon svg{ width: 48px; height: 48px; display: block; }
.h3{ margin: 0 0 14px 0; font-size: 22px; color: #fff; font-weight: 700; }
.h3 a{ color: #fff; transition: color 0.2s ease; }
.h3 a:hover{ color: var(--gold); }
.p{ margin: 0 0 16px 0; color: var(--muted); line-height: 1.7; }
.pill{
  margin: 16px 0 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(212,168,85,0.1);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.list{ margin: 10px 0 14px 18px; color: var(--muted); line-height: 1.7; }
.small{ margin: 10px 0 0 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.muted{ color: var(--muted); }

/* === Note box - Gold accent === */
.note_box{ margin-top: 40px; padding: 28px 32px; border-radius: 20px; border: 2px solid var(--gold); background: rgba(212,168,85,0.05); }
.note_title{ font-weight: 800; color: var(--gold); margin-bottom: 10px; font-size: 20px; }
.note_text{ color: var(--muted); line-height: 1.7; }

/* === Form - Dark style === */
.form .label{ display:block; margin: 16px 0 8px 0; color: #fff; font-weight: 600; }
.input{
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid var(--line-light);
  background: var(--panel);
  color: var(--text);
  outline: none;
  font-size: 16px;
  transition: all 0.2s ease;
}
.input:focus{ border-color: var(--gold); background: var(--bg-elevated); }
.input::placeholder{ color: rgba(255,255,255,0.4); }
.ta{ resize: vertical; min-height: 120px; }

.map_wrap{ margin-top: 20px; border-radius: 16px; overflow: hidden; border: 2px solid var(--line-light); box-shadow: var(--shadow); }

/* === Details/FAQ - Dark === */
.summary{ cursor: pointer; font-weight: 700; color: #fff; font-size: 18px; }
details.card{ padding: 24px 28px; }
details.card[open]{ background: var(--panel); border-color: var(--gold); }
details.card[open] .summary{ color: var(--gold); }

.link_list{ margin: 14px 0 0 0; padding: 0; list-style: none; }
.link_list li{ padding: 6px 0; }
.link_list a{ color: var(--gold); font-weight: 600; transition: color 0.2s ease; }
.link_list a:hover{ color: var(--gold2); text-decoration: underline; }
.link_list.cols2{ column-count: 2; column-gap: 24px; }
.link_list.cols2 li{ break-inside: avoid; }

.stat_num{ font-size: 56px; font-weight: 800; color: var(--gold); margin-bottom: 10px; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat_t{ font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 14px; }

/* === Footer - Dark premium === */
.footer{ padding: 60px 0 32px 0; border-top: 1px solid var(--line-light); background: var(--bg-dark); }
.footer_grid{ display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.5fr; gap: 32px; }
.footer_col{ display: flex; flex-direction: column; }
.footer_logo{ height: 72px; width: 108px; aspect-ratio: 3 / 2; align-self: flex-start; margin-bottom: 12px; }
.footer_name{ font-weight: 800; color: #fff; font-size: 18px; }
.footer_small{ color: var(--muted-light); font-size: 14px; margin-top: 4px; line-height: 1.5; }
.footer_trust{ margin-top: 14px; }
.footer_trust_title{ font-size: 13px; color: var(--gold2); font-weight: 700; margin-bottom: 8px; }
.footer_trust_list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer_trust_list li{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(212,168,85,0.08);
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.2;
}
.footer_title{ font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer_links{ display: flex; flex-direction: column; gap: 10px; }
.footer_links a{ color: var(--muted-light); font-size: 14px; transition: color 0.2s ease; }
.footer_links a:hover{ color: #fff; }
.footer_contact_info{ display: flex; flex-direction: column; gap: 12px; }
.footer_contact_item{ display: flex; flex-direction: column; gap: 2px; }
.footer_label{ font-size: 12px; color: var(--muted-light); opacity: 0.7; }
.footer_contact_item a, .footer_contact_item div{ color: var(--muted-light); font-size: 14px; line-height: 1.5; }
.footer_contact_item a:hover{ color: #fff; }
.footer_map{ border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.footer_map iframe{ display: block; width: 100%; border: 0; border-radius: 12px; }
.footer_cta_button{ margin-top: 16px; }
.footer_address{ color: var(--muted-light); font-size: 13px; line-height: 1.5; }
.footer_bottom{ margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer_copy{ color: var(--muted-light); font-size: 13px; opacity: 0.7; }
.footer_map_col{ min-width: 200px; }

/* ===== Cookie Consent ===== */
.cookie_banner{
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: calc(100vw - 28px);
  max-width: 360px;
  z-index: 1200;
}
.cookie_banner[hidden],
.cookie_prefs_button[hidden]{ display: none !important; }
.cookie_banner_panel{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, rgba(18,18,25,0.94) 0%, rgba(10,10,15,0.94) 100%);
  box-shadow: 0 18px 44px rgba(0,0,0,0.34);
  backdrop-filter: blur(14px);
}
.cookie_banner_title{
  margin: 0 0 4px 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}
.cookie_banner_text{
  margin: 0;
  color: var(--muted-light);
  line-height: 1.5;
  font-size: 12.5px;
  max-width: 33ch;
}
.cookie_inline_link{
  color: var(--gold2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie_banner_actions{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie_btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  flex: 1 1 140px;
}
.cookie_btn:hover{
  transform: translateY(-1px);
  border-color: var(--gold);
}
.cookie_btn_primary{
  background: rgba(212,168,85,0.14);
  border-color: rgba(212,168,85,0.45);
  color: #fff;
}
.cookie_btn_primary:hover{
  color: #fff;
  background: rgba(212,168,85,0.22);
  box-shadow: none;
}
.cookie_btn_secondary{
  background: rgba(255,255,255,0.02);
  color: var(--muted-light);
  border-color: rgba(255,255,255,0.12);
}
.cookie_prefs_button{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1190;
  padding: 8px 12px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(212,168,85,0.35);
  background: rgba(10,10,15,0.78);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
  backdrop-filter: blur(12px);
}
.cookie_prefs_button:hover{
  border-color: var(--gold);
  color: #fff;
}
[dir="rtl"] .cookie_prefs_button{
  left: auto;
  right: 20px;
}
[dir="rtl"] .cookie_banner{
  left: auto;
  right: 20px;
}

/* ===== Page Hero (subpages) ===== */
.page_hero{ padding: 60px 0 40px 0; background: var(--gradient-hero); border-bottom: 1px solid var(--line); }
.page_hero_grid{ display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.page_hero_copy{ min-width: 0; }
.page_hero_media{ min-width: 0; justify-self: end; }
.page_hero_img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(58,123,213,0.15);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}
.audit_hero .page_hero_media{ justify-self: center; }
.audit_hero .page_hero_copy{ text-align: center; }
.breadcrumb{ margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.breadcrumb a{ color: var(--primary); }
.breadcrumb a:hover{ text-decoration: underline; }

.founder_eyebrow{
  margin: 0 0 12px 0;
  color: var(--gold2);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.founder_link_group{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.founder_link_group .btn_secondary{
  padding: 12px 20px;
}
.founder_profile{
  margin-bottom: 24px;
}
.founder_name{
  margin: 0 0 8px 0;
  font-size: clamp(28px, 4vw, 36px);
  color: #fff;
  font-weight: 800;
}
.founder_role{
  margin: 0;
  color: var(--gold2);
  font-size: 16px;
  line-height: 1.5;
}
.founder_bio{
  margin-top: 18px;
  margin-bottom: 20px;
}
.founder_meta{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.founder_meta_item{
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.03);
}
.founder_meta_label{
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.founder_meta_item strong{
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.founder_hero_img{
  max-width: 460px;
  width: 100%;
  aspect-ratio: 1792 / 2400;
  object-fit: cover;
  object-position: center top;
  margin-inline-start: auto;
}
.founder_trust_section{
  margin-top: 48px;
}
.founder_section_heading .sub{
  max-width: 860px;
  margin-bottom: 24px;
}
.founder_cert_grid{
  margin-bottom: 28px;
}
.founder_note_box{
  margin-bottom: 0;
}
.founder_action_row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.founder_reviews_widget{
  margin-bottom: 24px;
}
.founder_testimonials{
  overflow: visible;
  margin-bottom: 0;
}
.founder_testimonial_track{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.founder_testimonial_track .testimonial-card{
  min-width: 0;
  flex: initial;
  height: 100%;
}

.service_icon_large{ font-size: 64px; margin-bottom: 16px; }

/* ===== Service Cards ===== */
.service_card .service_icon{ font-size: 40px; margin-bottom: 12px; }
.service_features{ margin: 16px 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.service_features li{ margin-bottom: 4px; }

/* ===== Location Cards ===== */
.location_card h3{ margin-bottom: 16px; }
.location_cities{ list-style: none; padding: 0; margin: 0 0 16px 0; }
.location_cities li{ padding: 8px 0; border-bottom: 1px solid var(--line); }
.location_cities li:last-child{ border-bottom: none; }
.location_cities a{ color: var(--primary); font-weight: 500; }
.location_cities a:hover{ text-decoration: underline; }

/* ===== Industry Cards ===== */
.industry_card .service_icon{ font-size: 48px; margin-bottom: 16px; }

/* ===== Case Study Cards ===== */
.case_study_card{ position: relative; }
.case_header{ display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.case_industry, .case_location{ 
  padding: 6px 12px; 
  border-radius: 999px; 
  font-size: 13px; 
  font-weight: 600;
  background: var(--panel2);
  color: var(--primary);
}
.case_metrics{ 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
  padding: 20px; 
  background: var(--panel2); 
  border-radius: 12px; 
  margin: 16px 0;
}
.case_metric{ text-align: center; }
.metric_label{ font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.metric_value{ font-size: 24px; font-weight: 800; }
.metric_value.bad{ color: #dc2626; }
.metric_value.good{ color: var(--success); }
.case_arrow{ font-size: 24px; color: var(--muted); }
.case_details{ margin: 16px 0; }
.case_detail{ margin-bottom: 12px; line-height: 1.6; color: var(--muted); }
.case_detail strong{ color: var(--text); }
.case_keywords{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case_keyword{ 
  padding: 6px 12px; 
  border-radius: 8px; 
  font-size: 12px; 
  background: linear-gradient(135deg, rgba(58,123,213,0.08), rgba(78,184,212,0.08));
  border: 1px solid rgba(58,123,213,0.2);
  color: var(--primary);
}

/* ===== Contact Page ===== */
.contact_block{ display: flex; gap: 16px; margin: 20px 0; align-items: flex-start; }
.contact_icon{ font-size: 24px; }
.contact_label{ font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.contact_value{ font-weight: 600; color: var(--text); line-height: 1.5; }
.contact_value a{ color: var(--gold); }

.form_trust_strip{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form_trust_item{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ===== Audit Page ===== */
.audit_hero{ text-align: center; }
.audit_item{ display: flex; gap: 20px; margin: 24px 0; align-items: flex-start; }
.audit_icon{ font-size: 32px; flex-shrink: 0; }
.audit_item .h3{ margin-bottom: 8px; }
.audit_hero .hero_cta{ justify-content: center; }
.audit_quick_section{ padding: 72px 0 48px 0; }
.audit_detail_section{ padding-top: 48px; }
.audit_form_card{ position: sticky; top: 100px; }

.pagespeed_shell{
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(145deg, rgba(26,26,37,0.96) 0%, rgba(18,18,26,0.98) 100%);
  box-shadow: var(--shadow-lg);
}
.pagespeed_intro{
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 24px;
  align-items: end;
}
.pagespeed_intro .sub{ margin-bottom: 0; max-width: 860px; }
.pagespeed_jump{ align-self: center; }
.pagespeed_form{ margin-top: 24px; }
.pagespeed_form .label{ margin-top: 0; }
.pagespeed_controls{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.pagespeed_controls .btn_primary,
.pagespeed_controls .btn_secondary,
.pagespeed_manual_note .btn_secondary,
.pagespeed_jump{ white-space: nowrap; }
.pagespeed_controls .btn_primary:disabled{
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.pagespeed_status{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.04);
  color: var(--muted-light);
  line-height: 1.6;
}
.pagespeed_status strong{ color: #fff; }
.pagespeed_status.is-loading{
  border-color: var(--line);
  background: rgba(212,168,85,0.08);
  color: var(--gold2);
}
.pagespeed_status.is-success{
  border-color: rgba(16,185,129,0.35);
  background: rgba(16,185,129,0.08);
  color: #d8ffee;
}
.pagespeed_status.is-error{
  border-color: rgba(239,68,68,0.35);
  background: rgba(239,68,68,0.08);
  color: #ffd4d4;
}
.pagespeed_results{
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pagespeed_results_meta{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: end;
}
.pagespeed_meta_label{
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
}
.pagespeed_tested_link{
  color: #fff;
  font-weight: 600;
  word-break: break-word;
}
.pagespeed_tested_link:hover{ color: var(--gold2); }
.pagespeed_meta_note{
  font-size: 13px;
  color: var(--muted);
}
.pagespeed_panels{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pagespeed_panel{
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(10,10,15,0.88) 0%, rgba(18,18,26,0.96) 100%);
  box-shadow: var(--shadow);
}
.pagespeed_panel_head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.pagespeed_device{
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.pagespeed_score_label{
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pagespeed_score_copy{
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted-light);
}
.pagespeed_score_ring{
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 6px solid currentColor;
  font-size: 30px;
  font-weight: 800;
}
.pagespeed_score_ring[data-tone="good"]{
  color: var(--success);
  background: rgba(16,185,129,0.12);
}
.pagespeed_score_ring[data-tone="ok"]{
  color: #f59e0b;
  background: rgba(245,158,11,0.12);
}
.pagespeed_score_ring[data-tone="bad"]{
  color: #ef4444;
  background: rgba(239,68,68,0.12);
}
.pagespeed_score_ring[data-tone="neutral"]{
  color: var(--muted-light);
  background: rgba(255,255,255,0.06);
}
.pagespeed_category_grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pagespeed_category{
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.03);
}
.pagespeed_category_title{
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.pagespeed_category_value{
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.pagespeed_category_value[data-tone="good"]{ color: var(--success); }
.pagespeed_category_value[data-tone="ok"]{ color: #f59e0b; }
.pagespeed_category_value[data-tone="bad"]{ color: #ef4444; }
.pagespeed_category_value[data-tone="neutral"]{ color: var(--muted-light); }
.pagespeed_metric_block{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pagespeed_metric_title{
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold2);
}
.pagespeed_metric_list{
  display: flex;
  flex-direction: column;
}
.pagespeed_metric{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pagespeed_metric:last-child{ border-bottom: none; padding-bottom: 0; }
.pagespeed_metric_name{
  color: var(--muted);
  font-size: 14px;
}
.pagespeed_metric_value{
  color: #fff;
  font-weight: 700;
  text-align: right;
}
.pagespeed_manual_note{
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(212,168,85,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pagespeed_manual_note p{
  margin: 0;
  color: var(--muted-light);
  line-height: 1.6;
}
.pagespeed_score_help{
  margin-top: 4px;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.03);
}
.pagespeed_score_help_title{
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.pagespeed_score_help_text{
  margin: 0;
  color: var(--muted-light);
  line-height: 1.7;
}

/* ===== Select Input ===== */
select.input{ 
  appearance: none; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231e293b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===== Blog Post Styles ===== */
.blog_post{ padding: 40px 0 80px 0; }
.blog_post_container{ max-width: 820px; }

.blog_post_header{ margin: 32px 0 48px 0; text-align: left; }
[dir="rtl"] .blog_post_header{ text-align: right; }
.blog_post_meta{ 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-bottom: 20px; 
  font-size: 14px; 
  color: var(--muted);
}
.blog_author_box{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 24px 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(212,168,85,0.08), rgba(58,123,213,0.08));
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.blog_author_avatar{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212,168,85,0.3);
  background: var(--panel2);
  flex: 0 0 auto;
}
.blog_author_content{
  min-width: 0;
}
.blog_author_overline{
  margin: 0 0 6px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog_author_name_line{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
}
.blog_author_name{
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.blog_author_name:hover,
.blog_author_name:focus-visible,
.blog_author_link:hover,
.blog_author_link:focus-visible{
  color: var(--gold2);
  text-decoration: underline;
}
.blog_author_role{
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.blog_author_bio,
.blog_author_note{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.blog_author_note{
  margin-top: 10px;
  font-size: 14px;
}
.blog_author_link{
  color: var(--gold);
  font-weight: 600;
}
.blog_category{ 
  padding: 6px 12px; 
  border-radius: 8px; 
  background: linear-gradient(135deg, rgba(58,123,213,0.12), rgba(90,155,229,0.18));
  color: var(--primary);
  font-weight: 600;
}
.blog_date, .blog_read_time{ font-weight: 500; }

.blog_post_title{ 
  font-size: clamp(28px, 4vw, 42px); 
  line-height: 1.2; 
  margin: 0 0 20px 0; 
  color: #fff; 
  font-weight: 800;
}

.blog_post_intro{ 
  margin: 24px 0; 
  padding: 20px 24px; 
  background: linear-gradient(135deg, rgba(58,123,213,0.06), rgba(78,184,212,0.06));
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
}
[dir="rtl"] .blog_post_intro{ border-left: none; border-right: 4px solid var(--primary); border-radius: 12px 0 0 12px; }
.blog_post_intro .lead{ 
  margin: 0; 
  font-size: 18px; 
  line-height: 1.7; 
  color: var(--text);
}

.blog_post_content{ line-height: 1.8; }
.blog_section{ margin: 48px 0; }
.blog_section h2{ 
  font-size: 28px; 
  margin: 0 0 24px 0; 
  color: #fff; 
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.blog_section h3{ 
  font-size: 20px; 
  margin: 24px 0 12px 0; 
  color: var(--text); 
  font-weight: 600;
}
.blog_section p{ 
  margin: 16px 0; 
  color: var(--muted); 
  line-height: 1.8;
}
.blog_section ul{ 
  margin: 12px 0; 
  padding-left: 28px; 
  color: var(--muted);
}
[dir="rtl"] .blog_section ul{ padding-left: 0; padding-right: 28px; }
.blog_section li{ margin: 8px 0; line-height: 1.7; }
.blog_post .service_keyword_link{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-color: rgba(212,168,85,0.55);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.blog_post .service_keyword_link:hover,
.blog_post .service_keyword_link:focus-visible{
  text-decoration-color: currentColor;
}

/* Blog Steps */
.blog_steps{ display: flex; flex-direction: column; gap: 32px; }
.blog_step{ 
  padding: 24px; 
  background: var(--panel2); 
  border: 1px solid var(--panel-border); 
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.blog_step:hover{ box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--gold); }

/* Blog Example Box */
.blog_example{ 
  padding: 24px; 
  background: linear-gradient(135deg, var(--panel), var(--panel2));
  border: 2px solid rgba(58,123,213,0.2);
  border-radius: 16px;
  margin: 20px 0;
}
.blog_example p{ margin: 12px 0; }
.blog_example strong{ color: var(--gold); font-weight: 700; }

/* Blog Mistakes Section */
.blog_mistakes{ display: flex; flex-direction: column; gap: 20px; }
.mistake_item{ 
  padding: 20px; 
  background: linear-gradient(135deg, rgba(220,38,38,0.04), rgba(220,38,38,0.08));
  border-left: 4px solid #dc2626;
  border-radius: 0 12px 12px 0;
}
.mistake_item h3{ 
  color: #dc2626; 
  font-size: 18px; 
  margin: 0 0 10px 0; 
  font-weight: 700;
}
.mistake_item p{ margin: 0; color: var(--text); }

/* Blog Summary */
.blog_summary{ 
  padding: 24px; 
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.12));
  border: 2px solid rgba(16,185,129,0.3);
  border-radius: 16px;
  margin: 20px 0;
}
.blog_summary p{ color: var(--text); margin: 12px 0; }

/* Blog CTA */
.blog_cta{ 
  margin: 40px 0; 
  padding: 32px; 
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  color: #fff;
  text-align: center;
}
.blog_cta h3{ 
  color: #fff; 
  font-size: 24px; 
  margin: 0 0 16px 0; 
  font-weight: 700;
}
.blog_cta p{ color: rgba(255,255,255,0.95); margin: 12px 0 24px 0; line-height: 1.7; }
.blog_cta_buttons{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.blog_cta .btn_primary{ background: #fff; color: var(--primary); }
.blog_cta .btn_primary:hover{ background: var(--panel2); }
.blog_cta .btn_secondary{ background: transparent; border-color: #fff; color: #fff; }
.blog_cta .btn_secondary:hover{ background: rgba(255,255,255,0.15); }

/* Blog Related Links */
.blog_related{ 
  padding: 32px 0; 
  border-top: 2px solid var(--line);
}
.blog_links_grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog_link_card{ 
  padding: 20px; 
  background: var(--panel2); 
  border: 1px solid var(--panel-border); 
  border-radius: 12px;
  transition: all 0.3s ease;
}
.blog_link_card:hover{ box-shadow: var(--shadow-lg), var(--shadow-glow); transform: translateY(-2px); border-color: var(--gold); }
.blog_link_card h3{ 
  font-size: 16px; 
  margin: 0 0 12px 0; 
  color: #fff;
}
.blog_link_card p{ margin: 0; font-size: 14px; color: var(--muted); }
.blog_link_card a{ color: var(--gold); font-weight: 600; }
.blog_link_card a:hover{ text-decoration: underline; color: var(--gold2); }

/* Blog Listing (for blog.html) */
.blog_categories{ margin: 32px 0; }
.blog_cat_section{ margin: 48px 0; }
.blog_cat_header{ 
  margin-bottom: 24px; 
  padding-bottom: 16px; 
  border-bottom: 2px solid var(--line);
}
.blog_cat_title{ 
  font-size: 28px; 
  margin: 0 0 8px 0; 
  color: #fff; 
  font-weight: 700;
}
.blog_cat_desc{ margin: 0; color: var(--muted); line-height: 1.6; }

.blog_posts_grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog_post_card{ 
  background: var(--gradient-card);
  border: 1px solid var(--panel-border); 
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.blog_post_card:hover{ box-shadow: var(--shadow-lg), var(--shadow-glow); transform: translateY(-4px); border-color: var(--gold); }
.blog_post_card_meta{ 
  display: flex; 
  gap: 12px; 
  margin-bottom: 12px; 
  font-size: 13px;
}
.blog_post_card_cat{ 
  padding: 4px 10px; 
  border-radius: 6px; 
  background: rgba(212,168,85,0.1);
  color: var(--gold);
  font-weight: 600;
}
.blog_post_card_date{ color: var(--muted); font-weight: 500; }
.blog_post_card_title{ 
  font-size: 20px; 
  margin: 0 0 12px 0; 
  font-weight: 700;
  color: #fff;
}
.blog_post_card_title a{ transition: color 0.2s ease; color: #fff; }
.blog_post_card_title a:hover{ color: var(--gold); }
.blog_post_card_excerpt{ 
  margin: 0 0 16px 0; 
  color: var(--muted); 
  line-height: 1.6;
  font-size: 15px;
}
.blog_post_card_author{
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.blog_post_card_author a{
  color: var(--gold);
  font-weight: 600;
}
.blog_post_card_author a:hover,
.blog_post_card_author a:focus-visible{
  color: var(--gold2);
  text-decoration: underline;
}
.blog_post_card_read{ 
  color: var(--primary); 
  font-weight: 600; 
  font-size: 14px;
}
.blog_post_card_read:hover{ text-decoration: underline; }

/* Styles cleaned up - contact contrast fixes removed as they are no longer needed for dark cards */

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* Skip to content link */
.skip-link{
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.3s ease;
}
.skip-link:focus{
  top: 0;
  outline: 3px solid var(--gold2);
  outline-offset: 2px;
}

/* Improved focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
details:focus-visible{
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Better contrast for muted text */
.muted, .p, .trust_text, .note_text, .footer_small{
  color: var(--muted-light);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #008933;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(0,137,51,0.35);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}
[dir="rtl"] .whatsapp-float{
  right: auto;
  left: 24px;
}
.whatsapp-float:hover{
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0,137,51,0.45);
}
.whatsapp-float svg{
  width: 28px;
  height: 28px;
  fill: #fff;
}
.whatsapp-float-text{
  display: block;
}
@keyframes whatsapp-pulse{
  0%, 100%{ box-shadow: 0 6px 24px rgba(0,137,51,0.35); }
  50%{ box-shadow: 0 6px 32px rgba(0,137,51,0.5), 0 0 0 8px rgba(0,137,51,0.12); }
}

/* ===== MOBILE STICKY CTA BAR ===== */
.mobile-cta-bar{
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, var(--bg-dark), #1e3a5f);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-cta-inner{
  display: flex;
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto;
}
.mobile-cta-btn{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s ease;
}
.mobile-cta-call{
  background: #25d366;
  color: #fff;
}
.mobile-cta-call:hover{
  background: #20bd5a;
}
.mobile-cta-audit{
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.mobile-cta-audit:hover{
  transform: translateY(-2px);
}
.mobile-cta-btn svg{
  width: 20px;
  height: 20px;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible{
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left{
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible{
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right{
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible{
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation delays */
.grid3 .card:nth-child(1){ transition-delay: 0.1s; }
.grid3 .card:nth-child(2){ transition-delay: 0.2s; }
.grid3 .card:nth-child(3){ transition-delay: 0.3s; }
.grid3 .card:nth-child(4){ transition-delay: 0.4s; }
.grid3 .card:nth-child(5){ transition-delay: 0.5s; }
.grid3 .card:nth-child(6){ transition-delay: 0.6s; }

/* ===== ENHANCED FORM STYLES ===== */
.form-group{
  position: relative;
  margin-bottom: 20px;
}
.form-group .label{
  margin: 0 0 8px 0;
}
.input-success{
  border-color: var(--success) !important;
  background: rgba(16,185,129,0.05);
}
.input-error{
  border-color: #dc2626 !important;
  background: rgba(220,38,38,0.05);
}
.form-error{
  display: none;
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}
.form-error.show{
  display: block;
}
.form-success-msg{
  display: none;
  padding: 20px;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.2));
  border: 2px solid var(--success);
  border-radius: 12px;
  text-align: center;
  color: var(--success);
  font-weight: 700;
  font-size: 18px;
}
.form-success-msg.show{
  display: block;
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof{
  padding: 32px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.social-proof-label{
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.social-proof-logos{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.sp-logo{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.sp-logo:hover{
  opacity: 1;
  color: var(--gold);
  transform: scale(1.1);
}
.sp-logo svg{
  width: 32px;
  height: 32px;
}
.social-proof-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.social-proof-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.social-proof-stars{
  display: flex;
  gap: 4px;
  color: #fbbf24;
  font-size: 20px;
}
.social-proof-text{
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.social-proof-logo{
  height: 36px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.social-proof-logo:hover{
  opacity: 1;
}

/* ===== TRUST BADGES ===== */
.trust-badges{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.trust-badge{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}
.trust-badge svg{
  width: 18px;
  height: 18px;
}

/* ===== IMPROVED CARD HOVER EFFECTS ===== */
.card{
  position: relative;
  overflow: hidden;
}
.card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.card:hover::before{
  transform: scaleX(1);
}

/* ===== COUNTER ANIMATION ===== */
.stat_num{
  display: inline-block;
}

/* ===== TESTIMONIAL HIGHLIGHT ===== */
.testimonial-highlight{
  padding: 32px;
  background: linear-gradient(135deg, #fff, var(--panel2));
  border: 2px solid var(--line);
  border-radius: 20px;
  margin: 24px 0;
  position: relative;
}
.testimonial-highlight::before{
  content: '"';
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-text{
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin: 0 0 16px 0;
  padding-left: 40px;
}
.testimonial-author{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 40px;
}
.testimonial-avatar{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.testimonial-info strong{
  display: block;
  color: var(--text);
}
.testimonial-info span{
  font-size: 14px;
  color: var(--muted);
}

/* ===== FOUNDER STORY TIMELINE ===== */
.founder-story{
  max-width: 800px;
  margin: 0 auto;
}
.story-timeline{
  position: relative;
  padding-left: 60px;
}
.story-timeline::before{
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.timeline-item{
  position: relative;
  margin-bottom: 40px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.timeline-item .h3 { color: #0f172a; }
.timeline-item .p { color: #334155; }
.timeline-item:hover{
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
}
[dir="rtl"] .timeline-item:hover{ transform: translateX(-8px); }
.timeline-item.highlight{
  background: linear-gradient(135deg, rgba(58,123,213,0.08), rgba(78,184,212,0.08));
  border: 2px solid var(--primary);
}
.timeline-item.highlight .h3 { color: #fff; }
.timeline-item.highlight .p { color: var(--muted); }
.timeline-icon{
  position: absolute;
  left: -48px;
  top: 24px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
}
[dir="rtl"] .story-timeline{ padding-left: 0; padding-right: 60px; }
[dir="rtl"] .story-timeline::before{ left: auto; right: 24px; }
[dir="rtl"] .timeline-icon{ left: auto; right: -48px; }
.timeline-content h3{ margin-bottom: 8px; }
.timeline-content p{ margin: 0; }

.founder-quote{
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, var(--bg-dark), #1e3a5f);
  border-radius: 20px;
  text-align: center;
}
.founder-quote blockquote{
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  font-style: italic;
}
.founder-quote blockquote::before{ content: '"'; }
.founder-quote blockquote::after{ content: '"'; }

/* ===== PORTFOLIO CARDS ===== */
.portfolio-card{
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.portfolio-card:hover{
  border-color: var(--primary);
}
.portfolio-card .h3{
  color: var(--primary);
  transition: color 0.2s ease;
}
.portfolio-card:hover .h3{
  color: var(--primary-dark);
}
.portfolio-card .pill{
  margin-top: auto;
}

/* ===== PROOF GRIDS ===== */
.proof_grid .card{
  display: flex;
  flex-direction: column;
  height: 100%;
}
.proof_grid .card .h3{
  margin-bottom: 8px;
}
.proof_grid .card .p{
  margin: 0;
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger{
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  transition: all 0.3s ease;
}
.hamburger:hover{ background: rgba(255,255,255,0.1); border-color: var(--gold); }
.hamburger:focus-visible{ outline: 2px solid var(--primary-light); outline-offset: 3px; }
.hamburger_line{
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger[aria-expanded="true"] .hamburger_line:nth-child(1){ transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] .hamburger_line:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger_line:nth-child(3){ transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 980px){
  .hero_grid{ grid-template-columns: 1fr; }
  .page_hero_grid{ grid-template-columns: 1fr; }
  .page_hero_media{ justify-self: stretch; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .founder_link_group{ flex-direction: column; }
  .founder_link_group a{ width: 100%; }
  .founder_hero_img{ max-width: 360px; width: 100%; margin-inline: auto; }
  .founder_meta{ grid-template-columns: 1fr; }
  .founder_action_row .btn_primary,
  .founder_action_row .btn_secondary{ width: 100%; }
  .founder_testimonial_track{ grid-template-columns: 1fr; gap: 16px; }
  .trust{ grid-template-columns: 1fr; }
  .trust_badges_list{ grid-template-columns: 1fr; }
  .link_list.cols2{ column-count: 1; }
  .footer_grid{ grid-template-columns: 1fr; gap: 24px; }
  .footer_inner{ flex-direction: column; text-align: center; }
  .cookie_banner{
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    max-width: 340px;
  }
  [dir="rtl"] .cookie_banner{
    left: 14px;
    right: 14px;
  }
  .cookie_banner_panel{
    padding: 16px;
  }
  .cookie_banner_actions{ justify-content: flex-start; }
  .cookie_btn,
  .cookie_prefs_button{ width: auto; }
  .cookie_prefs_button{
    left: 14px;
    right: auto;
    bottom: 14px;
    top: auto;
    max-width: calc(100vw - 28px);
  }
  [dir="rtl"] .cookie_prefs_button{
    left: auto;
    right: 14px;
    top: auto;
    bottom: 14px;
  }
  .audit_quick_section{ padding: 48px 0 32px 0; }
  .audit_detail_section{ padding-top: 32px; }
  .audit_form_card{ position: static; }
  .pagespeed_shell{ padding: 24px; }
  .pagespeed_intro{ grid-template-columns: 1fr; }
  .pagespeed_controls{ grid-template-columns: 1fr; }
  .pagespeed_panels{ grid-template-columns: 1fr; }
  .pagespeed_panel_head{ align-items: flex-start; }
  .pagespeed_category_grid{ grid-template-columns: 1fr; }
  .pagespeed_manual_note{ flex-direction: column; align-items: stretch; }
  .pagespeed_score_help{ padding: 18px 20px; }
  .pagespeed_jump,
  .pagespeed_controls .btn_primary,
  .pagespeed_manual_note .btn_secondary{ width: 100%; }
  .case_metrics{ flex-direction: column; gap: 12px; }
  .case_arrow{ transform: rotate(90deg); }
  .blog_author_box{ flex-direction: column; }
  
  .blog_posts_grid{ grid-template-columns: 1fr; }
  .blog_links_grid{ grid-template-columns: 1fr; }
  .blog_cta_buttons{ flex-direction: column; }
  .blog_post_container{ max-width: 100%; }
  
  /* ===== MOBILE NAVIGATION ===== */
  .hamburger{ 
    display: flex;
    position: relative;
    z-index: 1200;
  }
  
  .topbar{ 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line-light);
  }
  
  .topbar_inner{ 
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 12px 0;
  }
  
  .brand_logo{ height: 50px; width: 75px; }
  
  /* Add padding to body to account for fixed topbar */
  body{ padding-top: 74px; }
  
  .nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - 74px);
    background: var(--bg-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 100px;
    overflow-y: auto;
    z-index: 1050;
    gap: 0;
    border-top: 1px solid var(--line-light);
  }
  .nav.is-open{ display: flex; }
  
  .nav_link{
    padding: 16px 20px;
    font-size: 17px;
    border-bottom: 1px solid var(--line-light);
    border-radius: 0;
    display: block;
    width: 100%;
  }
  
  .nav_dd{
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line-light);
    position: relative;
  }
  
  .nav_dd > .nav_parent{
    padding: 16px 20px;
    padding-right: 60px;
    font-size: 17px;
    border-bottom: none;
    display: block;
  }
  [dir="rtl"] .nav_dd > .nav_parent{
    padding-right: 20px;
    padding-left: 60px;
  }
  
  .nav_toggle{
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  [dir="rtl"] .nav_toggle{ right: auto; left: 16px; }
  
  .nav_menu{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 0 0 8px 20px;
    box-shadow: none;
    background: rgba(255,255,255,0.03);
    border: none;
    border-radius: 0;
    max-height: none;
    overflow: visible;
    animation: none;
  }
  .nav_dd.is-open > .nav_menu{ display: block; }
  .nav_menu::before{ display: none; }
  [dir="rtl"] .nav_menu{ padding: 0 20px 8px 0; }
  
  .nav_item{
    padding: 12px 16px;
    font-size: 15px;
  }
  .nav_item:first-child{ border-bottom: none; margin-bottom: 0; padding-bottom: 12px; font-weight: 500; }
  .nav_item:hover{ transform: none; }
  
  .cta_small{
    margin: 20px 16px 0;
    padding: 16px 24px;
    font-size: 17px;
    text-align: center;
    border-radius: 12px;
  }

  .lang_btn{
    margin: 12px 16px 0;
    padding: 14px 24px;
    font-size: 16px;
    text-align: center;
    width: calc(100% - 32px);
  }
  
  /* Mobile CTA bar visible */
  .mobile-cta-bar{ display: block; }
  body{ padding-bottom: 80px; }
  
  /* Adjust WhatsApp button position for mobile */
  .whatsapp-float{
    bottom: 90px;
    padding: 14px;
    border-radius: 50%;
  }
  .whatsapp-float-text{ display: none; }
  
  /* Timeline mobile adjustments */
  .story-timeline{ padding-left: 40px; }
  .story-timeline::before{ left: 14px; }
  .timeline-icon{ left: -34px; width: 32px; height: 32px; font-size: 16px; }
  [dir="rtl"] .story-timeline{ padding-right: 40px; padding-left: 0; }
  [dir="rtl"] .story-timeline::before{ right: 14px; left: auto; }
  [dir="rtl"] .timeline-icon{ right: -34px; left: auto; }
  .timeline-item:hover{ transform: none; }
  .founder-quote blockquote{ font-size: 18px; }
}

/* === TESTIMONIALS SECTION === */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  background: var(--gradient-card);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  margin: 0 0 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

[dir="rtl"] .testimonial-quote {
  padding-left: 0;
  padding-right: 20px;
  border-left: none;
  border-right: 3px solid var(--gold);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.testimonial-business {
  color: var(--gold);
  font-size: 14px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-btn:hover {
  background: var(--gold);
  color: #000;
}

.testimonial-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-light);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--gold);
}

/* Google Reviews Badge */
.google-reviews-widget {
  display: flex;
  justify-content: center;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  background: var(--panel);
  border: 2px solid var(--panel-border);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.reviews-badge:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.google-g-icon {
  flex-shrink: 0;
}

.reviews-info {
  text-align: left;
}

[dir="rtl"] .reviews-info {
  text-align: right;
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.reviews-score {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.reviews-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 1px;
}

.reviews-text {
  color: var(--muted);
  font-size: 14px;
}

.reviews-arrow {
  font-size: 24px;
  color: var(--gold);
  transition: transform 0.2s ease;
}

[dir="rtl"] .reviews-arrow {
  transform: rotate(180deg);
}

.reviews-badge:hover .reviews-arrow {
  transform: translateX(4px);
}

[dir="rtl"] .reviews-badge:hover .reviews-arrow {
  transform: rotate(180deg) translateX(4px);
}

/* Mobile responsive for testimonials */
@media (max-width: 980px) {
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .testimonial-track {
    gap: 16px;
  }
  
  .testimonial-card:hover {
    transform: none;
  }
  
  .reviews-badge {
    padding: 20px 28px;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .reviews-arrow {
    display: none;
  }

  .proof_grid .card{
    padding: 18px;
  }

  .proof_grid .card .h3{
    font-size: 1.02rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .proof_grid .card .p{
    line-height: 1.5;
    min-height: 4.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .proof_grid .card .pill{
    margin-top: 10px;
  }
}

/* ===== COMPARISON TABLE (why-us page) ===== */
.comparison-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin-top:32px; }
.comparison-table{ width:100%; border-collapse:separate; border-spacing:0; border:1px solid var(--panel-border); border-radius:var(--radius); overflow:hidden; font-size:15px; }
.comparison-table th,
.comparison-table td{ padding:14px 18px; text-align:left; border-bottom:1px solid var(--panel-border); }
[dir="rtl"] .comparison-table th,
[dir="rtl"] .comparison-table td{ text-align:right; }
.comparison-table thead th{ background:var(--panel); font-weight:700; color:var(--text); white-space:nowrap; }
.comparison-table tbody tr:last-child td{ border-bottom:none; }
.comparison-table tbody tr:hover{ background:rgba(255,255,255,0.03); }
.highlight-col{ background:rgba(212,168,85,0.08); }
.comparison-table thead .highlight-col{ background:rgba(212,168,85,0.18); color:var(--gold); }

/* ===== PRICING CARDS (pricing page) ===== */
.pricing-grid{ align-items:stretch; }
.pricing-card{ display:flex; flex-direction:column; padding:32px 28px; position:relative; }
.pricing-tier{ font-size:18px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; }
.pricing-price{ font-size:48px; font-weight:800; color:var(--text); line-height:1.1; margin-bottom:8px; }
.pricing-period{ font-size:16px; font-weight:400; color:var(--muted); }
.pricing-desc{ font-size:15px; color:var(--muted); line-height:1.5; margin-bottom:20px; }
.pricing-features{ list-style:none; padding:0; margin:0 0 20px; display:flex; flex-direction:column; gap:8px; }
.pricing-features li{ font-size:14px; line-height:1.6; padding:10px 0; border-top:1px solid rgba(255,255,255,0.06); }
.pricing-features li:first-child{ padding-top:0; border-top:none; }
.pricing-ideal{ font-size:13px; color:var(--muted); margin-bottom:24px; padding:12px; background:rgba(255,255,255,0.04); border-radius:8px; }
.pricing-card .btn_primary,
.pricing-card .btn_secondary{ margin-top:auto; }

/* Featured pricing card */
.pricing-featured{ border:2px solid var(--gold); box-shadow:var(--shadow-glow); }
.pricing-badge{ position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--gradient-gold); color:#0a0a0f; font-size:12px; font-weight:700; padding:4px 16px; border-radius:20px; white-space:nowrap; text-transform:uppercase; letter-spacing:0.5px; }
[dir="rtl"] .pricing-badge{ left:auto; right:50%; transform:translateX(50%); }

.pricing-hero-grid{ align-items:start; }
.pricing-summary{ display:flex; flex-direction:column; gap:18px; }
.pricing-summary .h3{ margin-bottom:0; }
.pricing-summary-eyebrow{
  margin:0;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--gold2);
}
[dir="rtl"] .pricing-summary-eyebrow{ letter-spacing:0; }
.pricing-hero-note{ max-width:760px; }
.pricing-proof-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pricing-proof-list li{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid var(--panel-border);
  background:rgba(255,255,255,0.03);
}
.pricing-proof-list strong{ color:var(--text); font-size:15px; }
.pricing-proof-list span{ color:var(--muted); font-size:14px; line-height:1.6; }
.pricing-summary-links{ display:flex; flex-wrap:wrap; gap:12px 18px; }
.pricing-summary-links a{ color:var(--gold); font-weight:600; }
.pricing-summary-links a:hover{ color:var(--gold2); text-decoration:underline; }

.pricing-step-card{ height:100%; }
.pricing-step-num{
  width:52px;
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(212,168,85,0.12);
  color:var(--gold);
  font-size:18px;
  font-weight:800;
  margin-bottom:18px;
}

.pricing-note-box{ margin-top:32px; }
.pricing-driver-list{
  margin:16px 0 0 0;
  padding-left:20px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 24px;
  color:var(--muted-light);
}
[dir="rtl"] .pricing-driver-list{ padding-left:0; padding-right:20px; }
.pricing-driver-list li{ line-height:1.6; }

.pricing-from{
  display:block;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--gold2);
  margin-bottom:6px;
}
[dir="rtl"] .pricing-from{
  text-transform:none;
  letter-spacing:0;
}
.pricing-disclaimer{ margin:0 0 20px 0; font-size:13px; line-height:1.6; color:var(--muted); }
.pricing-smallprint{ margin:-28px 0 32px 0; max-width:880px; }

.pricing-comparison-table th,
.pricing-comparison-table td{ vertical-align:top; }
.pricing-comparison-table thead th{ white-space:normal; }
.pricing-comparison-table tbody th{ background:rgba(255,255,255,0.02); font-weight:700; }
.pricing-table-caption{
  caption-side:bottom;
  text-align:left;
  padding-top:12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
[dir="rtl"] .pricing-table-caption{ text-align:right; }

.pricing-stat-grid{ margin-bottom:24px; }
.pricing-stat-card{ text-align:center; }
.pricing-proof-grid{ margin-top:24px; }

.pricing-term-list{
  margin:0;
  padding-left:20px;
  display:flex;
  flex-direction:column;
  gap:10px;
  color:var(--muted);
  line-height:1.6;
}
[dir="rtl"] .pricing-term-list{ padding-left:0; padding-right:20px; }

.pricing-faq-list{ display:grid; gap:16px; }
.pricing-faq-answer{ margin:14px 0 0 0; }

.pricing-cta-panel{ padding:40px 32px; text-align:center; }
.pricing-cta-panel .h2{ margin-bottom:18px; }
.pricing-cta-panel .sub{
  max-width:780px;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:0;
}
.pricing-cta-actions{ justify-content:center; }

/* ===== NOTE BOX (why-us credentials) ===== */
.note_box{ background:rgba(212,168,85,0.08); border:1px solid var(--line); border-radius:var(--radius); padding:24px 28px; }
.note_title{ font-weight:700; font-size:17px; margin-bottom:8px; color:var(--gold); }
.note_text{ font-size:15px; color:var(--muted); line-height:1.6; }

@media (max-width: 980px){
  .comparison-table{ font-size:13px; }
  .comparison-table th,
  .comparison-table td{ padding:10px 12px; }
  .pricing-card{ padding:24px 20px; }
  .pricing-price{ font-size:40px; }
  .pricing-driver-list{ grid-template-columns:1fr; gap:10px; }
  .pricing-smallprint{ margin:-24px 0 28px 0; }
  .pricing-summary-links{ flex-direction:column; align-items:flex-start; }
  .pricing-proof-list li{ padding:12px 14px; }
  .pricing-cta-panel{ padding:32px 24px; }
}

/* ===== WOW EFFECTS ===== */

/* --- Scroll progress bar --- */
.scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.05s linear;
  will-change: transform;
  pointer-events: none;
}

/* --- Shimmer gold gradient text on H1 --- */
.shimmer-text{
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold2) 25%,
    #fff 50%,
    var(--gold2) 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer{
  0%{ background-position: 200% center; }
  100%{ background-position: -200% center; }
}

/* --- Animated border glow on card hover --- */
.card::after{
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(
    from var(--card-glow-angle, 0deg),
    transparent 0%,
    var(--gold) 10%,
    transparent 20%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card:hover::after{
  opacity: 1;
  animation: cardGlow 2.5s linear infinite;
}
@keyframes cardGlow{
  0%{ --card-glow-angle: 0deg; }
  100%{ --card-glow-angle: 360deg; }
}
@property --card-glow-angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* --- 3D tilt effect on cards --- */
.card-tilt{
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}
.card-tilt > *:not(.card-spotlight){
  position: relative;
  transform: translateZ(16px);
}
.card-tilt.is-tilting{
  z-index: 2;
}

/* --- Magnetic button hover --- */
.btn-magnetic{
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  transform-style: preserve-3d;
}
.btn-magnetic.is-magnetic-active{
  box-shadow: 0 10px 30px rgba(212,168,85,0.18), 0 0 0 1px rgba(255,255,255,0.08);
}

/* --- Floating particles --- */
.hero-particles{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero{ position: relative; }
.hero > .container{ position: relative; z-index: 1; }

/* --- Premium homepage section backgrounds --- */
.section-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.has-fx-background .section-bg{
  opacity: 0.74;
}

.has-fx-background.fx-active .section-bg{
  opacity: 1;
}

.section-bg-aurora{
  inset: -14% -10%;
  transform: translate3d(0, calc((var(--fx-progress, 0.5) - 0.5) * -42px), 0) scale(1.04);
  mix-blend-mode: screen;
}

.section-bg-aurora::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.12), transparent 20%),
    radial-gradient(circle at 72% 28%, rgba(255,255,255,0.08), transparent 18%);
  filter: blur(22px);
  opacity: 0.55;
}

.aurora-band{
  position: absolute;
  border-radius: 999px;
  background: var(--aurora-color, rgba(212,168,85,0.18));
  filter: blur(54px);
  opacity: 0.32;
  transform: translate3d(0, 0, 0) rotate(var(--aurora-rotate, 0deg));
  animation: auroraFloat var(--aurora-duration, 18s) ease-in-out var(--aurora-delay, 0s) infinite alternate;
}

@keyframes auroraFloat{
  0%{
    transform: translate3d(0, 0, 0) rotate(var(--aurora-rotate, 0deg)) scale(1);
  }
  50%{
    transform: translate3d(var(--aurora-drift-x, 28px), var(--aurora-drift-y, -18px), 0) rotate(calc(var(--aurora-rotate, 0deg) + 8deg)) scale(1.08);
  }
  100%{
    transform: translate3d(var(--aurora-return-x, -18px), var(--aurora-return-y, 14px), 0) rotate(calc(var(--aurora-rotate, 0deg) - 6deg)) scale(0.94);
  }
}

.section-bg-grid{
  inset: 0;
  transform: translate3d(0, calc((var(--fx-progress, 0.5) - 0.5) * -30px), 0);
}

.section-bg-grid::before{
  content: '';
  position: absolute;
  inset: 18% -18% -30%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 22%),
    linear-gradient(rgba(212,168,85,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,85,0.13) 1px, transparent 1px);
  background-size: auto, 84px 84px, 84px 84px;
  transform: perspective(1500px) rotateX(76deg) translateY(calc((var(--fx-progress, 0.5) - 0.5) * -24px)) scale(1.22);
  transform-origin: center top;
  opacity: 0.72;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 14%, #000 42%, rgba(0,0,0,0.8) 76%, transparent 100%);
}

.section-bg-grid::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.08), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(212,168,85,0.12), transparent 36%);
  opacity: calc(0.55 + var(--fx-progress, 0.5) * 0.2);
}
.particle{
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat var(--dur, 8s) var(--delay, 0s) infinite ease-in-out;
}
@keyframes particleFloat{
  0%{
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  15%{
    opacity: var(--max-opacity, 0.4);
  }
  85%{
    opacity: var(--max-opacity, 0.4);
  }
  100%{
    opacity: 0;
    transform: translate(var(--dx, 40px), var(--dy, -120px)) scale(0.2);
  }
}

/* --- Section reveal (scale + fade) --- */
.section-reveal{
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-reveal.visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Button click ripple --- */
.btn_primary,
.btn_secondary{
  position: relative;
  overflow: hidden;
}
.btn-ripple{
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: rippleOut 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleOut{
  to{
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce){
  .shimmer-text{ animation: none; -webkit-text-fill-color: var(--gold); }
  .card:hover::after{ animation: none; }
  .particle{ animation: none; display: none; }
  .section-reveal{ opacity: 1; transform: none; transition: none; }
  .btn-ripple{ animation: none; display: none; }
  .scroll-progress{ transition: none; }
  .glow-cursor{ display: none !important; }
  .grain-overlay{ display: none !important; }
  .morph-blobs{ display: none !important; }
  .word-reveal .word{ opacity: 1; transform: none; transition: none; }
  .card-spotlight{ display: none; }
  .section-bg,
  .section-bg::before,
  .section-bg::after,
  .aurora-band{ animation: none !important; transform: none !important; }
}

/* --- Mobile: disable tilt and magnetic for touch --- */
@media (max-width: 980px){
  .card-tilt{ transform: none !important; }
  .btn-magnetic{ transform: none !important; }
  .glow-cursor{ display: none !important; }
  .aurora-band{ filter: blur(42px); opacity: 0.24; }
  .section-bg-grid::before{
    inset: 24% -36% -34%;
    background-size: auto, 56px 56px, 56px 56px;
    transform: perspective(1100px) rotateX(80deg) scale(1.42);
    opacity: 0.56;
  }
}

/* ===== WOW PHASE 2 ===== */

/* --- Glowing cursor follower --- */
.glow-cursor{
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background:
    radial-gradient(circle at 50% 50%, rgba(240,212,138,0.16) 0%, rgba(212,168,85,0.12) 24%, rgba(0,212,255,0.08) 48%, rgba(124,58,237,0.04) 62%, transparent 76%);
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease, background 0.28s ease;
  mix-blend-mode: screen;
  filter: blur(10px);
  will-change: left, top, transform;
}
.glow-cursor::before,
.glow-cursor::after{
  content: '';
  position: absolute;
  border-radius: 50%;
}
.glow-cursor::before{
  inset: 31%;
  background: radial-gradient(circle, rgba(255,255,255,0.38) 0%, rgba(240,212,138,0.18) 34%, transparent 70%);
  opacity: 0.78;
}
.glow-cursor::after{
  inset: 18%;
  border: 1px solid rgba(240,212,138,0.22);
  opacity: 0.62;
}
.glow-cursor.is-engaged{
  transform: translate(-50%, -50%) scale(1.08);
  filter: blur(4px);
}
.glow-cursor.is-card{
  background:
    radial-gradient(circle at 50% 50%, rgba(240,212,138,0.18) 0%, rgba(212,168,85,0.14) 24%, rgba(0,212,255,0.12) 48%, rgba(124,58,237,0.06) 62%, transparent 78%);
}
.glow-cursor.is-button{
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.16) 0%, rgba(240,212,138,0.18) 22%, rgba(0,212,255,0.08) 50%, transparent 76%);
}

/* --- Card spotlight (cursor-reactive glow) --- */
.card-spotlight{
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 0;
  mix-blend-mode: screen;
  filter: blur(2px) saturate(125%);
}
.card:hover .card-spotlight{
  opacity: 1;
}

/* --- Text scramble effect --- */
.scramble-char{
  display: inline-block;
  transition: none;
}

/* --- Word-by-word reveal --- */
.word-reveal .word{
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) rotateX(40deg);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.word-reveal.revealed .word{
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* --- Morphing blobs --- */
.morph-blobs{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.morph-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: blobFloat var(--blob-dur, 12s) ease-in-out infinite alternate;
}
@keyframes blobFloat{
  0%{
    transform: translate(0, 0) scale(1);
    border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  }
  33%{
    border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
  }
  66%{
    transform: translate(var(--blob-tx, 30px), var(--blob-ty, -20px)) scale(1.15);
    border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
  }
  100%{
    transform: translate(var(--blob-tx2, -20px), var(--blob-ty2, 30px)) scale(0.9);
    border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  }
}

/* --- Film grain overlay --- */
.grain-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* --- Smooth elastic scroll indicator --- */
.scroll-hint{
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.6;
  animation: scrollHintBounce 2s ease-in-out infinite;
}
.scroll-hint-mouse{
  width: 24px;
  height: 38px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  position: relative;
}
.scroll-hint-dot{
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollDot 1.5s ease-in-out infinite;
}
.scroll-hint-text{
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
@keyframes scrollHintBounce{
  0%, 100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollDot{
  0%{ top: 8px; opacity: 1; }
  100%{ top: 22px; opacity: 0; }
}

/* --- Navbar glassmorphism scroll transition --- */
.topbar{ transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.topbar.scrolled{
  background: rgba(5,5,8,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212,168,85,0.05);
  border-bottom-color: var(--line);
}

@media (max-width: 980px){
  .scroll-hint{ bottom: 100px; }
}
