/* =============================================
   MOVEUPSTER — Main Stylesheet
   Mobile-first, light theme
   ============================================= */

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

/* --- CSS Variables --- */
:root {
  --color-primary: #127DDD;
  --color-primary-hover: #0F69B8;
  --color-primary-light: #E3F2FF;
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F9FAFB;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;
  --color-success: #10B981;
  --color-success-light: #D1FAE5;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1200px;
  --pad: 1.25rem;
  --header-h: 72px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t: 0.2s;
  --t-slow: 0.3s;
}

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
@media (min-width: 640px) { :root { --pad: 1.5rem; } }
@media (min-width: 1024px) { :root { --pad: 2rem; } }

.section        { padding: 4rem 0; }
.section-lg     { padding: 5rem 0; }
.section-sm     { padding: 2.5rem 0; }
@media (min-width: 768px) {
  .section    { padding: 6rem 0; }
  .section-lg { padding: 8rem 0; }
  .section-sm { padding: 3.5rem 0; }
}

.bg-alt    { background: var(--color-bg-alt); }
.text-center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }
p  { color: var(--color-text-muted); line-height: 1.75; }

.section-header { margin-bottom: 3rem; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.section-header h2  { margin-bottom: 0.75rem; }
.section-header p   { font-size: 1.0625rem; max-width: 560px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: all var(--t) var(--ease);
  cursor: pointer;
}
.btn-primary  { background: var(--color-primary); color: #fff; }
.btn-primary:hover  { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline  { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover  { color: #fff; background: var(--color-primary); border-color: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-white    { background: #fff; color: var(--color-primary); }
.btn-white:hover    { background: #f5f3ff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg       { padding: 0.9375rem 2rem; font-size: 1rem; }
.btn-sm       { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block    { width: 100%; justify-content: center; }

/* --- Badge / Eyebrow --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo img { height: 52px; width: auto; }

/* Desktop Nav */
.main-nav { display: none; }
@media (min-width: 768px) {
  .main-nav {
    display: flex; align-items: center;
  }
  .main-nav > ul {
    display: flex; align-items: center; gap: 0.125rem;
  }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem; font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: color var(--t-fast), background var(--t-fast);
  }
  .main-nav > ul > li.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  .nav-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--color-text-muted);
    margin-top: 1px;
    transition: transform var(--t-fast) var(--ease), border-top-color var(--t-fast) var(--ease);
  }
  .main-nav > ul > li.has-dropdown > a:hover .nav-caret,
  .main-nav > ul > li.has-dropdown > a.active .nav-caret {
    border-top-color: var(--color-primary);
    transform: translateY(1px);
  }
  .main-nav > ul > li > a:hover,
  .main-nav > ul > li > a.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
  }
  /* Dropdown */
  .has-dropdown .dropdown {
    position: absolute; top: 100%; left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--t) var(--ease);
    pointer-events: none;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all;
  }
  .dropdown li a {
    display: block; padding: 0.625rem 0.875rem;
    font-size: 0.9rem; font-weight: 500; color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background var(--t-fast), color var(--t-fast);
  }
  .dropdown li a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
}

.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

/* Mobile toggle */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 32px; height: 32px;
  padding: 4px; background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--color-text);
  transition: all var(--t) var(--ease);
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile nav open */
@media (max-width: 767.98px) {
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(15,23,42,0.12);
    z-index: 999;
  }
  .site-header.nav-open .main-nav > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .site-header.nav-open .main-nav > ul > li > a {
    display: block;
    padding: 0.875rem 0.5rem;
    font-size: 1.0625rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border-light);
    border-radius: 0;
    color: var(--color-text);
  }
  .site-header.nav-open .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.25rem 0 0.25rem 0.75rem;
    margin-left: 0;
    border-radius: 0;
    pointer-events: all;
  }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 4rem 0 3.5rem;
  background: var(--color-bg);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 6rem 0 5rem; } }
@media (min-width: 1024px) { .hero { padding: 7rem 0 6rem; } }

.hero-grid {
  display: grid; gap: 3.5rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.hero-eyebrow { margin-bottom: 1.25rem; }
.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.1; letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--color-primary); }
.hero-lead {
  font-size: 1.125rem; color: var(--color-text-muted);
  max-width: 500px; margin-bottom: 2rem; line-height: 1.75;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.hero-stat-num {
  font-size: 1.625rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--color-text);
  line-height: 1;
}
.hero-stat-label { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 4px; }

/* Browser mockup */
.browser-mockup {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--color-border);
  overflow: hidden;
}
.browser-bar {
  background: #F3F4F6;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--color-border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #FC6058; }
.browser-dot:nth-child(2) { background: #FEC02F; }
.browser-dot:nth-child(3) { background: #2ACA44; }
.browser-url-bar {
  flex: 1; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem; color: var(--color-text-muted);
  margin: 0 6px;
}
.browser-screen {
  background: linear-gradient(140deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
  aspect-ratio: 16/10;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.mock-header {
  background: rgba(255,255,255,0.12);
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(4px);
}
.mock-logo-bar { width: 54px; height: 8px; background: rgba(255,255,255,0.9); border-radius: 4px; }
.mock-nav { display: flex; gap: 10px; }
.mock-nav span { width: 28px; height: 6px; background: rgba(255,255,255,0.45); border-radius: 3px; }
.mock-body {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 20px;
}
.mock-h1 { width: 62%; height: 14px; background: rgba(255,255,255,0.9); border-radius: 7px; }
.mock-p  { width: 46%; height: 8px; background: rgba(255,255,255,0.5); border-radius: 4px; }
.mock-btn { width: 80px; height: 26px; background: rgba(255,255,255,0.95); border-radius: 6px; margin-top: 6px; }
.mock-cards {
  display: flex; gap: 10px;
  padding: 12px 18px;
  background: rgba(0,0,0,0.08);
}
.mock-card { flex: 1; height: 40px; background: rgba(255,255,255,0.15); border-radius: 6px; }

/* =============================================
   SERVICES CARDS
   ============================================= */
.services-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--t-slow) var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 0.625rem; }
.service-card p  { font-size: 0.9375rem; flex: 1; margin-bottom: 1.5rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.9rem; font-weight: 600; color: var(--color-primary);
  transition: gap var(--t-fast);
}
.link-arrow:hover { gap: 0.625rem; }
.link-arrow svg { width: 16px; height: 16px; }

/* =============================================
   TRUST / STATS BAR
   ============================================= */
.stats-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: center; justify-content: space-around;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: var(--color-text); line-height: 1;
}
.stat-lbl { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 4px; }

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-grid {
  display: grid; gap: 2rem;
  position: relative;
}
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .process-grid::before {
    content: '';
    position: absolute;
    top: 23px;
    left: calc(16.66% + 28px);
    right: calc(16.66% + 28px);
    height: 2px;
    background: var(--color-border);
  }
}
.process-step { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 768px) {
  .process-step { align-items: center; text-align: center; }
}
.step-num {
  width: 48px; height: 48px;
  background: var(--color-primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.125rem;
  flex-shrink: 0; position: relative; z-index: 1;
}
.process-step h4 { font-size: 1.0625rem; }
.process-step p  { font-size: 0.9375rem; }

/* =============================================
   WHY LIST (Numbered reasons)
   ============================================= */
.why-grid {
  display: grid; gap: 0;
  max-width: 720px;
}
.why-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.why-item:last-child { border-bottom: none; }
.why-num {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--color-text-light); min-width: 28px; padding-top: 3px;
}
.why-item h4 { margin-bottom: 0.375rem; }
.why-item p  { font-size: 0.9375rem; }

/* =============================================
   PRICING
   ============================================= */
.pricing-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }

.pricing-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  background: var(--color-bg);
  position: relative;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.pricing-card.featured { border-color: var(--color-primary); }
.pricing-card.featured::before {
  content: 'Custom';
  position: absolute; top: -14px; right: 2rem;
  background: var(--color-primary); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: var(--radius-full);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.pricing-name {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.pricing-price {
  display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.25rem;
}
.pricing-from { font-size: 1rem; color: var(--color-text-muted); margin-right: 2px; }
.pricing-amount { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; }
.pricing-desc { font-size: 0.9375rem; margin: 0.75rem 0 1.75rem; line-height: 1.65; }

.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 0 0 1.5rem; }
.feature-item {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.9375rem; color: var(--color-text);
}
.feature-item .chk {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-success-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  color: var(--color-success);
}
.feature-item .chk svg { width: 10px; height: 10px; }

/* Alternate accent for premium features */
.feature-item-alt .chk {
  background: rgba(129, 140, 248, 0.18);
  color: #6366F1;
}

.pricing-support {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem 1.75rem;
  background: linear-gradient(180deg, rgba(18,125,221,0.04) 0%, rgba(18,125,221,0.08) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.pricing-support-list {
  margin-bottom: 0;
}

.pricing-divider { border: none; border-top: 1px solid var(--color-border); margin: 1.5rem 0; }
.pricing-support-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: 1rem;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 0;
  font-size: 1rem; font-weight: 600; color: var(--color-text);
  text-align: left; background: none; border: none; cursor: pointer;
  transition: color var(--t-fast);
}
.faq-btn:hover { color: var(--color-primary); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background var(--t-fast);
}
.faq-icon svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.faq-item.open .faq-btn { color: var(--color-primary); }
.faq-item.open .faq-icon { background: var(--color-primary); color: #fff; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); color: #fff; }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.2s;
}
.faq-body-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.75;
}
.faq-item.open .faq-body { max-height: 300px; }

/* =============================================
   CASE STUDY
   ============================================= */
.case-study-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.case-study-inner {
  display: grid;
}
@media (min-width: 768px) {
  .case-study-inner { grid-template-columns: 1fr 1fr; }
}
.case-study-visual {
  min-height: 280px;
  background: linear-gradient(135deg, #f9a8d4 0%, #c084fc 50%, #818cf8 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.case-study-visual img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
/* CSS Beauty website mockup */
.beauty-mockup {
  width: 85%; max-width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden; position: relative; z-index: 1;
}
.bm-nav {
  background: #fff; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}
.bm-logo { width: 44px; height: 7px; background: #c084fc; border-radius: 4px; }
.bm-links { display: flex; gap: 8px; }
.bm-links span { width: 22px; height: 5px; background: #e5e7eb; border-radius: 3px; }
.bm-hero {
  background: linear-gradient(135deg, #fdf2f8, #f3e8ff);
  padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.bm-tag { width: 40px; height: 5px; background: #c084fc; border-radius: 3px; opacity: 0.6; }
.bm-h   { width: 70%; height: 10px; background: #7c3aed; border-radius: 5px; }
.bm-sub { width: 55%; height: 6px; background: #c4b5fd; border-radius: 3px; }
.bm-cta { width: 60px; height: 20px; background: #7c3aed; border-radius: 5px; margin-top: 4px; }
.bm-services {
  display: flex; gap: 6px; padding: 10px;
  background: #fff;
}
.bm-svc { flex: 1; height: 28px; background: #fdf4ff; border-radius: 4px; border: 1px solid #f5d0fe; }

.case-study-info {
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.case-study-tag {
  font-size: 0.8125rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--color-primary);
  margin-bottom: 0.875rem;
}
.case-study-info h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: 0.875rem; }
.case-study-info p  { margin-bottom: 1.75rem; }
.result-row { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.result-item .num {
  font-size: 1.875rem; font-weight: 900; letter-spacing: -0.04em;
  color: var(--color-text); line-height: 1;
}
.result-item .lbl { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 3px; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-band {
  background: var(--color-text);
  padding: 5rem 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.875rem; }
.cta-band p  { color: rgba(255,255,255,0.65); font-size: 1.125rem; max-width: 480px; margin: 0 auto 2rem; }
.cta-band .btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* =============================================
   PORTFOLIO / CASE STUDY PAGE
   ============================================= */
.cs-hero-visual {
  background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 60%, #e0e7ff 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.cs-hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(192,132,252,0.15) 0%, transparent 70%);
}
.cs-big-mockup {
  width: 100%; max-width: 380px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(124,58,237,0.2), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative; z-index: 1;
}
.csm-topbar {
  background: #fff; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #f3e8ff;
}
.csm-logo { display: flex; align-items: center; gap: 8px; }
.csm-logo-icon { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#c084fc,#7c3aed); }
.csm-logo-text { width: 60px; height: 8px; background: #7c3aed; border-radius: 4px; opacity: .8; }
.csm-nav { display: flex; gap: 8px; }
.csm-nav span { width: 24px; height: 5px; background: #e9d5ff; border-radius: 3px; }
.csm-hero-area {
  background: linear-gradient(160deg, #fdf4ff 0%, #ede9fe 100%);
  padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.csm-eyebrow { width: 50px; height: 5px; background: #c084fc; border-radius: 3px; opacity: .7; }
.csm-h1-big { width: 72%; height: 14px; background: #4c1d95; border-radius: 7px; }
.csm-sub-big { width: 56%; height: 8px; background: #a78bfa; border-radius: 4px; }
.csm-cta-big {
  display: flex; gap: 8px; margin-top: 4px;
}
.csm-cta-big .b1 { width: 80px; height: 28px; background: #7c3aed; border-radius: 6px; }
.csm-cta-big .b2 { width: 80px; height: 28px; background: transparent; border: 2px solid #c084fc; border-radius: 6px; }
.csm-services-row {
  display: flex; gap: 8px; padding: 14px;
  background: #fff;
  border-top: 1px solid #f3e8ff;
}
.csm-service-tile {
  flex: 1; border-radius: 8px; padding: 10px 8px;
  background: #fdf4ff; border: 1px solid #f3e8ff;
  display: flex; flex-direction: column; gap: 5px;
}
.csm-tile-icon { width: 20px; height: 20px; border-radius: 50%; background: #c084fc; }
.csm-tile-label { width: 80%; height: 5px; background: #7c3aed; border-radius: 3px; opacity: .6; }
.csm-tile-sub { width: 60%; height: 4px; background: #ddd6fe; border-radius: 2px; }
.csm-gallery-row {
  display: flex; gap: 8px; padding: 0 14px 14px;
}
.csm-gallery-img {
  flex: 1; height: 50px; border-radius: 6px;
  background: linear-gradient(135deg, #f3e8ff, #c4b5fd);
}
/* Floating badge on mockup */
.cs-badge-float {
  position: absolute;
  bottom: 2rem; right: 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  z-index: 2;
}
.cs-badge-float-num { font-size: 1.25rem; font-weight: 900; color: var(--color-text); letter-spacing: -0.04em; }
.cs-badge-float-lbl { font-size: 0.75rem; color: var(--color-text-muted); }
/* Challenge / Solution */
.cs-columns {
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .cs-columns { grid-template-columns: 1fr 1fr; } }
.cs-col {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.cs-col-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.cs-col h3 { margin-bottom: 0.75rem; }
/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border-light); }
.tl-item:last-child { border-bottom: none; }
.tl-step {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.tl-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
/* Results grid */
.results-grid { display: grid; gap: 1rem; }
@media (min-width: 480px) { .results-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(4,1fr); } }
.result-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.result-card .big-num {
  font-size: 2.25rem; font-weight: 900; letter-spacing: -0.04em;
  color: var(--color-primary); line-height: 1;
  margin-bottom: 0.375rem;
}
.result-card .big-lbl { font-size: 0.875rem; color: var(--color-text-muted); }
/* Testimonial */
.testimonial-box {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.testimonial-box blockquote {
  font-size: 1.25rem;
  font-weight: 500; line-height: 1.65;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.95);
}
.testimonial-box cite {
  font-style: normal; font-size: 0.9rem; color: rgba(255,255,255,0.65);
}
.testimonial-box cite strong { color: #fff; display: block; }

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(15,23,42,0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  z-index: 999;
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-primary-hover);
}
@media (max-width: 640px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--color-bg-alt);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--color-text-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { color: var(--color-border); }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead {
  font-size: 1.125rem; max-width: 600px;
  color: var(--color-text-muted); line-height: 1.75;
}

/* =============================================
   SERVICES (inner service sections)
   ============================================= */
.service-block {
  padding: 5rem 0;
  border-bottom: 1px solid var(--color-border-light);
}
.service-block:last-of-type { border-bottom: none; }
.service-block-grid {
  display: grid; gap: 3rem;
}
@media (min-width: 1024px) {
  .service-block-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 5rem; }
  .service-block-grid.flip .service-block-info { order: -1; }
}
.service-block-icon {
  width: 64px; height: 64px;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); margin-bottom: 1.5rem;
}
.service-block-icon svg { width: 30px; height: 30px; }
.service-block-info h2 { margin-bottom: 0.875rem; }
.service-block-info p  { margin-bottom: 1.5rem; }
.service-block-info .feature-list { margin-bottom: 2rem; }

/* Service visual card */
.service-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sv-header {
  background: var(--color-primary);
  padding: 1.5rem 1.5rem 0;
}
.sv-title { color: #fff; font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.sv-bars { display: flex; flex-direction: column; gap: 8px; }
.sv-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.3); }
.sv-bar.w40 { width: 40%; }
.sv-bar.w70 { width: 70%; }
.sv-bar.w55 { width: 55%; }
.sv-body { background: var(--color-bg-alt); padding: 1.5rem; }
.sv-row { display: flex; align-items: center; justify-content: space-between; padding: 0.875rem 0; border-bottom: 1px solid var(--color-border); }
.sv-row:last-child { border-bottom: none; }
.sv-row-label { font-size: 0.9rem; font-weight: 500; color: var(--color-text); }
.sv-row-val { font-size: 0.875rem; font-weight: 700; color: var(--color-primary); }
.sv-row-val.green { color: var(--color-success); }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-layout {
  display: grid; gap: 3rem;
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 3fr 2fr; }
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.875rem; font-weight: 600; color: var(--color-text);
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.8125rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem; color: var(--color-text);
  background: #fff; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.form-group textarea { resize: vertical; min-height: 160px; }
.form-group select {
  width: 100%; padding: 0.8125rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem; color: var(--color-text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") no-repeat right 0.875rem center / 18px;
  -webkit-appearance: none; appearance: none; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
}
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.form-row {
  display: grid; gap: 1.25rem;
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-aside { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-aside-block h4 { margin-bottom: 1rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--color-primary-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-label { font-size: 0.8rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-detail-value { font-size: 0.9375rem; font-weight: 500; color: var(--color-text); }
.contact-detail-value a { color: var(--color-primary); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #111827; color: #fff; padding: 4.5rem 0 0; }
.footer-grid {
  display: grid; gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; } }

.footer-brand p {
  font-size: 0.9375rem; color: rgba(255,255,255,0.55);
  line-height: 1.7; max-width: 240px; margin-top: 1rem;
}
.footer-logo { display: inline-block; margin-bottom: 0.25rem; }
.footer-logo img { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 1.125rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.footer-col ul li a:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.footer-col address {
  font-style: normal; font-size: 0.9375rem;
  color: rgba(255,255,255,0.7); line-height: 1.9;
}
.footer-col address a { color: rgba(255,255,255,0.7); transition: color var(--t-fast); }
.footer-col address a:hover { color: #fff; }

.footer-bottom {
  margin-top: 4rem; padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.875rem; color: rgba(255,255,255,0.35); }

/* =============================================
   ANIMATIONS
   ============================================= */
.anim { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.anim.in { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.08s; }
.anim-d2 { transition-delay: 0.16s; }
.anim-d3 { transition-delay: 0.24s; }

@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   UTILITY
   ============================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
