/* =============================================
   SRI VISUAL — Main Stylesheet
   Premium Digital Creative Agency
   ============================================= */

/* ---- CSS Variables (overridden by themes) ---- */
:root {
  --sv-primary: #6C63FF;
  --sv-primary-dark: #5A52E0;
  --sv-secondary: #A855F7;
  --sv-accent: #F59E0B;
  --sv-success: #10B981;
  --sv-danger: #EF4444;
  --sv-warning: #F59E0B;

  /* Backgrounds */
  --sv-bg: #0A0A0F;
  --sv-bg-card: #111118;
  --sv-bg-card-hover: #16161F;
  --sv-bg-input: #1A1A24;
  --sv-bg-nav: rgba(10, 10, 15, 0.85);

  /* Text */
  --sv-text: #F0F0F5;
  --sv-text-muted: #8B8BA7;
  --sv-text-dim: #4A4A6A;

  /* Borders */
  --sv-border: rgba(255,255,255,0.07);
  --sv-border-strong: rgba(255,255,255,0.12);

  /* Gradients */
  --sv-grad-primary: linear-gradient(135deg, #6C63FF, #A855F7);
  --sv-grad-hero: linear-gradient(135deg, #0A0A0F 0%, #0D0D1A 50%, #0A0A0F 100%);

  /* Shadows */
  --sv-shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --sv-shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --sv-shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
  --sv-shadow-glow: 0 0 40px rgba(108,99,255,0.2);

  /* Radius */
  --sv-radius-sm: 8px;
  --sv-radius-md: 16px;
  --sv-radius-lg: 24px;
  --sv-radius-xl: 32px;

  /* Transitions */
  --sv-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Nav */
  --sv-nav-height: 72px;

  /* Font */
  --sv-font: 'Inter', system-ui, sans-serif;
  --sv-font-display: 'Syne', 'Inter', sans-serif;
}

/* ============== RESET & BASE ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sv-nav-height);
}

body.sv-body {
  font-family: var(--sv-font);
  background-color: var(--sv-bg);
  color: var(--sv-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--sv-primary); color: #fff; }

/* ============== PAGE LOADER ============== */
.page-loader {
  position: fixed; inset: 0;
  background: var(--sv-bg);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { animation: loaderPulse 1s ease-in-out infinite alternate; margin-bottom: 24px; }
@keyframes loaderPulse { from { opacity: 0.6; transform: scale(0.95); } to { opacity: 1; transform: scale(1.05); } }
.loader-bar {
  width: 180px; height: 3px; background: var(--sv-border);
  border-radius: 99px; overflow: hidden; margin: 0 auto;
}
.loader-progress {
  height: 100%; width: 0%;
  background: var(--sv-grad-primary);
  border-radius: 99px;
  animation: loaderBar 1.2s ease-in-out forwards;
}
@keyframes loaderBar { 0% { width: 0% } 60% { width: 80% } 100% { width: 100% } }

/* ============== NAVBAR ============== */
.sv-navbar {
  background: var(--sv-bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sv-border);
  height: var(--sv-nav-height);
  transition: var(--sv-transition);
  z-index: 1000;
}
.sv-navbar.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: var(--sv-shadow-md);
}
.brand-text {
  font-family: var(--sv-font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--sv-text);
  letter-spacing: -0.02em;
}
.brand-accent { color: var(--sv-primary); }
.brand-logo-icon { flex-shrink: 0; }

.sv-navbar .nav-link {
  color: var(--sv-text-muted) !important;
  font-size: 0.9rem; font-weight: 500;
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--sv-radius-sm);
  transition: var(--sv-transition);
  position: relative;
}
.sv-navbar .nav-link:hover,
.sv-navbar .nav-link.active {
  color: var(--sv-text) !important;
  background: var(--sv-border);
}
.sv-navbar .nav-link.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--sv-grad-primary);
  border-radius: 99px;
}

/* Dropdown */
.sv-dropdown {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border-strong);
  border-radius: var(--sv-radius-md);
  box-shadow: var(--sv-shadow-lg);
  padding: 8px;
  min-width: 220px;
}
.sv-dropdown .dropdown-item {
  color: var(--sv-text-muted);
  border-radius: var(--sv-radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: var(--sv-transition);
}
.sv-dropdown .dropdown-item:hover { background: var(--sv-border); color: var(--sv-text); }
.sv-dropdown .dropdown-divider { border-color: var(--sv-border); }

/* Nav Buttons */
.btn-ghost-nav {
  background: transparent;
  border: 1px solid var(--sv-border-strong);
  color: var(--sv-text-muted) !important;
  border-radius: var(--sv-radius-sm);
  padding: 0.45rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  transition: var(--sv-transition);
  text-decoration: none;
}
.btn-ghost-nav:hover { background: var(--sv-border); color: var(--sv-text) !important; }

.btn-primary-nav {
  background: var(--sv-grad-primary);
  border: none; color: #fff !important;
  border-radius: var(--sv-radius-sm);
  padding: 0.45rem 1.25rem;
  font-size: 0.875rem; font-weight: 600;
  transition: var(--sv-transition);
  text-decoration: none;
}
.btn-primary-nav:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--sv-shadow-glow); }

/* Icon Buttons */
.btn-icon-nav {
  background: var(--sv-border);
  border: 1px solid var(--sv-border-strong);
  color: var(--sv-text-muted);
  width: 38px; height: 38px;
  border-radius: var(--sv-radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--sv-transition); font-size: 1rem;
}
.btn-icon-nav:hover { color: var(--sv-text); background: var(--sv-bg-card-hover); }

.btn-user-nav {
  background: var(--sv-border);
  border: 1px solid var(--sv-border-strong);
  color: var(--sv-text);
  border-radius: var(--sv-radius-sm);
  padding: 0.25rem 0.75rem 0.25rem 0.35rem;
  cursor: pointer; transition: var(--sv-transition);
  font-size: 0.875rem; font-weight: 500;
}
.btn-user-nav:hover { background: var(--sv-bg-card-hover); }

.user-avatar-sm {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--sv-grad-primary);
  color: #fff; font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.user-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

/* Notification Badge */
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--sv-danger);
  color: #fff; font-size: 0.6rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.sv-notif-dropdown { min-width: 320px; max-height: 400px; overflow-y: auto; }
.notif-header { font-size: 0.875rem; }
.notif-item { transition: var(--sv-transition); }
.notif-item:hover { background: var(--sv-border) !important; }
.notif-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sv-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

/* Hamburger */
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger-icon span { display: block; width: 22px; height: 2px; background: var(--sv-text); border-radius: 2px; transition: var(--sv-transition); }

/* Mobile Nav */
.sv-mobile-nav { background: var(--sv-bg-card); border-left: 1px solid var(--sv-border); width: 300px !important; }
.mobile-nav-link { color: var(--sv-text-muted) !important; padding: 0.65rem 0.75rem !important; border-radius: var(--sv-radius-sm); font-weight: 500; }
.mobile-nav-link:hover { background: var(--sv-border); color: var(--sv-text) !important; }
.social-link-sm { color: var(--sv-text-muted); font-size: 1.1rem; transition: var(--sv-transition); }
.social-link-sm:hover { color: var(--sv-primary); }

/* ============== MAIN ============== */
.sv-main { padding-top: var(--sv-nav-height); }

/* ============== HERO SECTION ============== */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--sv-grad-hero);
  padding: 80px 0;
}
.hero-bg-orbs {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--sv-primary); top: -200px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--sv-secondary); bottom: -100px; right: -50px; animation-delay: -3s; }
.hero-orb-3 { width: 300px; height: 300px; background: var(--sv-accent); top: 30%; left: 50%; animation-delay: -6s; opacity: 0.08; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--sv-border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--sv-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none; opacity: 0.4;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--sv-primary);
  padding: 6px 16px; border-radius: 99px;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero-badge .badge-dot {
  width: 6px; height: 6px; background: var(--sv-primary);
  border-radius: 50%; animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.4); } }

.hero-title {
  font-family: var(--sv-font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-gradient-text {
  background: var(--sv-grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--sv-text-muted);
  max-width: 560px; margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sv-grad-primary); color: #fff;
  padding: 0.85rem 2rem; border-radius: var(--sv-radius-md);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: none; cursor: pointer; transition: var(--sv-transition);
  position: relative; overflow: hidden;
}
.btn-primary-hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%); transition: transform 0.3s;
}
.btn-primary-hero:hover::before { transform: translateX(0); }
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: var(--sv-shadow-glow); color: #fff; }

.btn-outline-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--sv-text);
  padding: 0.85rem 2rem; border-radius: var(--sv-radius-md);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--sv-border-strong); cursor: pointer;
  transition: var(--sv-transition);
}
.btn-outline-hero:hover { background: var(--sv-border); color: var(--sv-text); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value {
  font-family: var(--sv-font-display);
  font-size: 1.75rem; font-weight: 800; color: var(--sv-text);
  line-height: 1;
}
.hero-stat-label { font-size: 0.8rem; color: var(--sv-text-muted); margin-top: 4px; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-mockup {
  position: relative; z-index: 2;
  width: 100%; max-width: 520px;
}
.hero-mockup-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border-strong);
  border-radius: var(--sv-radius-xl);
  padding: 24px;
  box-shadow: var(--sv-shadow-lg);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}
.mockup-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot-1 { background: #FF5F57; }
.mockup-dot-2 { background: #FEBC2E; }
.mockup-dot-3 { background: #28C840; }
.mockup-video-frame {
  background: #000; border-radius: var(--sv-radius-md);
  aspect-ratio: 16/9; overflow: hidden; position: relative;
  margin-bottom: 16px;
}
.mockup-video-overlay {
  position: absolute; inset: 0;
  background: var(--sv-grad-primary); opacity: 0.8;
  display: flex; align-items: center; justify-content: center;
}
.mockup-play-btn {
  width: 52px; height: 52px; background: rgba(255,255,255,0.95);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--sv-primary); cursor: pointer;
  animation: playPulse 2s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
@keyframes playPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(108,99,255,0.4); }
  50%     { box-shadow: 0 0 0 12px rgba(108,99,255,0); }
}
.mockup-metrics { display: flex; gap: 12px; }
.metric-chip {
  flex: 1; background: var(--sv-bg);
  border: 1px solid var(--sv-border); border-radius: var(--sv-radius-sm);
  padding: 10px 12px; text-align: center;
}
.metric-chip .value { font-weight: 700; font-size: 1.1rem; color: var(--sv-text); }
.metric-chip .label { font-size: 0.7rem; color: var(--sv-text-muted); margin-top: 2px; }
.metric-up { color: var(--sv-success) !important; }

/* Floating badges */
.hero-float-badge {
  position: absolute; background: var(--sv-bg-card);
  border: 1px solid var(--sv-border-strong);
  border-radius: var(--sv-radius-md);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--sv-shadow-md);
  font-size: 0.8rem; font-weight: 600;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-float-badge-1 { top: 10%; left: -10%; animation-delay: -2s; }
.hero-float-badge-2 { bottom: 15%; right: -8%; animation-delay: -4s; }

/* ============== SECTIONS ============== */
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.25);
  color: var(--sv-primary);
  padding: 4px 14px; border-radius: 99px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--sv-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle { color: var(--sv-text-muted); font-size: 1.05rem; line-height: 1.7; }

/* ============== SERVICE CARDS ============== */
.service-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--sv-transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--sv-grad-primary);
  transform: scaleX(0); transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-6px); box-shadow: var(--sv-shadow-lg), var(--sv-shadow-glow); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: var(--sv-radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--sv-primary);
  margin-bottom: 20px;
  transition: var(--sv-transition);
}
.service-card:hover .service-icon { background: var(--sv-grad-primary); color: #fff; border-color: transparent; }

.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-desc { color: var(--sv-text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }
.service-price { font-weight: 700; color: var(--sv-primary); }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--sv-text-muted); font-size: 0.875rem; font-weight: 500;
  text-decoration: none; transition: var(--sv-transition);
}
.service-link:hover { color: var(--sv-primary); }
.service-link i { transition: transform 0.2s; }
.service-link:hover i { transform: translateX(4px); }

/* ============== STATS SECTION ============== */
.stats-section { padding: 80px 0; position: relative; overflow: hidden; }
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.04), transparent);
}
.stat-card {
  text-align: center; padding: 32px 24px;
  border-right: 1px solid var(--sv-border);
}
.stat-card:last-child { border-right: none; }
.stat-value {
  font-family: var(--sv-font-display);
  font-size: 3rem; font-weight: 800;
  background: var(--sv-grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix { font-size: 2rem; }
.stat-label { color: var(--sv-text-muted); font-size: 0.9rem; margin-top: 8px; }

/* ============== PORTFOLIO ============== */
.portfolio-grid { }
.portfolio-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  background: var(--sv-border);
  border: 1px solid var(--sv-border-strong);
  color: var(--sv-text-muted);
  padding: 6px 18px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: var(--sv-transition);
}
.filter-btn.active,
.filter-btn:hover { background: var(--sv-grad-primary); color: #fff; border-color: transparent; }

.portfolio-card {
  border-radius: var(--sv-radius-lg); overflow: hidden;
  position: relative; background: var(--sv-bg-card);
  border: 1px solid var(--sv-border);
  transition: var(--sv-transition);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--sv-shadow-lg); }
.portfolio-thumb {
  aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, var(--sv-bg-card), var(--sv-bg-card-hover));
}
.portfolio-thumb-gradient {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.portfolio-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--sv-transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-meta { padding: 16px 20px; }
.portfolio-category { font-size: 0.75rem; color: var(--sv-primary); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.portfolio-title { font-weight: 700; font-size: 0.95rem; }

/* ============== TESTIMONIALS ============== */
.testimonial-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-lg);
  padding: 32px; height: 100%;
}
.testimonial-stars { color: var(--sv-accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { color: var(--sv-text-muted); line-height: 1.7; font-size: 0.95rem; margin-bottom: 24px; font-style: italic; }
.testimonial-text::before { content: '"'; font-size: 2rem; color: var(--sv-primary); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sv-grad-primary);
  color: #fff; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--sv-text-muted); }

/* ============== PRICING CARDS ============== */
.pricing-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-xl);
  padding: 40px 32px; height: 100%;
  position: relative; transition: var(--sv-transition);
}
.pricing-card.popular {
  border-color: var(--sv-primary);
  box-shadow: 0 0 0 1px var(--sv-primary), var(--sv-shadow-glow);
  transform: scale(1.02);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sv-grad-primary); color: #fff;
  padding: 4px 20px; border-radius: 99px;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price {
  font-family: var(--sv-font-display);
  font-size: 3rem; font-weight: 800;
  line-height: 1; margin-bottom: 4px;
}
.pricing-price .symbol { font-size: 1.5rem; vertical-align: top; margin-top: 8px; }
.pricing-period { color: var(--sv-text-muted); font-size: 0.85rem; margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--sv-border);
  font-size: 0.875rem; color: var(--sv-text-muted);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--sv-success); flex-shrink: 0; }

/* ============== WHY CHOOSE US ============== */
.why-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-lg);
  padding: 28px;
  transition: var(--sv-transition);
}
.why-card:hover { border-color: rgba(108,99,255,0.3); box-shadow: var(--sv-shadow-md); }
.why-icon {
  font-size: 2rem; margin-bottom: 16px;
  background: var(--sv-grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-title { font-weight: 700; margin-bottom: 8px; }
.why-desc { color: var(--sv-text-muted); font-size: 0.875rem; line-height: 1.65; }

/* ============== CTA SECTION ============== */
.cta-section {
  padding: 100px 0; position: relative; overflow: hidden;
}
.cta-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border-strong);
  border-radius: var(--sv-radius-xl);
  padding: 80px 60px;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(168,85,247,0.05));
}
.cta-glow {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108,99,255,0.15), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ============== FOOTER ============== */
.sv-footer {
  background: var(--sv-bg-card);
  border-top: 1px solid var(--sv-border);
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.08), transparent 70%);
  pointer-events: none;
}
.footer-brand-text { font-family: var(--sv-font-display); font-size: 1.6rem; font-weight: 800; color: var(--sv-text); }
.footer-desc { color: var(--sv-text-muted); font-size: 0.9rem; line-height: 1.7; }
.footer-heading { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sv-text); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--sv-text-muted); text-decoration: none; font-size: 0.9rem; transition: var(--sv-transition); }
.footer-links a:hover { color: var(--sv-primary); transform: translateX(4px); display: inline-block; }
.footer-badge {
  display: inline-flex; align-items: center;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  padding: 6px 14px; border-radius: 99px;
  font-size: 0.8rem; color: var(--sv-text-muted);
}
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--sv-text-muted); text-decoration: none;
  font-size: 0.875rem; transition: var(--sv-transition);
}
.footer-contact-item:hover { color: var(--sv-text); }
.footer-contact-icon {
  width: 36px; height: 36px; background: var(--sv-border);
  border-radius: var(--sv-radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-newsletter-input {
  background: var(--sv-bg-input); border: 1px solid var(--sv-border);
  color: var(--sv-text); border-radius: var(--sv-radius-sm);
}
.footer-newsletter-input:focus { background: var(--sv-bg-input); border-color: var(--sv-primary); color: var(--sv-text); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); }
.footer-newsletter-input::placeholder { color: var(--sv-text-dim); }
.footer-bottom { border-top: 1px solid var(--sv-border); padding: 24px 0; }
.footer-bottom-link { color: var(--sv-text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--sv-transition); }
.footer-bottom-link:hover { color: var(--sv-primary); }

/* Social Links */
.social-link {
  width: 38px; height: 38px;
  background: var(--sv-border); border: 1px solid var(--sv-border-strong);
  color: var(--sv-text-muted); border-radius: var(--sv-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; text-decoration: none;
  transition: var(--sv-transition);
}
.social-link:hover { background: var(--sv-grad-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }
.social-whatsapp:hover { background: #25D366 !important; }

/* ============== WHATSAPP FLOAT ============== */
.whatsapp-float {
  position: fixed; bottom: 90px; right: 24px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9990; transition: var(--sv-transition);
  animation: whatsappBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); color: #fff; }
@keyframes whatsappBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.whatsapp-tooltip {
  position: absolute; right: 64px; background: var(--sv-bg-card);
  border: 1px solid var(--sv-border); color: var(--sv-text);
  padding: 6px 12px; border-radius: var(--sv-radius-sm);
  font-size: 0.8rem; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--sv-transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ============== SCROLL TO TOP ============== */
.scroll-top-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sv-bg-card); border: 1px solid var(--sv-border);
  color: var(--sv-text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--sv-transition);
  z-index: 9989; opacity: 0; pointer-events: none;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: all; }
.scroll-top-btn:hover { background: var(--sv-grad-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ============== FORMS ============== */
.sv-form-control {
  background: var(--sv-bg-input); border: 1px solid var(--sv-border);
  color: var(--sv-text); border-radius: var(--sv-radius-sm);
  padding: 0.7rem 1rem; font-size: 0.9rem;
  transition: var(--sv-transition);
}
.sv-form-control:focus { background: var(--sv-bg-input); border-color: var(--sv-primary); color: var(--sv-text); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); outline: none; }
.sv-form-control::placeholder { color: var(--sv-text-dim); }
.sv-label { color: var(--sv-text-muted); font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; }

/* ============== AUTH PAGES ============== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--sv-bg); position: relative; overflow: hidden; }
.auth-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.auth-card {
  background: var(--sv-bg-card); border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-xl); padding: 48px;
  width: 100%; max-width: 460px;
  box-shadow: var(--sv-shadow-lg);
  position: relative; z-index: 1;
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-title { font-family: var(--sv-font-display); font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.auth-subtitle { color: var(--sv-text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--sv-border); }
.auth-divider span { color: var(--sv-text-dim); font-size: 0.8rem; }

/* ============== DASHBOARD ============== */
.dashboard-layout { display: flex; min-height: 100vh; }
.dashboard-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--sv-bg-card);
  border-right: 1px solid var(--sv-border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100; transition: transform 0.3s ease;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--sv-border);
}
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-section-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--sv-text-dim);
  padding: 8px 8px 4px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 0.6rem 0.75rem; border-radius: var(--sv-radius-sm);
  color: var(--sv-text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: var(--sv-transition); margin-bottom: 2px;
}
.sidebar-link:hover { background: var(--sv-border); color: var(--sv-text); }
.sidebar-link.active { background: rgba(108,99,255,0.1); color: var(--sv-primary); border-left: 2px solid var(--sv-primary); }
.sidebar-link i { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-badge {
  margin-left: auto; background: var(--sv-danger);
  color: #fff; font-size: 0.65rem; font-weight: 700;
  padding: 2px 6px; border-radius: 99px;
}
.sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--sv-border); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 0.5rem 0.75rem; }
.sidebar-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sv-grad-primary); color: #fff;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0; overflow: hidden;
}
.sidebar-user-name { font-weight: 600; font-size: 0.85rem; }
.sidebar-user-role { font-size: 0.7rem; color: var(--sv-text-muted); }

.dashboard-content {
  margin-left: 260px; flex: 1;
  display: flex; flex-direction: column;
  min-height: 100vh;
}
.dashboard-topbar {
  background: var(--sv-bg-card); border-bottom: 1px solid var(--sv-border);
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 99;
}
.dashboard-main { padding: 32px; flex: 1; }

/* Stat Cards */
.dash-stat-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-lg);
  padding: 24px; display: flex; align-items: flex-start; gap: 16px;
}
.dash-stat-icon {
  width: 48px; height: 48px; border-radius: var(--sv-radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.dash-stat-value { font-family: var(--sv-font-display); font-size: 1.75rem; font-weight: 800; line-height: 1; }
.dash-stat-label { color: var(--sv-text-muted); font-size: 0.8rem; margin-top: 4px; }
.dash-stat-trend { font-size: 0.75rem; margin-top: 8px; }
.trend-up { color: var(--sv-success); }
.trend-down { color: var(--sv-danger); }

.dash-card {
  background: var(--sv-bg-card);
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-lg);
  padding: 24px;
}
.dash-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }

/* ============== TABLES ============== */
.sv-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.sv-table th {
  color: var(--sv-text-muted); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 10px 16px; background: var(--sv-bg);
  border-bottom: 1px solid var(--sv-border);
}
.sv-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--sv-border);
  font-size: 0.875rem; vertical-align: middle;
}
.sv-table tr:last-child td { border-bottom: none; }
.sv-table tbody tr:hover { background: var(--sv-border); }

/* ============== BUTTONS ============== */
.btn-sv-primary {
  background: var(--sv-grad-primary); border: none; color: #fff;
  padding: 0.6rem 1.5rem; border-radius: var(--sv-radius-sm);
  font-weight: 600; font-size: 0.875rem; cursor: pointer;
  transition: var(--sv-transition); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-sv-primary:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; box-shadow: var(--sv-shadow-glow); }
.btn-sv-outline {
  background: transparent; border: 1px solid var(--sv-border-strong);
  color: var(--sv-text); padding: 0.6rem 1.5rem;
  border-radius: var(--sv-radius-sm); font-weight: 600;
  font-size: 0.875rem; cursor: pointer; transition: var(--sv-transition);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-sv-outline:hover { background: var(--sv-border); color: var(--sv-text); }

/* ============== ALERTS ============== */
.alert { border: none; border-radius: var(--sv-radius-md); }
.alert-success { background: rgba(16,185,129,0.1); color: #6EE7B7; border: 1px solid rgba(16,185,129,0.2); }
.alert-danger  { background: rgba(239,68,68,0.1); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.2); }
.alert-warning { background: rgba(245,158,11,0.1); color: #FCD34D; border: 1px solid rgba(245,158,11,0.2); }
.alert-info    { background: rgba(59,130,246,0.1); color: #93C5FD; border: 1px solid rgba(59,130,246,0.2); }

/* ============== ANIMATIONS ============== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
.animate-fadeup { animation: fadeInUp 0.6s ease forwards; }

/* ============== RESPONSIVE ============== */
@media (max-width: 991px) {
  .dashboard-sidebar { transform: translateX(-100%); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-content { margin-left: 0; }
  .hero-visual { display: none; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--sv-border); }
  .cta-card { padding: 48px 24px; }
}
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  .auth-card { padding: 32px 24px; margin: 16px; }
  .pricing-card.popular { transform: none; }
  .dashboard-main { padding: 16px; }
  .dashboard-topbar { padding: 0 16px; }
}
@media (max-width: 576px) {
  .hero-cta-group { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .hero-stats .hero-stat { flex: 1; min-width: 80px; }
}
