/* ===================================================================
   JoulMedia — Public Site Design System (White Luxury Mode, RTL)
   =================================================================== */

:root {
  /* Brand */
  --brand-900: #18181b;
  --brand-700: #27272a;
  --brand-600: #3f3f46;
  --brand-500: #52525b;
  --brand-400: #71717a;
  --violet-500: #3f3f46;
  --accent-grad: linear-gradient(120deg, #3f3f46 0%, #27272a 45%, #52525b 100%);
  --accent-grad-soft: linear-gradient(120deg, #f4f4f5 0%, #ececee 100%);

  /* Neutrals */
  --ink: #0a0a0b;
  --ink-2: #1c1d22;
  --muted: #5b5d6b;
  --muted-2: #8b8d9b;
  --line: #ececf1;
  --line-2: #f3f3f7;
  --bg: #ffffff;
  --bg-soft: #fafafc;
  --bg-tint: #f7f7fb;
  --white: #ffffff;
  --success: #16a34a;

  /* Shape / depth */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(10,10,30,.04), 0 2px 8px rgba(10,10,30,.04);
  --shadow-md: 0 4px 16px rgba(20,20,60,.06), 0 12px 40px rgba(20,20,60,.06);
  --shadow-lg: 0 12px 30px rgba(30,20,80,.08), 0 30px 80px rgba(30,20,80,.10);
  --shadow-brand: 0 10px 30px rgba(24,24,27,.30);

  --container: 1200px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --font: "IBM Plex Sans Arabic", "Tajawal", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--brand-500); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--brand-600);
  background: var(--accent-grad-soft);
  border: 1px solid #e4e4e7;
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 4px rgba(63,63,70,.18); }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800; line-height: 1.18; letter-spacing: -0.02em;
  color: var(--ink);
}
.section-head p { margin-top: 18px; color: var(--muted); font-size: 19px; }

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(24,24,27,.40); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: #d4d4d8; box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: #000; }
.btn-lg { padding: 19px 40px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: padding .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(20,20,60,.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 11px; background: var(--accent-grad);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 20px;
  box-shadow: var(--shadow-brand);
}
.brand b { color: var(--brand-600); }
.brand-logo { height: 60px; width: auto; display: block; transition: height .3s var(--ease); }
.header.scrolled .brand-logo { height: 50px; }
.footer .brand-logo { height: 66px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-tint); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-bg .b1 { width: 540px; height: 540px; background: radial-gradient(circle, #d4d4d8, transparent 70%); top: -160px; left: -120px; }
.hero-bg .b2 { width: 480px; height: 480px; background: radial-gradient(circle, #e4e4e7, transparent 70%); top: -100px; right: -120px; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.025em;
  color: var(--ink);
}
.hero .lead { margin-top: 24px; font-size: 20px; color: var(--muted); max-width: 560px; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 36px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--muted-2); font-size: 14.5px; }
.hero-trust .stars { color: #f59e0b; letter-spacing: 2px; }
.hero-trust .sep { width: 1px; height: 22px; background: var(--line); }

/* Hero visual: browser + dashboard mock */
.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mock-bar .r { background: #ff5f57; } .mock-bar .y { background: #febc2e; } .mock-bar .g { background: #28c840; }
.mock-bar .url { margin-inline-start: 14px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--muted-2); padding: 6px 12px; text-align: center; }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mock-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; background: #fff; }
.mock-card .kpi { font-size: 26px; font-weight: 800; }
.mock-card .kpi.green { color: var(--success); }
.mock-card .kpi.brand { color: var(--brand-600); }
.mock-card .kpi-label { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.mock-chart { height: 120px; display: flex; align-items: flex-end; gap: 9px; padding-top: 10px; }
.mock-chart span { flex: 1; background: var(--accent-grad); border-radius: 6px 6px 3px 3px; opacity: .85; animation: barGrow 1.1s var(--ease) both; }
@keyframes barGrow { from { height: 4px !important; opacity: 0; } }
.mock-line { display: flex; gap: 9px; align-items: center; }
.mock-line .av { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-grad-soft); }
.mock-line .bars { flex: 1; display: grid; gap: 6px; }
.mock-line .bars i { height: 7px; border-radius: 4px; background: var(--line); display: block; }
.mock-line .bars i:first-child { width: 70%; background: #e7e7f2; }
.mock-line .bars i:last-child { width: 45%; }

.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 13px 17px; display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 14px; animation: floaty 4.5s ease-in-out infinite;
}
.float-badge .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.float-badge small { display: block; font-weight: 500; color: var(--muted-2); font-size: 12px; }
.fb-1 { top: 24px; left: -34px; } .fb-1 .ic { background: linear-gradient(135deg,#16a34a,#22c55e); }
.fb-2 { bottom: 30px; right: -30px; animation-delay: 1.2s; } .fb-2 .ic { background: var(--accent-grad); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Logos / trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--bg-soft); padding: 30px 0; }
.trust-strip .lbl { text-align: center; color: var(--muted-2); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.logos { display: flex; align-items: center; justify-content: center; gap: 52px; flex-wrap: wrap; opacity: .65; }
.logos span { font-weight: 800; font-size: 21px; color: var(--muted); letter-spacing: -0.02em; }

/* ---------- Services / Pricing ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #e4e4e7; }
.price-card.featured { border: 2px solid var(--brand-500); box-shadow: var(--shadow-lg); background: linear-gradient(180deg,#fff,#fafafa); }
.price-card .ribbon {
  position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 13px;
  padding: 7px 18px; border-radius: 999px; box-shadow: var(--shadow-brand); white-space: nowrap;
}
.price-card .svc-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-grad-soft); display: grid; place-items: center; color: var(--brand-600); margin-bottom: 20px; }
.price-card .svc-ic svg { width: 28px; height: 28px; }
.price-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.price-card .price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.price-card .price .num { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.price-card .price .per { color: var(--muted); font-size: 16px; font-weight: 600; }
.price-card .sub { color: var(--muted); font-size: 14.5px; min-height: 22px; }
.feat-list { margin: 24px 0; display: grid; gap: 13px; }
.feat-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--ink-2); }
.feat-list li .chk { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #ecfdf5; color: var(--success); display: grid; place-items: center; margin-top: 3px; }
.feat-list li .chk svg { width: 13px; height: 13px; }
.price-card .annual { margin-top: auto; background: var(--bg-tint); border: 1px dashed #d4d4d8; border-radius: var(--r-md); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.price-card .annual .was { text-decoration: line-through; color: var(--muted-2); font-size: 14px; }
.price-card .annual .now { font-weight: 800; font-size: 18px; }
.price-card .annual .save { background: #ecfdf5; color: var(--success); font-weight: 700; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; }
.price-card .card-cta { margin-top: auto; }

/* ---------- Video showcase ---------- */
.video-showcase { background: linear-gradient(180deg,#0a0a0b,#1a1a1d); color: #fff; }
.video-showcase .section-head h2 { color: #fff; }
.video-showcase .section-head p { color: #b9b9c8; }
.video-showcase .eyebrow { background: rgba(40,40,45,.18); border-color: rgba(40,40,45,.35); color: #d4d4d8; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card {
  position: relative; aspect-ratio: 9/16; border-radius: var(--r-lg); overflow: hidden;
  background: #1c1a26; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  transition: transform .4s var(--ease);
}
.video-card:hover { transform: translateY(-8px) scale(1.01); }
.video-card video, .video-card img { width: 100%; height: 100%; object-fit: cover; }
.video-card .placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(160deg,#2a2a2e,#18181b 60%,#0a0a0a);
}
.video-card .play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; backdrop-filter: blur(6px); transition: .3s; }
.video-card:hover .play { background: rgba(255,255,255,.22); transform: scale(1.08); }
.video-card .play svg { width: 26px; height: 26px; color: #fff; margin-inline-start: 3px; }
.video-card .ph-tag { color: rgba(255,255,255,.7); font-weight: 700; font-size: 14px; letter-spacing: .05em; }
.video-card .ph-note { color: rgba(255,255,255,.45); font-size: 12.5px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-grad); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-brand); }
.why-card .ic svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Process ---------- */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; inset-inline: 8%; height: 2px; background: linear-gradient(90deg, var(--brand-300, #d4d4d8), var(--violet-500)); opacity: .4; }
.step { position: relative; text-align: center; }
.step .num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-500); color: var(--brand-600); display: grid; place-items: center; font-weight: 800; font-size: 22px; position: relative; z-index: 1; box-shadow: var(--shadow-sm); transition: .3s; }
.step:hover .num { background: var(--accent-grad); color: #fff; border-color: transparent; }
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testi .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 14px; }
.testi p { color: var(--ink-2); font-size: 16px; margin-bottom: 20px; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.testi .who b { font-size: 15.5px; display: block; }
.testi .who span { color: var(--muted-2); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: #e4e4e7; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-weight: 700; font-size: 17.5px; text-align: start; color: var(--ink); }
.faq-q .arr { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); display: grid; place-items: center; transition: .35s var(--ease); }
.faq-item.open .faq-q .arr { background: var(--accent-grad); color: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }
.faq-a .highlight { background: var(--accent-grad-soft); border: 1px solid #e4e4e7; border-radius: 12px; padding: 14px 18px; color: var(--brand-700); font-weight: 600; }

/* ---------- Admin notice ---------- */
.admin-note { background: var(--bg-soft); }
.admin-note .panel { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 54px; overflow: hidden; position: relative; }
.admin-note .panel::after { content: ""; position: absolute; width: 420px; height: 420px; background: radial-gradient(circle, rgba(40,40,45,.4), transparent 70%); top: -120px; inset-inline-end: -120px; }
.admin-note h2 { font-size: clamp(26px,3.6vw,40px); font-weight: 800; line-height: 1.2; position: relative; }
.admin-note p { color: #b9b9c8; margin-top: 16px; position: relative; }
.admin-note .pts { margin-top: 22px; display: grid; gap: 12px; position: relative; }
.admin-note .pts li { display: flex; gap: 11px; align-items: flex-start; color: #d6d6e2; font-size: 15.5px; }
.admin-note .pts li .chk { color: #34d399; flex: 0 0 auto; margin-top: 4px; }
.admin-mock { position: relative; z-index: 1; }
.admin-mock .win { background: #0f1117; border: 1px solid #23262f; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.admin-mock .win-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #23262f; }
.admin-mock .win-bar i { width: 10px; height: 10px; border-radius: 50%; }
.admin-mock .win-body { padding: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.admin-mock .stat { background: #161922; border: 1px solid #23262f; border-radius: 12px; padding: 14px; }
.admin-mock .stat .v { font-size: 22px; font-weight: 800; color: #fff; }
.admin-mock .stat .l { font-size: 11.5px; color: #6b7280; margin-top: 2px; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 120px 0; }
.final-cta .box { position: relative; text-align: center; background: var(--accent-grad); border-radius: var(--r-xl); padding: 80px 40px; overflow: hidden; box-shadow: var(--shadow-lg); }
.final-cta .box::before, .final-cta .box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(40px); }
.final-cta .box::before { width: 300px; height: 300px; top: -100px; left: -60px; }
.final-cta .box::after { width: 360px; height: 360px; bottom: -140px; right: -80px; }
.final-cta h2 { color: #fff; font-size: clamp(28px,4.4vw,52px); font-weight: 800; line-height: 1.16; position: relative; max-width: 760px; margin: 0 auto; letter-spacing: -0.02em; }
.final-cta p { color: rgba(255,255,255,.88); font-size: 19px; margin-top: 20px; position: relative; max-width: 600px; margin-inline: auto; }
.final-cta .btn { margin-top: 36px; position: relative; }
.final-cta .btn-white { background: #fff; color: var(--brand-700); box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.final-cta .btn-white:hover { transform: translateY(-3px) scale(1.02); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); color: var(--muted); padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--ink); margin-bottom: 16px; }
.footer-about p { font-size: 15px; max-width: 320px; color: var(--muted); }
.footer-col h5 { color: var(--ink); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 15px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-col a svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--brand-600); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted-2); }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: .25s; }
.footer-bottom .socials a:hover { background: var(--accent-grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .services-grid, .why-grid, .testi-grid, .video-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; } .steps::before { display: none; }
  .admin-note .panel { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; inset-inline: 16px; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-lg); gap: 4px; }
  .nav.open .nav-links a { padding: 12px; }
  .services-grid, .why-grid, .testi-grid, .video-grid, .steps, .footer-top { grid-template-columns: 1fr; }
  .video-grid { max-width: 360px; margin: 0 auto; }
  .float-badge { display: none; }
  .final-cta .box { padding: 56px 24px; }
  .admin-note .panel { padding: 30px 22px; }
}

/* ---------- Toast ---------- */
.toast-host { position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; animation: toastIn .4s var(--ease); }
.toast .tk { color: #34d399; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Modal (lead / consult) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,10,20,.55); backdrop-filter: blur(6px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal { background: #fff; border-radius: var(--r-xl); width: 100%; max-width: 520px; box-shadow: var(--shadow-lg); max-height: 92vh; overflow: auto; animation: modalUp .4s var(--ease); }
@keyframes modalUp { from { transform: translateY(24px); opacity: 0; } }
.modal-head { padding: 28px 30px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-head h3 { font-size: 24px; font-weight: 800; }
.modal-head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.modal-close { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-tint); display: grid; place-items: center; flex: 0 0 auto; transition: .2s; }
.modal-close:hover { background: var(--line); }
.modal-body { padding: 22px 30px 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(63,63,70,.12); }
.field textarea { resize: vertical; min-height: 90px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Simple page hero (inner pages) ---------- */
.page-hero { padding: 160px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.025em; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 18px auto 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.about-stats .s { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.about-stats .s .n { font-size: 34px; font-weight: 800; }
.about-stats .s .l { color: var(--muted); font-size: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:34px; } .values-grid{ grid-template-columns:1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contact-info .ci-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 16px; display: flex; gap: 16px; align-items: center; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-info .ci-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-info .ci-card .ic { width: 54px; height: 54px; border-radius: 15px; background: var(--accent-grad-soft); color: var(--brand-600); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .ci-card .ic svg { width: 26px; height: 26px; }
.contact-info .ci-card h4 { font-size: 14px; color: var(--muted-2); font-weight: 600; }
.contact-info .ci-card b { font-size: 18px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-md); }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- Portfolio Slider ---------- */
.portfolio-slider-container {
  position: relative;
  margin-top: 40px;
}

.portfolio-slider {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 15px 5px;
}

.portfolio-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.portfolio-track {
  display: flex;
  gap: 24px;
}

.portfolio-item {
  flex: 0 0 calc((100% - (2 * 24px)) / 3);
  max-width: calc((100% - (2 * 24px)) / 3);
  scroll-snap-align: start;
  transition: transform 0.4s var(--ease);
}

.portfolio-item:hover {
  transform: translateY(-8px) scale(1.02);
}

.portfolio-card {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-item .mock {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s;
}

.portfolio-item:hover .mock {
  box-shadow: var(--shadow-lg);
}

.mock-body-portfolio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: 0 0 12px 12px;
}

.mock-body-portfolio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 4s ease-in-out;
}

.portfolio-item:hover .mock-body-portfolio img {
  object-position: bottom;
}

.portfolio-info {
  padding: 16px 8px 8px;
  text-align: right;
}

.portfolio-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.portfolio-info .domain {
  font-size: 14px;
  color: var(--brand-600);
  font-weight: 500;
}

.portfolio-slider-container .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-900);
  transition: all 0.3s var(--ease);
  z-index: 15;
}

.portfolio-slider-container .slider-btn:hover:not(:disabled) {
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.portfolio-slider-container .slider-btn:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.portfolio-slider-container .slider-btn.prev {
  right: -25px;
}

.portfolio-slider-container .slider-btn.next {
  left: -25px;
}

@media (max-width: 1280px) {
  .portfolio-slider-container .slider-btn.prev {
    right: 5px;
  }
  .portfolio-slider-container .slider-btn.next {
    left: 5px;
  }
}

@media (max-width: 1024px) {
  .portfolio-item {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .portfolio-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .portfolio-slider-container {
    gap: 8px;
  }
  .portfolio-slider-container .slider-btn {
    display: none;
  }
}
