/* ============================================================
   VERLIX CO. LTD — Master Stylesheet
   Design: Dark Glassmorphism | Indigo + Teal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --bg-base:        #FAFAFA;
  --bg-card:        #FFFFFF;
  --bg-card2:       #F3F4F6;
  --bg-border:      #E5E7EB;
  --border-glow:    #DC262640;
  --indigo:         #DC2626; /* Mapped to Nexview Red */
  --indigo-dark:    #B91C1C;
  --indigo-light:   #EF4444;
  --teal:           #111827; /* Mapped to Onyx Black */
  --teal-dark:      #030712;
  --yellow:         #D97706;
  --red:            #DC2626; /* Standard Red */
  --green:          #059669;
  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-muted:     #6B7280;
  --font-head:      'Outfit', sans-serif;
  --font-body:      'Inter', sans-serif;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --shadow-card:    0 4px 20px rgba(0,0,0,.03), 0 1px 2px rgba(0,0,0,.05);
  --shadow-glow:    0 8px 30px rgba(220, 38, 38, 0.12);
  --transition:     all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 99px; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
.gradient-text {
  background: linear-gradient(135deg, var(--indigo-light), var(--indigo-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-border);
  box-shadow: 0 4px 30px rgba(0,0,0,.05);
}
.navbar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.navbar-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 20px;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.navbar-links {
  display: flex; align-items: center; gap: 4px;
}
.navbar-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.navbar-links a:hover, .navbar-links a.active {
  color: var(--text-primary);
  background: rgba(108,99,255,.12);
}
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text-secondary); border-radius: 99px; transition: var(--transition); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 14px;
  border: none; cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
.btn-primary:hover { background: var(--indigo-dark); box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4); transform: translateY(-1px); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.2);
}
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 6px 20px rgba(17, 24, 39, 0.3); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--bg-border);
}
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-ghost {
  background: rgba(220, 38, 38, 0.05); /* very light red */
  color: var(--indigo);
}
.btn-ghost:hover { background: rgba(220, 38, 38, 0.1); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

.btn-danger { background: rgba(239,68,68,.15); color: var(--red); border: 1px solid rgba(239,68,68,.3); }
.btn-danger:hover { background: rgba(239,68,68,.25); }
.btn-success { background: rgba(16,185,129,.15); color: var(--green); border: 1px solid rgba(16,185,129,.3); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.card-glass {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.5);
}

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .4px;
}
.badge-indigo   { background: rgba(220, 38, 38, 0.1); color: var(--indigo); border: 1px solid rgba(220, 38, 38, 0.2); }
.badge-teal     { background: rgba(17, 24, 39, 0.08); color: var(--teal); border: 1px solid rgba(17, 24, 39, 0.15); }
.badge-yellow   { background: rgba(245,158,11,.12); color: var(--yellow); border: 1px solid rgba(245,158,11,.2); }
.badge-red      { background: rgba(239,68,68,.12); color: var(--red); border: 1px solid rgba(239,68,68,.2); }
.badge-green    { background: rgba(16,185,129,.12); color: var(--green); border: 1px solid rgba(16,185,129,.2); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  letter-spacing: .3px;
}
.form-label .required { color: var(--red); }
.form-control {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
  appearance: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  outline: none;
  border-color: var(--indigo);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); /* light red ring */
}
.form-control.error { border-color: var(--red); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--bg-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.file-upload-area:hover, .file-upload-area.dragover {
  border-color: var(--indigo);
  background: rgba(220, 38, 38, 0.05); /* Light red */
}
.file-upload-area input[type=file] { display: none; }
.file-upload-icon { font-size: 2rem; margin-bottom: 8px; }
.file-upload-area p { color: var(--text-muted); font-size: 13px; }
.file-upload-area p strong { color: var(--indigo-light); }

/* Password Strength */
.password-strength { margin-top: 8px; }
.strength-bar { height: 4px; background: var(--bg-border); border-radius: 99px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 99px; transition: var(--transition); }
.strength-fill.weak { width: 25%; background: var(--red); }
.strength-fill.fair { width: 50%; background: var(--yellow); }
.strength-fill.good { width: 75%; background: var(--teal); }
.strength-fill.strong { width: 100%; background: var(--green); }
.strength-text { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 100px 24px 60px;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(220, 38, 38, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(17, 24, 39, 0.03) 0%, transparent 60%),
              var(--bg-base);
}
.hero-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 99px;
  background: rgba(108,99,255,.1); border: 1px solid rgba(108,99,255,.25);
  font-size: 13px; font-weight: 500; color: var(--indigo-light);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.hero p {
  font-size: 18px; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center;
  margin-top: 60px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: var(--font-head); font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--indigo-light), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Floating cards */
.hero-floats { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.float-card {
  position: absolute;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  animation: floatY 4s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: -2s; }
.float-card:nth-child(3) { animation-delay: -1s; }
.float-card .fc-icon { font-size: 20px; }
.float-1 { top: 22%; left: 6%; }
.float-2 { top: 55%; right: 5%; }
.float-3 { bottom: 18%; left: 12%; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ── Section Header ──────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; letter-spacing: -1px; }
.section-header p { color: var(--text-secondary); font-size: 17px; max-width: 520px; margin: 0 auto; }
.section-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-dark));
  border-radius: 99px; margin: 12px auto 0;
}

/* ── Service Cards ───────────────────────────────────────────── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-dark));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(220, 38, 38, 0.1);
}
.service-icon {
  font-size: 36px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: rgba(17, 24, 39, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.08);
}
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.service-price {
  font-family: var(--font-head); font-weight: 700;
  color: var(--teal); font-size: 20px;
}
.service-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }

/* Service category filter tabs */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.cat-tab {
  padding: 8px 20px; border-radius: 99px;
  border: 1px solid var(--bg-border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.cat-tab.active, .cat-tab:hover {
  background: rgba(220, 38, 38, 0.08);
  border-color: var(--indigo);
  color: var(--indigo);
}

/* ── How it Works ────────────────────────────────────────────── */
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 40px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-dark));
  z-index: 0;
}
.step { flex: 1; text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-num {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 28px; font-weight: 800;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.25);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-track { display: flex; gap: 20px; overflow-x: hidden; }
.testimonial-card {
  flex: 0 0 360px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--yellow); font-size: 16px; }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  color: #fff;
}
.author-name { font-size: 14px; font-weight: 600; }
.author-loc { font-size: 12px; color: var(--text-muted); }
.author-service { font-size: 11px; color: var(--indigo-light); margin-top: 2px; }

/* ── Sample Documents ────────────────────────────────────────── */
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.doc-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.doc-preview {
  height: 160px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.02));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative;
}
.doc-badge { position: absolute; top: 12px; right: 12px; }
.doc-info { padding: 16px; }
.doc-info h4 { font-size: 14px; margin-bottom: 4px; }
.doc-info p { font-size: 12px; color: var(--text-muted); }

/* ── Portfolio ───────────────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
}
.portfolio-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,.95) 0%, transparent 80%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px;
  opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-thumb { transform: scale(1.05); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-size: 15px; margin-bottom: 4px; }
.portfolio-overlay span { font-size: 12px; color: var(--teal); }
.portfolio-no-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.02));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; font-size: 36px;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(17, 24, 39, 0.04) 100%);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 12px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 32px; font-size: 16px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--bg-border);
  padding: 60px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 12px 0 20px; max-width: 260px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: var(--transition); }
.footer-col a:hover { color: var(--indigo-light); }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--transition);
}
.social-icon:hover { background: rgba(220, 38, 38, 0.08); border-color: var(--indigo); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--bg-border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-muted);
}

/* ── WhatsApp Float ──────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: var(--transition);
  animation: waPulse 2s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,.8), 0 0 0 10px rgba(37,211,102,.1); }
}

/* ── Toast Notifications ─────────────────────────────────────── */
.toast-container { position: fixed; top: 88px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  min-width: 280px; max-width: 400px;
  display: flex; align-items: center; gap: 10px;
  animation: slideInRight .3s ease;
  backdrop-filter: blur(12px);
  border-left: 4px solid;
}
.toast-success { background: rgba(16,185,129,.15); border-color: var(--green); color: #6ee7b7; }
.toast-error   { background: rgba(239,68,68,.15);  border-color: var(--red);   color: #fca5a5; }
.toast-info    { background: rgba(220, 38, 38, 0.1); border-color: var(--indigo); color: var(--indigo-light); }
.toast-warning { background: rgba(245,158,11,.15); border-color: var(--yellow); color: #fcd34d; }
@keyframes slideInRight { from{transform:translateX(110%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ── Order Form (Multi-step) ─────────────────────────────────── */
.order-page { padding: 100px 0 60px; min-height: 100vh; }
.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.order-main { background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius-xl); overflow: hidden; }

/* Stepper */
.stepper {
  display: flex; align-items: center;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--bg-border);
  padding: 20px 32px;
}
.step-item { display: flex; align-items: center; gap: 10px; flex: 1; }
.step-item:last-child { flex: 0; }
.step-circle {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  border: 2px solid var(--bg-border);
  color: var(--text-muted);
  transition: var(--transition);
}
.step-circle.active { border-color: var(--indigo); background: rgba(220, 38, 38, 0.1); color: var(--indigo); }
.step-circle.done { border-color: var(--teal); background: rgba(17, 24, 39, 0.08); color: var(--teal); }
.step-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.step-label.active { color: var(--text-primary); }
.step-connector { flex: 1; height: 1px; background: var(--bg-border); margin: 0 12px; }
.step-connector.done { background: linear-gradient(90deg, var(--indigo), var(--indigo-dark)); }

.order-step-content { padding: 36px 32px; }
.order-step-content h2 { font-size: 22px; margin-bottom: 6px; }
.order-step-content > p { color: var(--text-secondary); font-size: 14px; margin-bottom: 28px; }

.order-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--bg-border);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-card2);
}

/* Service selector (Step 1) */
.category-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.cat-select-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cat-select-card:hover, .cat-select-card.selected {
  border-color: var(--indigo);
  background: rgba(220, 38, 38, 0.05);
}
.cat-select-card.selected { box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.3); }
.cat-select-card .cat-icon { font-size: 28px; margin-bottom: 8px; }
.cat-select-card h4 { font-size: 13px; font-weight: 600; }

.service-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.service-radio-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.service-radio-card:hover { border-color: var(--indigo); }
.service-radio-card.selected { border-color: var(--indigo); background: rgba(220, 38, 38, 0.05); }
.service-radio-card input[type=radio] { width: 18px; height: 18px; accent-color: var(--indigo); }
.svc-info { flex: 1; }
.svc-info h4 { font-size: 14px; font-weight: 600; }
.svc-info p { font-size: 12px; color: var(--text-muted); }
.svc-price { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--teal); }

/* Choice group (Step 2) */
.choice-group { margin-bottom: 24px; }
.choice-group-label {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bg-border);
}
.choice-options { display: flex; flex-direction: column; gap: 8px; }
.choice-option {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.choice-option:hover { border-color: var(--indigo); }
.choice-option.selected { border-color: var(--indigo); background: rgba(220, 38, 38, 0.05); }
.choice-option input[type=radio] { width: 16px; height: 16px; accent-color: var(--indigo); }
.choice-option-label { flex: 1; font-size: 14px; }
.choice-option-desc { font-size: 12px; color: var(--text-muted); }
.choice-option-price {
  font-weight: 700; font-size: 14px; color: var(--teal);
  white-space: nowrap;
}
.choice-option-price.free { color: var(--green); }

/* Price Sidebar */
.price-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: sticky; top: 88px;
}
.price-sidebar h3 { font-size: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--bg-border); }
.price-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.price-item-label { font-size: 13px; color: var(--text-secondary); flex: 1; }
.price-item-val { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.price-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; margin-top: 16px;
  border-top: 1px solid var(--bg-border);
}
.price-total-label { font-weight: 700; font-size: 15px; }
.price-total-val {
  font-family: var(--font-head); font-weight: 800; font-size: 24px;
  color: var(--teal);
}
.price-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* ── Auth Pages ──────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  background: var(--bg-base);
}
.auth-side-hero {
  flex: 1.2;
  background: linear-gradient(135deg, var(--red) 0%, #000 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.auth-side-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.auth-hero-content { position: relative; z-index: 2; max-width: 480px; }
.auth-hero-content h2 { font-size: 42px; line-height: 1.1; margin-bottom: 24px; font-weight: 800; }
.auth-hero-content p { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.6; }

.auth-side-form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #FFFFFF;
}
.auth-box {
  width: 100%;
  max-width: 420px;
}
.auth-logo { margin-bottom: 32px; }
.auth-box h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
.auth-box > p { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }

@media (max-width: 1024px) {
  .auth-side-hero { display: none; }
  .auth-page { justify-content: center; align-items: center; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(220, 38, 38, 0.08), transparent 70%), var(--bg-base); }
  .auth-side-form { background: transparent; padding: 24px; }
  .auth-box { background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-xl); }
}

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--bg-border); }
.auth-divider span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 600; }
.auth-footer { margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--red); font-weight: 600; }

/* ── Dashboard ───────────────────────────────────────────────── */
.dashboard-page { padding: 88px 0 60px; min-height: 100vh; }
.dashboard-header { margin-bottom: 32px; }
.dashboard-header h1 { font-size: 28px; }
.dashboard-header p { color: var(--text-muted); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.dash-stat-card { background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius-lg); padding: 20px; }
.dash-stat-card .ds-number { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.dash-stat-card .ds-label { font-size: 13px; color: var(--text-muted); }

/* Orders Table */
.table-wrap { background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius-lg); overflow: hidden; }
.table-head { padding: 16px 24px; border-bottom: 1px solid var(--bg-border); display: flex; align-items: center; justify-content: space-between; }
.table-head h3 { font-size: 16px; }
table.data-table { width: 100%; border-collapse: collapse; }
table.data-table th { padding: 12px 20px; text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); background: var(--bg-card2); border-bottom: 1px solid var(--bg-border); }
table.data-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--bg-border); transition: var(--transition); }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: rgba(0,0,0,.02); }

/* ── Admin Panel ─────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: #FFFFFF;
  border-right: 1px solid var(--bg-border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100; overflow-y: auto;
}
.sidebar-head {
  padding: 24px 20px;
  border-bottom: 1px solid var(--bg-border);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-head .logo-icon { width: 32px; height: 32px; font-size: 16px; }
.sidebar-head span { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.sidebar-nav { flex: 1; padding: 16px 12px; }
.sidebar-nav-section { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); padding: 0 8px; margin: 20px 0 8px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-md);
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  transition: var(--transition); margin-bottom: 2px;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(220, 38, 38, 0.05);
  color: var(--text-primary);
}
.sidebar-nav a.active { border-left: none; background: rgba(220, 38, 38, 0.08); color: var(--indigo); }
.sidebar-nav a .nav-icon { font-size: 18px; width: 22px; text-align: center; }
.sidebar-badge { margin-left: auto; background: var(--indigo); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 99px; font-weight: 600; }
.sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--bg-border); }

.admin-content { margin-left: 260px; flex: 1; padding: 32px; min-height: 100vh; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.admin-topbar h1 { font-size: 24px; }
.admin-topbar-right { display: flex; align-items: center; gap: 12px; }

/* Admin Stats */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.admin-stat {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex; align-items: flex-start; gap: 16px;
}
.admin-stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.stat-indigo { background: rgba(220, 38, 38, 0.1); }
.stat-teal   { background: rgba(17, 24, 39, 0.08); }
.stat-yellow { background: rgba(245,158,11,.12); }
.stat-green  { background: rgba(16,185,129,.12); }
.admin-stat-number { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1; }
.admin-stat-label  { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Admin Card */
.admin-card { background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius-lg); overflow: hidden; }
.admin-card-head { padding: 16px 20px; border-bottom: 1px solid var(--bg-border); display: flex; align-items: center; justify-content: space-between; }
.admin-card-head h3 { font-size: 15px; }
.admin-card-body { padding: 20px; }

/* Toggle Switch */
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--bg-border);
  border-radius: 99px;
  transition: var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: white; left: 3px; top: 3px;
  transition: var(--transition);
}
input:checked + .toggle-slider { background: var(--indigo); }
input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; animation: fadeIn .2s ease; }
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  animation: scaleIn .2s ease;
}
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--bg-border); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-size: 17px; }
.modal-close { width: 32px; height: 32px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: none; color: var(--text-secondary); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: rgba(239,68,68,.15); color: var(--red); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--bg-border); display: flex; gap: 12px; justify-content: flex-end; }
@keyframes scaleIn { from{transform:scale(.95);opacity:0} to{transform:scale(1);opacity:1} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: 14px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 10px; }
.alert-info    { background: rgba(108,99,255,.1); border: 1px solid rgba(108,99,255,.2); color: var(--indigo-light); }
.alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); color: #6ee7b7; }
.alert-danger  { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.2);  color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2); color: #fcd34d; }

/* ── Loader / Skeleton ───────────────────────────────────────── */
.page-loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg-base); display: flex; align-items: center; justify-content: center; transition: opacity .4s ease; }
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-ring { width: 48px; height: 48px; border: 3px solid var(--bg-border); border-top-color: var(--indigo); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--bg-border) 25%, rgba(30,42,61,.6) 50%, var(--bg-border) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Animations on Scroll ────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Empty States ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: .6; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 14px; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--indigo-light); }
.breadcrumb span { color: var(--text-secondary); }

/* ── Utilities ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-teal    { color: var(--teal); }
.text-indigo  { color: var(--indigo-light); }
.text-green   { color: var(--green); }
.text-red     { color: var(--red); }
.text-yellow  { color: var(--yellow); }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.sep { height: 1px; background: var(--bg-border); margin: 20px 0; }
.text-sm { font-size: 13px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .order-layout { grid-template-columns: 1fr; }
  .price-sidebar { position: static; }
}
@media (max-width: 768px) {
  .navbar-links, .navbar-actions .btn-outline { display: none; }
  .nav-hamburger { display: flex; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .3s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; padding: 20px; padding-top: 80px; }
  .grid-2, .grid-3, .portfolio-grid { grid-template-columns: 1fr; }
  .category-list { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; }
  .steps::before { display: none; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { letter-spacing: -1px; }
  .hero-stats { gap: 24px; }
  .hero-floats { display: none; }
  .float-card { display: none; }
  .testimonials-track { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stepper { padding: 16px; gap: 4px; }
  .step-label { display: none; }
  .order-step-content { padding: 24px 16px; }
  .order-footer { padding: 16px; }
  .cta-banner { padding: 40px 24px; }
  /* Mobile bottom nav */
  .mobile-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--bg-border);
    padding: 8px 0 env(safe-area-inset-bottom, 8px);
  }
  .mobile-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 10px; color: var(--text-muted); padding: 6px 0;
    transition: var(--transition);
  }
  .mobile-nav a .mn-icon { font-size: 20px; }
  .mobile-nav a.active, .mobile-nav a:hover { color: var(--indigo-light); }
  body { padding-bottom: 70px; }
}
@media (min-width: 769px) { .mobile-nav { display: none !important; } }
