/* vala-fonts.css */
/* Cairo, self-hosted (variable weight 200–1000, from @fontsource-variable/cairo 5.3.0,
   SIL Open Font License — public/fonts/cairo/LICENSE). Same family name the
   stylesheets already use, so nothing else changes. */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/fonts/cairo/cairo-arabic-wght-normal.woff2) format('woff2-variations'), url(/fonts/cairo/cairo-arabic-wght-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/fonts/cairo/cairo-latin-ext-wght-normal.woff2) format('woff2-variations'), url(/fonts/cairo/cairo-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/fonts/cairo/cairo-latin-wght-normal.woff2) format('woff2-variations'), url(/fonts/cairo/cairo-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* style.css */
/* Fonts are linked from the templates (public: Cairo in header.ejs, admin: Inter in the admin heads) —
   an @import here delayed every page by one extra round-trip. */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #22223a;
  --bg-input: #1a1a2e;
  --bg-sidebar: #0d0d15;
  --border: #2a2a3e;
  --border-light: #1e1e32;
  --text-primary: #e8e8f0;
  --text-secondary: #9090a8;
  --text-muted: #606078;
  --accent-primary: #7c3aed;
  --accent-secondary: #a78bfa;
  --accent-glow: rgba(124, 58, 237, 0.3);
  --accent-gradient: linear-gradient(135deg, #7c3aed, #a78bfa);
  --accent-gradient-2: linear-gradient(135deg, #7c3aed, #3b82f6);
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(124,58,237,0.15);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent-primary); color: white; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-secondary); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
p { color: var(--text-secondary); }

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

/* Header / Nav */
.header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height); padding: 0 32px; max-width: 1400px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800;
  color: var(--text-primary);
}
.logo img { height: 36px; width: auto; }
.logo span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); position: relative;
}
.nav a:hover, .nav a.active { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--accent-gradient); border-radius: 1px;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; font-family: inherit;
  border: none; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent-gradient);
  color: white; box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 8px 30px var(--accent-glow); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-card); border-color: var(--accent-primary); }
.btn-ghost {
  background: transparent; color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: black; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 18px 40px; font-size: 1.1rem; border-radius: var(--radius); }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(168,85,247,0.06) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
  padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  color: var(--accent-secondary); margin-bottom: 24px;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-subtitle {
  font-size: 1.2rem; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px;
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--text-primary); }
.hero-stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* Sections */
.section { padding: 116px 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(124,58,237,0.1); color: var(--accent-secondary); margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-gradient); opacity: 0; transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(124,58,237,0.2); transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.service-card .price-tag { font-size: 1.1rem; font-weight: 700; color: var(--accent-secondary); }
.service-link { color: var(--accent-secondary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 4px; }

/* Portfolio Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.portfolio-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.2); box-shadow: var(--shadow-glow); }
.portfolio-img {
  height: 240px; background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-img .placeholder {
  font-size: 3rem; opacity: 0.2;
}
.portfolio-body { padding: 24px; }
.portfolio-body .port-cat {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(124,58,237,0.1); color: var(--accent-secondary); margin-bottom: 12px;
}
.portfolio-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.portfolio-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.portfolio-tech { display: flex; gap: 6px; flex-wrap: wrap; }
.portfolio-tech span {
  padding: 3px 10px; border-radius: 4px;
  background: var(--bg-secondary); font-size: 0.75rem; color: var(--text-muted);
}

/* About */
.stat-item { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 40px 32px;
  transition: var(--transition); position: relative;
}
.pricing-card.popular {
  border-color: var(--accent-primary); transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}
.pricing-card .popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-gradient); color: white;
  padding: 6px 24px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}
.pricing-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.price { font-size: 2.8rem; font-weight: 900; margin: 16px 0; }
.price span { font-size: 0.4em; color: var(--text-muted); font-weight: 400; }
.price-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.pricing-features { margin: 24px 0; }
.pricing-features li {
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 10px; font-size: 0.9rem;
}
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; font-weight: 600; font-size: 1rem;
  transition: var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-question .faq-icon { transition: var(--transition); font-size: 1.2rem; color: var(--text-muted); }
.faq-item.active .faq-question .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }
.faq-item.active .faq-answer { max-height: 500px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 32px; line-height: 1.7; }
.info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.info-icon {
  width: 48px; height: 48px; border-radius: var(--radius); flex-shrink: 0;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* Forms - Premium Refactored */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.85rem; color: var(--text-secondary); letter-spacing: 0.01em; }
.form-control, input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select {
  width: 100%; padding: 14px 18px; background: var(--bg-input);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.95rem; font-family: inherit;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.form-control:hover, input:not([type="checkbox"]):hover, textarea:hover, select:hover { border-color: var(--text-muted); }
.form-control:focus, input:not([type="checkbox"]):focus, textarea:focus, select:focus {
  border-color: var(--accent-primary); outline: none;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
  background: rgba(26,26,46,0.85);
}
.form-control::placeholder, input::placeholder, textarea::placeholder {
  color: var(--text-muted); font-weight: 400; font-size: 0.9rem; opacity: 0.7;
}
textarea, textarea.form-control { min-height: 130px; resize: vertical; line-height: 1.6; }
select, select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%239090a8' d='M7 9.5L2 4.5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 42px; cursor: pointer;
}
select option { background: var(--bg-card); color: var(--text-primary); padding: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 4px; }
.form-hint { color: var(--text-muted); font-size: 0.8rem; margin-top: 4px; }

/* Success message */
.success-banner { background: var(--success-bg); border: 1px solid rgba(16,185,129,0.2); color: var(--success); padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.error-banner { background: var(--danger-bg); border: 1px solid rgba(239,68,68,0.2); color: var(--danger); padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 32px;
}
/* Class names match views/testimonials.ejs (the old .author/.author-avatar
   names matched nothing, so the initial printed as a bare line of text). */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-featured { align-self: flex-start; font-size: 0.75rem; color: var(--accent-secondary); margin-bottom: 8px; }
.testimonial-stars { margin-bottom: 14px; font-size: 1rem; letter-spacing: 2px; }
.testimonial-content { font-size: 1rem; line-height: 1.9; margin-bottom: 24px; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-gradient); display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem; line-height: 1;
}
.testimonial-name { font-weight: 600; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-role:empty { display: none; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.2); box-shadow: var(--shadow-glow); }
.blog-img {
  height: 200px; background: var(--bg-secondary); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-body .blog-cat {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(124,58,237,0.1); color: var(--accent-secondary); margin-bottom: 12px;
}
.blog-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-body .blog-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 16px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.2); box-shadow: var(--shadow-glow); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--accent-gradient); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 2rem; font-weight: 700;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--accent-secondary); font-size: 0.85rem; font-weight: 500; margin-bottom: 4px; }
.team-card .specialty { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.team-card .bio { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.team-social { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.team-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; transition: var(--transition); }
.team-social a:hover { background: var(--accent-primary); color: white; }

/* Footer */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 34px 24px 18px;
}
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(360px, 1.5fr) auto; align-items: center; gap: 32px; max-width: 1180px; margin: 0 auto; }
.footer-logo { width: 92px; height: auto; margin: 0 0 7px; display: block; }
.footer-brand p { max-width: 330px; margin: 0 0 10px; color: var(--text-secondary); font-size: .84rem; line-height: 1.65; }
.footer-social { display: flex; align-items: center; gap: 7px; }
.footer-social a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 9px; color: var(--text-secondary); background: rgba(255,255,255,.025); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.footer-nav a { color: var(--text-secondary); font-size: .86rem; transition: var(--transition); white-space: nowrap; }
.footer-nav a:hover { color: var(--text-primary); }
.footer-nav .footer-policy-link { flex-basis: 100%; text-align: center; color: var(--accent-secondary); }
.footer-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 178px; }
.footer-actions .footer-wa { display: inline-flex; align-items: center; gap: 9px; color: var(--text-primary); }
.footer-actions .footer-wa > i { color: #25d366; font-size: 1.2rem; }
.footer-actions .footer-wa-text { display: flex; flex-direction: column; line-height: 1.25; }
.footer-actions .footer-wa-text strong { font-size: .84rem; }
.footer-actions .footer-wa-text small { color: var(--text-muted); font-size: .78rem; }
.footer-location { color: var(--text-muted); font-size: .78rem; }
.footer-bottom { text-align: center; padding-top: 14px; margin-top: 22px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .76rem; max-width: 1180px; margin-left: auto; margin-right: auto; }
.footer-bottom p { margin: 0; }

/* Auth Pages */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--bg-primary);
  background-image: radial-gradient(ellipse at 50% -20%, rgba(124,58,237,0.08) 0%, transparent 60%);
}
.auth-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 40px;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
}
.auth-box h2 { text-align: center; margin-bottom: 8px; font-size: 1.6rem; }
.auth-box .auth-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 32px; font-size: 0.9rem; }
.auth-box .form-group { margin-bottom: 20px; }
.auth-box label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; }
.auth-box .auth-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-secondary); }
.auth-box .auth-link a { color: var(--accent-secondary); font-weight: 600; }

/* Client Dashboard */
.dashboard { display: flex; min-height: 100vh; padding-top: var(--nav-height); }
.dash-sidebar {
  width: 260px; background: var(--bg-sidebar); border-right: 1px solid var(--border);
  position: fixed; top: var(--nav-height); left: 0; height: calc(100vh - var(--nav-height));
  overflow-y: auto; padding: 24px 0; z-index: 100;
}
.dash-sidebar .dash-user { padding: 0 20px 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.dash-sidebar .dash-user h4 { font-size: 0.95rem; }
.dash-sidebar .dash-user p { font-size: 0.8rem; color: var(--text-muted); }
.dash-sidebar a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; color: var(--text-secondary); font-size: 0.9rem;
  transition: var(--transition); border-left: 3px solid transparent;
}
.dash-sidebar a:hover { color: var(--text-primary); background: rgba(255,255,255,0.03); }
.dash-sidebar a.active { color: var(--accent-secondary); background: rgba(124,58,237,0.08); border-left-color: var(--accent-primary); }
.dash-main { margin-left: 260px; flex: 1; padding: 32px; min-height: calc(100vh - var(--nav-height)); }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.dash-header h2 { font-size: 1.5rem; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.dash-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 24px;
}
.dash-card .dash-num { font-size: 1.8rem; font-weight: 800; }
.dash-card .dash-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* Tables */
.dash-table-wrap { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { padding: 14px 20px; text-align: left; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); background: var(--bg-secondary); border-bottom: 1px solid var(--border); }
.dash-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; }
.dash-table tr:hover td { background: rgba(255,255,255,0.02); }
.dash-table .actions { display: flex; gap: 6px; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* Modals */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px); z-index: 2000;
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto;
}
.modal h3 { margin-bottom: 24px; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }
.close-modal { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); float: right; transition: var(--transition); }
.close-modal:hover { color: var(--text-primary); }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border-light);
  color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition);
}
.pagination a:hover { border-color: var(--accent-primary); color: var(--text-primary); }
.pagination .active { background: var(--accent-primary); border-color: var(--accent-primary); color: white; }

/* Tabs */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; }
.tab {
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; cursor: pointer;
  background: transparent; color: var(--text-secondary); border: none;
  transition: var(--transition);
}
.tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.tab.active { background: rgba(124,58,237,0.1); color: var(--accent-secondary); }

/* Filter bar */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }
.filter-bar select { padding: 8px 32px 8px 12px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.85rem; font-family: inherit; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239090a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.filter-bar input { padding: 8px 12px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.85rem; font-family: inherit; }
.filter-bar input:focus { border-color: var(--accent-primary); outline: none; }

/* 404 */
.not-found {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 40px;
}
.not-found h1 { font-size: 8rem; font-weight: 900; }
.not-found p { font-size: 1.2rem; margin: 16px 0 32px; }

/* Invoice */
.invoice {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px; max-width: 800px; margin: 0 auto;
}
.invoice-header { display: flex; justify-content: space-between; margin-bottom: 40px; }
.invoice-title { font-size: 1.8rem; font-weight: 800; }
.invoice-status { margin-bottom: 32px; }
.invoice-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.invoice-meta div p { font-size: 0.85rem; }
.invoice-meta div p:first-child { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 4px; }

/* Activity Log */
.activity-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.activity-item .activity-icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-secondary); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.activity-item .activity-detail { flex: 1; }
.activity-item .activity-action { font-size: 0.9rem; }
.activity-item .activity-time { font-size: 0.8rem; color: var(--text-muted); }

/* Analytics Dashboard */
.analytics-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 1024px) { .analytics-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .analytics-kpi-grid { grid-template-columns: 1fr; } }
.analytics-kpi-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; display: flex; align-items: center; gap: 16px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.analytics-kpi-card:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.analytics-kpi-card .kpi-icon {
  width: 48px; height: 48px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.analytics-kpi-card .kpi-icon.green { background: var(--success-bg); color: var(--success); }
.analytics-kpi-card .kpi-icon.purple { background: rgba(124,58,237,0.15); color: var(--accent-primary); }
.analytics-kpi-card .kpi-icon.cyan { background: var(--info-bg); color: var(--info); }
.analytics-kpi-card .kpi-icon.amber { background: var(--warning-bg); color: var(--warning); }
.analytics-kpi-card .kpi-info { flex: 1; }
.analytics-kpi-card .kpi-value { font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.analytics-kpi-card .kpi-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.analytics-kpi-card .kpi-trend {
  font-size: 0.8rem; display: flex; align-items: center; gap: 4px; padding: 4px 10px;
  border-radius: 20px; background: var(--success-bg); color: var(--success); white-space: nowrap;
}
.analytics-kpi-card .kpi-trend.up { background: var(--success-bg); color: var(--success); }
.analytics-kpi-card .kpi-trend.down { background: var(--danger-bg); color: var(--danger); }

.analytics-chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 768px) { .analytics-chart-grid { grid-template-columns: 1fr; } }
.analytics-chart-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: var(--transition);
}
.analytics-chart-card:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-glow); }
.chart-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.chart-card-header h3 { font-size: 1rem; font-weight: 600; }
.chart-card-header .chart-period { font-size: 0.8rem; color: var(--text-muted); }
.chart-container { min-height: 300px; position: relative; }
.chart-container .chart-loader { display: flex; align-items: center; justify-content: center; height: 300px; }
.empty-chart { text-align: center; padding: 80px 20px; color: var(--text-muted); font-size: 0.9rem; }

.stats-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px; }
.stat-card {
  background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  padding: 20px; text-align: center;
}
.stat-card .stat-value { font-size: 1.4rem; font-weight: 700; color: var(--accent-primary); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Finance Summary (Client Dashboard) */
.finance-summary { padding: 16px; }
.finance-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.finance-item + .finance-item { border-top: 1px solid var(--border-light); }
.finance-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.finance-icon.green { background: var(--success-bg); color: var(--success); }
.finance-icon.amber { background: var(--warning-bg); color: var(--warning); }
.finance-detail { flex: 1; }
.finance-value { font-size: 1.2rem; font-weight: 600; }
.finance-label { font-size: 0.8rem; color: var(--text-muted); }
.finance-progress { height: 6px; background: var(--bg-secondary); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.finance-progress-bar { height: 100%; background: var(--accent-gradient); border-radius: 3px; transition: width 0.8s ease; }
.finance-progress-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

/* Quick Actions Grid */
.quick-actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 768px) { .quick-actions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick-actions-grid { grid-template-columns: 1fr; } }
.quick-action-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 16px; background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); text-decoration: none; transition: all 0.3s ease;
  position: relative; overflow: hidden; cursor: pointer;
}
.quick-action-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-gradient); opacity: 0; transition: all 0.3s ease;
}
.quick-action-card:hover {
  border-color: var(--accent-primary); transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.quick-action-card:hover::before { opacity: 1; }
.quick-action-card:active { transform: translateY(-2px) scale(0.98); }
.quick-action-card .qa-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: all 0.3s ease;
}
.quick-action-card:hover .qa-icon { transform: scale(1.15); }
.quick-action-card .qa-icon.blue { background: var(--info-bg); color: var(--info); }
.quick-action-card .qa-icon.purple { background: rgba(124,58,237,0.1); color: var(--accent-primary); }
.quick-action-card .qa-icon.green { background: var(--success-bg); color: var(--success); }
.quick-action-card .qa-icon.amber { background: var(--warning-bg); color: var(--warning); }
.quick-action-card .qa-icon.cyan { background: rgba(6,182,212,0.1); color: #06b6d4; }
.quick-action-card .qa-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); text-align: center; }
.quick-action-card:hover .qa-label { color: var(--text-primary); }
.quick-action-card .qa-count {
  position: absolute; top: 10px; right: 10px;
  background: var(--accent-primary); color: white; font-size: 0.7rem;
  font-weight: 700; padding: 2px 8px; border-radius: 50px; min-width: 20px; text-align: center;
}

/* Donut Chart Center Fix */
.analytics-chart-card .chart-container .apexcharts-canvas { margin: 0 auto; }
#clientBudgetChart .apexcharts-canvas { display: flex; align-items: center; justify-content: center; }

/* Unified Auth Page */
.auth-unified { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 24px; background: var(--bg-primary); background-image: radial-gradient(ellipse at 50% -20%, rgba(124,58,237,0.08) 0%, transparent 60%); }
.auth-unified-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 480px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-unified-header { padding: 40px 40px 0; text-align: center; }
.auth-unified-header .logo { justify-content: center; margin-bottom: 24px; }
.auth-unified-header h2 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-unified-header p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 28px; }
.auth-tabs { display: flex; margin: 0 40px; border-bottom: 1px solid var(--border); }
.auth-tab { flex: 1; padding: 14px; text-align: center; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.3s ease; background: none; border-top: none; border-left: none; border-right: none; font-family: inherit; }
.auth-tab:hover { color: var(--text-secondary); }
.auth-tab.active { color: var(--accent-secondary); border-bottom-color: var(--accent-primary); }
.auth-panel { display: none; padding: 32px 40px 40px; }
.auth-panel.active { display: block; animation: fadeIn 0.4s ease; }
.auth-panel .form-group { margin-bottom: 20px; }
.auth-panel .btn { width: 100%; justify-content: center; margin-top: 8px; }
.auth-panel .auth-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-secondary); }
.auth-panel .auth-link a { color: var(--accent-secondary); font-weight: 600; cursor: pointer; }

/* RTL / Language Support */
html[dir="rtl"] { text-align: right; }
html[dir="rtl"] .nav { direction: rtl; }
html[dir="rtl"] .dash-sidebar { left: auto; right: 0; border-right: none; border-left: 1px solid var(--border); }
html[dir="rtl"] .dash-sidebar a { border-left: none; border-right: 3px solid transparent; }
html[dir="rtl"] .dash-sidebar a.active { border-right-color: var(--accent-primary); border-left-color: transparent; }
html[dir="rtl"] .dash-main { margin-left: 0; margin-right: 260px; }
html[dir="rtl"] select, html[dir="rtl"] select.form-control { background-position: left 14px center; padding-right: 18px; padding-left: 42px; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .pricing-card .popular-badge { left: auto; right: 50%; transform: translateX(50%); }
html[dir="rtl"] .dash-table th { text-align: right; }
@media (max-width: 768px) {
  html[dir="rtl"] .dash-sidebar { transform: translateX(100%); }
  html[dir="rtl"] .dash-sidebar.active { transform: translateX(0); }
  html[dir="rtl"] .dash-main { margin-right: 0; }
}

/* Language Toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary);
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.lang-toggle:hover { border-color: var(--accent-primary); color: var(--accent-secondary); }
.lang-toggle .lang-icon { font-size: 1rem; }

/* Staggered scroll animations */
.scroll-fade { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(.4,0,.2,1); }
.scroll-fade.visible { opacity: 1; transform: translateY(0); }
.scroll-left { opacity: 0; transform: translateX(-50px); transition: all 0.7s cubic-bezier(.4,0,.2,1); }
.scroll-left.visible { opacity: 1; transform: translateX(0); }
.scroll-right { opacity: 0; transform: translateX(50px); transition: all 0.7s cubic-bezier(.4,0,.2,1); }
.scroll-right.visible { opacity: 1; transform: translateX(0); }
.scroll-scale { opacity: 0; transform: scale(0.9); transition: all 0.7s cubic-bezier(.4,0,.2,1); }
.scroll-scale.visible { opacity: 1; transform: scale(1); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulseFade { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spinSimple { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.animate { opacity: 0; }
.animate.fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate.fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate.slideInLeft { animation: slideInLeft 0.6s ease forwards; }
.animate.slideInRight { animation: slideInRight 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; } .delay-5 { animation-delay: 0.5s; } .delay-6 { animation-delay: 0.6s; }

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Loading spinner */
.spinner { width: 24px; height: 24px; border: 3px solid var(--border); border-top-color: var(--accent-primary); border-radius: 50%; animation: spin 0.6s linear infinite; display: inline-block; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-secondary); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent-secondary); }
.breadcrumb span { color: var(--text-primary); }

/* Search */
.search-box { position: relative; }
.search-box input { padding-left: 36px; }
.search-box .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1.5fr; }
  .footer-actions { grid-column: 1 / -1; flex-direction: row; justify-content: center; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .dash-sidebar { width: 220px; }
  .dash-main { margin-left: 220px; }
}
@media (max-width: 768px) {
  .nav { display: none; position: fixed; top: var(--nav-height); left: 0; width: 100%; background: var(--bg-primary); border-bottom: 1px solid var(--border); padding: 16px; flex-direction: column; box-shadow: var(--shadow-lg); }
  .nav.active { display: flex; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.2rem; }
  .section { padding: 60px 16px; }
  .footer { padding: 28px 18px 86px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-nav { gap: 10px 14px; }
  .footer-actions { grid-column: auto; flex-direction: column; justify-content: center; align-items: center; }
  .footer-bottom { margin-top: 18px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .dash-sidebar { width: 200px; transform: translateX(-100%); }
  .dash-sidebar.active { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .invoice-meta { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .auth-box { padding: 32px 24px; }
  .header-inner { padding: 0 16px; }
}

/* Markdown content */
.markdown-content h1, .markdown-content h2, .markdown-content h3 { margin-top: 32px; margin-bottom: 16px; }
.markdown-content h2 { font-size: 1.5rem; }
.markdown-content h3 { font-size: 1.2rem; }
.markdown-content p { margin-bottom: 16px; line-height: 1.7; }
.markdown-content ul, .markdown-content ol { margin-bottom: 16px; padding-left: 24px; }
.markdown-content li { margin-bottom: 8px; color: var(--text-secondary); }
.markdown-content code { background: var(--bg-secondary); padding: 2px 8px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.85rem; }
.markdown-content pre { background: var(--bg-secondary); padding: 20px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 16px; }
.markdown-content pre code { background: none; padding: 0; }
.markdown-content blockquote { border-left: 3px solid var(--accent-primary); padding: 12px 20px; margin: 16px 0; background: rgba(124,58,237,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.markdown-content blockquote p { margin-bottom: 0; }
.markdown-content img { border-radius: var(--radius); margin: 16px 0; }
.markdown-content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* Page header */
.page-header {
  padding: calc(var(--nav-height) + 60px) 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(124,58,237,0.05) 0%, transparent 100%);
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.page-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   SERVICES GRID (2-col large cards)
═══════════════════════════════════════════ */
.services-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card-xl {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card-xl::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}
.service-card-xl:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(124,58,237,0.12);
}
.service-card-xl:hover::before { opacity: 1; }
.service-card-xl-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(124,58,237,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card-xl-body { display: flex; flex-direction: column; gap: 16px; }
.service-card-xl-body h3 { font-size: 1.4rem; font-weight: 800; margin: 0; }
.service-card-xl-body p { font-size: 0.95rem; line-height: 1.75; margin: 0; }
.service-card-xl-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  --tag-bg: rgba(124,58,237,0.12);
  --tag-color: var(--accent-secondary);
}
.service-card-xl-tags span {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--tag-bg);
  color: var(--tag-color);
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════
   PARTNERS MARQUEE
═══════════════════════════════════════════ */
.partners-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
}
.partners-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}
.marquee-outer {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  opacity: 0.5;
  filter: grayscale(0.3);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}
.marquee-item:hover { opacity: 1; filter: none; }
.marquee-sep {
  color: var(--border);
  font-size: 0.6rem;
  flex-shrink: 0;
  opacity: 0.4;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* RTL marquee — reverse direction */
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ═══════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  inset-inline-start: calc(12.5% + 28px);
  inset-inline-end: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-primary), transparent);
  opacity: 0.25;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.process-step:hover {
  border-color: rgba(124,58,237,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.process-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.process-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(124,58,237,0.3);
}
.process-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ═══════════════════════════════════════════
   PACKAGES CTA BANNER
═══════════════════════════════════════════ */
.packages-cta-section { background: var(--bg-primary); }
.packages-cta-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(79,70,229,0.04) 100%);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
}
.packages-cta-glow {
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   ENTERPRISE BANNER
═══════════════════════════════════════════ */
.enterprise-banner {
  padding: 20px 0;
  background: rgba(124,58,237,0.04);
  border-top: 1px solid rgba(124,58,237,0.12);
}
.enterprise-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  flex-wrap: wrap;
}
.enterprise-banner-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(124,58,237,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-secondary);
}
.enterprise-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
}
.enterprise-banner-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.enterprise-banner-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.enterprise-banner-btn { flex-shrink: 0; }

/* ═══════════════════════════════════════════
   HERO STAT VALUES
═══════════════════════════════════════════ */
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   SECTION LABEL (used in index)
═══════════════════════════════════════════ */
.section-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(124,58,237,0.1);
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════
   PORTFOLIO TAGS (used in index)
═══════════════════════════════════════════ */
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.portfolio-tag {
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg-secondary);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.portfolio-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 3rem;
  color: var(--text-muted);
  opacity: 0.3;
}
.btn-outline {
  background: transparent;
  color: var(--accent-secondary);
  border: 1px solid rgba(124,58,237,0.3);
}
.btn-outline:hover { background: rgba(124,58,237,0.1); }

/* ═══════════════════════════════════════════
   RTL SUPPORT FIXES
═══════════════════════════════════════════ */
[dir="rtl"] .hero-badge { flex-direction: row-reverse; }
[dir="rtl"] .markdown-content ul,
[dir="rtl"] .markdown-content ol { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .search-box .search-icon { left: auto; right: 12px; }
[dir="rtl"] .search-box input { padding-left: 16px; padding-right: 36px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .services-grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .packages-cta-inner { padding: 48px 24px; }
  .enterprise-banner-inner { flex-direction: column; text-align: center; }
  .service-card-xl { padding: 28px 20px; }
}

/* Dashboard polish: admin and client surfaces only */
.dashboard {
  background:
    radial-gradient(circle at 100% 0, rgba(227,179,65,.07), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 18rem),
    var(--bg-primary);
}
.dashboard * { min-width: 0; }
.dashboard .dash-sidebar {
  width: 280px;
  padding: 18px 12px 24px;
  background: linear-gradient(180deg, rgba(13,13,21,.98), rgba(18,18,34,.98));
  box-shadow: 10px 0 30px rgba(0,0,0,.18);
}
.dashboard .dash-sidebar::-webkit-scrollbar { width: 6px; }
.dashboard .dash-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 999px; }
.dashboard .dash-section-label {
  margin: 18px 12px 8px;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 0;
}
.dashboard .dash-sidebar a {
  min-height: 42px;
  margin: 2px 0;
  padding: 10px 12px;
  border-radius: 10px;
  border-inline-start: 3px solid transparent;
  line-height: 1.35;
}
.dashboard .dash-sidebar a i {
  width: 20px;
  flex: 0 0 20px;
  text-align: center;
  font-size: 1rem;
}
.dashboard .dash-sidebar a.active {
  color: #f3d381;
  background: rgba(227,179,65,.10);
  border-inline-start-color: #e3b341;
}
.dashboard .dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 6px 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.client-dash-menu-toggle {
  display: none;
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  inset-inline-end: 14px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #16213e;
  color: var(--accent-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.dashboard .dash-user-avatar,
.dashboard .dash-card-icon,
.dashboard .finance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dashboard .dash-main {
  padding: clamp(18px, 3vw, 34px);
}
html[dir="rtl"] .dashboard .dash-main { margin-right: 280px; }
html:not([dir="rtl"]) .dashboard .dash-main { margin-left: 280px; }
.dashboard .dash-header,
.dashboard .ds-page-head {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}
.dashboard .dash-header h2,
.dashboard .ds-page-head h1 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}
.dashboard .dash-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.dashboard .dash-card,
.dashboard .analytics-chart-card,
.dashboard .dash-main > div[style*="background:var(--bg-card)"],
.dashboard .dash-main > div > div[style*="background:var(--bg-card)"] {
  border-color: rgba(255,255,255,.075) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)), var(--bg-card) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.18);
}
.dashboard .dash-card {
  padding: 20px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.dashboard .dash-card:hover,
.dashboard .analytics-chart-card:hover {
  transform: translateY(-2px);
  border-color: rgba(227,179,65,.30) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.dashboard .dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.dashboard .dash-card-value,
.dashboard .dash-card .dash-num {
  color: var(--text-primary);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1;
}
.dashboard .dash-card-label,
.dashboard .dash-card-change,
.dashboard .finance-label {
  color: var(--text-muted);
  font-size: .83rem;
}
.dashboard .dash-card-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
}
.dashboard .dash-section-title {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: .98rem;
  font-weight: 800;
}
.dashboard .dash-table-wrap,
.dashboard .ds-table-wrap {
  border-color: rgba(255,255,255,.075);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.dashboard .dash-table,
.dashboard .ds-table {
  min-width: 680px;
}
.dashboard .dash-table th,
.dashboard table.ds-table thead th {
  padding: 13px 16px;
  color: #9ca6bf;
  background: rgba(255,255,255,.035);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.dashboard .dash-table td,
.dashboard table.ds-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
}
.dashboard .dash-table tbody tr:last-child td { border-bottom: 0; }
.dashboard .dash-table-actions,
.dashboard .dash-table .actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dashboard .badge,
.dashboard .ds-badge {
  min-height: 24px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.dashboard .form-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dashboard .form-group { margin-bottom: 18px; }
.dashboard .form-label,
.dashboard .form-group label {
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0;
}
.dashboard .form-input,
.dashboard .form-select,
.dashboard .form-textarea,
.dashboard .form-control,
.dashboard input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.dashboard textarea,
.dashboard select {
  min-height: 44px;
  border-radius: 12px;
  border-color: rgba(255,255,255,.10);
  background-color: rgba(7,10,20,.38);
}
.dashboard textarea,
.dashboard .form-textarea { min-height: 118px; }
.dashboard .btn {
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.dashboard .btn-sm { min-height: 34px; }
.dashboard .analytics-chart-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 20px;
}
.dashboard .chart-card-header {
  gap: 12px;
  flex-wrap: wrap;
}
.dashboard .chart-container,
.dashboard .ds-chart {
  min-height: 280px;
  height: 280px;
}
.dashboard .ds-chart canvas { max-height: none; }
.dashboard .finance-summary { padding: 4px; }
.dashboard .finance-item {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.dashboard .finance-item + .finance-item { margin-top: 10px; border-top: 0; }
.dashboard .modal-overlay { padding: 18px; }
.dashboard .modal {
  padding: 0;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.48);
}
.dashboard .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
}
.dashboard .modal-header h3,
.dashboard .modal h3 { margin: 0; }
.dashboard .modal form { padding: 22px; }
.dashboard .modal-actions {
  flex-wrap: wrap;
  padding-top: 4px;
}
.dashboard .dash-main > div[style*="grid-template-columns:1fr 1fr"] {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)) !important;
}
@media (max-width: 1100px) {
  .dashboard .ds-grid.cols-12 { grid-template-columns: 1fr; }
  .dashboard .ds-col-4,
  .dashboard .ds-col-6,
  .dashboard .ds-col-8,
  .dashboard .ds-col-12 { grid-column: auto; }
}
@media (max-width: 768px) {
  .dashboard { padding-top: var(--nav-height); }
  .dashboard .dash-sidebar {
    width: min(86vw, 320px);
    z-index: 1200;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }
  html[dir="rtl"] .dashboard .dash-sidebar { transform: translateX(105%); }
  .dashboard .dash-sidebar.active,
  .dashboard .dash-sidebar.open,
  html[dir="rtl"] .dashboard .dash-sidebar.active,
  html[dir="rtl"] .dashboard .dash-sidebar.open { transform: translateX(0); }
  .dashboard .dash-main,
  html[dir="rtl"] .dashboard .dash-main,
  html:not([dir="rtl"]) .dashboard .dash-main {
    margin: 0;
    width: 100%;
    padding: 72px 14px 22px;
  }
  .dashboard .dash-header,
  .dashboard .ds-page-head {
    align-items: stretch;
    padding: 14px;
  }
  .dashboard .dash-header .btn,
  .dashboard .ds-page-head .btn-group,
  .dashboard .ds-page-head .btn-group .btn {
    width: 100%;
  }
  .client-dash-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dashboard .form-row { grid-template-columns: 1fr; }
  .dashboard .modal { width: min(100%, 620px); max-height: calc(100vh - 36px); }
  .dashboard .modal-actions .btn { flex: 1 1 140px; }
}
@media (max-width: 520px) {
  .dashboard .dash-grid { gap: 12px; }
  .dashboard .dash-card,
  .dashboard .analytics-chart-card { padding: 16px; }
  .dashboard .dash-table,
  .dashboard .ds-table { min-width: 560px; }
  .dashboard .dash-table th,
  .dashboard .dash-table td,
  .dashboard table.ds-table thead th,
  .dashboard table.ds-table tbody td { padding: 12px; }
  .dashboard .chart-container,
  .dashboard .ds-chart { min-height: 240px; height: 240px; }
}

/* vala-design-system.css */
/* ════════════════════════════════════════════════════════════════
   VALA AGENCY — UNIFIED DESIGN SYSTEM  (v3 / Phase 3)
   One identity across admin · client portal · public site.
   Builds on the design tokens already defined in style.css (:root).
   RTL-first. Load AFTER style.css.
   ──────────────────────────────────────────────────────────────── */

:root {
  /* Semantic surface scale (additive — complements style.css tokens) */
  --ds-surface-1: var(--bg-card, #1a1a2e);
  --ds-surface-2: #20203a;
  --ds-surface-3: #262647;
  --ds-line: var(--border, #2a2a3e);
  --ds-line-soft: rgba(255,255,255,.06);
  --ds-ring: rgba(124,58,237,.45);

  /* Status palette (CRM / billing / tickets share these) */
  --ds-new: #3b82f6;     --ds-new-bg: rgba(59,130,246,.12);
  --ds-progress: #8b5cf6;--ds-progress-bg: rgba(139,92,246,.12);
  --ds-warn: #f59e0b;    --ds-warn-bg: rgba(245,158,11,.12);
  --ds-ok: #10b981;      --ds-ok-bg: rgba(16,185,129,.12);
  --ds-bad: #ef4444;     --ds-bad-bg: rgba(239,68,68,.12);
  --ds-muted: #64748b;   --ds-muted-bg: rgba(100,116,139,.14);

  --ds-space: 24px;
  --ds-radius: var(--radius, 12px);
  --ds-radius-lg: var(--radius-lg, 20px);
  --ds-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,.4));
  --ds-ease: var(--transition, all .25s cubic-bezier(.4,0,.2,1));
}

/* ── Reusable layout helpers ─────────────────────────────────── */
.ds-stack    { display: flex; flex-direction: column; }
.ds-row      { display: flex; align-items: center; }
.ds-between  { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ds-wrap     { flex-wrap: wrap; }
.ds-gap-1    { gap: 8px; }  .ds-gap-2 { gap: 16px; } .ds-gap-3 { gap: 24px; }
.ds-grow     { flex: 1 1 auto; }
.ds-mt-1{margin-top:8px}.ds-mt-2{margin-top:16px}.ds-mt-3{margin-top:24px}
.ds-mb-1{margin-bottom:8px}.ds-mb-2{margin-bottom:16px}.ds-mb-3{margin-bottom:24px}
.ds-grid { display: grid; gap: var(--ds-space); }
.ds-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ds-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ds-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ds-grid.cols-12 { grid-template-columns: repeat(12, 1fr); }
.ds-col-4 { grid-column: span 4; } .ds-col-6 { grid-column: span 6; }
.ds-col-8 { grid-column: span 8; } .ds-col-12 { grid-column: span 12; }
@media (max-width: 1100px){
  .ds-grid.cols-3,.ds-grid.cols-4{grid-template-columns:repeat(2,1fr)}
  .ds-col-4,.ds-col-6,.ds-col-8{grid-column:span 12}
}
@media (max-width: 640px){
  .ds-grid.cols-2,.ds-grid.cols-3,.ds-grid.cols-4{grid-template-columns:1fr}
}

/* ════════════════════════════════════════════════════════════════
   CARD
   ──────────────────────────────────────────────────────────────── */
.ds-card{
  background: var(--ds-surface-1);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow);
  overflow: hidden;
  transition: var(--ds-ease);
}
.ds-card.pad   { padding: 22px; }
.ds-card-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding: 18px 22px; border-bottom: 1px solid var(--ds-line-soft);
}
.ds-card-head h3{ font-size: 1.02rem; font-weight: 700; color: var(--text-primary); margin:0; }
.ds-card-head .sub{ font-size:.8rem; color: var(--text-muted); }
.ds-card-body{ padding: 22px; }
.ds-card-body.flush{ padding: 0; }
.ds-card.hover:hover{ border-color: var(--accent-primary); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════
   KPI / STAT TILE
   ──────────────────────────────────────────────────────────────── */
.ds-kpi{
  position: relative;
  background: var(--ds-surface-1);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  padding: 20px 22px;
  overflow: hidden;
  transition: var(--ds-ease);
}
.ds-kpi::after{
  content:""; position:absolute; inset-inline-end:-40px; top:-40px;
  width:140px; height:140px; border-radius:50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity:.5; pointer-events:none;
}
.ds-kpi:hover{ transform: translateY(-3px); border-color: rgba(124,58,237,.5); box-shadow: var(--shadow-glow); }
.ds-kpi .ico{
  width: 46px; height: 46px; border-radius: 13px;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.3rem; color:#fff; margin-bottom: 14px;
}
.ds-kpi .ico.blue   { background: linear-gradient(135deg,#3b82f6,#2563eb); }
.ds-kpi .ico.purple { background: var(--accent-gradient); }
.ds-kpi .ico.green  { background: linear-gradient(135deg,#10b981,#059669); }
.ds-kpi .ico.amber  { background: linear-gradient(135deg,#f59e0b,#d97706); }
.ds-kpi .ico.cyan   { background: linear-gradient(135deg,#06b6d4,#0891b2); }
.ds-kpi .ico.pink   { background: linear-gradient(135deg,#ec4899,#db2777); }
.ds-kpi .ico.red    { background: linear-gradient(135deg,#ef4444,#dc2626); }
.ds-kpi .val{ font-size: 1.9rem; font-weight: 800; color: var(--text-primary); line-height:1.1; letter-spacing:-.5px; }
.ds-kpi .lbl{ font-size: .85rem; color: var(--text-secondary); margin-top: 4px; }
.ds-kpi .delta{ display:inline-flex; align-items:center; gap:4px; font-size:.78rem; font-weight:600; margin-top:10px; padding:3px 9px; border-radius:999px; }
.ds-kpi .delta.up  { color: var(--ds-ok);  background: var(--ds-ok-bg); }
.ds-kpi .delta.down{ color: var(--ds-bad); background: var(--ds-bad-bg); }
.ds-kpi .delta.flat{ color: var(--text-muted); background: var(--ds-muted-bg); }

/* ════════════════════════════════════════════════════════════════
   BUTTONS  (extends style.css .btn — adds new variants/utilities)
   ──────────────────────────────────────────────────────────────── */
.btn.btn-soft{
  background: rgba(124,58,237,.12); color: var(--accent-secondary);
  border: 1px solid rgba(124,58,237,.25);
}
.btn.btn-soft:hover{ background: rgba(124,58,237,.2); }
.btn.btn-soft-success{ background: var(--ds-ok-bg); color: var(--ds-ok); border:1px solid rgba(16,185,129,.3); }
.btn.btn-soft-danger { background: var(--ds-bad-bg); color: var(--ds-bad); border:1px solid rgba(239,68,68,.3); }
.btn.btn-soft-warning{ background: var(--ds-warn-bg); color: var(--ds-warn); border:1px solid rgba(245,158,11,.3); }
.btn-group{ display:inline-flex; gap:8px; flex-wrap:wrap; }
.btn .spin{ width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;display:inline-block;animation:ds-spin .7s linear infinite; }
@keyframes ds-spin{to{transform:rotate(360deg)}}

/* ════════════════════════════════════════════════════════════════
   BADGES / CHIPS / PILLS
   ──────────────────────────────────────────────────────────────── */
.ds-badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:.74rem; font-weight:700; line-height:1;
  padding:5px 11px; border-radius:999px; white-space:nowrap;
}
.ds-badge i{ font-size:.85em; }
.ds-badge.new     { color:var(--ds-new);     background:var(--ds-new-bg); }
.ds-badge.progress{ color:var(--ds-progress);background:var(--ds-progress-bg); }
.ds-badge.warn    { color:var(--ds-warn);    background:var(--ds-warn-bg); }
.ds-badge.ok      { color:var(--ds-ok);      background:var(--ds-ok-bg); }
.ds-badge.bad     { color:var(--ds-bad);     background:var(--ds-bad-bg); }
.ds-badge.muted   { color:var(--ds-muted);   background:var(--ds-muted-bg); }
.ds-badge.dot::before{ content:""; width:6px;height:6px;border-radius:50%;background:currentColor; }

/* ════════════════════════════════════════════════════════════════
   TABLE
   ──────────────────────────────────────────────────────────────── */
.ds-table-wrap{ width:100%; overflow-x:auto; border-radius: var(--ds-radius-lg); }
table.ds-table{ width:100%; border-collapse: collapse; font-size:.9rem; }
table.ds-table thead th{
  text-align: start; font-weight:700; color: var(--text-muted);
  font-size:.74rem; text-transform:uppercase; letter-spacing:.5px;
  padding: 13px 16px; background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--ds-line); white-space:nowrap;
}
table.ds-table tbody td{
  padding: 14px 16px; color: var(--text-secondary);
  border-bottom: 1px solid var(--ds-line-soft); vertical-align: middle;
}
table.ds-table tbody tr{ transition: background .15s; }
table.ds-table tbody tr:hover{ background: rgba(255,255,255,.025); }
table.ds-table tbody tr:last-child td{ border-bottom: none; }
table.ds-table .strong{ color: var(--text-primary); font-weight:600; }
.ds-table-actions{ display:flex; gap:6px; }

/* ════════════════════════════════════════════════════════════════
   FORMS  (harmonized with style.css .form-control)
   ──────────────────────────────────────────────────────────────── */
.ds-field{ margin-bottom: 16px; }
.ds-field label{ display:block; font-size:.82rem; font-weight:600; color: var(--text-secondary); margin-bottom: 7px; }
.ds-field label .req{ color: var(--ds-bad); }
.ds-input, .ds-select, .ds-textarea{
  width:100%; padding: 11px 14px; font-family: inherit; font-size:.92rem;
  color: var(--text-primary); background: var(--bg-input, #1a1a2e);
  border: 1px solid var(--ds-line); border-radius: var(--ds-radius);
  transition: var(--ds-ease); outline: none;
}
.ds-input:focus,.ds-select:focus,.ds-textarea:focus{
  border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--ds-ring);
}
.ds-textarea{ min-height: 110px; resize: vertical; }
.ds-input::placeholder,.ds-textarea::placeholder{ color: var(--text-muted); }
.ds-input-icon{ position:relative; }
.ds-input-icon i{ position:absolute; inset-inline-start:14px; top:50%; transform:translateY(-50%); color: var(--text-muted); }
.ds-input-icon .ds-input{ padding-inline-start: 40px; }
.ds-hint{ font-size:.78rem; color: var(--text-muted); margin-top:5px; }
.ds-err{ font-size:.78rem; color: var(--ds-bad); margin-top:5px; }
.ds-search{ max-width: 360px; }

/* Switch */
.ds-switch{ position:relative; display:inline-block; width:44px; height:24px; }
.ds-switch input{ opacity:0; width:0; height:0; }
.ds-switch .track{ position:absolute; inset:0; background: var(--ds-line); border-radius:999px; transition:.25s; }
.ds-switch .track::before{ content:""; position:absolute; height:18px; width:18px; inset-inline-start:3px; top:3px; background:#fff; border-radius:50%; transition:.25s; }
.ds-switch input:checked + .track{ background: var(--accent-primary); }
.ds-switch input:checked + .track::before{ transform: translateX(-20px); }
html[dir="rtl"] .ds-switch input:checked + .track::before{ transform: translateX(-20px); }
html:not([dir="rtl"]) .ds-switch input:checked + .track::before{ transform: translateX(20px); }

/* ════════════════════════════════════════════════════════════════
   ALERTS / TOASTS
   ──────────────────────────────────────────────────────────────── */
.ds-alert{
  display:flex; align-items:flex-start; gap:12px;
  padding: 14px 16px; border-radius: var(--ds-radius);
  border:1px solid var(--ds-line); background: var(--ds-surface-1);
  font-size:.9rem; color: var(--text-secondary);
}
.ds-alert i{ font-size:1.1rem; margin-top:1px; }
.ds-alert .t{ font-weight:700; color: var(--text-primary); display:block; margin-bottom:2px; }
.ds-alert.ok  { border-color: rgba(16,185,129,.35); background: var(--ds-ok-bg); }
.ds-alert.ok i{ color: var(--ds-ok); }
.ds-alert.bad { border-color: rgba(239,68,68,.35); background: var(--ds-bad-bg); }
.ds-alert.bad i{ color: var(--ds-bad); }
.ds-alert.warn{ border-color: rgba(245,158,11,.35); background: var(--ds-warn-bg); }
.ds-alert.warn i{ color: var(--ds-warn); }
.ds-alert.info{ border-color: rgba(59,130,246,.35); background: var(--ds-new-bg); }
.ds-alert.info i{ color: var(--ds-new); }

.ds-toast-wrap{ position: fixed; inset-block-start: 20px; inset-inline-end: 20px; z-index: 9999; display:flex; flex-direction:column; gap:10px; max-width: 360px; }
.ds-toast{ display:flex; gap:10px; align-items:center; padding:13px 16px; border-radius: var(--ds-radius); background: var(--ds-surface-2); border:1px solid var(--ds-line); box-shadow: var(--shadow-lg); color: var(--text-primary); font-size:.9rem; animation: ds-toast-in .3s ease; }
.ds-toast.ok{ border-inline-start: 3px solid var(--ds-ok); }
.ds-toast.bad{ border-inline-start: 3px solid var(--ds-bad); }
.ds-toast.info{ border-inline-start: 3px solid var(--ds-new); }
@keyframes ds-toast-in{ from{ opacity:0; transform: translateY(-10px); } to{ opacity:1; transform:none; } }

/* ════════════════════════════════════════════════════════════════
   MODAL
   ──────────────────────────────────────────────────────────────── */
.ds-modal-overlay{
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,5,12,.72); backdrop-filter: blur(4px);
  display:none; align-items:center; justify-content:center; padding: 20px;
}
.ds-modal-overlay.open{ display:flex; animation: ds-fade .2s ease; }
@keyframes ds-fade{ from{opacity:0} to{opacity:1} }
.ds-modal{
  width:100%; max-width: 540px; max-height: 90vh; overflow:auto;
  background: var(--ds-surface-1); border:1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg); box-shadow: var(--shadow-lg);
  animation: ds-pop .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes ds-pop{ from{ opacity:0; transform: scale(.96) translateY(8px);} to{opacity:1;transform:none;} }
.ds-modal-head{ display:flex; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid var(--ds-line-soft); }
.ds-modal-head h3{ margin:0; font-size:1.05rem; font-weight:700; color: var(--text-primary); }
.ds-modal-close{ background:none; border:none; color: var(--text-muted); font-size:1.4rem; cursor:pointer; line-height:1; transition: color .2s; }
.ds-modal-close:hover{ color: var(--text-primary); }
.ds-modal-body{ padding: 22px; }
.ds-modal-foot{ display:flex; justify-content:flex-end; gap:10px; padding: 16px 22px; border-top:1px solid var(--ds-line-soft); }

/* ════════════════════════════════════════════════════════════════
   ACTIVITY FEED
   ──────────────────────────────────────────────────────────────── */
.ds-feed{ list-style:none; margin:0; padding:0; }
.ds-feed li{ position:relative; display:flex; gap:13px; padding: 12px 0; border-bottom:1px solid var(--ds-line-soft); }
.ds-feed li:last-child{ border-bottom:none; }
.ds-feed .fi{ width:34px; height:34px; flex:0 0 34px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:.95rem; background: var(--ds-surface-3); color: var(--accent-secondary); }
.ds-feed .ft{ font-size:.88rem; color: var(--text-primary); }
.ds-feed .fm{ font-size:.78rem; color: var(--text-muted); margin-top:2px; }

/* ════════════════════════════════════════════════════════════════
   AVATARS / PROGRESS / MISC
   ──────────────────────────────────────────────────────────────── */
.ds-avatar{ width:38px; height:38px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem; color:#fff; background: var(--accent-gradient); flex:0 0 auto; overflow:hidden; }
.ds-avatar img{ width:100%; height:100%; object-fit:cover; }
.ds-avatar.sm{ width:30px;height:30px;font-size:.72rem; }
.ds-avatar.lg{ width:52px;height:52px;font-size:1.05rem; }

.ds-progress{ width:100%; height:8px; border-radius:999px; background: var(--ds-line); overflow:hidden; }
.ds-progress > span{ display:block; height:100%; border-radius:999px; background: var(--accent-gradient); transition: width .6s ease; }
.ds-progress.ok > span{ background: linear-gradient(90deg,#10b981,#34d399); }
.ds-progress.warn > span{ background: linear-gradient(90deg,#f59e0b,#fbbf24); }

.ds-meta{ font-size:.8rem; color: var(--text-muted); }
.ds-sep{ height:1px; background: var(--ds-line-soft); margin: 16px 0; border:none; }

/* Section title */
.ds-page-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom: 22px; }
.ds-page-head h1{ font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin:0; letter-spacing:-.5px; }
.ds-page-head .crumb{ font-size:.82rem; color: var(--text-muted); margin-top:3px; }

/* Empty state */
.ds-empty{ text-align:center; padding: 44px 20px; color: var(--text-muted); }
.ds-empty i{ font-size: 2.4rem; opacity:.5; display:block; margin-bottom: 12px; }
.ds-empty .t{ color: var(--text-secondary); font-weight:600; }

/* Tabs */
.ds-tabs{ display:flex; gap:4px; border-bottom:1px solid var(--ds-line); margin-bottom: 20px; flex-wrap:wrap; }
.ds-tab{ padding: 10px 16px; font-size:.88rem; font-weight:600; color: var(--text-muted); cursor:pointer; border:none; background:none; border-bottom:2px solid transparent; transition: var(--ds-ease); }
.ds-tab:hover{ color: var(--text-secondary); }
.ds-tab.active{ color: var(--accent-secondary); border-bottom-color: var(--accent-primary); }

/* Chart container keeps Chart.js responsive height sane */
.ds-chart{ position: relative; width: 100%; }
.ds-chart canvas{ max-height: 300px; }

/* Skeleton shimmer */
.ds-skel{ background: linear-gradient(90deg, var(--ds-surface-2) 25%, var(--ds-surface-3) 37%, var(--ds-surface-2) 63%); background-size: 400% 100%; animation: ds-shimmer 1.4s ease infinite; border-radius: 8px; }
@keyframes ds-shimmer{ 0%{ background-position: 100% 0; } 100%{ background-position: -100% 0; } }

/* ════════════════════════════════════════════════════════════════
   CLIENTS — premium logo marquee (Phase 3 UI/UX) · two opposite rows
   ──────────────────────────────────────────────────────────────── */
.clients-section{ padding: 56px 0; overflow: hidden; }
.clients-section .section-subtitle{ max-width: 620px; margin-inline: auto; }
.clients-marquee{
  position: relative; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track{ display: flex; width: max-content; gap: 16px; padding-inline: 8px; will-change: transform; }
.clients-track.dir-rtl{ animation: vala-marq-a 48s linear infinite; }
.clients-track.dir-ltr{ animation: vala-marq-b 48s linear infinite; }
.clients-marquee:hover .clients-track{ animation-play-state: paused; }
.client-chip{
  display: flex; align-items: center; gap: 13px; flex-shrink: 0;
  padding: 13px 20px 13px 16px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border: 1px solid var(--border, #2a2a3e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 6px 18px rgba(0,0,0,.22);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.client-chip:hover{ transform: translateY(-3px); border-color: rgba(124,58,237,.45); box-shadow: 0 12px 28px rgba(124,58,237,.18); }
.client-chip .cc-mark{
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem; color: #fff; flex-shrink: 0;
  background: var(--c, #7c3aed);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 12px rgba(0,0,0,.30);
}
.client-chip .cc-info{ display: flex; flex-direction: column; gap: 2px; }
.client-chip .cc-name{ font-weight: 700; font-size: 1rem; color: var(--text-primary, #e8e8f0); white-space: nowrap; line-height: 1.15; }
.client-chip .cc-sub{ font-size: .72rem; color: var(--text-muted, #606078); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.client-chip .cc-sub i{ font-size: .82em; color: var(--accent-secondary, #a78bfa); }
@keyframes vala-marq-a{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@keyframes vala-marq-b{ from{ transform: translateX(-50%); } to{ transform: translateX(0); } }
@media (max-width: 640px){
  .client-chip{ padding: 10px 16px 10px 13px; gap: 10px; }
  .client-chip .cc-mark{ width: 36px; height: 36px; font-size: .98rem; border-radius: 10px; }
  .client-chip .cc-name{ font-size: .92rem; }
  .client-chip .cc-sub{ font-size: .68rem; }
  .clients-track.dir-rtl, .clients-track.dir-ltr{ animation-duration: 34s; }
}
/* clients marquee keeps a gentle scroll for showcase (intentional) */

/* ════════════════════════════════════════════════════════════
   Admin top bar + notification bell/panel (RTL dashboard)
   ════════════════════════════════════════════════════════════ */
.dash-topbar{
  position: fixed; top: 0; inset-inline: 0; z-index: 1050;
  height: var(--nav-height, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(13,13,21,.98), rgba(18,18,34,.96));
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.dash-topbar-brand{
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: #eef2fb; text-decoration: none; font-size: 1rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-topbar-logo{ width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.dash-topbar-actions{ display: flex; align-items: center; gap: 14px; }
.dash-topbar-link{
  display: inline-flex; align-items: center; gap: 6px;
  color: #b9c0d6; text-decoration: none; font-size: .85rem; font-weight: 600;
  padding: 8px 10px; border-radius: 10px; transition: background .2s, color .2s;
}
.dash-topbar-link:hover{ background: rgba(255,255,255,.05); color: #fff; }
.dash-topbar-link-text{ display: inline; }
@media (max-width: 640px){ .dash-topbar-link-text{ display: none; } }

/* Notification bell + badge */
.dash-topbar-notif{ position: relative; }
.dash-topbar-bell{
  position: relative; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04);
  color: #e3b341; font-size: 1.15rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.dash-topbar-bell:hover{ background: rgba(255,255,255,.08); }
.dash-topbar-bell.ring{ animation: vala-bell-ring 1s ease; }
@keyframes vala-bell-ring{
  0%,100%{ transform: rotate(0); } 20%{ transform: rotate(-12deg); }
  40%{ transform: rotate(10deg); } 60%{ transform: rotate(-7deg); } 80%{ transform: rotate(5deg); }
}
.dash-notif-badge{
  position: absolute; top: -5px; inset-inline-end: -5px; min-width: 19px; height: 19px;
  padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff;
  font-size: .68rem; font-weight: 800; line-height: 19px; text-align: center;
  border: 2px solid #12121f; box-shadow: 0 2px 8px rgba(239,68,68,.5);
}
.dash-notif-badge.pulse{ animation: vala-notif-pulse 1.6s ease-out; }
@keyframes vala-notif-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.7), 0 2px 8px rgba(239,68,68,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(239,68,68,0), 0 2px 8px rgba(239,68,68,.5); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0), 0 2px 8px rgba(239,68,68,.5); }
}

/* Notification dropdown panel (anchored by JS under the bell) */
.dash-notif-panel{
  position: fixed; z-index: 1200; width: min(380px, calc(100vw - 24px));
  background: #161a2b; border: 1px solid rgba(255,255,255,.10); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.5); overflow: hidden;
  display: none; flex-direction: column; max-height: 70vh;
}
.dash-notif-panel.open{ display: flex; }
.dash-notif-head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: #eef2fb;
}
.dash-notif-markall{ color: var(--accent-secondary, #a78bfa); font-size: .8rem; text-decoration: none; font-weight: 600; }
.dash-notif-list{ overflow-y: auto; padding: 6px; }
.dash-notif-list .notif-empty{
  text-align: center; color: #7e89a6; padding: 36px 12px; font-size: .9rem;
}
.dash-notif-list .notif-empty i{ display: block; font-size: 1.8rem; margin-bottom: 8px; opacity: .6; }
.notif-item{
  display: flex; gap: 12px; padding: 11px 12px; border-radius: 10px;
  text-decoration: none; color: #d6dbeb; transition: background .15s;
  border-inline-start: 3px solid transparent;
}
.notif-item:hover{ background: rgba(255,255,255,.05); }
.notif-item.unread{ background: rgba(124,58,237,.10); border-inline-start-color: var(--accent-secondary, #a78bfa); }
.notif-ico{
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); color: #e3b341; font-size: 1rem;
}
.notif-body{ min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.notif-title{ font-size: .86rem; font-weight: 700; color: #eef2fb; line-height: 1.3; }
.notif-sub{ font-size: .76rem; color: #9aa3bd; display: flex; flex-direction: column; gap: 2px; }
.notif-time{ font-size: .7rem; color: #6b7390; }

/* Top-bar user chip */
.dash-topbar-user{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
}
.dash-topbar-user-name{ font-size: .82rem; font-weight: 700; color: #eef2fb; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-topbar-user-avatar{
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#1e2a4a,#0f1830); border: 1px solid rgba(227,179,65,.35);
  color: #e3b341; font-size: .95rem;
}
@media (max-width: 640px){ .dash-topbar-user-name{ display: none; } }

/* ════════════════════════════════════════════════════════════
   Auth pages polish (login / OTP verify / forgot / reset)
   Consistent RTL look, responsive, no overlap.
   ════════════════════════════════════════════════════════════ */
.auth-page{
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 28px 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(227,179,65,.10), transparent 30rem),
    radial-gradient(circle at 0 100%, rgba(124,58,237,.10), transparent 30rem),
    var(--bg-primary, #0d0d14);
}
.auth-box{
  width: 100%; max-width: 420px;
  background: linear-gradient(180deg, rgba(22,22,40,.98), rgba(13,13,21,.98));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 36px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.auth-box h2{ text-align: center; margin: 0 0 8px; font-size: 1.5rem; color: #eef2fb; }
.auth-box .auth-subtitle{ text-align: center; color: #9aa3bd; margin-bottom: 24px; font-size: .9rem; line-height: 1.7; }
.auth-box .auth-logo{ font-weight: 800; color: #eef2fb; font-size: 1.1rem; text-decoration: none; }
.auth-box .form-group{ margin-bottom: 18px; }
.auth-box label{ display: block; margin-bottom: 7px; font-weight: 600; font-size: .86rem; color: #c9cfe2; }
.auth-box .form-control{
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: #eef2fb; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.auth-box .form-control:focus{
  outline: none; border-color: var(--accent-secondary, #a78bfa);
  box-shadow: 0 0 0 3px rgba(124,58,237,.18);
}
.auth-box .btn-block{ width: 100%; padding: 13px; font-size: 1rem; font-weight: 700; border-radius: 10px; }
.auth-box .auth-link{ text-align: center; margin-top: 18px; font-size: .88rem; color: #9aa3bd; }
.auth-box .auth-link a{ color: var(--accent-secondary, #a78bfa); font-weight: 700; text-decoration: none; }
.auth-box .auth-divider{
  display: flex; align-items: center; gap: 12px; margin: 20px 0 6px;
  color: #5b6280; font-size: .76rem;
}
.auth-box .auth-divider::before, .auth-box .auth-divider::after{
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.08);
}
.auth-box .auth-success{
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(34,197,94,.10); border: 1px solid rgba(34,197,94,.25);
  color: #bbf7d0; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: .9rem; line-height: 1.7;
}
.auth-box .auth-success i{ color: #4ade80; font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.auth-box .auth-security-note{
  margin-top: 18px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  color: #8b93ab; font-size: .76rem; line-height: 1.7; display: flex; gap: 8px; align-items: flex-start;
}
.auth-box .auth-security-note i{ color: #e3b341; flex-shrink: 0; margin-top: 2px; }
.auth-box .auth-inline-btn{
  background: none; border: none; color: var(--accent-secondary, #a78bfa);
  font-weight: 700; cursor: pointer; padding: 0; font-size: inherit; text-decoration: underline;
}
.auth-otp-icon{
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#1e2a4a,#0f1830); border: 1px solid rgba(227,179,65,.35);
  color: #e3b341; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.auth-box .otp-input{ letter-spacing: 8px; font-size: 1.4rem; }
@media (max-width: 480px){
  .auth-box{ padding: 28px 20px; }
  .auth-box h2{ font-size: 1.35rem; }
}

/* ═══ Roles & permissions cards ═══ */
.roles-role-card{ margin-bottom:18px; border:1px solid var(--border,rgba(255,255,255,.08)); border-radius:14px; padding:18px; }
.roles-role-head{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
.roles-role-title{ display:flex; align-items:center; gap:12px; flex:1; min-width:200px; }
.roles-role-icon{
  width:44px; height:44px; border-radius:12px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#1e2a4a,#0f1830); border:1px solid rgba(227,179,65,.30); color:#e3b341; font-size:1.2rem;
}
.roles-role-title strong{ font-size:1.08rem; display:block; }
.roles-role-meta{ display:flex; align-items:center; gap:8px; margin-top:4px; flex-wrap:wrap; }
.roles-role-stats{ display:flex; gap:14px; flex-wrap:wrap; }
.roles-stat{ display:inline-flex; align-items:center; gap:6px; font-size:.82rem; color:var(--text-secondary,#9aa3bd); background:rgba(255,255,255,.04); padding:6px 12px; border-radius:999px; }
.roles-stat i{ color:#e3b341; }
.roles-super-note{ margin:0; }
.roles-perms-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px; }
.roles-perm-group{
  background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.06); border-radius:12px; padding:12px 14px;
}
.roles-perm-group-title{ font-weight:700; font-size:.86rem; margin-bottom:10px; color:#e3b341; padding-bottom:8px; border-bottom:1px solid rgba(255,255,255,.06); }
.roles-perm-item{ display:flex; align-items:center; gap:8px; margin-bottom:7px; font-size:.85rem; cursor:pointer; color:var(--text-secondary,#c9cfe2); }
.roles-perm-item:hover{ color:var(--text-primary,#fff); }
.roles-perm-item input{ width:16px; height:16px; accent-color:#7c3aed; }
.roles-save-row{ margin-top:14px; }

/* ═══ Modal hint (invite/employee) ═══ */
.modal-hint{
  display:flex; gap:8px; align-items:flex-start; margin:14px 0; padding:12px 14px; border-radius:10px;
  background:rgba(124,58,237,.08); border:1px solid rgba(124,58,237,.20); color:#cdb6ff; font-size:.82rem; line-height:1.7;
}
.modal-hint i{ color:#a78bfa; flex-shrink:0; margin-top:2px; }

/* ════════════════════════════════════════════════════════════════
   CRM PIPELINE BOARD (kanban) — old Express admin
   RTL-first. Columns scroll horizontally; cards stack vertically.
   ════════════════════════════════════════════════════════════════ */
.crm-main{ min-width:0; }
.crm-toolbar{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.crm-search{ flex:1 1 280px; min-width:200px; }
.crm-hint{ display:inline-flex; align-items:center; gap:6px; font-size:.78rem; color:var(--text-muted,#8a93a8); margin-inline-start:auto; }

.crm-board{
  display:flex; gap:14px; align-items:flex-start; overflow-x:auto; overflow-y:hidden;
  padding:4px 4px 18px; min-height:420px;
  scrollbar-width:thin; scrollbar-color:var(--ds-line) transparent;
}
.crm-board::-webkit-scrollbar{ height:8px; }
.crm-board::-webkit-scrollbar-thumb{ background:var(--ds-line); border-radius:8px; }

.crm-col{
  flex:0 0 308px; display:flex; flex-direction:column; gap:10px;
  background:var(--ds-surface-1); border:1px solid var(--ds-line);
  border-radius:var(--ds-radius); padding:12px; min-height:120px;
}
.crm-col-head{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  padding-bottom:10px; border-bottom:1px solid var(--ds-line-soft);
}
.crm-dot{ width:10px; height:10px; border-radius:50%; flex-shrink:0; box-shadow:0 0 0 3px rgba(255,255,255,.04); }
.crm-col-name{ font-weight:700; font-size:.92rem; color:var(--text-primary,#fff); }
.crm-col-count{
  display:inline-flex; align-items:center; justify-content:center; min-width:22px; height:22px; padding:0 6px;
  border-radius:11px; background:rgba(255,255,255,.08); font-size:.74rem; font-weight:700; color:var(--text-secondary,#cfd5e6);
}
.crm-col-closed{ color:var(--ds-ok); font-size:.85rem; }
.crm-col-sum{
  margin-inline-start:auto; font-size:.72rem; color:var(--text-muted,#8a93a8); font-weight:600;
  background:var(--ds-line-soft); padding:2px 8px; border-radius:8px;
}

.crm-cards{
  display:flex; flex-direction:column; gap:10px; min-height:60px; padding:2px;
  max-height:calc(100vh - 340px); overflow-y:auto; scrollbar-width:thin;
}
.crm-cards::-webkit-scrollbar{ width:6px; }
.crm-cards::-webkit-scrollbar-thumb{ background:var(--ds-line); border-radius:6px; }

.crm-empty{
  display:flex; flex-direction:column; align-items:center; gap:6px; padding:26px 10px;
  color:var(--text-muted,#6b7488); font-size:.8rem; text-align:center; border:1px dashed var(--ds-line); border-radius:10px;
}
.crm-empty i{ font-size:1.4rem; opacity:.6; }

.crm-card{
  background:var(--ds-surface-2); border:1px solid var(--ds-line); border-radius:10px; padding:11px 12px;
  cursor:pointer; transition:var(--ds-ease); user-select:none;
  display:flex; flex-direction:column; gap:7px;
}
.crm-card:hover{ border-color:var(--ds-ring); transform:translateY(-1px); box-shadow:0 6px 18px rgba(0,0,0,.28); }
.crm-card[data-hidden="1"]{ display:none; }
.crm-card.dragging,
.crm-card.crm-dragging{ opacity:.55; box-shadow:0 10px 26px rgba(124,58,237,.35); }
.crm-card.crm-ghost{ opacity:.3; border-style:dashed; }
.crm-card.crm-chosen{ cursor:grabbing; }

.crm-card-top{ display:flex; align-items:center; justify-content:space-between; }
.crm-tn{ font-size:.74rem; font-weight:700; color:var(--accent-secondary,#a78bfa); direction:ltr; letter-spacing:.3px; }
.crm-wa{
  display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:7px;
  color:#25d366; background:rgba(37,211,102,.1); transition:var(--ds-ease);
}
.crm-wa:hover{ background:rgba(37,211,102,.2); transform:scale(1.06); }
.crm-card-name{ font-weight:700; font-size:.92rem; color:var(--text-primary,#fff); line-height:1.4; }
.crm-card-sub{ display:flex; align-items:center; gap:6px; font-size:.76rem; color:var(--text-muted,#9aa3b6); }
.crm-card-meta{ display:flex; gap:6px; flex-wrap:wrap; }
.crm-chip{
  display:inline-flex; align-items:center; gap:4px; font-size:.7rem; padding:2px 8px; border-radius:7px;
  background:rgba(124,58,237,.1); color:#cdb6ff; border:1px solid rgba(124,58,237,.18);
}
.crm-card-foot{ display:flex; align-items:center; justify-content:space-between; padding-top:6px; border-top:1px solid var(--ds-line-soft); }
.crm-budget{ font-weight:700; font-size:.82rem; color:var(--ds-ok,#10b981); }
.crm-budget.muted{ color:var(--text-muted,#6b7488); font-weight:400; }
.crm-date{ font-size:.7rem; color:var(--text-muted,#8a93a8); }

/* ── Card detail drawer ── */
.crm-drawer{
  position:fixed; inset-block:0; inset-inline-end:0; width:min(380px,92vw); transform:translateX(110%);
  background:var(--ds-surface-1); border-inline-start:1px solid var(--ds-line); box-shadow:-10px 0 40px rgba(0,0,0,.4);
  display:flex; flex-direction:column; z-index:1050; transition:transform .28s cubic-bezier(.4,0,.2,1);
}
/* RTL: drawer slides in from the visual left (logical inline-end). */
[dir="rtl"] .crm-drawer{ transform:translateX(-110%); }
.crm-drawer.open{ transform:translateX(0) !important; }
.crm-drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid var(--ds-line); }
.crm-drawer-close{ background:none; border:none; color:var(--text-muted); font-size:1.05rem; cursor:pointer; padding:4px; border-radius:6px; }
.crm-drawer-close:hover{ color:var(--text-primary); background:var(--ds-line-soft); }
.crm-drawer-body{ flex:1; overflow-y:auto; padding:14px 18px; display:flex; flex-direction:column; gap:6px; }
.crm-d-row{ display:flex; gap:12px; padding:11px 0; border-bottom:1px solid var(--ds-line-soft); }
.crm-d-row > i{ color:var(--accent-secondary,#a78bfa); font-size:1rem; margin-top:2px; }
.crm-d-k{ font-size:.72rem; color:var(--text-muted,#8a93a8); margin-bottom:2px; }
.crm-d-v{ font-size:.9rem; color:var(--text-primary,#e8e8f0); word-break:break-word; }
.crm-d-row.crm-d-tn .crm-d-v{ color:var(--accent-secondary,#a78bfa); font-weight:700; direction:ltr; letter-spacing:.4px; }
.crm-drawer-foot{ padding:14px 18px; border-top:1px solid var(--ds-line); }

/* ── Stage manager ── */
.crm-stage-list{ display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.crm-stage-row{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:8px; border:1px solid var(--ds-line); border-radius:9px; background:var(--ds-surface-2); }
.crm-stage-label{ flex:1 1 120px; min-width:100px; }
.crm-stage-color{ width:90px; }
.crm-stage-order{ width:64px; text-align:center; }
.crm-stage-closed{ display:inline-flex; align-items:center; gap:4px; font-size:.76rem; color:var(--text-muted); }
.crm-stage-add{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; padding-top:10px; border-top:1px solid var(--ds-line-soft); }
.crm-stage-add .ds-input{ flex:1 1 140px; }
.crm-stage-note{ display:flex; gap:8px; align-items:flex-start; font-size:.76rem; color:var(--text-muted); margin-top:12px; line-height:1.7; }
.crm-stage-note i{ color:var(--accent-secondary,#a78bfa); margin-top:2px; }

/* ── Toast ── */
.crm-toast{
  position:fixed; inset-block-end:24px; inset-inline-start:50%; transform:translateX(-50%);
  background:var(--ds-surface-3); color:#fff; padding:12px 22px; border-radius:10px; font-size:.86rem; font-weight:600;
  box-shadow:0 12px 32px rgba(0,0,0,.45); z-index:1100; opacity:0; pointer-events:none; transition:opacity .2s, transform .2s;
  border:1px solid var(--ds-line);
}
.crm-toast.show{ opacity:1; }
.crm-toast.ok{ border-color:var(--ds-ok); color:#6ee7b7; }
.crm-toast.bad{ border-color:var(--ds-bad); color:#fca5a5; }
.crm-toast.warn{ border-color:var(--ds-warn); color:#fcd34d; }

/* ── Mobile: collapse columns to a vertical stack ── */
@media (max-width:720px){
  .crm-col{ flex:1 1 100%; }
  .crm-board{ flex-direction:column; overflow-x:visible; }
  .crm-hint{ display:none; }
}

/* ════════════════════════════════════════════════════════════════
   UNIFIED PROJECT VIEW — admin/project-view
   Tabbed workspace: overview · tasks (kanban) · files · chat · activity
   ════════════════════════════════════════════════════════════════ */
.pv-main{ min-width:0; }
.pv-tab-count{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:18px; height:18px; padding:0 5px; margin-inline-start:4px;
  border-radius:9px; background:rgba(255,255,255,.10); font-size:.68rem; font-weight:700;
}

/* Overview info cards */
.pv-info{ display:flex; flex-direction:column; gap:12px; }
.pv-info > div{ display:flex; gap:10px; align-items:baseline; }
.pv-info-k{ font-size:.78rem; color:var(--text-muted,#8a93a8); min-width:70px; flex-shrink:0; }
.pv-info-v{ color:var(--text-primary,#e8e8f0); word-break:break-word; }
.pv-desc{ white-space:pre-wrap; color:var(--text-secondary,#cfd5e6); line-height:1.8; }
.pv-stat{ text-align:center; padding:8px 4px; }
.pv-stat-val{ font-size:1.6rem; font-weight:800; }
.pv-stat-lbl{ font-size:.78rem; color:var(--text-muted,#8a93a8); }

/* Task kanban columns */
.pv-board{ display:flex; gap:14px; align-items:flex-start; overflow-x:auto; padding-bottom:8px; }
.pv-col{ flex:1 1 280px; min-width:260px; background:var(--ds-surface-1); border:1px solid var(--ds-line); border-radius:var(--ds-radius); padding:10px; }
.pv-col-head{ display:flex; align-items:center; justify-content:space-between; padding:0 2px 10px; border-bottom:1px solid var(--ds-line-soft); margin-bottom:10px; }
.pv-col-count{ font-size:.8rem; font-weight:700; color:var(--text-muted,#8a93a8); }
.pv-cards{ display:flex; flex-direction:column; gap:10px; }
.pv-empty{ text-align:center; color:var(--text-muted,#6b7488); font-size:.85rem; padding:24px 8px; border:1px dashed var(--ds-line); border-radius:10px; }

/* Task card */
.pv-task{
  background:var(--ds-surface-2); border:1px solid var(--ds-line); border-radius:10px; padding:11px 12px;
  display:flex; flex-direction:column; gap:8px; transition:var(--ds-ease);
}
.pv-task:hover{ border-color:var(--ds-ring); }
.pv-task-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.pv-task-title{ font-weight:700; font-size:.9rem; color:var(--text-primary,#fff); line-height:1.4; flex:1; }
.pv-task-sel{ padding:3px 6px; font-size:.74rem; border-radius:6px; background:var(--ds-surface-3); border:1px solid var(--ds-line); color:var(--text-secondary); }
.pv-task-desc{ font-size:.8rem; color:var(--text-muted,#9aa3b6); line-height:1.5; }
.pv-task-foot{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding-top:6px; border-top:1px solid var(--ds-line-soft); }
.pv-task-assignee{ display:flex; align-items:center; gap:6px; font-size:.78rem; color:var(--text-secondary); }
.pv-pri{ font-size:.68rem; padding:1px 7px; border-radius:7px; font-weight:600; }
.pv-pri-urgent{ background:var(--ds-bad-bg); color:#fca5a5; }
.pv-pri-high{ background:var(--ds-warn-bg); color:#fcd34d; }
.pv-pri-low{ background:var(--ds-muted-bg); color:#94a3b8; }
.pv-due{ font-size:.72rem; color:var(--text-muted,#8a93a8); display:inline-flex; align-items:center; gap:3px; }
.pv-task-actions{ display:flex; gap:4px; }

/* Avatars */
.pv-avatar{ width:24px; height:24px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.pv-avatar-init{
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--accent-primary,#7c3aed),var(--accent-secondary,#a78bfa));
  color:#fff; font-size:.72rem; font-weight:700;
}

/* Comment box + chat */
.pv-comment-form{ display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.pv-comment-form .btn{ align-self:flex-start; }
.pv-chat{ display:flex; flex-direction:column; gap:14px; }
.pv-msg{ display:flex; gap:10px; }
.pv-msg-body{ flex:1; background:var(--ds-surface-2); border:1px solid var(--ds-line-soft); border-radius:0 10px 10px 10px; padding:10px 12px; }
.pv-msg-head{ display:flex; align-items:baseline; gap:8px; margin-bottom:4px; }
.pv-msg-time{ font-size:.72rem; color:var(--text-muted,#8a93a8); }
.pv-msg-text{ color:var(--text-secondary,#cfd5e6); line-height:1.6; white-space:pre-wrap; word-break:break-word; }

/* Mobile: stack task columns */
@media (max-width:768px){
  .pv-board{ flex-direction:column; }
  .pv-col{ flex:1 1 100%; }
}

/* ════════════════════════════════════════════════════════════════
   TASK DETAIL PAGE — admin/task-detail
   Two-column: details sidebar + main (conversation / files)
   ════════════════════════════════════════════════════════════════ */
.td-main{ min-width:0; }
.td-layout{ display:flex; gap:18px; align-items:flex-start; }
.td-aside{ flex:0 0 300px; display:flex; flex-direction:column; gap:14px; }
.td-content{ flex:1 1 0; min-width:0; }

/* Conversation column — scrollable chat history */
.td-chat{ max-height:calc(100vh - 320px); overflow-y:auto; padding-inline-end:6px; scrollbar-width:thin; }
.td-chat::-webkit-scrollbar{ width:6px; }
.td-chat::-webkit-scrollbar-thumb{ background:var(--ds-line); border-radius:6px; }

/* Make the task title look like a clickable link on the project board */
.pv-task-title:hover{ color:var(--accent-secondary,#a78bfa) !important; }

/* Mobile: stack the layout vertically */
@media (max-width:880px){
  .td-layout{ flex-direction:column; }
  .td-aside{ flex:1 1 100%; }
}



/* ════════════════════════════════════════════════════════════════
   ADMIN UX LAYER (v3.1) — toasts, micro-interactions, inline actions
   Additive only; nothing above is overridden destructively.
   ──────────────────────────────────────────────────────────────── */

/* Toasts */
#admToasts{ position:fixed; bottom:22px; inset-inline-start:22px; z-index:3000;
  display:flex; flex-direction:column; gap:10px; pointer-events:none; }
.adm-toast{ display:flex; align-items:center; gap:10px; padding:11px 16px; border-radius:12px;
  font-size:.88rem; font-weight:600; color:#eef2fb; background:var(--ds-surface-2);
  border:1px solid var(--ds-line); box-shadow:0 8px 30px rgba(0,0,0,.45);
  opacity:0; transform:translateY(12px); transition:opacity .25s ease, transform .25s ease; }
.adm-toast.in{ opacity:1; transform:none; }
.adm-toast.ok i{ color:var(--ds-ok); }
.adm-toast.error{ border-color:rgba(239,68,68,.4); }
.adm-toast.error i{ color:var(--ds-bad); }

/* Button loading state (double-submit guard) */
.btn.is-loading{ position:relative; pointer-events:none; opacity:.75; }
.btn.is-loading::after{ content:""; width:14px; height:14px; border-radius:50%;
  border:2px solid currentColor; border-top-color:transparent; display:inline-block;
  margin-inline-start:8px; vertical-align:-2px; animation:admSpin .7s linear infinite; }
@keyframes admSpin{ to{ transform:rotate(360deg); } }

/* Table rows: subtle hover + smooth transitions */
.dash-table tbody tr, .ds-table tbody tr{ transition:background .15s ease; }
.dash-table tbody tr:hover, .ds-table tbody tr:hover{ background:rgba(255,255,255,.03); }

/* KPI / cards: gentle lift on hover (only clickable ones) */
.ds-kpi[onclick]{ transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ds-kpi[onclick]:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(0,0,0,.35); border-color:var(--ds-ring); }

/* Page content fade-in (very light, respects reduced motion) */
.dash-main{ animation:admFadeIn .25s ease; }
@media (prefers-reduced-motion: reduce){
  .dash-main{ animation:none; }
  .adm-toast{ transition:none; }
}
@keyframes admFadeIn{ from{ opacity:0; transform:translateY(4px); } to{ opacity:1; transform:none; } }

/* Inline status select — looks like a badge, acts like a control */
.adm-status-select{ appearance:none; -webkit-appearance:none; cursor:pointer;
  border:1px solid transparent; border-radius:999px; padding:4px 26px 4px 12px;
  font-size:.78rem; font-weight:700; line-height:1.4; font-family:inherit;
  background-color:var(--ds-muted-bg); color:var(--ds-muted);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='%2394a3b8'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 8px center;
  transition:border-color .15s ease, box-shadow .15s ease; max-width:150px; }
[dir="rtl"] .adm-status-select{ padding:4px 12px 4px 26px; background-position:left 8px center; }
.adm-status-select:hover{ border-color:var(--ds-line); }
.adm-status-select:focus{ outline:none; border-color:var(--ds-ring); box-shadow:0 0 0 3px rgba(124,58,237,.15); }
.adm-status-select.new{ color:var(--ds-new); background-color:var(--ds-new-bg); }
.adm-status-select.progress{ color:var(--ds-progress); background-color:var(--ds-progress-bg); }
.adm-status-select.warn{ color:var(--ds-warn); background-color:var(--ds-warn-bg); }
.adm-status-select.ok{ color:var(--ds-ok); background-color:var(--ds-ok-bg); }
.adm-status-select.bad{ color:var(--ds-bad); background-color:var(--ds-bad-bg); }
.adm-status-select option{ background:var(--ds-surface-2); color:#eef2fb; font-weight:600; }

/* Filter chips (client-side quick filters) */
.adm-chips{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.adm-chip{ border:1px solid var(--ds-line); background:transparent; color:var(--text-secondary,#94a3b8);
  border-radius:999px; padding:6px 14px; font-size:.82rem; font-weight:600; cursor:pointer;
  transition:all .15s ease; font-family:inherit; }
.adm-chip:hover{ border-color:var(--ds-ring); color:var(--text-primary,#eef2fb); }
.adm-chip.active{ background:var(--accent-gradient,linear-gradient(135deg,#7c3aed,#3b82f6)); color:#fff; border-color:transparent; }
.adm-chip .n{ opacity:.75; font-size:.9em; }

/* Focus ring consistency for keyboard nav */
.dash-main a:focus-visible, .dash-main button:focus-visible,
.dash-main input:focus-visible, .dash-main select:focus-visible{
  outline:2px solid var(--ds-ring); outline-offset:2px; border-radius:6px; }

/* Sidebar: collapsible sections */
.dash-sidebar .dash-section-label[data-sec]{ cursor:pointer; user-select:none;
  display:flex; align-items:center; justify-content:space-between; transition:color .15s ease; }
.dash-sidebar .dash-section-label[data-sec]:hover{ color:var(--text-primary,#eef2fb); }
.dash-sidebar .dash-section-label[data-sec]::after{ content:"\F282"; font-family:"bootstrap-icons";
  font-size:.68rem; opacity:.5; transition:transform .2s ease; }
.dash-sidebar .dash-section-label.sec-collapsed::after{ transform:rotate(-90deg); }
.dash-sec-hidden{ display:none !important; }

/* vala-premium.css */
/* ════════════════════════════════════════════════════════════════════════
   VALA AGENCY — PREMIUM LAYER (Landing V2)
   World-class SaaS/agency polish. Loads AFTER style.css + vala-design-system.
   Dark, RTL-first, performance-minded (CSS/SVG visuals, no heavy WebGL).
   ════════════════════════════════════════════════════════════════════════ */
:root{
  --px-bg:        #07070c;
  --px-bg-soft:   #0c0c14;
  --px-panel:     #111120;
  --px-panel-2:   #15152a;
  --px-line:      rgba(255,255,255,.08);
  --px-line-soft: rgba(255,255,255,.05);
  --px-violet:    #7c3aed;
  --px-violet-2:  #a78bfa;
  --px-indigo:    #4f46e5;
  --px-cyan:      #22d3ee;
  --px-text:      #f4f4fb;
  --px-mut:       #a3a3c2;
  --px-dim:       #6f6f8c;
  --px-grad:      linear-gradient(120deg,#a78bfa 0%,#7c3aed 45%,#4f46e5 100%);
  --px-grad-soft: linear-gradient(120deg,rgba(167,139,250,.16),rgba(79,70,229,.08));
  --px-glow:      0 0 0 1px rgba(124,58,237,.18), 0 18px 60px -12px rgba(124,58,237,.45);
  --px-shadow:    0 20px 60px -20px rgba(0,0,0,.7);
  --px-shadow-sm: 0 8px 28px -12px rgba(0,0,0,.6);
  --px-r:         18px;
  --px-r-lg:      26px;
  --px-ease:      cubic-bezier(.22,.61,.36,1);
}

/* ── Premium section rhythm + headers ─────────────────────────────────── */
.px-section{ padding: 120px 0; position: relative; }
.px-section.tight{ padding: 80px 0; }
@media (max-width:760px){ .px-section{ padding: 72px 0; } .px-section.tight{ padding:52px 0; } }
.px-head{ max-width: 720px; margin: 0 auto 64px; text-align: center; }
.px-head.start{ text-align: start; margin-inline: 0; }
.px-eyebrow{
  display:inline-flex; align-items:center; gap:8px; padding:7px 15px; border-radius:999px;
  font-size:.78rem; font-weight:700; letter-spacing:.02em; color:var(--px-violet-2);
  background: var(--px-grad-soft); border:1px solid rgba(124,58,237,.25); margin-bottom:18px;
}
.px-eyebrow i{ font-size:.9em; }
.px-h2{ font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.9rem); font-weight:800; line-height:1.15; letter-spacing:-.02em; color:var(--px-text); margin:0 0 14px; }
.px-sub{ font-size: clamp(1rem,.95rem + .3vw,1.15rem); color:var(--px-mut); line-height:1.7; margin:0; }
.px-grad-text{ background:var(--px-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }

/* ── Premium buttons ──────────────────────────────────────────────────── */
.btn.btn-xl{ padding:16px 30px; font-size:1.02rem; border-radius:14px; font-weight:700; }
.btn-px{
  position:relative; display:inline-flex; align-items:center; gap:10px; cursor:pointer;
  padding:15px 28px; border-radius:14px; font-weight:700; font-size:1rem; border:none;
  color:#fff; background:var(--px-grad); overflow:hidden; text-decoration:none;
  box-shadow: 0 10px 30px -8px rgba(124,58,237,.6), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s var(--px-ease), box-shadow .25s var(--px-ease);
}
.btn-px:hover{ transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(124,58,237,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-px::after{ content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.28) 50%,transparent 75%); transform:translateX(-120%); transition:transform .7s var(--px-ease); }
.btn-px:hover::after{ transform:translateX(120%); }
.btn-ghost-px{
  display:inline-flex; align-items:center; gap:9px; padding:15px 26px; border-radius:14px;
  font-weight:700; font-size:1rem; color:var(--px-text); text-decoration:none;
  background:rgba(255,255,255,.04); border:1px solid var(--px-line);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-ghost-px:hover{ background:rgba(255,255,255,.08); border-color:rgba(124,58,237,.4); transform:translateY(-2px); }

/* ════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════ */
.px-hero{ position:relative; overflow:hidden; padding: clamp(96px,12vw,150px) 0 clamp(70px,8vw,110px); }
.px-hero-orbs{ position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.px-orb{ position:absolute; border-radius:50%; filter: blur(70px); opacity:.5; }
.px-orb.a{ width:520px;height:520px; background:radial-gradient(circle,#7c3aed,transparent 65%); top:-160px; inset-inline-end:-120px; animation: px-float 14s ease-in-out infinite; }
.px-orb.b{ width:440px;height:440px; background:radial-gradient(circle,#4f46e5,transparent 65%); bottom:-180px; inset-inline-start:-100px; opacity:.4; animation: px-float 18s ease-in-out infinite reverse; }
.px-orb.c{ width:300px;height:300px; background:radial-gradient(circle,#22d3ee,transparent 70%); top:30%; inset-inline-start:40%; opacity:.16; animation: px-float 20s ease-in-out infinite; }

/* ── Premium hero backdrop (CSS-only, GPU-light) — replaces the old WebGL 3D.
   Layers: dark wash → precision dot grid (masked) → drifting aurora → light beam. */
.px-hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.px-hero-bg::before{ content:""; position:absolute; inset:0;
  background:
    radial-gradient(78% 58% at 80% 4%, rgba(124,58,237,.30), transparent 60%),
    radial-gradient(66% 60% at 10% 92%, rgba(34,211,238,.12), transparent 65%),
    linear-gradient(180deg,#0a0a13,#07070d 72%); }
.px-grid-fx{ position:absolute; inset:-2px;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:46px 46px;
  -webkit-mask:radial-gradient(115% 78% at 72% 10%, #000 0%, transparent 60%);
          mask:radial-gradient(115% 78% at 72% 10%, #000 0%, transparent 60%); }
.px-aurora{ position:absolute; border-radius:50%; filter:blur(82px); opacity:.5; mix-blend-mode:screen; will-change:transform; }
.px-aurora.a{ width:560px;height:560px; background:radial-gradient(circle,#7c3aed,transparent 62%); top:-180px; inset-inline-end:-120px; animation:px-aurora 18s ease-in-out infinite; }
.px-aurora.b{ width:480px;height:480px; background:radial-gradient(circle,#4f46e5,transparent 62%); bottom:-200px; inset-inline-start:-120px; opacity:.42; animation:px-aurora 24s ease-in-out infinite reverse; }
.px-aurora.c{ width:340px;height:340px; background:radial-gradient(circle,#22d3ee,transparent 66%); top:42%; inset-inline-start:44%; opacity:.16; animation:px-aurora 28s ease-in-out infinite; }
.px-beam{ position:absolute; top:-40%; inset-inline-start:-32%; width:58%; height:180%;
  background:linear-gradient(100deg, transparent, rgba(167,139,250,.10) 46%, rgba(255,255,255,.06) 50%, transparent 60%);
  transform:rotate(8deg); animation:px-beam 11s ease-in-out infinite; }
@keyframes px-aurora{ 0%,100%{ transform:translate(0,0) scale(1);} 33%{ transform:translate(26px,-20px) scale(1.06);} 66%{ transform:translate(-20px,16px) scale(.95);} }
@keyframes px-beam{ 0%{ opacity:0; transform:translateX(-12%) rotate(8deg);} 50%{ opacity:1;} 100%{ opacity:0; transform:translateX(42%) rotate(8deg);} }
@media (prefers-reduced-motion: reduce){ .px-aurora,.px-beam{ animation:none !important; } }
@media (max-width:760px){
  .px-grid-fx{ background-size:34px 34px; -webkit-mask:radial-gradient(150% 64% at 50% 4%, #000 0%, transparent 62%); mask:radial-gradient(150% 64% at 50% 4%, #000 0%, transparent 62%); }
  .px-aurora{ filter:blur(58px); }
  .px-beam{ display:none; }
}

/* ── Page-wide ambient backdrop (homepage) — so the hero glow/grid doesn't
   "cut off"; the whole page sits on one continuous, cohesive canvas. Fixed
   layers behind all content: soft brand glows (-2) + a faint dot grid (-1). */
body.page-home{ background:#07070c; }
body.page-home::before{
  content:""; position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(58% 42% at 84% -2%, rgba(124,58,237,.26), transparent 60%),
    radial-gradient(46% 38% at 10% 16%, rgba(79,70,229,.14), transparent 62%),
    radial-gradient(55% 45% at 80% 56%, rgba(124,58,237,.12), transparent 62%),
    radial-gradient(52% 42% at 16% 92%, rgba(34,211,238,.08), transparent 60%),
    linear-gradient(180deg,#0a0a13 0%,#08080f 55%,#07070c 100%);
}
body.page-home::after{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask:radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.45) 48%, transparent 82%);
          mask:radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.45) 48%, transparent 82%);
}
/* The hero keeps its own animated backdrop; on the homepage make it transparent
   at the base so it blends seamlessly into the page-wide canvas (no seam). */
body.page-home .px-hero-bg::before{ background:
  radial-gradient(78% 58% at 80% 4%, rgba(124,58,237,.20), transparent 60%),
  radial-gradient(66% 60% at 10% 92%, rgba(34,211,238,.08), transparent 65%); }
@media (max-width:760px){
  body.page-home::after{ background-size:34px 34px; }
}

.px-hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:48px; align-items:center; position:relative; z-index:2; }
.px-hero-copy h1{ font-size: clamp(2.2rem, 1.4rem + 3.8vw, 4.1rem); font-weight:900; line-height:1.08; letter-spacing:-.025em; color:var(--px-text); margin:18px 0 0; }
.px-hero-copy .px-lead{ font-size: clamp(1.05rem,1rem + .5vw,1.3rem); color:var(--px-mut); line-height:1.75; margin:20px 0 0; max-width:560px; }
.px-hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:32px; }
.px-hero-trust{ display:flex; align-items:center; gap:14px; margin-top:30px; flex-wrap:wrap; }
.px-avatars{ display:flex; }
.px-avatars span{ width:40px;height:40px;border-radius:50%; display:grid;place-items:center; font-weight:800; color:#fff; font-size:.9rem; border:2px solid var(--px-bg); margin-inline-start:-12px; box-shadow:0 4px 10px rgba(0,0,0,.4); }
.px-avatars span:first-child{ margin-inline-start:0; }
.px-trust-meta .stars{ color:#fbbf24; font-size:.85rem; letter-spacing:2px; }
.px-trust-meta small{ display:block; color:var(--px-mut); font-size:.84rem; margin-top:2px; }
@media (max-width:920px){
  .px-hero-grid{ grid-template-columns:1fr; gap:42px; text-align:center; }
  .px-hero-copy .px-lead{ margin-inline:auto; }
  .px-hero-cta,.px-hero-trust{ justify-content:center; }
  .px-head.start{ text-align:center; }
}
/* Phones: guarantee hero copy legibility over the ambient 3D/orbs. A soft
   radial scrim sits behind the text block, plus a subtle shadow on the type. */
@media (max-width:760px){
  .px-hero{ padding-top: clamp(72px,18vw,104px); }
  .px-hero-copy{ position:relative; z-index:3; }
  .px-hero-copy::before{
    content:""; position:absolute; z-index:-1; inset:-26px -18px;
    background:radial-gradient(120% 90% at 50% 38%, rgba(7,7,14,.86), rgba(7,7,14,.55) 55%, transparent 78%);
    filter:blur(2px); pointer-events:none;
  }
  .px-hero-copy h1{ text-shadow:0 2px 22px rgba(5,5,12,.7); }
  .px-hero-copy .px-lead{ text-shadow:0 1px 14px rgba(5,5,12,.85); }
}

/* ── Floating dashboard mockup (CSS/SVG, GPU-light) ───────────────────── */
.px-stage{ position:relative; height:440px; perspective:1400px; }
@media (max-width:920px){ .px-stage{ height:380px; margin-top:8px; } }
.px-card3d{
  position:absolute; border-radius:18px; background:linear-gradient(160deg,var(--px-panel-2),var(--px-panel));
  border:1px solid var(--px-line); box-shadow: var(--px-shadow);
  transform-style:preserve-3d; will-change:transform;
}
.px-win{ inset-inline-end:0; top:20px; width:min(92%,440px); padding:0; overflow:hidden; animation: px-float 7s ease-in-out infinite; }
.px-win-bar{ display:flex; align-items:center; gap:7px; padding:13px 16px; border-bottom:1px solid var(--px-line-soft); background:rgba(255,255,255,.02); }
.px-win-bar i{ width:11px;height:11px;border-radius:50%; display:inline-block; }
.px-win-bar .u{ margin-inline-start:auto; height:8px; width:120px; border-radius:99px; background:rgba(255,255,255,.07); }
.px-win-body{ padding:18px; }
.px-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:16px; }
.px-kpi{ background:rgba(255,255,255,.03); border:1px solid var(--px-line-soft); border-radius:12px; padding:11px; }
.px-kpi b{ display:block; font-size:1.05rem; color:#fff; font-weight:800; }
.px-kpi span{ font-size:.62rem; color:var(--px-dim); }
.px-bars{ display:flex; align-items:flex-end; gap:8px; height:96px; padding-top:6px; }
.px-bars i{ flex:1; border-radius:6px 6px 0 0; background:var(--px-grad); opacity:.85; display:block; animation: px-grow 1.2s var(--px-ease) both; }
.px-mini{ inset-inline-start:-6px; bottom:24px; width:210px; padding:14px 16px; animation: px-float 9s ease-in-out infinite reverse; }
.px-mini .lbl{ font-size:.7rem; color:var(--px-dim); }
.px-mini .big{ font-size:1.5rem; font-weight:900; color:#fff; margin:2px 0 8px; }
.px-mini .spark{ height:34px; }
.px-pill-float{ position:absolute; inset-inline-end:-4px; bottom:46px; display:flex; align-items:center; gap:9px; padding:11px 15px; border-radius:14px; background:linear-gradient(160deg,var(--px-panel-2),var(--px-panel)); border:1px solid var(--px-line); box-shadow:var(--px-shadow-sm); animation: px-float 8s ease-in-out infinite; }
.px-pill-float .ic{ width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(16,185,129,.16);color:#10b981; }
.px-pill-float b{ color:#fff; font-size:.92rem; } .px-pill-float span{ color:var(--px-dim); font-size:.68rem; display:block; }

@keyframes px-float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }
@keyframes px-grow{ from{ height:0; opacity:0; } }
@media (prefers-reduced-motion: reduce){
  .px-orb,.px-win,.px-mini,.px-pill-float{ animation:none !important; }
  .px-bars i{ animation:none !important; }
}

/* ════════════════════════════════════════════════════════════════════════
   SOCIAL PROOF — stats band + logo strip
   ════════════════════════════════════════════════════════════════════════ */
.px-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.px-stat{ text-align:center; padding:26px 18px; border-radius:var(--px-r); background:rgba(255,255,255,.025); border:1px solid var(--px-line-soft); transition:border-color .25s, transform .25s; }
.px-stat:hover{ border-color:rgba(124,58,237,.4); transform:translateY(-3px); }
.px-stat .n{ font-size: clamp(1.9rem,1.3rem+2vw,2.8rem); font-weight:900; line-height:1; letter-spacing:-.02em; background:var(--px-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.px-stat .l{ margin-top:8px; color:var(--px-mut); font-size:.92rem; font-weight:600; }
@media (max-width:760px){ .px-stats{ grid-template-columns:repeat(2,1fr); gap:12px; } }

/* ════════════════════════════════════════════════════════════════════════
   SERVICES — premium product cards
   ════════════════════════════════════════════════════════════════════════ */
.px-serv-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:980px){ .px-serv-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .px-serv-grid{ grid-template-columns:1fr; } }
.px-serv{
  position:relative; padding:30px; border-radius:var(--px-r-lg); overflow:hidden;
  background:linear-gradient(170deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  border:1px solid var(--px-line); transition: transform .3s var(--px-ease), border-color .3s, box-shadow .3s;
  display:flex; flex-direction:column; text-decoration:none;
}
.px-serv::before{ content:""; position:absolute; inset:0; background:radial-gradient(420px circle at var(--mx,80%) -10%, rgba(124,58,237,.16), transparent 60%); opacity:0; transition:opacity .3s; pointer-events:none; }
.px-serv:hover{ transform:translateY(-6px); border-color:rgba(124,58,237,.5); box-shadow: var(--px-glow); }
.px-serv:hover::before{ opacity:1; }
.px-serv .ic{ width:54px;height:54px;border-radius:15px; display:grid;place-items:center; font-size:1.5rem; color:#fff; background:var(--px-grad); box-shadow:0 8px 22px -8px rgba(124,58,237,.7); margin-bottom:18px; }
.px-serv h3{ font-size:1.2rem; font-weight:800; color:var(--px-text); margin:0 0 8px; }
.px-serv p{ color:var(--px-mut); font-size:.94rem; line-height:1.65; margin:0 0 16px; }
.px-serv .outs{ list-style:none; padding:0; margin:0 0 18px; display:flex; flex-direction:column; gap:8px; }
.px-serv .outs li{ display:flex; align-items:center; gap:9px; font-size:.88rem; color:var(--px-text); }
.px-serv .outs li i{ color:#10b981; font-size:.95em; flex-shrink:0; }
.px-serv .go{ margin-top:auto; display:inline-flex; align-items:center; gap:7px; color:var(--px-violet-2); font-weight:700; font-size:.92rem; }
.px-serv:hover .go i{ transform: translateX(-5px); }
.px-serv .go i{ transition:transform .25s; }

/* ════════════════════════════════════════════════════════════════════════
   PROCESS — premium timeline
   ════════════════════════════════════════════════════════════════════════ */
.px-flow{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; position:relative; }
.px-flow::before{ content:""; position:absolute; top:27px; inset-inline:6%; height:2px; background:linear-gradient(90deg,transparent,var(--px-violet),var(--px-indigo),transparent); opacity:.5; }
.px-step{ position:relative; text-align:center; }
.px-step .node{ width:54px;height:54px;border-radius:50%; margin:0 auto 16px; display:grid;place-items:center; font-size:1.25rem; color:#fff; background:linear-gradient(160deg,var(--px-panel-2),var(--px-panel)); border:1px solid rgba(124,58,237,.5); box-shadow:0 0 0 6px var(--px-bg), 0 8px 20px -8px rgba(124,58,237,.6); position:relative; z-index:2; }
.px-step .k{ font-size:.66rem; font-weight:800; letter-spacing:.12em; color:var(--px-violet-2); }
.px-step h4{ font-size:1rem; font-weight:800; color:var(--px-text); margin:4px 0 6px; }
.px-step p{ font-size:.82rem; color:var(--px-mut); line-height:1.55; margin:0; }
@media (max-width:900px){
  .px-flow{ grid-template-columns:1fr; gap:0; }
  .px-flow::before{ inset-inline-start:26px; inset-inline-end:auto; top:6%; bottom:6%; width:2px; height:auto; }
  .px-step{ text-align:start; display:grid; grid-template-columns:54px 1fr; gap:16px; padding:14px 0; align-items:start; }
  .px-step .node{ margin:0; }
}

/* ════════════════════════════════════════════════════════════════════════
   PORTFOLIO — device/browser mockups
   ════════════════════════════════════════════════════════════════════════ */
.px-port-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:980px){ .px-port-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .px-port-grid{ grid-template-columns:1fr; } }
.px-port{ border-radius:var(--px-r-lg); overflow:hidden; background:var(--px-panel); border:1px solid var(--px-line); transition:transform .3s var(--px-ease), box-shadow .3s, border-color .3s; text-decoration:none; display:block; }
.px-port:hover{ transform:translateY(-6px); box-shadow:var(--px-shadow); border-color:rgba(124,58,237,.4); }
.px-browser{ background:rgba(255,255,255,.02); }
.px-browser .top{ display:flex; align-items:center; gap:6px; padding:11px 14px; border-bottom:1px solid var(--px-line-soft); }
.px-browser .top i{ width:10px;height:10px;border-radius:50%; }
.px-browser .top .addr{ margin-inline-start:10px; height:8px; flex:1; max-width:60%; border-radius:99px; background:rgba(255,255,255,.06); }
.px-shot{ height:178px; position:relative; overflow:hidden; display:grid; place-items:center; }
.px-shot .glyph{ font-size:2.6rem; color:#fff; opacity:.92; z-index:2; }
.px-shot::after{ content:""; position:absolute; inset:0; opacity:.9; }
.px-port .meta{ padding:16px 18px; }
.px-port .meta h4{ margin:0 0 4px; font-size:1.02rem; font-weight:800; color:var(--px-text); }
.px-port .meta .tags{ display:flex; gap:6px; flex-wrap:wrap; }
.px-port .meta .tags span{ font-size:.68rem; color:var(--px-mut); background:rgba(255,255,255,.05); padding:3px 9px; border-radius:99px; }
.px-port .meta .res{ margin-top:10px; font-size:.82rem; color:#10b981; font-weight:700; }

/* ════════════════════════════════════════════════════════════════════════
   TESTIMONIALS — premium cards
   ════════════════════════════════════════════════════════════════════════ */
.px-tst-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:980px){ .px-tst-grid{ grid-template-columns:1fr; max-width:620px; margin-inline:auto; } }
.px-tst{ padding:28px; border-radius:var(--px-r-lg); background:linear-gradient(170deg,rgba(255,255,255,.045),rgba(255,255,255,.012)); border:1px solid var(--px-line); position:relative; }
.px-tst .q{ font-size:3rem; line-height:1; color:rgba(124,58,237,.35); font-family:Georgia,serif; height:26px; }
.px-tst .stars{ color:#fbbf24; letter-spacing:2px; font-size:.85rem; margin:6px 0 12px; }
.px-tst p{ color:var(--px-text); font-size:1rem; line-height:1.75; margin:0 0 18px; }
.px-tst .who{ display:flex; align-items:center; gap:12px; border-top:1px solid var(--px-line-soft); padding-top:16px; }
.px-tst .who .av{ width:46px;height:46px;border-radius:50%; display:grid;place-items:center; font-weight:800; color:#fff; background:var(--px-grad); }
.px-tst .who b{ color:var(--px-text); font-size:.95rem; display:block; }
.px-tst .who span{ color:var(--px-dim); font-size:.8rem; }
.px-tst .metric{ margin-inline-start:auto; text-align:center; }
.px-tst .metric b{ display:block; color:#10b981; font-weight:900; font-size:1.1rem; }
.px-tst .metric span{ font-size:.66rem; color:var(--px-dim); }

/* ════════════════════════════════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════════════════════════════════ */
.px-cta-panel{ position:relative; overflow:hidden; border-radius:32px; padding: clamp(40px,6vw,72px); text-align:center;
  background: radial-gradient(900px circle at 50% -40%, rgba(124,58,237,.35), transparent 60%), linear-gradient(170deg,var(--px-panel-2),var(--px-panel));
  border:1px solid rgba(124,58,237,.3); box-shadow: var(--px-shadow); }
.px-cta-panel h2{ font-size: clamp(1.8rem,1.2rem+2.6vw,3rem); font-weight:900; color:var(--px-text); margin:0 0 14px; letter-spacing:-.02em; }
.px-cta-panel p{ color:var(--px-mut); font-size:1.1rem; max-width:560px; margin:0 auto 30px; line-height:1.7; }
.px-cta-panel .row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.px-cta-note{ margin-top:20px; color:var(--px-dim); font-size:.85rem; }

/* ── Reveal-on-scroll (GSAP enhances; CSS fallback shows content) ──────── */
.px-reveal{ opacity:0; transform: translateY(26px); }
.px-in .px-reveal, .no-js .px-reveal{ opacity:1; transform:none; }
html:not(.js) .px-reveal{ opacity:1; transform:none; }

/* ── Sticky nav polish (applies to existing .header) ──────────────────── */
.header.px-scrolled{ background: rgba(7,7,12,.82) !important; backdrop-filter: blur(14px); border-bottom:1px solid var(--px-line) !important; }

/* ════════════════════════════════════════════════════════════════════════
   POSITIONING V3 — hero store/identity mockup, trust grid, 2-up, logo, contact
   ════════════════════════════════════════════════════════════════════════ */
.px-chips{ display:flex; gap:10px; flex-wrap:wrap; }
.px-chip{ display:inline-flex; align-items:center; gap:7px; padding:8px 15px; border-radius:999px; font-size:.86rem; font-weight:700; color:var(--px-text); background:rgba(255,255,255,.04); border:1px solid var(--px-line); }
.px-chip i{ color:var(--px-violet-2); }

.px-store-head{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.px-store-logo{ width:34px;height:34px;border-radius:9px; display:grid;place-items:center; font-weight:900; color:#fff; background:var(--px-grad); font-family:Arial,sans-serif; }
.px-store-cart{ margin-inline-start:auto; width:32px;height:32px;border-radius:9px; display:grid;place-items:center; background:rgba(255,255,255,.06); color:var(--px-violet-2); }
.px-prod-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.px-prod{ background:rgba(255,255,255,.03); border:1px solid var(--px-line-soft); border-radius:10px; padding:8px; }
.px-prod-img{ height:54px; border-radius:7px; margin-bottom:7px; }
.px-prod span{ display:block; height:7px; border-radius:99px; background:rgba(255,255,255,.12); }
.px-prod span.s{ width:60%; margin-top:5px; background:rgba(124,58,237,.5); }

.px-swatches{ display:flex; gap:6px; margin:8px 0 10px; }
.px-swatches i{ width:26px;height:26px;border-radius:7px; border:1px solid var(--px-line); display:block; }
.px-logo-chip{ font-family:Arial,sans-serif; font-weight:900; font-size:1.4rem; letter-spacing:2px; color:#fff; background:rgba(255,255,255,.04); border:1px dashed var(--px-line); border-radius:10px; padding:8px 0; text-align:center; }

.px-trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; max-width:1000px; margin-inline:auto; }
.px-trust-item{ display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; padding:22px 12px; border-radius:var(--px-r); background:rgba(255,255,255,.025); border:1px solid var(--px-line-soft); transition:border-color .25s, transform .25s; }
.px-trust-item:hover{ border-color:rgba(124,58,237,.4); transform:translateY(-3px); }
.px-trust-item i{ font-size:1.5rem; color:var(--px-violet-2); }
.px-trust-item span{ font-size:.86rem; font-weight:700; color:var(--px-text); }
@media (max-width:900px){ .px-trust-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .px-trust-grid{ grid-template-columns:repeat(2,1fr); gap:10px; } .px-trust-item{ padding:16px 10px; } }

/* ── Sticky mobile call-to-action bar (mobile only, every page) ─────────── */
.m-cta{ display:none; }
@media (max-width:768px){
  .m-cta{
    display:flex; gap:10px; position:fixed; inset-inline:0; bottom:0; z-index:1200;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(10,10,18,.85); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
    border-top:1px solid var(--px-line); box-shadow:0 -10px 30px -12px rgba(0,0,0,.6);
    animation:m-cta-in .4s var(--px-ease) both;
  }
  .m-cta a{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:13px 12px; border-radius:13px; font-weight:800; font-size:.95rem; text-decoration:none; white-space:nowrap; }
  .m-cta-primary{ flex:1; color:#fff; background:var(--px-grad); box-shadow:0 10px 24px -10px rgba(124,58,237,.7); }
  .m-cta-secondary{ flex:0 0 auto; color:var(--px-text); background:rgba(255,255,255,.07); border:1px solid var(--px-line); padding-inline:18px; }
  body{ padding-bottom:78px; }
  /* lift the hamburger mobile menu's lowest item clear of the bar */
  .nav.active{ padding-bottom:84px; }
}
@keyframes m-cta-in{ from{ transform:translateY(100%); } to{ transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){ .m-cta{ animation:none; } }

.px-serv-grid.two{ grid-template-columns:repeat(2,1fr); max-width:900px; margin-inline:auto; }
@media (max-width:680px){ .px-serv-grid.two{ grid-template-columns:1fr; } }

/* Brand logo (header + footer) */
.header .logo{ gap:0 !important; }
.brand-logo{ height:34px; width:auto; display:block; }
@media (max-width:560px){ .brand-logo{ height:28px; } }
.footer-logo{ height:42px; width:auto; margin-bottom:14px; display:block; }

/* Contact — mobile: form first, info compact below */
@media (max-width:820px){
  .contact-grid{ gap:26px !important; }
  .contact-grid .contact-info{ order:2; }
  .contact-info h2{ font-size:1.5rem !important; margin-bottom:12px !important; }
  .contact-info > p{ margin-bottom:18px !important; }
  .info-item{ padding:12px 0 !important; }
  .page-header{ padding-block:104px 16px !important; } /* clears the 72px fixed header */
}

/* ════════════════════════════════════════════════════════════════════════
   SERVICE GATEWAY — full-screen decision selector (2 paths only)
   ════════════════════════════════════════════════════════════════════════ */
body.gateway-lock{ overflow:hidden; }
.svc-gateway{ position:fixed; inset:0; z-index:4000; display:none; align-items:center; justify-content:center; padding:24px; background:rgba(5,5,12,.88); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
.svc-gateway.open{ display:flex; animation:svc-fade .28s var(--px-ease); }
@keyframes svc-fade{ from{ opacity:0 } to{ opacity:1 } }
.svc-gateway-close{ position:absolute; top:20px; inset-inline-end:24px; width:46px; height:46px; border-radius:50%; border:1px solid var(--px-line); background:rgba(255,255,255,.05); color:#fff; font-size:1.5rem; line-height:1; cursor:pointer; display:grid; place-items:center; transition:background .2s,transform .2s; }
.svc-gateway-close:hover{ background:rgba(255,255,255,.12); transform:rotate(90deg); }
.svc-gateway-inner{ width:100%; max-width:1000px; animation:svc-pop .35s var(--px-ease); }
@keyframes svc-pop{ from{ opacity:0; transform:translateY(16px) scale(.98) } to{ opacity:1; transform:none } }
.svc-gateway-head{ text-align:center; margin-bottom:30px; }
.svc-gateway-head h2{ font-size:clamp(1.6rem,1.1rem+2vw,2.5rem); font-weight:900; color:var(--px-text); margin:14px 0 8px; letter-spacing:-.02em; }
.svc-gateway-head p{ color:var(--px-mut); font-size:1.02rem; margin:0; }
.svc-pick-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.svc-pick{ position:relative; overflow:hidden; border-radius:26px; padding:30px; text-decoration:none; display:flex; flex-direction:column; background:linear-gradient(170deg,var(--px-panel-2),var(--px-panel)); border:1px solid var(--px-line); transition:transform .3s var(--px-ease), border-color .3s, box-shadow .3s; }
.svc-pick::after{ content:""; position:absolute; inset:0; background:radial-gradient(480px circle at 50% 0%, rgba(124,58,237,.18), transparent 60%); opacity:0; transition:opacity .3s; pointer-events:none; }
.svc-pick:hover{ transform:translateY(-6px); border-color:rgba(124,58,237,.55); box-shadow:var(--px-glow); }
.svc-pick:hover::after{ opacity:1; }
.svc-pick.identity:hover{ border-color:rgba(16,185,129,.55); box-shadow:0 0 0 1px rgba(16,185,129,.18),0 18px 60px -12px rgba(16,185,129,.4); }
.svc-illo{ height:150px; border-radius:18px; margin-bottom:22px; position:relative; overflow:hidden; display:grid; place-items:center; }
.svc-illo .big{ font-size:3.2rem; color:#fff; z-index:2; filter:drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.svc-illo.salla{ background:linear-gradient(135deg,#7c3aed,#4f46e5); }
.svc-illo.brand{ background:linear-gradient(135deg,#10b981,#06b6d4); }
.svc-illo .deco{ position:absolute; opacity:.9; }
.svc-illo .d1{ width:56px;height:42px;border-radius:8px;background:rgba(255,255,255,.18);top:18px;inset-inline-start:24px; }
.svc-illo .d2{ width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16);bottom:16px;inset-inline-end:30px; }
.svc-illo .d3{ width:70px;height:12px;border-radius:99px;background:rgba(255,255,255,.2);bottom:22px;inset-inline-start:28px; }
.svc-pick h3{ font-size:1.4rem; font-weight:800; color:var(--px-text); margin:0 0 8px; }
.svc-pick p{ color:var(--px-mut); font-size:.96rem; line-height:1.65; margin:0 0 20px; }
.svc-pick .pick-feats{ list-style:none; padding:0; margin:0 0 22px; display:flex; flex-wrap:wrap; gap:8px; }
.svc-pick .pick-feats li{ font-size:.78rem; color:var(--px-text); background:rgba(255,255,255,.05); border:1px solid var(--px-line-soft); padding:5px 11px; border-radius:99px; }
.svc-pick .cta{ margin-top:auto; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:14px 22px; border-radius:14px; font-weight:800; font-size:1rem; color:#fff; background:var(--px-grad); box-shadow:0 10px 26px -10px rgba(124,58,237,.6); }
.svc-pick.identity .cta{ background:linear-gradient(120deg,#34d399,#10b981,#06b6d4); box-shadow:0 10px 26px -10px rgba(16,185,129,.6); }
@media (max-width:760px){
  .svc-gateway{ padding:0; align-items:stretch; }
  .svc-gateway-inner{ max-width:none; overflow-y:auto; padding:74px 18px 28px; }
  .svc-pick-grid{ grid-template-columns:1fr; gap:16px; }
  .svc-illo{ height:120px; }
  .svc-pick{ padding:22px; }
}
/* ── /services — single-service spotlight + features + platforms ───────── */
.svc-page{ padding-top:clamp(110px,16vw,150px); }
.svc-page .px-head{ margin-bottom:40px; }

.svc-spotlight{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:42px; align-items:center;
  background:linear-gradient(168deg,var(--px-panel-2),var(--px-panel));
  border:1px solid var(--px-line); border-radius:28px; padding:34px; overflow:hidden; position:relative;
}
.svc-spotlight::before{ content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(520px circle at 80% -10%, rgba(124,58,237,.16), transparent 60%); }
.svc-spot-body{ position:relative; }
.svc-spot-body h2{ font-size:clamp(1.5rem,1.1rem+1.4vw,2rem); font-weight:900; color:var(--px-text); margin:0 0 12px; letter-spacing:-.02em; }
.svc-spot-body > p{ color:var(--px-mut); font-size:1.02rem; line-height:1.8; margin:0 0 22px; }
.svc-spot-feats{ list-style:none; padding:0; margin:0 0 26px; display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; }
.svc-spot-feats li{ display:flex; align-items:center; gap:9px; font-size:.92rem; font-weight:600; color:var(--px-text); }
.svc-spot-feats li i{ color:#10b981; font-size:1em; flex-shrink:0; }
.svc-spot-cta{ display:flex; flex-wrap:wrap; gap:14px; }

/* spotlight art — mini store window */
.svc-spot-art{ position:relative; min-height:280px; border-radius:22px; display:grid; place-items:center;
  background:radial-gradient(120% 100% at 30% 0%, rgba(124,58,237,.28), transparent 65%),linear-gradient(160deg,#171733,#0c0c16);
  border:1px solid var(--px-line-soft); overflow:hidden; }
.svc-spot-orb{ position:absolute; border-radius:50%; filter:blur(46px); }
.svc-spot-orb.a{ width:200px;height:200px; background:rgba(124,58,237,.5); top:-50px; inset-inline-end:-30px; }
.svc-spot-orb.b{ width:160px;height:160px; background:rgba(34,211,238,.32); bottom:-40px; inset-inline-start:-20px; }
.svc-spot-window{ position:relative; z-index:2; width:min(86%,300px); border-radius:14px; overflow:hidden;
  background:linear-gradient(160deg,#1a1a30,#10101c); border:1px solid var(--px-line); box-shadow:0 26px 60px -24px rgba(0,0,0,.8); }
.ssw-bar{ display:flex; gap:6px; padding:11px 14px; border-bottom:1px solid var(--px-line-soft); background:rgba(255,255,255,.02); }
.ssw-bar i{ width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.18); }
.ssw-bar i:first-child{ background:#ff5f57 } .ssw-bar i:nth-child(2){ background:#febc2e } .ssw-bar i:nth-child(3){ background:#28c840 }
.ssw-body{ padding:16px; }
.ssw-row{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.ssw-logo{ width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-weight:900;color:#fff;background:var(--px-grad); }
.ssw-line{ height:9px;border-radius:99px;background:rgba(255,255,255,.12); flex:1; } .ssw-line.w60{ max-width:60%; }
.ssw-cart{ width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#a78bfa;background:rgba(124,58,237,.16); }
.ssw-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:14px; }
.ssw-grid span{ height:54px; border-radius:10px; background:var(--g); }
.ssw-cta{ display:flex; align-items:center; justify-content:center; gap:7px; padding:10px; border-radius:10px; font-size:.82rem; font-weight:800; color:#fff; background:var(--px-grad); }

.svc-feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.svc-feat{ padding:28px 24px; border-radius:20px; background:linear-gradient(165deg,rgba(21,21,42,.75),rgba(12,12,20,.65)); border:1px solid var(--px-line); transition:transform .35s var(--px-ease), border-color .35s, box-shadow .35s; }
.svc-feat:hover{ transform:translateY(-6px); border-color:rgba(124,58,237,.45); box-shadow:0 24px 56px -28px rgba(124,58,237,.6); }
.svc-feat-ic{ width:54px;height:54px;border-radius:15px;display:grid;place-items:center;font-size:1.5rem;color:#fff;background:var(--px-grad); box-shadow:0 12px 28px -12px rgba(124,58,237,.9); margin-bottom:16px; }
.svc-feat h3{ font-size:1.12rem; font-weight:800; color:var(--px-text); margin:0 0 7px; }
.svc-feat p{ color:var(--px-mut); font-size:.92rem; line-height:1.65; margin:0; }

.svc-platforms{ display:grid; grid-template-columns:1fr 1fr; gap:22px; max-width:840px; margin-inline:auto; }
.svc-plat{ text-align:center; padding:34px 26px; border-radius:22px; background:linear-gradient(165deg,rgba(21,21,42,.75),rgba(12,12,20,.65)); border:1px solid var(--px-line); transition:transform .35s var(--px-ease), border-color .35s; }
.svc-plat:hover{ transform:translateY(-6px); border-color:rgba(124,58,237,.45); }
.svc-plat-ic{ width:66px;height:66px;border-radius:18px;display:grid;place-items:center;font-size:1.9rem;color:#fff;margin:0 auto 16px; }
.svc-plat-ic.salla{ background:linear-gradient(135deg,#7c3aed,#4f46e5); box-shadow:0 14px 32px -12px rgba(124,58,237,.9); }
.svc-plat-ic.zid{ background:linear-gradient(135deg,#10b981,#06b6d4); box-shadow:0 14px 32px -12px rgba(16,185,129,.9); }
.svc-plat h3{ font-size:1.2rem; font-weight:800; color:var(--px-text); margin:0 0 8px; }
.svc-plat p{ color:var(--px-mut); font-size:.92rem; line-height:1.65; margin:0; }

@media (max-width:880px){
  .svc-spotlight{ grid-template-columns:1fr; gap:28px; padding:24px; }
  .svc-spot-art{ order:-1; min-height:230px; }
  .svc-feat-grid{ grid-template-columns:1fr 1fr; gap:14px; }
}
@media (max-width:560px){
  .svc-spot-feats{ grid-template-columns:1fr; }
  .svc-spot-cta{ flex-direction:column; }
  .svc-spot-cta .btn-px, .svc-spot-cta .btn-ghost-px{ width:100%; justify-content:center; }
  .svc-feat-grid{ grid-template-columns:1fr; }
  .svc-platforms{ grid-template-columns:1fr; }
  .svc-feat{ padding:22px 20px; }
}

/* ════════════════════════════════════════════════════════════════════════
   DEDICATED PACKAGE PAGES — cards + comparison
   ════════════════════════════════════════════════════════════════════════ */
.pp-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; }
@media (max-width:920px){ .pp-cards{ grid-template-columns:1fr; max-width:460px; margin-inline:auto; } }
.pp-card{ position:relative; display:flex; flex-direction:column; padding:32px 26px; border-radius:24px;
  background:linear-gradient(175deg,rgba(255,255,255,.04),rgba(255,255,255,.012)); border:1px solid var(--px-line);
  transition:transform .3s var(--px-ease), border-color .3s, box-shadow .3s; }
.pp-card:hover{ transform:translateY(-5px); border-color:rgba(124,58,237,.4); box-shadow:var(--px-shadow); }
.pp-card.popular{ border-color:rgba(124,58,237,.6); background:linear-gradient(175deg,rgba(124,58,237,.12),rgba(79,70,229,.04)); box-shadow:var(--px-glow); }
@media (min-width:921px){ .pp-card.popular{ transform:scale(1.04); } .pp-card.popular:hover{ transform:scale(1.04) translateY(-5px); } }
.pp-badge{ position:absolute; top:-13px; inset-inline-start:50%; transform:translateX(50%); background:var(--px-grad); color:#fff; font-size:.72rem; font-weight:800; padding:5px 16px; border-radius:999px; white-space:nowrap; box-shadow:0 8px 20px -6px rgba(124,58,237,.7); }
.pp-name{ font-size:1.35rem; font-weight:900; color:var(--px-text); }
.pp-tag{ font-size:.86rem; color:var(--px-mut); margin-top:4px; min-height:2.4em; }
.pp-price{ display:flex; align-items:baseline; gap:8px; margin-top:18px; }
.pp-price .num{ font-size:2.7rem; font-weight:900; line-height:1; letter-spacing:-1px; background:var(--px-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.pp-card:not(.popular) .pp-price .num{ background:none; -webkit-text-fill-color:initial; color:var(--px-text); }
.pp-price .cur{ font-size:.95rem; color:var(--px-mut); font-weight:700; }
.pp-from{ font-size:.74rem; color:var(--px-dim); margin-top:4px; }
/* Contact (Elite) tier — no price number, custom positioning */
.pp-price.contact .num{ font-size:1.7rem; letter-spacing:0; background:var(--px-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.pp-card.contact{ border-color:rgba(124,58,237,.45); background:linear-gradient(175deg,rgba(124,58,237,.10),rgba(34,211,238,.03)); }
.pp-delivery{ display:inline-flex; align-items:center; gap:7px; margin-top:16px; font-size:.8rem; font-weight:700; color:var(--px-violet-2); background:rgba(124,58,237,.1); border:1px solid rgba(124,58,237,.22); padding:6px 12px; border-radius:99px; }
.pp-feats{ list-style:none; padding:0; margin:20px 0 24px; display:flex; flex-direction:column; gap:11px; }
.pp-feats li{ display:flex; align-items:flex-start; gap:10px; font-size:.9rem; color:var(--px-text); line-height:1.5; }
.pp-feats li i{ color:#10b981; font-size:.95em; margin-top:3px; flex-shrink:0; }
.pp-cta{ margin-top:auto; display:flex; align-items:center; justify-content:center; gap:9px; padding:14px; border-radius:14px; font-weight:800; font-size:.98rem; text-decoration:none; color:var(--px-text); background:rgba(255,255,255,.05); border:1px solid var(--px-line); transition:transform .2s, box-shadow .2s, background .2s; }
.pp-cta:hover{ transform:translateY(-2px); background:rgba(255,255,255,.09); }
.pp-cta.primary{ color:#fff; background:var(--px-grad); border:none; box-shadow:0 12px 28px -10px rgba(124,58,237,.6); }

.pp-compare-wrap{ overflow-x:auto; border:1px solid var(--px-line); border-radius:22px; background:var(--px-panel); }
.pp-compare{ width:100%; border-collapse:collapse; min-width:620px; }
.pp-compare thead th{ padding:18px 18px; text-align:center; font-size:.95rem; font-weight:800; color:var(--px-text); border-bottom:1px solid var(--px-line); white-space:nowrap; }
.pp-compare thead th:first-child{ text-align:start; color:var(--px-mut); font-weight:700; }
.pp-compare thead th.pop{ color:var(--px-violet-2); background:rgba(124,58,237,.08); border-radius:14px 14px 0 0; }
.pp-compare thead th .star{ color:#fbbf24; }
.pp-compare tbody th{ padding:14px 18px; text-align:start; font-weight:600; color:var(--px-mut); font-size:.88rem; border-bottom:1px solid var(--px-line-soft); }
.pp-compare tbody td{ padding:14px 18px; text-align:center; font-size:.88rem; color:var(--px-text); border-bottom:1px solid var(--px-line-soft); white-space:nowrap; }
.pp-compare tbody td.pop{ background:rgba(124,58,237,.05); font-weight:700; }
.pp-compare tbody tr:last-child th, .pp-compare tbody tr:last-child td{ border-bottom:none; }
.pp-compare .yes{ color:#10b981; font-size:1.1rem; }
.pp-compare .no{ color:var(--px-dim); }
.pp-compare tbody tr:hover td, .pp-compare tbody tr:hover th{ background:rgba(255,255,255,.02); }
.pp-compare tbody tr:hover td.pop{ background:rgba(124,58,237,.09); }

/* ════════════════════════════════════════════════════════════════════════
   UX POLISH — premium FAQ + mobile-first package comparison
   ════════════════════════════════════════════════════════════════════════ */
/* Premium FAQ (used on /faq, package pages) */
.faq-list{ display:flex; flex-direction:column; gap:12px; max-width:760px; margin-inline:auto; }
.faq-item{ background:var(--px-panel); border:1px solid var(--px-line); border-radius:16px; overflow:hidden; transition:border-color .25s, box-shadow .25s, background .25s; }
.faq-item:hover{ border-color:rgba(124,58,237,.4); }
.faq-item.active{ border-color:rgba(124,58,237,.55); box-shadow:0 14px 34px -18px rgba(124,58,237,.55); }
.faq-question{ width:100%; padding:19px 22px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px; font-weight:700; font-size:1.02rem; color:var(--px-text); background:none; border:none; text-align:start; font-family:inherit; line-height:1.5; }
.faq-question > span:first-child{ flex:1; }
.faq-icon{ width:30px; height:30px; flex-shrink:0; border-radius:9px; display:grid; place-items:center; font-size:.95rem; background:rgba(124,58,237,.12); color:var(--px-violet-2); transition:transform .3s var(--px-ease), background .25s, color .25s; }
.faq-item.active .faq-icon{ transform:rotate(45deg); background:var(--px-grad); color:#fff; }
.faq-answer{ max-height:0; overflow:hidden; padding:0 22px; color:var(--px-mut); line-height:1.85; font-size:.95rem; transition:max-height .35s var(--px-ease), padding .35s var(--px-ease); }
.faq-item.active .faq-answer{ max-height:640px; padding:0 22px 20px; }
.faq-answer-inner{ padding:0 !important; }
@media (max-width:600px){
  .faq-question{ padding:16px 18px; font-size:.95rem; }
  .faq-answer{ padding-inline:18px; }
  .faq-item.active .faq-answer{ padding:0 18px 18px; }
}

/* Mobile-first comparison: table → stacked feature cards (no horizontal scroll) */
@media (max-width:720px){
  .pp-compare-wrap{ border:none; background:transparent; overflow:visible; border-radius:0; }
  .pp-compare{ min-width:0; width:100%; }
  .pp-compare thead{ display:none; }
  .pp-compare, .pp-compare tbody, .pp-compare tr, .pp-compare > tbody > tr > th, .pp-compare td{ display:block; width:auto; }
  .pp-compare tbody tr{
    background:var(--px-panel); border:1px solid var(--px-line); border-radius:16px;
    margin-bottom:14px; padding:6px 6px 8px; box-shadow:var(--px-shadow-sm);
  }
  .pp-compare tbody tr > th{
    font-size:.98rem; font-weight:800; color:var(--px-text);
    padding:13px 16px 11px; border-bottom:1px solid var(--px-line-soft); text-align:start;
  }
  .pp-compare tbody td{
    display:flex; align-items:center; justify-content:space-between; gap:14px;
    padding:11px 16px; text-align:end; border:none; border-bottom:1px solid var(--px-line-soft);
    white-space:normal; font-weight:700;
  }
  .pp-compare tbody td:last-child{ border-bottom:none; }
  .pp-compare tbody td::before{
    content:attr(data-label); color:var(--px-mut); font-size:.84rem; font-weight:600; text-align:start;
  }
  .pp-compare tbody td.pop{ background:rgba(124,58,237,.08); border-radius:10px; }
  .pp-compare tbody td.pop::before{ color:var(--px-violet-2); }
  .pp-compare .yes{ font-size:1.05rem; }
}

/* vala-v2.css */
/* vala-v2.css — Homepage v2 component styles */

/* Lang toggle as link */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.lang-toggle:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: rgba(124,58,237,0.06);
}
.lang-icon { font-size: 1rem; line-height: 1; }

/* Services 2-col large cards */
.services-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card-xl {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card-xl::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}
.service-card-xl:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(124,58,237,0.12);
}
.service-card-xl:hover::before { opacity: 1; }
.service-card-xl-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(124,58,237,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card-xl-body { display: flex; flex-direction: column; gap: 16px; }
.service-card-xl-body h3 { font-size: 1.4rem; font-weight: 800; margin: 0; color: var(--text-primary); }
.service-card-xl-body p { font-size: 0.95rem; line-height: 1.8; margin: 0; }
.service-card-xl-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  --tag-bg: rgba(124,58,237,0.12);
  --tag-color: var(--accent-secondary);
}
.service-card-xl-tags span {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--tag-bg);
  color: var(--tag-color);
}

/* Partners marquee */
.partners-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
}
.partners-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}
.marquee-outer {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  opacity: 0.55;
  filter: grayscale(0.35);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}
.marquee-item:hover { opacity: 1; filter: none; }
.marquee-item img { display: block; }
.marquee-sep {
  color: var(--border);
  font-size: 0.5rem;
  flex-shrink: 0;
  opacity: 0.3;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* direction:ltr is set inline on the track — no RTL reverse needed */

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.process-step:hover {
  border-color: rgba(124,58,237,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.process-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.process-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(124,58,237,0.28);
}
.process-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.process-step p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* Packages CTA */
.packages-cta-section { background: var(--bg-primary); }
.packages-cta-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(124,58,237,0.07) 0%, rgba(79,70,229,0.03) 100%);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  overflow: hidden;
}
.packages-cta-glow {
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 350px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.13) 0%, transparent 70%);
  pointer-events: none;
}

/* Enterprise banner */
.enterprise-banner {
  padding: 24px 0 32px;
  background: rgba(124,58,237,0.03);
  border-top: 1px solid rgba(124,58,237,0.1);
}
.enterprise-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  flex-wrap: wrap;
}
.enterprise-banner-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(124,58,237,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-secondary);
}
.enterprise-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 200px;
}
.enterprise-banner-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.enterprise-banner-text span { font-size: 0.85rem; color: var(--text-muted); }
.enterprise-banner-btn { flex-shrink: 0; }

/* Hero stat value (counter) */
.hero-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

/* Portfolio extras */
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.portfolio-tag { padding: 3px 10px; border-radius: 4px; background: var(--bg-secondary); font-size: 0.75rem; color: var(--text-muted); }
.portfolio-img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 3rem; opacity: 0.2; }
.btn-outline { background: transparent; color: var(--accent-secondary); border: 1px solid rgba(124,58,237,0.3); }
.btn-outline:hover { background: rgba(124,58,237,0.08); }
.btn-success { background: #10b981; color: #fff; box-shadow: 0 4px 15px rgba(16,185,129,0.25); }
.btn-success:hover { box-shadow: 0 8px 28px rgba(16,185,129,0.35); transform: translateY(-1px); }

/* Section label */
.section-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(124,58,237,0.1);
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

/* RTL fixes */
[dir="rtl"] .hero-badge { flex-direction: row-reverse; }
[dir="rtl"] .enterprise-banner-inner { flex-direction: row-reverse; }

/* Responsive */
@media (max-width: 900px) {
  .services-grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .packages-cta-inner { padding: 48px 24px; }
  .enterprise-banner-inner { flex-direction: column; text-align: center; }
  .service-card-xl { padding: 28px 20px; }
}

/* ================================================================
   V2 HOMEPAGE COMPONENTS (new architecture)
   ================================================================ */

/* Hero */
.v2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.v2-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.v2-glow-1 { width:600px;height:600px;background:radial-gradient(circle,rgba(124,58,237,0.18),transparent 70%);top:-80px;left:-180px; }
.v2-glow-2 { width:400px;height:400px;background:radial-gradient(circle,rgba(79,70,229,0.12),transparent 70%);bottom:40px;right:-80px; }
.v2-hero-content { position:relative;z-index:1;max-width:780px; }
[dir="rtl"] .v2-hero-content { text-align:right; }

.v2-badge {
  display:inline-flex;align-items:center;gap:8px;padding:6px 16px;
  background:rgba(124,58,237,0.1);border:1px solid rgba(124,58,237,0.25);
  border-radius:100px;font-size:0.82rem;color:var(--accent-primary);
  font-weight:600;margin-bottom:24px;letter-spacing:0.02em;
}
.v2-badge-pulse {
  width:7px;height:7px;background:var(--accent-primary);border-radius:50%;
  flex-shrink:0;animation:v2pulse 2s ease infinite;
}
@keyframes v2pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.75)} }

.v2-hero-h1 {
  font-size:clamp(2.2rem,5vw,3.8rem);font-weight:800;line-height:1.15;
  color:var(--text-primary);margin-bottom:20px;letter-spacing:-0.02em;
}
.v2-grad-text {
  background:linear-gradient(135deg,#7c3aed,#a78bfa);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.v2-hero-p { font-size:1.1rem;color:var(--text-secondary);line-height:1.75;margin-bottom:36px;max-width:580px; }
.v2-hero-cta { display:flex;gap:16px;flex-wrap:wrap;margin-bottom:48px; }
.v2-hero-stats { display:flex;align-items:center;gap:32px;flex-wrap:wrap; }
.v2-stat { display:flex;flex-direction:column; }
.v2-stat strong { font-size:1.6rem;font-weight:800;color:var(--text-primary);line-height:1; }
.v2-stat span { font-size:0.8rem;color:var(--text-muted);margin-top:4px; }
.v2-stat-div { width:1px;height:36px;background:var(--border);flex-shrink:0; }

/* Partner Marquee */
.v2-marquee-outer {
  padding:20px 0 28px;border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);background:var(--bg-secondary);overflow:hidden;
}
.v2-marquee-label { text-align:center;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.15em;color:var(--text-muted);margin-bottom:16px; }
.v2-marquee-mask {
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,black 12%,black 88%,transparent);
  mask-image:linear-gradient(90deg,transparent,black 12%,black 88%,transparent);
}
.v2-marquee-inner { display:flex;width:max-content; }
.v2-marquee-track { display:flex;gap:24px;padding:4px 12px;animation:v2marquee 24s linear infinite;flex-shrink:0; }
[dir="rtl"] .v2-marquee-track { animation-direction:reverse; }
@keyframes v2marquee { from{transform:translateX(0)} to{transform:translateX(-100%)} }
.v2-partner-logo { flex-shrink:0;opacity:0.55;transition:opacity 0.2s; }
.v2-partner-logo:hover { opacity:1; }

/* Services */
.v2-services-grid { display:grid;grid-template-columns:1fr 1fr;gap:28px; }
.v2-service-card {
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:40px 36px;transition:transform 0.22s,border-color 0.22s,box-shadow 0.22s;
}
.v2-service-card:hover { transform:translateY(-5px);border-color:rgba(124,58,237,0.4);box-shadow:0 12px 48px rgba(124,58,237,0.13); }
.v2-service-card h3 { font-size:1.4rem;font-weight:700;margin:20px 0 12px;color:var(--text-primary); }
.v2-service-card > p { color:var(--text-secondary);line-height:1.7;margin-bottom:24px;font-size:0.95rem; }
.v2-service-icon { width:58px;height:58px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.55rem; }
.v2-icon-salla    { background:rgba(124,58,237,0.12);color:var(--accent-primary); }
.v2-icon-identity { background:rgba(245,158,11,0.12);color:#f59e0b; }
.v2-service-feats { list-style:none;padding:0;margin:0 0 28px;display:flex;flex-direction:column;gap:10px; }
.v2-service-feats li { display:flex;align-items:center;gap:10px;font-size:0.9rem;color:var(--text-secondary); }
.v2-service-feats li i { color:var(--success);flex-shrink:0; }

/* Package Tabs */
.v2-pkg-tabs {
  display:flex;gap:6px;justify-content:center;background:var(--bg-card);
  border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:5px;width:fit-content;margin:0 auto 32px;
}
.v2-tab-btn {
  display:flex;align-items:center;gap:8px;padding:10px 26px;
  border-radius:calc(var(--radius-lg) - 4px);border:none;background:transparent;
  color:var(--text-muted);font-size:0.9rem;font-weight:600;cursor:pointer;
  transition:all 0.2s;white-space:nowrap;
}
.v2-tab-btn.active { background:var(--accent-primary);color:#fff;box-shadow:0 4px 14px rgba(124,58,237,0.35); }
.v2-tab-btn:not(.active):hover { color:var(--text-primary); }

/* Package Cards */
.v2-pkg-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start;margin-bottom:36px; }
.v2-pkg-card {
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:32px 28px;position:relative;transition:transform 0.2s,box-shadow 0.2s;
}
.v2-pkg-card:hover { transform:translateY(-4px);box-shadow:var(--shadow-lg); }
.v2-pkg-popular { border-color:var(--accent-primary);background:linear-gradient(140deg,rgba(124,58,237,0.07),rgba(79,70,229,0.02)); }
.v2-pkg-badge {
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  background:linear-gradient(135deg,#7c3aed,#a78bfa);color:#fff;
  font-size:0.7rem;font-weight:700;padding:3px 18px;border-radius:100px;
  white-space:nowrap;letter-spacing:0.05em;
}
[dir="rtl"] .v2-pkg-badge { left:auto;right:50%;transform:translateX(50%); }
.v2-pkg-card h4 { font-size:1.15rem;font-weight:700;color:var(--text-primary);margin-bottom:4px; }
.v2-pkg-tag { font-size:0.8rem;color:var(--text-muted);margin-bottom:16px;display:block; }
.v2-pkg-price { display:flex;align-items:baseline;gap:5px;margin-bottom:20px; }
.v2-price-num { font-size:2.5rem;font-weight:800;color:var(--text-primary);line-height:1; }
.v2-pkg-popular .v2-price-num {
  background:linear-gradient(135deg,#7c3aed,#a78bfa);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.v2-price-cur { font-size:0.9rem;color:var(--text-muted);font-weight:600; }
.v2-pkg-feats {
  list-style:none;padding:20px 0 0;margin:0 0 24px;
  border-top:1px solid var(--border);display:flex;flex-direction:column;gap:9px;
}
.v2-pkg-feats li { display:flex;align-items:flex-start;gap:9px;font-size:0.86rem;color:var(--text-secondary);line-height:1.45; }
.v2-pkg-feats li i { color:var(--success);flex-shrink:0;margin-top:2px; }
.btn.v2-btn-block { width:100%;justify-content:center; }

/* Enterprise */
.v2-enterprise {
  background:linear-gradient(135deg,rgba(124,58,237,0.07),rgba(79,70,229,0.03));
  border:1px solid rgba(124,58,237,0.22);border-radius:var(--radius-lg);padding:36px 40px;
}
.v2-enterprise-inner { display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap; }
.v2-enterprise-tag {
  display:inline-flex;align-items:center;gap:6px;font-size:0.75rem;font-weight:700;
  text-transform:uppercase;letter-spacing:0.1em;color:var(--accent-primary);margin-bottom:10px;
}
.v2-enterprise h3 { font-size:1.3rem;font-weight:700;color:var(--text-primary);margin-bottom:6px; }
.v2-enterprise p { color:var(--text-secondary);font-size:0.92rem;max-width:500px; }
.v2-enterprise-btn { flex-shrink:0; }

/* Process */
.v2-process-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:20px; }
.v2-process-step {
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:30px 20px 28px;text-align:center;
}
.v2-process-icon {
  width:56px;height:56px;border-radius:50%;
  background:linear-gradient(135deg,#7c3aed,#a78bfa);
  display:flex;align-items:center;justify-content:center;
  font-size:1.25rem;color:#fff;margin:0 auto 12px;
}
.v2-process-num { font-size:0.67rem;font-weight:700;color:var(--accent-primary);letter-spacing:0.14em;text-transform:uppercase;margin-bottom:8px; }
.v2-process-step h4 { font-size:1rem;font-weight:700;margin-bottom:8px;color:var(--text-primary); }
.v2-process-step p { font-size:0.83rem;color:var(--text-muted);line-height:1.6; }

/* Why Vala */
.v2-why-grid { display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center; }
.v2-why-feats { display:grid;gap:16px; }
.v2-why-item {
  display:flex;gap:16px;align-items:flex-start;padding:20px;
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);transition:border-color 0.2s;
}
.v2-why-item:hover { border-color:rgba(124,58,237,0.32); }
.v2-why-icon { width:44px;height:44px;min-width:44px;border-radius:11px;background:rgba(124,58,237,0.1);display:flex;align-items:center;justify-content:center;font-size:1.15rem;color:var(--accent-primary); }
.v2-why-item h5 { font-size:0.95rem;font-weight:700;margin-bottom:4px;color:var(--text-primary); }
.v2-why-item p { font-size:0.83rem;color:var(--text-muted);line-height:1.55;margin:0; }

/* Final CTA */
.v2-final-cta { text-align:center;max-width:600px;margin:0 auto; }
.v2-final-cta h2 { font-size:2.2rem;font-weight:800;margin-bottom:16px; }
.v2-final-cta p { color:var(--text-secondary);font-size:1rem;margin-bottom:32px;line-height:1.7; }
.v2-final-btns { display:flex;gap:16px;justify-content:center;flex-wrap:wrap; }

/* RTL */
[dir="rtl"] .v2-hero-cta   { justify-content:flex-start; }
[dir="rtl"] .v2-hero-stats { justify-content:flex-start; }
[dir="rtl"] .v2-why-item   { flex-direction:row; }
[dir="rtl"] .v2-enterprise-inner { flex-direction:row-reverse; }
[dir="rtl"] .v2-service-feats li { flex-direction:row; }
[dir="rtl"] .v2-pkg-feats li     { flex-direction:row; }

/* Responsive V2 */
@media (max-width:900px) {
  .v2-hero { min-height:auto;padding:100px 0 60px; }
  .v2-hero-h1 { font-size:2.1rem; }
  .v2-services-grid { grid-template-columns:1fr; }
  .v2-pkg-grid { grid-template-columns:1fr; }
  .v2-process-grid { grid-template-columns:1fr 1fr; }
  .v2-why-grid { grid-template-columns:1fr;gap:36px; }
  .v2-enterprise-inner { flex-direction:column;align-items:flex-start; }
}
@media (max-width:600px) {
  .v2-hero-h1 { font-size:1.85rem; }
  .v2-process-grid { grid-template-columns:1fr; }
  .v2-hero-stats { gap:16px; }
  .v2-stat-div { display:none; }
  .v2-pkg-tabs { width:100%; }
  .v2-tab-btn { flex:1;justify-content:center;padding:10px 12px; }
  .v2-enterprise { padding:28px 20px; }
  .v2-service-card { padding:28px 22px; }
}

/* ════════════════════════════════════════════════════════════
   Vala v3 — clients grid · mobile · lively icons · 3D
   ════════════════════════════════════════════════════════════ */

/* ---- Clients (static, fast) ---- */
.clients-section { padding: 54px 0; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px; max-width: 1000px; margin: 30px auto 0;
}
.client-card {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.client-card:hover { transform: translateY(-4px); border-color: var(--accent-primary); box-shadow: 0 12px 30px rgba(124,58,237,.16); }
.client-mark {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; border: 1.5px solid;
}
.client-name { font-weight: 700; font-size: 1rem; color: var(--text-secondary); white-space: nowrap; }

/* ---- Lively icons ---- */
@keyframes vala-float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px); } }
.service-card .service-icon, .dash-card-icon, .feature-icon, .value-icon,
.step-icon, .stat-icon, .contact-icon { animation: vala-float 4s ease-in-out infinite; }
.service-card:hover .service-icon { animation-duration: 1.5s; }
.btn i { transition: transform .25s ease; }
.btn:hover i { transform: translateX(-3px); }

/* ---- Subtle 3D depth on cards ---- */
.service-card, .pricing-card, .portfolio-card, .client-card, .blog-card { transform-style: preserve-3d; }
.service-card:hover, .portfolio-card:hover, .blog-card:hover {
  transform: perspective(900px) translateY(-6px) rotateX(2deg);
}

/* ---- Mobile responsiveness ---- */
html, body { max-width: 100%; overflow-x: hidden; }
@media (max-width: 760px) {
  input, select, textarea, button { font-size: 16px !important; }   /* stop iOS auto-zoom */

  .dashboard { flex-direction: column; padding-top: var(--nav-height); }
  .dash-sidebar, html[dir="rtl"] .dash-sidebar {
    position: static !important; transform: none !important;
    width: 100% !important; height: auto !important;
    border: none !important; border-bottom: 1px solid var(--border) !important;
    display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px;
  }
  .dash-sidebar a { flex: 0 0 auto; }
  .dash-main, html[dir="rtl"] .dash-main { margin: 0 !important; padding: 18px 14px !important; width: 100%; }
  .dash-user { width: 100%; margin-bottom: 6px; }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-chart-grid, .finance-summary { grid-template-columns: 1fr !important; }
  .page-header h1 { font-size: 1.9rem !important; }
  .section-title { font-size: 1.5rem !important; }
  .container { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* vala-polish.css */
/* Vala UI polish layer: spacing, motion, responsive refinements. */
:root {
  --ux-ease: cubic-bezier(.22, 1, .36, 1);
  --ux-fast: 180ms;
  --ux-med: 420ms;
  --ux-ring: 0 0 0 4px rgba(124, 58, 237, .18);
  --ux-card: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  --ux-card-hover: linear-gradient(165deg, rgba(255,255,255,.075), rgba(124,58,237,.035));
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height, 72px) + 22px); }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
.container { width: min(1180px, calc(100% - 40px)); }
@media (max-width: 640px) { .container { width: min(100% - 28px, 1180px); } }

/* Header and navigation */
.header {
  transition: background var(--ux-med) var(--ux-ease), border-color var(--ux-med) var(--ux-ease), box-shadow var(--ux-med) var(--ux-ease), transform var(--ux-med) var(--ux-ease);
}
.header.scrolled,
.header.px-scrolled {
  box-shadow: 0 18px 46px -34px rgba(0,0,0,.9);
}
.header-inner { gap: 18px; }
.nav a {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
  transition: color var(--ux-fast), background var(--ux-fast), border-color var(--ux-fast), transform var(--ux-fast);
}
.nav a:hover {
  border-color: rgba(255,255,255,.08);
  transform: translateY(-1px);
}
.nav a.active {
  border-color: rgba(124,58,237,.24);
  background: rgba(124,58,237,.12);
}
.hamburger {
  border-radius: 14px;
  transition: background var(--ux-fast), box-shadow var(--ux-fast), transform var(--ux-fast);
}
.hamburger:hover { background: rgba(255,255,255,.06); box-shadow: var(--ux-ring); }
.hamburger.active span:nth-child(1),
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2),
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(.5); }
.hamburger.active span:nth-child(3),
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav.active,
  .nav.open {
    display: flex;
    animation: ux-menu-in .28s var(--ux-ease) both;
  }
  .nav a { width: 100%; justify-content: center; padding-block: 13px; }
}
@keyframes ux-menu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* Page rhythm */
.section,
.px-section { overflow: clip; }
.page-header {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height, 72px) + clamp(42px, 7vw, 78px));
}
.page-header::after {
  content: "";
  position: absolute;
  inset: auto 8% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.42), rgba(34,211,238,.22), transparent);
}
.page-header h1,
.px-h2 {
  text-wrap: balance;
}
.page-header p,
.px-sub,
.section-subtitle {
  text-wrap: pretty;
}

/* Homepage hero */
.page-home .px-hero {
  min-height: min(820px, 100svh);
  display: flex;
  align-items: center;
}
.page-home .px-hero-grid { gap: clamp(34px, 6vw, 72px); }
.page-home .px-hero-copy h1 {
  max-width: 11.5em;
  letter-spacing: 0;
}
.page-home .px-hero-copy .px-lead { max-width: 620px; }
.page-home .px-hero-cta a { min-height: 52px; }
.px-hero-visual { filter: drop-shadow(0 38px 70px rgba(0,0,0,.32)); }
.px-stage {
  transform: translateZ(0);
  animation: ux-stage-settle .9s var(--ux-ease) both;
}
@keyframes ux-stage-settle {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.px-card3d,
.px-pill-float,
.svc-spot-window {
  will-change: transform;
}
.px-win-body,
.ssw-body {
  background:
    radial-gradient(150px circle at 85% 0%, rgba(34,211,238,.08), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0));
}
.px-prod,
.ssw-grid span {
  transition: transform var(--ux-med) var(--ux-ease), filter var(--ux-med) var(--ux-ease);
}
.px-win:hover .px-prod:nth-child(1),
.svc-spot-window:hover .ssw-grid span:nth-child(1) { transform: translateY(-3px); }
.px-win:hover .px-prod:nth-child(2),
.svc-spot-window:hover .ssw-grid span:nth-child(2) { transform: translateY(-7px); }
.px-win:hover .px-prod:nth-child(3),
.svc-spot-window:hover .ssw-grid span:nth-child(3) { transform: translateY(-4px); }

/* Buttons and interactive controls */
.btn,
.btn-px,
.btn-ghost-px,
.pp-cta,
.v3d-pkg-cta,
.filter-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--ux-fast) var(--ux-ease), box-shadow var(--ux-fast) var(--ux-ease), border-color var(--ux-fast), background var(--ux-fast), color var(--ux-fast);
}
.btn:focus-visible,
.btn-px:focus-visible,
.btn-ghost-px:focus-visible,
.pp-cta:focus-visible,
.v3d-pkg-cta:focus-visible,
.form-input:focus,
.form-textarea:focus,
.faq-question:focus-visible {
  outline: none;
  box-shadow: var(--ux-ring);
}
.btn:hover,
.btn-px:hover,
.btn-ghost-px:hover,
.pp-cta:hover,
.v3d-pkg-cta:hover,
.filter-btn:hover { transform: translateY(-2px); }
.btn:active,
.btn-px:active,
.btn-ghost-px:active,
.pp-cta:active,
.v3d-pkg-cta:active { transform: translateY(0) scale(.99); }
.btn i,
.btn-px i,
.btn-ghost-px i,
.pp-cta i,
.v3d-pkg-cta i { transition: transform var(--ux-fast) var(--ux-ease); }
.btn:hover i,
.btn-px:hover i,
.btn-ghost-px:hover i,
.pp-cta:hover i,
.v3d-pkg-cta:hover i { transform: translateX(-4px); }

/* Cards and grids */
.portfolio-card,
.blog-card,
.pp-card,
.v3d-pkg,
.svc-feat,
.svc-plat,
.faq-item,
.sidebar-widget,
.contact-grid form,
.px-trust-item,
.px-port,
.px-tst,
.client-chip,
.v3d-stat,
.info-item {
  backface-visibility: hidden;
}
.portfolio-card,
.blog-card,
.sidebar-widget,
.contact-grid form {
  background: var(--ux-card);
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 18px 58px -42px rgba(0,0,0,.9);
  transition: transform var(--ux-med) var(--ux-ease), border-color var(--ux-med), box-shadow var(--ux-med), background var(--ux-med);
}
.portfolio-card:hover,
.blog-card:hover,
.sidebar-widget:hover,
.contact-grid form:hover {
  background: var(--ux-card-hover);
  border-color: rgba(124,58,237,.34);
  box-shadow: 0 28px 76px -44px rgba(124,58,237,.55);
}
.portfolio-card:hover,
.blog-card:hover { transform: translateY(-7px); }
.portfolio-img img,
.blog-img img {
  transition: transform .7s var(--ux-ease), filter .7s var(--ux-ease);
}
.portfolio-card:hover .portfolio-img img,
.blog-card:hover .blog-img img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}
.portfolio-grid,
.blog-grid,
.svc-feat-grid,
.pp-cards,
.px-port-grid,
.px-flow,
.v3d-pkg-grid {
  align-items: stretch;
}
.portfolio-card,
.blog-card,
.pp-card,
.v3d-pkg {
  height: 100%;
}

/* Forms */
.form-group { position: relative; }
.form-label { margin-bottom: 9px; color: rgba(244,244,251,.88); }
.form-input,
.form-textarea,
select.form-input {
  transition: border-color var(--ux-fast), box-shadow var(--ux-fast), background var(--ux-fast), transform var(--ux-fast);
}
.form-input:hover,
.form-textarea:hover,
select.form-input:hover {
  border-color: rgba(167,139,250,.32);
  background-color: rgba(255,255,255,.045);
}
.form-input:focus,
.form-textarea:focus,
select.form-input:focus {
  border-color: rgba(167,139,250,.62);
  background-color: rgba(255,255,255,.055);
}
.form-input.ux-has-value,
.form-textarea.ux-has-value { border-color: rgba(16,185,129,.36); }

/* FAQ and filters */
.filter-bar {
  gap: 10px;
  align-items: center;
}
.filter-btn,
.blog-category,
.portfolio-tag,
.port-cat {
  transition: transform var(--ux-fast), background var(--ux-fast), color var(--ux-fast), border-color var(--ux-fast);
}
.filter-btn:hover,
.blog-category:hover,
.portfolio-tag:hover { transform: translateY(-1px); }
.faq-question { min-height: 64px; }
.faq-answer { will-change: max-height; }

/* Footer and mobile CTA */
.footer {
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.42), rgba(34,211,238,.24), transparent);
}
.footer-social a,
.m-cta a {
  transition: transform var(--ux-fast) var(--ux-ease), background var(--ux-fast), box-shadow var(--ux-fast), border-color var(--ux-fast);
}
.footer-social a:hover { transform: translateY(-3px); }
.m-cta a:active { transform: scale(.985); }

/* Scroll reveal used by main.js */
.ux-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .68s var(--ux-ease), transform .68s var(--ux-ease);
}
.ux-reveal.ux-in {
  opacity: 1;
  transform: none;
}
.ux-reveal.ux-delay-1 { transition-delay: .06s; }
.ux-reveal.ux-delay-2 { transition-delay: .12s; }
.ux-reveal.ux-delay-3 { transition-delay: .18s; }

/* Responsive tightening */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr !important; gap: 28px !important; }
  .blog-sidebar { position: static !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .page-home .px-hero {
    min-height: auto;
    padding-bottom: 58px;
  }
  .page-home .px-hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.14;
  }
  .px-hero-cta,
  .svc-spot-cta,
  .px-cta-panel .row {
    width: 100%;
  }
  .px-hero-cta > a,
  .svc-spot-cta > a,
  .px-cta-panel .row > a {
    flex: 1 1 100%;
    justify-content: center;
  }
  .px-stage { height: min(360px, 82vw); }
  .px-chip { font-size: .78rem; }
  .contact-grid form { padding: 24px !important; }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .filter-bar form,
  .filter-bar {
    justify-content: stretch !important;
  }
  .filter-bar select,
  .filter-bar .form-input,
  .filter-btn {
    width: 100% !important;
  }
  .portfolio-card,
  .blog-card {
    border-radius: 18px;
  }
  .footer { padding-bottom: 86px; }
}
@media (max-width: 420px) {
  .page-header h1 { font-size: 1.75rem !important; }
  .px-h2 { font-size: 1.65rem !important; }
  .px-eyebrow { max-width: 100%; white-space: normal; }
  .v3d-stats { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ux-reveal,
  .px-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Requested page refinements: services, contact, portfolio only. */
.ux-page-hero {
  isolation: isolate;
  padding-bottom: clamp(44px, 6vw, 72px);
  background:
    radial-gradient(600px circle at 18% 16%, rgba(34, 211, 238, .09), transparent 60%),
    linear-gradient(180deg, rgba(124,58,237,.075), rgba(10,10,15,0));
}
.ux-page-hero h1 { letter-spacing: 0; }
.ux-page-section,
.ux-page-band { position: relative; }
.ux-page-band {
  border-block: 1px solid rgba(255,255,255,.045);
}
.ux-feature-card,
.ux-info-card,
.ux-contact-info,
.ux-contact-form,
.ux-portfolio-grid .portfolio-card,
.ux-service-grid .svc-feat,
.ux-platform-grid .svc-plat,
.ux-service-spotlight {
  background: var(--ux-card) !important;
  border-color: rgba(255,255,255,.095) !important;
  box-shadow: 0 18px 58px -46px rgba(0,0,0,.9);
}
.ux-feature-card,
.ux-info-card,
.ux-contact-form,
.ux-contact-info .info-item,
.ux-portfolio-grid .portfolio-card,
.ux-service-grid .svc-feat,
.ux-platform-grid .svc-plat,
.ux-service-spotlight {
  transition: transform var(--ux-med) var(--ux-ease), border-color var(--ux-med), box-shadow var(--ux-med), background var(--ux-med);
}
.ux-feature-card:hover,
.ux-info-card:hover,
.ux-contact-info .info-item:hover,
.ux-portfolio-grid .portfolio-card:hover,
.ux-service-grid .svc-feat:hover,
.ux-platform-grid .svc-plat:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,.36) !important;
  box-shadow: 0 28px 76px -48px rgba(124,58,237,.6);
}
.ux-split-cards { align-items: stretch; }
.ux-info-card { min-height: 100%; }
.ux-info-card p,
.ux-feature-card p { text-wrap: pretty; }
.ux-contact-grid {
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr) !important;
  align-items: start;
  gap: clamp(28px, 5vw, 64px) !important;
}
.ux-contact-info {
  border: 1px solid rgba(255,255,255,.095);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  position: sticky;
  top: calc(var(--nav-height, 72px) + 24px);
}
.ux-contact-info .info-item {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}
.ux-contact-form { position: relative; overflow: hidden; }
.ux-contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee, #10b981);
}
.ux-contact-form .btn,
.ux-contact-form button[type="submit"] { min-height: 54px; }
.ux-contact-form-wrap .success-msg,
.ux-contact-form-wrap .error-msg {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.ux-contact-form-wrap .success-msg { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16,185,129,.22); }
.ux-contact-form-wrap .error-msg { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(239,68,68,.22); }
.ux-filter-bar {
  display: flex;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.025);
}
.ux-filter-bar form { justify-content: center; }
.ux-filter-bar select.form-input { min-height: 46px; }
.ux-portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)) !important;
  gap: clamp(18px, 3vw, 28px) !important;
}
.ux-portfolio-grid .portfolio-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ux-portfolio-grid .portfolio-img {
  height: auto;
  aspect-ratio: 16 / 10;
}
.ux-portfolio-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}
.ux-portfolio-body h3,
.ux-portfolio-body p { margin-bottom: 0 !important; }
.ux-portfolio-body .btn { margin-top: auto; align-self: flex-start; }
.ux-service-spotlight { border-radius: var(--radius-xl); }
.ux-service-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
  gap: clamp(16px, 3vw, 24px) !important;
}
.ux-service-grid .svc-feat,
.ux-platform-grid .svc-plat { height: 100%; }
.ux-platform-grid { gap: clamp(16px, 3vw, 26px) !important; }
.ux-bottom-cta .flex-between,
.ux-bottom-cta .px-cta-panel .row {
  align-items: center;
}
@media (max-width: 1024px) {
  .ux-contact-grid { grid-template-columns: 1fr !important; }
  .ux-contact-info { position: static; }
  .ux-split-cards { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .ux-page-hero { padding-inline: 18px; }
  .ux-page-hero p { font-size: .98rem; }
  .ux-feature-card,
  .ux-info-card,
  .ux-contact-info,
  .ux-contact-form { border-radius: 16px !important; }
  .ux-contact-info { padding: 20px; }
  .ux-contact-info .info-item { align-items: center; }
  .ux-filter-bar { padding: 12px; }
  .ux-portfolio-body .btn,
  .ux-bottom-cta .btn,
  .ux-bottom-cta .btn-px,
  .ux-bottom-cta .btn-ghost-px { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .ux-contact-info .info-item { gap: 12px; padding: 12px; }
  .ux-contact-info .info-icon { width: 42px; height: 42px; }
  .ux-portfolio-grid .portfolio-img { aspect-ratio: 4 / 3; }
}

/* Mobile-first refinements for packages, portfolio and contact. */
.pp-tax-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--px-mut);
  font-size: .88rem;
  line-height: 1.7;
  margin: 22px auto 0;
  max-width: 760px;
}
.pp-tax-note i { color: #10b981; }
.pp-compare-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 22px;
  max-width: 980px;
}
.pp-compare-pill {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(34,211,238,.025));
  box-shadow: 0 18px 54px -44px rgba(0,0,0,.9);
}
.pp-compare-pill span {
  color: var(--px-mut);
  font-weight: 800;
  font-size: .86rem;
}
.pp-compare-pill strong {
  color: var(--px-text);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.2;
}
.pp-compare-pill small {
  color: var(--px-dim);
  line-height: 1.55;
}
.pp-compare-pill.popular {
  border-color: rgba(16,185,129,.32);
  background: linear-gradient(165deg, rgba(16,185,129,.12), rgba(124,58,237,.05));
}
.pp-compare-wrap {
  box-shadow: 0 26px 80px -58px rgba(34,211,238,.55);
}
.pp-compare thead th {
  background: rgba(255,255,255,.025);
}
.pp-compare tbody th {
  color: var(--px-text);
  font-weight: 800;
}
.pp-compare tbody tr:nth-child(even) td,
.pp-compare tbody tr:nth-child(even) th {
  background: rgba(255,255,255,.015);
}
.portfolio-focus-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 11px 16px;
  border: 1px solid rgba(34,211,238,.18);
  border-radius: 999px;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(34,211,238,.10), rgba(16,185,129,.06));
  font-weight: 800;
}
.portfolio-focus-note i { color: #22d3ee; }
.portfolio-page .container { text-align: center; }
.portfolio-page .portfolio-grid { text-align: start; }
.contact-page .ux-contact-info {
  background:
    radial-gradient(520px circle at 12% 0%, rgba(34,211,238,.14), transparent 62%),
    linear-gradient(165deg, rgba(16,185,129,.08), rgba(59,130,246,.045)) !important;
  border-color: rgba(34,211,238,.16) !important;
}
.contact-page .ux-contact-info h2 {
  color: var(--text-primary);
}
.contact-page .info-icon {
  color: #061014;
  background: linear-gradient(135deg, #22d3ee, #10b981);
}
.contact-page .ux-contact-info .info-item {
  background: rgba(255,255,255,.035);
  border-color: rgba(34,211,238,.10);
}
.contact-page .ux-contact-form {
  background:
    linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.018)) !important;
  border-color: rgba(255,255,255,.11) !important;
}
.contact-page .ux-contact-form::before {
  background: linear-gradient(90deg, #22d3ee, #10b981, #7c3aed);
}
.contact-page .form-input:focus,
.contact-page .form-textarea:focus,
.contact-page select.form-input:focus {
  border-color: rgba(34,211,238,.55) !important;
  box-shadow: 0 0 0 4px rgba(34,211,238,.12) !important;
}
.contact-page .btn-primary {
  background: linear-gradient(135deg, #10b981, #3b82f6);
  box-shadow: 0 14px 34px -18px rgba(34,211,238,.8);
}

@media (max-width: 920px) {
  .pp-compare-summary {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pp-tax-note {
    align-items: flex-start;
    text-align: start;
    justify-content: flex-start;
    padding-inline: 4px;
  }
  .pp-compare-pill {
    padding: 16px;
  }
  .portfolio-focus-note {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    line-height: 1.5;
  }
  .contact-page .ux-contact-info,
  .contact-page .ux-contact-form {
    box-shadow: 0 18px 52px -44px rgba(0,0,0,.9);
  }
}

/* Packages, contact — refined public-page pass. */
:root {
  --vala-page-bg: #080910;
  --vala-panel: #11131d;
  --vala-panel-soft: #151827;
  --vala-line: rgba(255,255,255,.10);
  --vala-line-soft: rgba(255,255,255,.065);
  --vala-text: #f3f4fb;
  --vala-muted: #a4a7ba;
  --vala-dim: #767a92;
  --vala-violet: #8b5cf6;
  --vala-indigo: #4f46e5;
  --vala-teal: #2dd4bf;
  --vala-brand-grad: linear-gradient(135deg, #8b5cf6 0%, #635bff 48%, #3b82f6 100%);
  --vala-brand-soft: linear-gradient(165deg, rgba(139,92,246,.14), rgba(59,130,246,.055));
  --vala-shadow: 0 24px 70px -48px rgba(0,0,0,.95);
  --vala-shadow-hover: 0 30px 82px -50px rgba(99,91,255,.72);
}

.packages-page-hero,
.contact-page-hero {
  background:
    linear-gradient(180deg, rgba(139,92,246,.10), rgba(8,9,16,.16) 48%, rgba(8,9,16,0)),
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,0) 38%);
}
.packages-page-hero::before,
.contact-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: linear-gradient(180deg, rgba(0,0,0,.75), transparent 78%);
          mask: linear-gradient(180deg, rgba(0,0,0,.75), transparent 78%);
}
.packages-page-hero > *,
.contact-page-hero > * {
  position: relative;
  z-index: 1;
}
.packages-page-hero .px-eyebrow,
.contact-page-hero .px-eyebrow {
  color: #c4b5fd;
  background: rgba(139,92,246,.12);
  border-color: rgba(139,92,246,.26);
}
.packages-page-hero h1,
.contact-page-hero h1 {
  color: var(--vala-text);
  text-shadow: 0 16px 52px rgba(0,0,0,.36);
}
.packages-page-hero p,
.contact-page-hero p {
  color: var(--vala-muted);
}

.packages-page-hero .px-eyebrow,
.packages-page-hero h1,
.packages-page-hero p,
.contact-page-hero h1,
.contact-page-hero p {
  animation: vala-page-rise .72s var(--ux-ease) both;
}
.packages-page-hero h1,
.contact-page-hero h1 { animation-delay: .08s; }
.packages-page-hero p,
.contact-page-hero p { animation-delay: .16s; }

@keyframes vala-page-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes vala-soft-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.pp-cards.salla {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
  gap: clamp(18px, 3vw, 28px);
}
.pp-card {
  min-width: 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--vala-panel);
  border-color: var(--vala-line);
  box-shadow: var(--vala-shadow);
  transform-origin: center bottom;
  overflow: hidden;
}
.pp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--vala-brand-grad);
  opacity: .72;
}
.pp-card:hover {
  transform: translateY(-7px);
  border-color: rgba(139,92,246,.42);
  box-shadow: var(--vala-shadow-hover);
}
.pp-card.popular {
  background:
    linear-gradient(180deg, rgba(139,92,246,.13), rgba(59,130,246,.045)),
    var(--vala-panel);
  border-color: rgba(139,92,246,.52);
  box-shadow: 0 0 0 1px rgba(139,92,246,.08), var(--vala-shadow-hover);
}
@media (min-width: 921px) {
  .pp-card.popular,
  .pp-card.popular:hover {
    transform: none;
  }
  .pp-card.popular:hover { transform: translateY(-7px); }
}
.pp-badge {
  background: var(--vala-brand-grad);
  box-shadow: 0 14px 26px -14px rgba(139,92,246,.9);
}
.pp-name {
  color: var(--vala-text);
  letter-spacing: 0;
}
.pp-tag {
  color: var(--vala-muted);
  min-height: auto;
}
.pp-price .num {
  letter-spacing: 0;
}
.pp-from,
.pp-price .cur {
  color: var(--vala-dim);
}
.pp-delivery {
  color: #c4b5fd;
  background: rgba(139,92,246,.11);
  border-color: rgba(139,92,246,.24);
}
.pp-feats {
  gap: 10px;
}
.pp-feats li {
  min-width: 0;
  color: rgba(243,244,251,.93);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.pp-feats li i {
  color: var(--vala-teal);
}
.pp-feats-muted {
  margin-top: -8px;
  padding-top: 14px;
  border-top: 1px solid var(--vala-line-soft);
}
.pp-feats-muted li {
  color: var(--vala-dim);
  font-size: .86rem;
}
.pp-feats-muted li i {
  color: #9aa0b8;
}
.pp-cta {
  min-height: 50px;
  border-color: var(--vala-line);
  background: rgba(255,255,255,.045);
}
.pp-cta.primary,
.contact-page .btn-primary {
  background: var(--vala-brand-grad);
  box-shadow: 0 16px 38px -20px rgba(139,92,246,.88);
}
.pp-cta.primary:hover,
.contact-page .btn-primary:hover {
  box-shadow: 0 22px 46px -22px rgba(99,91,255,.92);
}
.pp-tax-note {
  color: var(--vala-muted);
}
.pp-tax-note i,
.pp-compare .yes {
  color: var(--vala-teal);
}
.pp-compare-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}
.pp-compare-pill {
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    var(--vala-panel);
  border-color: var(--vala-line);
  box-shadow: var(--vala-shadow);
  transition: transform var(--ux-med) var(--ux-ease), border-color var(--ux-med), box-shadow var(--ux-med);
}
.pp-compare-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,.34);
  box-shadow: var(--vala-shadow-hover);
}
.pp-compare-pill.popular {
  border-color: rgba(139,92,246,.44);
  background: var(--vala-brand-soft), var(--vala-panel);
}
.pp-compare-pill span,
.pp-compare-pill small {
  color: var(--vala-muted);
}
.pp-compare-wrap {
  border-color: var(--vala-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    var(--vala-panel);
  box-shadow: 0 28px 86px -60px rgba(99,91,255,.62);
}
.pp-compare {
  min-width: 0;
}
.pp-compare thead th {
  background: rgba(255,255,255,.03);
  white-space: normal;
}
.pp-compare thead th.pop {
  color: #c4b5fd;
  background: rgba(139,92,246,.10);
}
.pp-compare tbody th,
.pp-compare tbody td {
  white-space: normal;
  line-height: 1.65;
}
.pp-compare tbody td.pop {
  background: rgba(139,92,246,.06);
}
.pp-compare .no {
  color: #7f849b;
}

.contact-page {
  color: var(--vala-text);
}
.contact-page .ux-contact-info p {
  color: var(--vala-muted);
}
.contact-page .ux-contact-info,
.contact-page .ux-contact-form {
  background:
    linear-gradient(180deg, rgba(255,255,255,.048), rgba(255,255,255,.018)),
    var(--vala-panel) !important;
  border-color: var(--vala-line) !important;
  box-shadow: var(--vala-shadow);
}
.contact-page .info-icon {
  color: #fff;
  background: var(--vala-brand-grad);
}
.contact-page .ux-contact-info {
  background:
    linear-gradient(145deg, rgba(139,92,246,.115), rgba(59,130,246,.052)),
    var(--vala-panel) !important;
}
.contact-page .ux-contact-info .info-item {
  background: rgba(255,255,255,.035);
  border-color: var(--vala-line-soft);
}
.contact-page .ux-contact-info .info-item > div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-page .ux-contact-form::before {
  background: var(--vala-brand-grad);
}
.contact-page .form-label {
  color: rgba(243,244,251,.86);
}
.contact-page .form-input,
.contact-page .form-textarea,
.contact-page select.form-input {
  background-color: rgba(8,9,16,.55);
  border-color: var(--vala-line);
}
.contact-page .form-input:focus,
.contact-page .form-textarea:focus,
.contact-page select.form-input:focus {
  border-color: rgba(139,92,246,.64) !important;
  box-shadow: 0 0 0 4px rgba(139,92,246,.16) !important;
}
.contact-page .form-input.ux-has-value,
.contact-page .form-textarea.ux-has-value {
  border-color: rgba(45,212,191,.38);
}
.contact-page .form-input:focus-visible,
.contact-page .form-textarea:focus-visible {
  transform: translateY(-1px);
}
.ux-contact-form-wrap > div[style*="rgba(124,58,237"] {
  background: rgba(139,92,246,.10) !important;
  border-color: rgba(139,92,246,.26) !important;
}

.contact-page .animate.fadeInUp {
  animation-duration: .72s;
  animation-timing-function: var(--ux-ease);
}
.contact-page .ux-contact-info .info-item {
  will-change: transform;
}
.contact-page .ux-contact-info .info-item:hover,
.contact-page .ux-contact-form:hover {
  border-color: rgba(139,92,246,.34) !important;
  box-shadow: var(--vala-shadow-hover);
}
.contact-page .ux-contact-form-wrap.fadeInUp { animation-delay: .08s; }

.pp-compare-wrap.shown .pp-compare tbody tr {
  animation: vala-soft-in .56s var(--ux-ease) both;
}
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(2) { animation-delay: .035s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(3) { animation-delay: .07s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(4) { animation-delay: .105s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(5) { animation-delay: .14s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(6) { animation-delay: .175s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(7) { animation-delay: .21s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(8) { animation-delay: .245s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(9) { animation-delay: .28s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(10) { animation-delay: .315s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(11) { animation-delay: .35s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(12) { animation-delay: .385s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(13) { animation-delay: .42s; }
.pp-compare-wrap.shown .pp-compare tbody tr:nth-child(14) { animation-delay: .455s; }

@media (max-width: 920px) {
  .pp-cards.salla,
  .pp-compare-summary {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .pp-card {
    padding: 28px 22px;
  }
}
@media (max-width: 720px) {
  .pp-compare tbody tr {
    background:
      linear-gradient(180deg, rgba(255,255,255,.048), rgba(255,255,255,.016)),
      var(--vala-panel);
    border-color: var(--vala-line);
    box-shadow: var(--vala-shadow);
  }
  .pp-compare tbody tr > th {
    color: var(--vala-text);
    line-height: 1.55;
  }
  .pp-compare tbody td {
    align-items: flex-start;
    white-space: normal;
    text-align: end;
  }
  .pp-compare tbody td::before {
    flex: 0 0 auto;
    color: var(--vala-muted);
  }
  .pp-compare tbody td.pop {
    background: rgba(139,92,246,.09);
  }
  .pp-compare tbody td.pop::before {
    color: #c4b5fd;
  }
}
@media (max-width: 640px) {
  .packages-page-hero,
.contact-page-hero {
    padding-inline: 18px;
  }
  .pp-cards.salla,
  .pp-compare-summary {
    max-width: none;
  }
  .pp-card {
    border-radius: 18px;
    padding: 24px 18px;
  }
  .pp-price .num {
    font-size: 2.35rem;
  }
  .pp-feats li,
  .pp-compare tbody td {
    font-size: .88rem;
  }
  .contact-page .ux-contact-info .info-item {
    align-items: flex-start;
  }
  .contact-page .ux-contact-form {
    padding: 24px !important;
  }
}
@media (max-width: 420px) {
  .pp-card {
    padding: 22px 16px;
  }
  .pp-badge {
    font-size: .68rem;
    padding-inline: 12px;
  }
  .pp-compare tbody td {
    gap: 10px;
    padding-inline: 12px;
  }
  .contact-page .ux-contact-info {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .packages-page-hero .px-eyebrow,
.packages-page-hero h1,
.packages-page-hero p,
.contact-page-hero h1,
.contact-page-hero p,
.pp-compare-wrap.shown .pp-compare tbody tr {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Final guard for the two screenshot regressions. Keep this at EOF. */
.pp-cards.salla {
  padding-top: 18px !important;
}
.pp-card {
  overflow: visible !important;
}
.pp-card.popular {
  padding-top: 42px !important;
}
.pp-card .pp-badge {
  top: -15px !important;
  left: 50% !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  z-index: 10 !important;
  transform: translateX(-50%) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: calc(100% - 40px);
  padding: 6px 18px !important;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .pp-card.popular {
    padding-top: 40px !important;
  }
  .pp-card .pp-badge {
    top: -14px !important;
    min-height: 28px;
    padding: 5px 14px !important;
  }
}

/* Vala final public overrides: homepage nav + public page canvas. */
:root { --vala-public-shell: min(1180px, calc(100% - 42px)); }

body:not(.page-home):not(.dashboard) { background:#07070c !important; }
body:not(.page-home):not(.dashboard)::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(58% 42% at 84% -2%, rgba(124,58,237,.24), transparent 60%),
    radial-gradient(46% 38% at 10% 16%, rgba(79,70,229,.12), transparent 62%),
    radial-gradient(55% 45% at 80% 56%, rgba(124,58,237,.10), transparent 62%),
    radial-gradient(52% 42% at 16% 92%, rgba(34,211,238,.07), transparent 60%),
    linear-gradient(180deg,#0a0a13 0%,#08080f 55%,#07070c 100%) !important;
}
body:not(.page-home):not(.dashboard)::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask:radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
          mask:radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
}

@media (min-width:769px) {
  body:not(.dashboard) .header {
    background:linear-gradient(180deg,rgba(7,7,12,.86),rgba(7,7,12,.42)) !important;
    border-bottom:1px solid rgba(255,255,255,.06) !important;
    box-shadow:0 18px 46px -38px rgba(0,0,0,.9) !important;
  }
  body:not(.dashboard) .header-inner {
    width:var(--vala-public-shell) !important;
    max-width:none !important;
    height:72px !important;
    padding-inline:0 !important;
  }
  body:not(.dashboard) .nav {
    display:flex;
    align-items:center;
    gap:6px !important;
    padding:6px !important;
    border:1px solid rgba(255,255,255,.07) !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.035) !important;
    box-shadow:none !important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  body:not(.dashboard) .nav a {
    min-height:40px !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 16px !important;
    border-radius:999px !important;
    border-color:transparent !important;
    color:rgba(244,244,251,.70) !important;
    background:transparent !important;
    font-weight:800 !important;
    line-height:1.2;
  }
  body:not(.dashboard) .nav a:hover {
    color:#fff !important;
    background:rgba(255,255,255,.055) !important;
    border-color:rgba(255,255,255,.09) !important;
  }
  body:not(.dashboard) .nav a.active {
    color:#fff !important;
    background:linear-gradient(120deg,rgba(124,58,237,.34),rgba(34,211,238,.12)) !important;
    border-color:rgba(255,255,255,.07) !important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.07) !important;
  }
}

@media (max-width:768px) {
  body:not(.dashboard) { --vala-public-shell:min(100% - 28px,1180px); }
  body:not(.dashboard)::after { background-size:34px 34px; }
  body:not(.dashboard) .header-inner {
    width:calc(100% - 28px) !important;
    padding-inline:0 !important;
  }
  body:not(.dashboard) .nav {
    inset-inline:14px !important;
    width:auto !important;
    border-radius:20px !important;
    align-items:stretch !important;
    padding:8px !important;
    border:1px solid rgba(255,255,255,.08) !important;
    background:rgba(10,10,18,.96) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  body:not(.dashboard) .nav a {
    min-height:46px !important;
    border-radius:14px !important;
    font-weight:800 !important;
  }
}

.pp-card.popular { padding-top:44px !important; }
.pp-card .pp-badge,
html[dir="rtl"] .pp-card .pp-badge {
  top:-15px !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  width:max-content;
  max-width:calc(100% - 36px);
  transform:translateX(-50%) !important;
  margin:0 !important;
  z-index:30 !important;
  text-align:center;
  white-space:nowrap;
}

@media (max-width:420px) {
  .pp-card .pp-badge {
    top:-14px !important;
    max-width:calc(100% - 28px);
  }
}

/* Vala final public overrides: homepage nav + public page canvas. */
:root { --vala-public-shell: min(1180px, calc(100% - 42px)); }

body:not(.page-home):not(.dashboard) { background:#07070c !important; }
body:not(.page-home):not(.dashboard)::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(58% 42% at 84% -2%, rgba(124,58,237,.24), transparent 60%),
    radial-gradient(46% 38% at 10% 16%, rgba(79,70,229,.12), transparent 62%),
    radial-gradient(55% 45% at 80% 56%, rgba(124,58,237,.10), transparent 62%),
    radial-gradient(52% 42% at 16% 92%, rgba(34,211,238,.07), transparent 60%),
    linear-gradient(180deg,#0a0a13 0%,#08080f 55%,#07070c 100%) !important;
}
body:not(.page-home):not(.dashboard)::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask:radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
          mask:radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
}

@media (min-width:769px) {
  body:not(.dashboard) .header {
    background:linear-gradient(180deg,rgba(7,7,12,.86),rgba(7,7,12,.42)) !important;
    border-bottom:1px solid rgba(255,255,255,.06) !important;
    box-shadow:0 18px 46px -38px rgba(0,0,0,.9) !important;
  }
  body:not(.dashboard) .header-inner {
    width:var(--vala-public-shell) !important;
    max-width:none !important;
    height:72px !important;
    padding-inline:0 !important;
  }
  body:not(.dashboard) .nav {
    display:flex;
    align-items:center;
    gap:6px !important;
    padding:6px !important;
    border:1px solid rgba(255,255,255,.07) !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.035) !important;
    box-shadow:none !important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  body:not(.dashboard) .nav a {
    min-height:40px !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 16px !important;
    border-radius:999px !important;
    border-color:transparent !important;
    color:rgba(244,244,251,.70) !important;
    background:transparent !important;
    font-weight:800 !important;
    line-height:1.2;
  }
  body:not(.dashboard) .nav a:hover {
    color:#fff !important;
    background:rgba(255,255,255,.055) !important;
    border-color:rgba(255,255,255,.09) !important;
  }
  body:not(.dashboard) .nav a.active {
    color:#fff !important;
    background:linear-gradient(120deg,rgba(124,58,237,.34),rgba(34,211,238,.12)) !important;
    border-color:rgba(255,255,255,.07) !important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.07) !important;
  }
}

@media (max-width:768px) {
  body:not(.dashboard) { --vala-public-shell:min(100% - 28px,1180px); }
  body:not(.dashboard)::after { background-size:34px 34px; }
  body:not(.dashboard) .header-inner {
    width:calc(100% - 28px) !important;
    padding-inline:0 !important;
  }
  body:not(.dashboard) .nav {
    inset-inline:14px !important;
    width:auto !important;
    border-radius:20px !important;
    align-items:stretch !important;
    padding:8px !important;
    border:1px solid rgba(255,255,255,.08) !important;
    background:rgba(10,10,18,.96) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  body:not(.dashboard) .nav a {
    min-height:46px !important;
    border-radius:14px !important;
    font-weight:800 !important;
  }
}

.pp-card.popular { padding-top:44px !important; }
.pp-card .pp-badge,
html[dir="rtl"] .pp-card .pp-badge {
  top:-15px !important;
  left:50% !important;
  right:auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  width:max-content;
  max-width:calc(100% - 36px);
  transform:translateX(-50%) !important;
  margin:0 !important;
  z-index:30 !important;
  text-align:center;
  white-space:nowrap;
}

@media (max-width:420px) {
  .pp-card .pp-badge {
    top:-14px !important;
    max-width:calc(100% - 28px);
  }
}

/* Final public UI sync: use the homepage shell across public pages. */
:root {
  --vala-public-shell: min(1180px, calc(100% - 42px));
}

body:not(.page-home):not(.dashboard) {
  background: #07070c !important;
}

body:not(.page-home):not(.dashboard)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58% 42% at 84% -2%, rgba(124,58,237,.24), transparent 60%),
    radial-gradient(46% 38% at 10% 16%, rgba(79,70,229,.12), transparent 62%),
    radial-gradient(55% 45% at 80% 56%, rgba(124,58,237,.10), transparent 62%),
    radial-gradient(52% 42% at 16% 92%, rgba(34,211,238,.07), transparent 60%),
    linear-gradient(180deg,#0a0a13 0%,#08080f 55%,#07070c 100%);
}

body:not(.page-home):not(.dashboard)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
          mask: radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
}

@media (min-width: 769px) {
  body:not(.dashboard) .header {
    background: linear-gradient(180deg,rgba(7,7,12,.86),rgba(7,7,12,.42)) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    box-shadow: 0 18px 46px -38px rgba(0,0,0,.9) !important;
  }

  body:not(.dashboard) .header-inner {
    width: var(--vala-public-shell) !important;
    max-width: none !important;
    height: 72px !important;
    padding-inline: 0 !important;
  }

  body:not(.dashboard) .nav {
    display: flex;
    align-items: center;
    gap: 6px !important;
    padding: 6px !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.035) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  body:not(.dashboard) .nav a {
    min-height: 40px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px !important;
    border-radius: 999px !important;
    border-color: transparent !important;
    color: rgba(244,244,251,.70) !important;
    background: transparent !important;
    font-weight: 800 !important;
    line-height: 1.2;
  }

  body:not(.dashboard) .nav a:hover {
    color: #fff !important;
    background: rgba(255,255,255,.055) !important;
    border-color: rgba(255,255,255,.09) !important;
  }

  body:not(.dashboard) .nav a.active {
    color: #fff !important;
    background: linear-gradient(120deg,rgba(124,58,237,.34),rgba(34,211,238,.12)) !important;
    border-color: rgba(255,255,255,.07) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
  }
}

@media (max-width: 768px) {
  body:not(.dashboard) {
    --vala-public-shell: min(100% - 28px, 1180px);
  }

  body:not(.dashboard)::after {
    background-size: 34px 34px;
  }

  body:not(.dashboard) .header-inner {
    width: calc(100% - 28px) !important;
    padding-inline: 0 !important;
  }

  body:not(.dashboard) .nav {
    inset-inline: 14px !important;
    width: auto !important;
    border-radius: 20px !important;
    align-items: stretch !important;
    padding: 8px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(10,10,18,.96) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  body:not(.dashboard) .nav a {
    min-height: 46px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
  }
}

/* Center the Pro package badge regardless of RTL/LTR inline positioning. */
.pp-card.popular {
  padding-top: 44px !important;
}

.pp-card .pp-badge {
  top: -15px !important;
  left: 50% !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  width: max-content;
  max-width: calc(100% - 36px);
  transform: translateX(-50%) !important;
  margin: 0 !important;
  z-index: 30 !important;
  text-align: center;
  white-space: nowrap;
}

html[dir="rtl"] .pp-card .pp-badge {
  transform: translateX(-50%) !important;
}

@media (max-width: 420px) {
  .pp-card .pp-badge {
    top: -14px !important;
    max-width: calc(100% - 28px);
  }
}

/* Restore the About page visual to the same modern store-card language. */

/* Public pages alignment with the homepage premium shell. */
body:not(.page-home) {
  background:
    radial-gradient(62% 42% at 82% -8%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(46% 36% at 8% 8%, rgba(79,70,229,.10), transparent 62%),
    linear-gradient(180deg, #080810 0%, #07070c 100%);
}
body:not(.page-home)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(120% 80% at 76% -8%, rgba(0,0,0,.76), transparent 74%);
          mask: radial-gradient(120% 80% at 76% -8%, rgba(0,0,0,.76), transparent 74%);
}

@media (min-width: 769px) {
  .header {
    background:
      linear-gradient(180deg, rgba(12,8,25,.94), rgba(7,7,12,.86)) !important;
    border-bottom: 1px solid rgba(124,58,237,.48) !important;
    box-shadow: 0 18px 46px -38px rgba(0,0,0,.9);
  }
  .header-inner {
    max-width: 1180px;
    height: 68px;
    padding-inline: 22px;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 16px 34px -30px rgba(0,0,0,.9);
  }
  .nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: rgba(244,244,251,.68);
    font-weight: 800;
    line-height: 1.2;
    background: transparent;
  }
  .nav a:hover {
    color: var(--px-text);
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.09);
    transform: translateY(-1px);
  }
  .nav a.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(124,58,237,.42), rgba(124,58,237,.22));
    border-color: rgba(167,139,250,.38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 26px -18px rgba(124,58,237,.85);
  }
  .nav a.active::after {
    bottom: 5px;
    width: 18px;
    height: 2px;
    background: #a78bfa;
  }
  .brand-logo {
    height: 34px;
  }
}

.page-header,
.ux-page-hero,
.packages-page-hero,
.contact-page-hero {
  background:
    radial-gradient(60% 70% at 78% 0%, rgba(124,58,237,.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)) !important;
}

/* Correct Pro badge centering independently from RTL inline positioning. */
.pp-card.popular {
  padding-top: 46px !important;
}
.pp-card .pp-badge {
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  transform: translate(-50%, -50%) !important;
  z-index: 20 !important;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

/* Keep the About visual card modern and stable, not dated or jumpy. */

@media (max-width: 640px) {
  .pp-card.popular {
    padding-top: 44px !important;
  }
  .pp-card .pp-badge {
    max-width: calc(100% - 28px);
  }
}

/* Targeted regression fixes: package badge + About visual stability. */
.pp-cards.salla {
  padding-top: 18px;
}
.pp-card {
  overflow: visible !important;
}
.pp-card.popular {
  padding-top: 42px;
}
.pp-card .pp-badge {
  top: -15px;
  left: 50%;
  right: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
  z-index: 6;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 26px -18px rgba(124,58,237,.8);
}

@media (max-width: 920px) {
  .pp-cards.salla {
    padding-top: 16px;
  }
  .pp-card.popular {
    padding-top: 40px;
  }
}
@media (max-width: 420px) {
  .pp-card .pp-badge {
    top: -14px;
    min-height: 28px;
    padding: 5px 14px;
    max-width: calc(100% - 32px);
  }
}

/* Regression repair: restore Vala's calm premium Arabic UI. */
.packages-page-hero,
.contact-page-hero {
  background: linear-gradient(180deg, rgba(124,58,237,.055), rgba(10,10,15,0)) !important;
}
.packages-page-hero::before,
.contact-page-hero::before {
  content: none !important;
}
.packages-page-hero .px-eyebrow,
.packages-page-hero h1,
.packages-page-hero p,
.contact-page-hero h1,
.contact-page-hero p {
  animation: none !important;
  filter: none !important;
  text-shadow: none !important;
}
.packages-page-hero h1,
.contact-page-hero h1 {
  color: var(--text-primary);
  line-height: 1.28;
  letter-spacing: 0;
}
.packages-page-hero p,
.contact-page-hero p {
  color: var(--text-secondary);
  line-height: 1.8;
}
.packages-page-hero .px-eyebrow {
  color: var(--accent-secondary);
  background: rgba(124,58,237,.10);
  border-color: rgba(124,58,237,.22);
}

.pp-cards.salla {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 940px;
  gap: 22px;
}
.pp-card {
  border-radius: 22px;
  padding: 30px 24px;
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.014)) !important;
  border-color: rgba(255,255,255,.09) !important;
  box-shadow: 0 18px 54px -44px rgba(0,0,0,.9) !important;
  transform: none;
}
.pp-card::before {
  opacity: .45;
  background: var(--px-grad);
}
.pp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,58,237,.32) !important;
  box-shadow: 0 22px 58px -46px rgba(124,58,237,.46) !important;
}
.pp-card.popular,
.pp-card.popular:hover {
  background: linear-gradient(170deg, rgba(124,58,237,.10), rgba(255,255,255,.018)) !important;
  border-color: rgba(124,58,237,.38) !important;
  transform: translateY(0);
}
.pp-card.popular:hover { transform: translateY(-3px); }
.pp-badge {
  background: var(--px-grad);
  box-shadow: 0 10px 24px -16px rgba(124,58,237,.75);
}
.pp-name {
  color: var(--px-text);
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: 0;
}
.pp-tag,
.pp-from,
.pp-price .cur {
  color: var(--px-mut);
  line-height: 1.65;
}
.pp-price .num {
  letter-spacing: 0;
}
.pp-delivery {
  color: var(--px-violet-2);
  background: rgba(124,58,237,.10);
  border-color: rgba(124,58,237,.20);
}
.pp-feats {
  gap: 10px;
  margin: 20px 0 22px;
}
.pp-feats li {
  color: rgba(244,244,251,.94);
  font-size: .9rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.pp-feats li i,
.pp-tax-note i,
.pp-compare .yes {
  color: var(--success);
}
.pp-feats-muted {
  margin-top: -6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.pp-feats-muted li {
  color: var(--px-dim);
  font-size: .86rem;
}
.pp-feats-muted li i {
  color: var(--px-dim);
}
.pp-cta {
  min-height: 50px;
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
  box-shadow: none;
}
.pp-cta.primary,
.contact-page .btn-primary {
  background: var(--px-grad);
  box-shadow: 0 12px 28px -18px rgba(124,58,237,.72);
}
.pp-cta:hover,
.pp-cta.primary:hover,
.contact-page .btn-primary:hover {
  box-shadow: 0 16px 34px -22px rgba(124,58,237,.65);
}

.pp-compare-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 740px;
}
.pp-compare-pill,
.pp-compare-pill.popular {
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 16px 46px -40px rgba(0,0,0,.9);
}
.pp-compare-pill.popular {
  border-color: rgba(124,58,237,.28);
}
.pp-compare-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -42px rgba(124,58,237,.45);
}
.pp-compare-wrap {
  background: var(--px-panel);
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 18px 56px -48px rgba(0,0,0,.9);
}
.pp-compare-wrap.shown .pp-compare tbody tr {
  animation: none !important;
}
.pp-compare thead th,
.pp-compare tbody th,
.pp-compare tbody td {
  line-height: 1.65;
  white-space: normal;
}
.pp-compare thead th.pop,
.pp-compare tbody td.pop {
  background: rgba(124,58,237,.07);
  color: var(--px-text);
}

.contact-page .ux-contact-info,
.contact-page .ux-contact-form {
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.015)) !important;
  border-color: rgba(255,255,255,.09) !important;
  box-shadow: 0 18px 54px -44px rgba(0,0,0,.9) !important;
}
.contact-page .ux-contact-info h2 {
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: 0;
}
.contact-page .ux-contact-info p {
  color: var(--text-secondary);
  line-height: 1.85;
}
.contact-page .info-icon {
  color: #fff;
  background: var(--accent-gradient-2);
}
.contact-page .ux-contact-info .info-item:hover,
.contact-page .ux-contact-form:hover {
  transform: translateY(-2px);
  border-color: rgba(124,58,237,.28) !important;
  box-shadow: 0 18px 54px -44px rgba(124,58,237,.45) !important;
}

.contact-page .ux-contact-info {
  background: linear-gradient(165deg, rgba(124,58,237,.075), rgba(255,255,255,.015)) !important;
}
.contact-page .ux-contact-info .info-item {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.07);
}
.contact-page .ux-contact-info .info-item > div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-page .ux-contact-form::before {
  background: var(--px-grad);
  height: 2px;
}
.contact-page .form-label {
  color: rgba(244,244,251,.86);
  line-height: 1.5;
}
.contact-page .form-input,
.contact-page .form-textarea,
.contact-page select.form-input {
  background-color: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.10);
}
.contact-page .form-input:focus,
.contact-page .form-textarea:focus,
.contact-page select.form-input:focus {
  border-color: rgba(124,58,237,.55) !important;
  box-shadow: 0 0 0 4px rgba(124,58,237,.14) !important;
  transform: none;
}
.contact-page .form-input.ux-has-value,
.contact-page .form-textarea.ux-has-value {
  border-color: rgba(167,139,250,.34);
}
.ux-contact-form-wrap > div[style*="rgba(124,58,237"] {
  background: rgba(124,58,237,.08) !important;
  border-color: rgba(124,58,237,.20) !important;
}

.contact-page .animate.fadeInUp {
  animation-duration: .5s;
  animation-timing-function: var(--ux-ease);
}
.contact-page .ux-contact-form-wrap.fadeInUp {
  animation-delay: 0s;
}

@media (max-width: 920px) {
  .pp-cards.salla,
  .pp-compare-summary {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}
@media (max-width: 720px) {
  .pp-compare-wrap {
    box-shadow: none;
  }
  .pp-compare tbody tr {
    background: var(--px-panel);
    border-color: rgba(255,255,255,.09);
    box-shadow: 0 14px 42px -36px rgba(0,0,0,.9);
  }
  .pp-compare tbody td {
    align-items: flex-start;
    gap: 12px;
    text-align: end;
  }
  .pp-compare tbody td::before {
    color: var(--px-mut);
    line-height: 1.5;
  }
}
@media (max-width: 640px) {
  .pp-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .pp-name { font-size: 1.18rem; }
  .pp-price .num { font-size: 2.25rem; }
  .pp-feats li,
  .pp-compare tbody td {
    font-size: .88rem;
  }
  .pp-cta,
  .contact-page .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .contact-page .ux-contact-form {
    padding: 24px !important;
  }
  .contact-page .ux-contact-info .info-item {
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .pp-card { padding: 22px 16px; }
  .pp-badge {
    font-size: .68rem;
    padding-inline: 12px;
  }
  .pp-compare tbody td {
    padding-inline: 12px;
  }
  .contact-page .ux-contact-info {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .packages-page-hero .px-eyebrow,
.packages-page-hero h1,
.packages-page-hero p,
.contact-page-hero h1,
.contact-page-hero p,
.contact-page .animate.fadeInUp,
.pp-compare-wrap.shown .pp-compare tbody tr {
    animation: none !important;
    transition-duration: .001ms !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Final guard for the two screenshot regressions. Keep this at EOF. */
.pp-cards.salla {
  padding-top: 18px !important;
}
.pp-card {
  overflow: visible !important;
}
.pp-card.popular {
  padding-top: 42px !important;
}
.pp-card .pp-badge {
  top: -15px !important;
  left: 50% !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  z-index: 10 !important;
  transform: translateX(-50%) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: calc(100% - 40px);
  padding: 6px 18px !important;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .pp-card.popular {
    padding-top: 40px !important;
  }
  .pp-card .pp-badge {
    top: -14px !important;
    min-height: 28px;
    padding: 5px 14px !important;
  }
}


/* vala-final-fixes.css */
/* Final public overrides loaded after the main theme layers. */
:root {
  --vala-public-shell: min(1180px, calc(100% - 42px));
}

body:not(.page-home):not(.dashboard) {
  background: #07070c !important;
}

body:not(.page-home):not(.dashboard)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58% 42% at 84% -2%, rgba(124,58,237,.24), transparent 60%),
    radial-gradient(46% 38% at 10% 16%, rgba(79,70,229,.12), transparent 62%),
    radial-gradient(55% 45% at 80% 56%, rgba(124,58,237,.10), transparent 62%),
    radial-gradient(52% 42% at 16% 92%, rgba(34,211,238,.07), transparent 60%),
    linear-gradient(180deg,#0a0a13 0%,#08080f 55%,#07070c 100%) !important;
}

body:not(.page-home):not(.dashboard)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
          mask: radial-gradient(140% 96% at 72% -6%, #000 0%, rgba(0,0,0,.42) 48%, transparent 82%);
}

@media (min-width: 769px) {
  body:not(.dashboard) .header {
    background: linear-gradient(180deg,rgba(7,7,12,.86),rgba(7,7,12,.42)) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    box-shadow: 0 18px 46px -38px rgba(0,0,0,.9) !important;
  }

  body:not(.dashboard) .header-inner {
    width: var(--vala-public-shell) !important;
    max-width: none !important;
    height: 72px !important;
    padding-inline: 0 !important;
  }

  body:not(.dashboard) .nav {
    display: flex;
    align-items: center;
    gap: 6px !important;
    padding: 6px !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.035) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  body:not(.dashboard) .nav a {
    min-height: 40px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px !important;
    border-radius: 999px !important;
    border-color: transparent !important;
    color: rgba(244,244,251,.70) !important;
    background: transparent !important;
    font-weight: 800 !important;
    line-height: 1.2;
  }

  body:not(.dashboard) .nav a:hover {
    color: #fff !important;
    background: rgba(255,255,255,.055) !important;
    border-color: rgba(255,255,255,.09) !important;
  }

  body:not(.dashboard) .nav a.active {
    color: #fff !important;
    background: linear-gradient(120deg,rgba(124,58,237,.34),rgba(34,211,238,.12)) !important;
    border-color: rgba(255,255,255,.07) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07) !important;
  }
}

@media (max-width: 768px) {
  body:not(.dashboard) {
    --vala-public-shell: min(100% - 28px, 1180px);
  }

  body:not(.dashboard)::after {
    background-size: 34px 34px;
  }

  body:not(.dashboard) .header-inner {
    width: calc(100% - 28px) !important;
    padding-inline: 0 !important;
  }

  body:not(.dashboard) .nav {
    inset-inline: 14px !important;
    width: auto !important;
    border-radius: 20px !important;
    align-items: stretch !important;
    padding: 8px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(10,10,18,.96) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  body:not(.dashboard) .nav a {
    min-height: 46px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
  }
}

.pp-card.popular {
  padding-top: 44px !important;
}

.pp-card .pp-badge,
html[dir="rtl"] .pp-card .pp-badge {
  top: -15px !important;
  left: 50% !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  width: max-content;
  max-width: calc(100% - 36px);
  transform: translateX(-50%) !important;
  margin: 0 !important;
  z-index: 30 !important;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .pp-card .pp-badge {
    top: -14px !important;
    max-width: calc(100% - 28px);
  }
}

/* ════════════════════════════════════════════════════════════════════════
   UX REFINEMENTS — contact WhatsApp field, footer, animations
   (calm/premium; new selectors only, no redesign)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Contact form: phone field with GCC country-code selector + WhatsApp hint ── */
.phone-field { display:flex; gap:8px; align-items:stretch; direction:ltr; }
.phone-field .form-input { flex:1; min-width:0; text-align:left; }
.phone-field .phone-cc-select {
  flex:0 0 auto; width:auto; min-width:108px;
  padding:0 32px 0 12px;
  font-family:inherit; font-weight:800; font-size:.92rem; line-height:1.2;
  color:var(--text-primary,#f4f4fb);
  border:1px solid var(--border,rgba(255,255,255,.1)); border-radius:var(--radius,12px);
  background-color:rgba(255,255,255,.045);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa0b4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat; background-position:right .7rem center; background-size:11px;
  -webkit-appearance:none; -moz-appearance:none; appearance:none; cursor:pointer;
  transition:border-color var(--ux-fast,.18s), background-color var(--ux-fast,.18s);
}
.phone-field .phone-cc-select:hover { border-color:rgba(167,139,250,.32); }
.phone-field .phone-cc-select:focus { outline:none; border-color:rgba(167,139,250,.62); box-shadow:var(--ux-ring,0 0 0 4px rgba(124,58,237,.18)); }
.phone-field .phone-cc-select option { color:#0b0b12; background:#fff; }
.phone-hint { display:flex; align-items:center; gap:7px; margin-top:8px; font-size:.82rem; color:var(--text-muted,#9090a8); }
.phone-hint i { color:#25d366; font-size:1rem; }

/* ── Contact info: clickable WhatsApp item ── */
.contact-page .info-item-wa { text-decoration:none; color:inherit; cursor:pointer; }
.contact-page .info-item-wa .info-icon {
  background:linear-gradient(135deg,#25d366,#128c7e) !important; color:#fff !important;
  transition:transform .2s var(--ux-ease,ease);
}
.contact-page .info-item-wa:hover { border-color:rgba(37,211,102,.35) !important; }
.contact-page .info-item-wa:hover .info-icon { transform:translateY(-2px); }

/* ── Footer: WhatsApp-only contact ── */
.footer-contact .footer-wa { display:inline-flex; align-items:center; gap:10px; text-decoration:none; }
.footer-contact .footer-wa i { font-size:1.5rem; color:#25d366; }
.footer-contact .footer-wa-text { display:flex; flex-direction:column; line-height:1.35; }
.footer-contact .footer-wa-text strong { color:var(--text-primary,#f4f4fb); font-size:.92rem; }
.footer-contact .footer-wa-text small { color:var(--text-secondary,#b8b8c8); font-size:.86rem; }
.footer-contact .footer-wa:hover .footer-wa-text small { color:#25d366; }

/* ── Animations: staggered reveals must hold their first keyframe during the
   delay so they never flash visible→hidden→in (premium, smooth). ── */
.animate.fadeInUp,
.animate.slideInLeft,
.animate.slideInRight { animation-fill-mode: both !important; }

/* ── About mockup: kept calm and static — it rides the section's single fade-in
   with NO independent per-tile movement (the earlier stagger felt fidgety). ── */

/* ── About: trust strip under the hero — calm reassurance chips. ── */

/* ── Reduced motion: keep all reveal targets visible regardless of JS. ── */
@media (prefers-reduced-motion: reduce) {
  .animate { opacity:1 !important; transform:none !important; animation:none !important; }
}

/* ── Packages: three tiers (ستارتر / برو / إيليت) sit in one balanced row on
   desktop. An earlier 2-tier layout pinned .pp-cards.salla to 2 columns, which
   left Elite stranded on a second row. Restore 3-up; stays 1-up on mobile. ── */
@media (min-width: 921px) {
  .pp-cards.salla {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: 1180px !important;
    margin-inline: auto;
  }
  .pp-compare-summary { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* vala-glass.css */
/* ═══════════════════════════════════════════════════════════════
   Vala — site-wide glass language (2026-10-11)
   The homepage hero set the look the owner approved; this file carries it
   to every public page:
     · one dark canvas with a soft violet glow, no grid patterns
     · no outlines: cards are frosted glass with a light top edge
     · header = logo | centred plain links | actions
     · calm Arabic type (never negative tracking), few words
   Loaded after the legacy stylesheets; !important only where vala-polish /
   final-fixes already force a value. Dark only — the site has no light theme.
   ═══════════════════════════════════════════════════════════════ */

body:not(.dashboard){
  --gl-bg: #0c0b11;
  --gl-card: linear-gradient(150deg, rgba(255,255,255,.085), rgba(255,255,255,.022) 65%);
  --gl-card-hover: linear-gradient(150deg, rgba(167,139,250,.14), rgba(255,255,255,.02) 65%);
  --gl-edge: inset 0 1px 0 rgba(255,255,255,.1);
  --gl-shadow: 0 24px 50px -34px rgba(0,0,0,.8);
  --gl-blur: none;   /* cards scroll over a flat dark canvas: a live blur cost a lot and showed nothing */
  --gl-text: #f4f4fb;
  --gl-mut: rgba(244,244,251,.62);
}

/* ── Canvas ─────────────────────────────────────────────────── */
body:not(.dashboard){ background: var(--gl-bg) !important; }
body:not(.dashboard)::before{
  background:
    radial-gradient(900px 560px at 10% -10%, rgba(124,58,237,.2), transparent 62%),
    radial-gradient(700px 500px at 95% 40%, rgba(79,70,229,.07), transparent 65%),
    var(--gl-bg) !important;
}
body:not(.dashboard):not(.page-home)::after{ background: none !important; }

/* ── Header: logo | centred links | actions ─────────────────── */
.header-actions{ display: none; }
.ha-ghost, .ha-primary{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding-inline: 18px; border-radius: 999px;
  gap: 7px; font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: background .25s ease, box-shadow .25s ease;
}
.ha-ghost{ color: #f4f4fb; background: rgba(255,255,255,.07); }
.ha-ghost:hover{ background: rgba(255,255,255,.12); }
.ha-primary{ color: #fff; background: linear-gradient(120deg, #a78bfa, #7c3aed); box-shadow: 0 10px 26px -12px rgba(124,58,237,.9); }
.ha-primary:hover{ box-shadow: 0 14px 32px -12px rgba(124,58,237,1); }
/* signed-in client: quiet round sign-out next to "مشروعي" */
.ha-out-form{ display: contents; }
.ha-icon{
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  display: inline-grid; place-items: center; font-size: 1rem;
  color: rgba(244,244,251,.6); background: rgba(255,255,255,.05);
  transition: background .25s ease, color .25s ease;
}
.ha-icon:hover{ color: #fff; background: rgba(255,255,255,.1); }
/* phone menu: plain links like the rest */
.nav form.nav-client{ margin: 0; }
.nav form.nav-client button{
  width: 100%; border: 0; background: none; cursor: pointer; font: inherit; text-align: inherit;
  color: rgba(244,244,251,.6); padding: 12px 16px;
}

@media (min-width: 769px){
  body:not(.dashboard) .header{
    background: rgba(12,11,17,.6) !important;
    border-bottom: 0 !important; box-shadow: none !important;
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  }
  body:not(.dashboard) .header-inner{
    display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center;
    width: min(1240px, calc(100% - 72px)) !important;
  }
  body:not(.dashboard) .header .logo{ justify-self: start; }
  body:not(.dashboard) .header-actions{ justify-self: end; display: flex; align-items: center; gap: 8px; }
  body:not(.dashboard) .nav{
    gap: 2px !important; padding: 0 !important;
    background: transparent !important; border-color: transparent !important;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body:not(.dashboard) .nav a{
    min-height: 38px !important; padding: 8px 14px !important;
    font-weight: 700 !important; color: rgba(244,244,251,.66) !important;
  }
  body:not(.dashboard) .nav a:hover,
  body:not(.dashboard) .nav a.active{
    color: #fff !important; background: transparent !important;
    border-color: transparent !important; box-shadow: none !important;
  }
  /* "تواصل معنا" lives in the actions on desktop; the phone menu keeps it */
  body:not(.dashboard) .nav a[href="/contact"]{ display: none !important; }
  body:not(.dashboard) .nav .nav-client{ display: none !important; }
}
@media (max-width: 768px){
  body:not(.dashboard) .header{ background: rgba(12,11,17,.72) !important; border-bottom: 0 !important; box-shadow: none !important; }
  body:not(.dashboard) .nav{ border: 0 !important; background: rgba(18,16,26,.96) !important; }
}

/* ── Page heads: centred, few words, no decoration ─────────── */
body:not(.dashboard) .page-header,
body:not(.dashboard) .ux-page-hero,
body:not(.dashboard) .packages-page-hero,
body:not(.dashboard) .contact-page-hero{
  background: transparent !important; text-align: center;
}
.page-header::after, .page-header-bg{ display: none !important; }
body:not(.dashboard) .page-header h1,
body:not(.dashboard) .pk-hero h1,
body:not(.dashboard) .policies-head h1{
  font-weight: 800 !important; line-height: 1.4 !important; letter-spacing: 0 !important; color: var(--gl-text);
}
body:not(.dashboard) .page-header p,
body:not(.dashboard) .pk-hero p{
  max-width: 54ch; margin-inline: auto; color: var(--gl-mut) !important; line-height: 1.9;
}
/* eyebrow chips above titles add words without adding meaning */
.section-label, .pk-eyebrow, .px-eyebrow, .policies-kicker{ display: none !important; }
body:not(.dashboard) .section-title,
body:not(.dashboard) .pk-h2,
body:not(.dashboard) .px-h2{ font-weight: 800 !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
body:not(.dashboard) .section-subtitle{ color: var(--gl-mut) !important; }

/* ── Glass surfaces: no outlines ───────────────────────────── */
body:not(.dashboard) :is(
  .portfolio-card, .faq-item, .blog-card, .sidebar-widget,
  .testimonial-card, .policy-panel, .policies-tabs, .info-item, .ux-contact-form, .empty-state,
  .service-card, .pk-card, .pk-compare, .pk-faq details, .pk-cta-panel,
  .blog-post-detail
){
  background: var(--gl-card) !important;
  border: 0 !important;
  box-shadow: var(--gl-edge), var(--gl-shadow) !important;
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
}
body:not(.dashboard) :is(
  .portfolio-card, .faq-item, .blog-card,
  .testimonial-card, .service-card, .pk-card
):hover{
  background: var(--gl-card-hover) !important;
  border-color: transparent !important;
}
/* the recommended package keeps its violet glow, still without an outline */
body:not(.dashboard) .pk-card.popular{
  background: linear-gradient(150deg, rgba(167,139,250,.2), rgba(255,255,255,.02) 65%) !important;
}
body:not(.dashboard) .pk-card.popular::before{ display: none !important; }
body:not(.dashboard) .pk-cmp-row{ border-bottom: 0 !important; box-shadow: inset 0 -1px rgba(255,255,255,.04); }
body:not(.dashboard) .policies-tab{ border: 0 !important; }

/* ── Buttons: pills, no outlines ───────────────────────────── */
body:not(.dashboard) .btn{ border-radius: 999px !important; }
body:not(.dashboard) :is(.btn-secondary, .btn-outline, .btn-ghost, .btn-ghost-px, .pk-btn-ghost, .pk-cta:not(.primary)){
  background: rgba(255,255,255,.07) !important; border: 0 !important; box-shadow: none !important;
}
body:not(.dashboard) :is(.btn-secondary, .btn-outline, .btn-ghost, .btn-ghost-px, .pk-btn-ghost, .pk-cta:not(.primary)):hover{
  background: rgba(255,255,255,.12) !important;
}

/* ── Inputs: soft fields, violet focus ring ────────────────── */
body:not(.dashboard) :is(.form-input, .form-select, .form-textarea, .pcc-btn){
  background: rgba(255,255,255,.06) !important; border: 0 !important; border-radius: 14px !important;
}
body:not(.dashboard) :is(.form-input, .form-select, .form-textarea):focus{
  box-shadow: 0 0 0 3px rgba(124,58,237,.35) !important; outline: none;
}

/* ── Footer: no rule lines ─────────────────────────────────── */
body:not(.dashboard) .footer{ border-top: 0 !important; background: transparent !important; }
body:not(.dashboard) .footer::before{ display: none !important; }
body:not(.dashboard) .footer-bottom{ border-top: 0 !important; }

/* ── Remaining outlines found by the border audit ──────────── */
body:not(.dashboard) :is(.contact-info, .portfolio-focus-note){
  background: var(--gl-card) !important; border: 0 !important; box-shadow: var(--gl-edge), var(--gl-shadow) !important;
}
body:not(.dashboard) :is(.info-icon, .policy-panel-icon, .pf-soon .pill, .pf-soon .b2){ border: 0 !important; }
body:not(.dashboard) .policy-note{ border: 0 !important; background: rgba(255,255,255,.04) !important; }
/* mobile sticky CTA bar */
body:not(.dashboard) .m-cta{ border-top: 0 !important; background: rgba(12,11,17,.86) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
body:not(.dashboard) .m-cta-secondary{ border: 0 !important; background: rgba(255,255,255,.08) !important; }

/* decorative top lines on panels */
body:not(.dashboard) :is(.ux-contact-form, .contact-info)::before{ display: none !important; }

/* ── Smooth scrolling (render-cost audit, 2026-10-11) ───────────
   Fixed strips are re-blurred on every scroll frame, so they get a denser
   background and a small (desktop) or no (phone) blur. */
@media (min-width: 769px){
  body:not(.dashboard) .header{
    background: rgba(12,11,17,.78) !important;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
}
@media (max-width: 768px){
  body:not(.dashboard) .header,
  body:not(.dashboard) .header.px-scrolled{
    background: rgba(12,11,17,.92) !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body:not(.dashboard) .m-cta{
    background: rgba(12,11,17,.95) !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body:not(.dashboard) .nav{ -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* inner pages: no empty masked fixed layer, no leftover mask on the canvas */
body:not(.dashboard):not(.page-home)::after{ content: none; }
body:not(.dashboard)::before{ -webkit-mask: none; mask: none; }
/* permanent GPU layers only where something actually moves */
.info-item, .faq-answer, .px-card3d, .svc-spot-window{ will-change: auto !important; }
/* overflow:hidden on html/body made body a scroll container (breaks sticky) */
html, body{ overflow-x: clip !important; }
/* inner pages: the canvas above lost to older, more specific !important
   rules in final-fixes / polish — same canvas everywhere */
html body:not(.dashboard):not(.page-home){ background: var(--gl-bg) !important; }
html body:not(.dashboard):not(.page-home)::before{
  background:
    radial-gradient(900px 560px at 10% -10%, rgba(124,58,237,.2), transparent 62%),
    radial-gradient(700px 500px at 95% 40%, rgba(79,70,229,.07), transparent 65%),
    var(--gl-bg) !important;
}

/* ── contact: one calm card, few words ─────────────────────────── */
.ct-page{ position:relative; padding: clamp(120px, 17vh, 176px) 16px clamp(80px, 12vh, 140px); }
.ct-head{ text-align:center; margin: 0 auto clamp(36px, 6vh, 56px); }
.ct-head h1{ font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight:900; line-height:1.4; margin:0 0 14px; color:#f4f4fb; }
.ct-head p{ margin:0; font-size: clamp(1rem, 1.4vw, 1.12rem); color: rgba(244,244,251,.58); }

.ct{ position:relative; width:min(720px, 100%); margin:0 auto; isolation:isolate; }
/* slow violet glow behind the card — a gradient, not a blur, so it stays cheap */
.ct::before{
  content:''; position:absolute; z-index:-1; inset:-18% -22%;
  background:
    radial-gradient(42% 46% at 30% 40%, rgba(124,58,237,.20), transparent 70%),
    radial-gradient(38% 42% at 72% 62%, rgba(99,102,241,.14), transparent 70%);
  animation: ctDrift 18s ease-in-out infinite alternate; pointer-events:none;
}
@keyframes ctDrift{ to{ transform: translate3d(3%, -4%, 0) rotate(6deg); } }

.ct-card{
  position:relative; margin:0; border-radius: 32px;
  padding: clamp(24px, 5vw, 52px);
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 50px 120px -50px rgba(76,29,149,.55);
}
.ct-row{ display:grid; grid-template-columns: 1fr 1.25fr; gap: 18px; }
.ct-field{ margin: 0 0 24px; padding:0; border:0; min-width:0; }
.ct-field > label, .ct-field > legend{
  display:block; padding:0; margin:0 0 10px;
  font-size:.88rem; font-weight:700; color: rgba(244,244,251,.66);
}
.ct .form-input, .ct .form-textarea, .ct .pcc-btn{
  width:100%; min-height:58px; border:0 !important; border-radius:18px !important;
  background: rgba(255,255,255,.05) !important; color:#f4f4fb;
  font-size:1rem; font-weight:600; padding: 0 18px;
  box-shadow: none !important;
  transition: background .35s ease, box-shadow .35s ease;
}
.ct .form-textarea{ min-height:150px; padding:16px 18px; line-height:1.9; resize:none; }
.ct .form-input::placeholder, .ct .form-textarea::placeholder{ color: rgba(244,244,251,.32); font-weight:500; }
.ct .form-input:hover, .ct .form-textarea:hover, .ct .pcc-btn:hover{ background: rgba(255,255,255,.07) !important; }
.ct .form-input:focus, .ct .form-textarea:focus, .ct .pcc-btn:focus-visible{
  outline:none; background: rgba(255,255,255,.075) !important;
  box-shadow: 0 0 0 1.5px rgba(196,181,253,.55), 0 0 0 7px rgba(124,58,237,.14) !important;
}
.ct .phone-field{ gap:10px; }
.ct .pcc-btn{ width:auto; padding:0 14px; }
.ct .pcc-menu{ border:0; background:#15141d; border-radius:18px; }

/* purpose: two choices, picked with one tap */
.ct-chips{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ct-chip{ position:relative; cursor:pointer; }
.ct-chip input{ position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.ct-chip span{
  display:flex; align-items:center; justify-content:center; gap:10px; min-height:58px;
  border-radius:18px; background: rgba(255,255,255,.05);
  font-weight:800; font-size:.98rem; color: rgba(244,244,251,.7);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.ct-chip span i{ font-size:1.05rem; opacity:.8; }
.ct-chip:hover span{ background: rgba(255,255,255,.075); color:#f4f4fb; }
.ct-chip input:checked + span{
  color:#fff;
  background: linear-gradient(135deg, rgba(167,139,250,.30), rgba(99,102,241,.20));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 34px -16px rgba(124,58,237,.75);
}
.ct-chip input:focus-visible + span{ box-shadow: 0 0 0 2px rgba(196,181,253,.7); }
.ct-chip:active span{ transform: scale(.98); }

/* send */
.ct-send{
  position:relative; overflow:hidden; width:100%; min-height:60px; margin-top:6px;
  display:flex; align-items:center; justify-content:center; gap:12px;
  border:0; border-radius:999px; cursor:pointer;
  font: inherit; font-weight:900; font-size:1.06rem; color:#fff;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 55%, #6366f1 100%);
  box-shadow: 0 18px 44px -18px rgba(124,58,237,.85), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.ct-send::after{
  content:''; position:absolute; inset:0; transform: translateX(110%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.ct-send i{ transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.ct-send:hover{ transform: translateY(-2px); box-shadow: 0 24px 54px -18px rgba(124,58,237,.95), inset 0 1px 0 rgba(255,255,255,.25); }
.ct-send:hover::after{ transform: translateX(-110%); }
.ct-send:hover i{ transform: translateX(-5px); }
.ct-send:active{ transform: translateY(0) scale(.99); }
/* sent once: dimmed while the page posts (!important beats the entrance animation's fill) */
.ct-send:disabled{ cursor: progress; opacity: .7 !important; }
/* honeypot field (bots only) — same hiding as .sp-hp / .el-hp; !important beats
   style.css's input:not(…) sizing (width:100%, padding) */
.ct-hp{ position: absolute; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.ct-note{ margin:16px 0 0; text-align:center; font-size:.8rem; color: rgba(244,244,251,.42); }
.ct-note a{ color:#c4b5fd; }

/* states */
.ct-err{
  display:flex; align-items:center; gap:10px; margin:0 0 16px; padding:14px 20px; border-radius:18px;
  background: rgba(239,68,68,.10); color:#fca5a5; font-weight:700; font-size:.92rem;
}
.ct-done{
  display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center;
  padding: clamp(40px, 7vw, 72px) 24px; border-radius:32px;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}
.ct-done-ic{ width:64px; height:64px; border-radius:50%; display:grid; place-items:center; margin-bottom:8px;
  background: linear-gradient(135deg, #a78bfa, #6366f1); color:#fff; font-size:1.8rem; }
.ct-done strong{ font-size:1.5rem; font-weight:900; color:#f4f4fb; }
.ct-done span{ color: rgba(244,244,251,.6); }

/* entrance: rise into place and end on transform:none so text stays pin-sharp */
.ct-rise{ animation: ctRise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
.ct-card .ct-field, .ct-card .ct-send{ animation: ctRise .8s cubic-bezier(.2,.7,.2,1) both; }
.ct-card .ct-purpose{ animation-delay: .32s; }
.ct-card .ct-row .ct-field:first-child{ animation-delay: .40s; }
.ct-card .ct-row .ct-field:last-child{ animation-delay: .46s; }
.ct-card > .ct-field:not(.ct-purpose){ animation-delay: .54s; }
.ct-card .ct-send{ animation-delay: .62s; }
@keyframes ctRise{ from{ opacity:0; transform: translateY(18px); } to{ opacity:1; transform:none; } }

@media (max-width: 640px){
  .ct-row{ grid-template-columns:1fr; gap:0; }
  .ct-card{ border-radius:26px; }
}
@media (prefers-reduced-motion: reduce){
  .ct::before, .ct-rise, .ct-card .ct-field, .ct-card .ct-send{ animation:none; }
}

/* ── footer: logo | links | icons, one quiet line ─────────────────── */
body:not(.dashboard) .footer.ft{ padding: clamp(48px, 8vh, 80px) 16px 28px !important; margin:0; }
.ft-in{
  width:min(1240px, 100%); margin:0 auto;
  display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:24px;
}
.ft-logo{ justify-self:start; display:inline-flex; opacity:.92; transition: opacity .3s ease; }
.ft-logo:hover{ opacity:1; }
.ft-logo img{ height:30px; width:auto; display:block; }
.ft-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap: 6px 30px; }
.ft-nav a{ color: rgba(244,244,251,.56); font-size:.92rem; font-weight:600; transition: color .3s ease; }
.ft-nav a:hover{ color:#f4f4fb; }
.ft-social{ justify-self:end; display:flex; gap:10px; }
.ft-social a{
  width:42px; height:42px; border-radius:50%; display:grid; place-items:center;
  background: rgba(255,255,255,.05); color: rgba(244,244,251,.7); font-size:1.05rem;
  transition: background .3s ease, color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.ft-social a:hover{ background: rgba(255,255,255,.09); color:#fff; transform: translateY(-2px); }
.ft-social .ft-wa:hover{ background: rgba(37,211,102,.16); color:#4ade80; }
.ft-copy{ margin: clamp(28px, 5vh, 44px) 0 0; text-align:center; font-size:.78rem; color: rgba(244,244,251,.34); }
@media (max-width: 760px){
  .ft-in{ grid-template-columns:1fr; justify-items:center; gap:22px; text-align:center; }
  .ft-logo, .ft-social{ justify-self:center; }
  .ft-nav{ gap: 10px 22px; }
  body:not(.dashboard) .footer.ft{ padding-bottom: 104px !important; } /* clear the phone action bar */
}
