/* ==========================================================================
   Ate App — Creator Revenue Operating System
   Instagram Sunset Signature Theme — Glassmorphism & High-Converting Commerce
   ========================================================================== */

:root {
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --bg-page: #ffffff;
  --bg-white: #ffffff;
  --bg-subtle: #fafafa;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #ffffff;

  --border-light: #f5f5f5;
  --border-card: #e5e5e5;
  --border-hover: #d4d4d4;

  /* Authentic Instagram Royal Blue & Hot Pink Brand Palette */
  --ig-blue: #3858f6;
  --ig-blue-deep: #1e3a8a;
  --ig-blue-light: #60a5fa;
  --ig-purple: #833ab4;
  --ig-magenta: #c13584;
  --ig-pink: #e1306c;
  --ig-pink-vibrant: #ec4899;
  --ig-coral: #f43f5e;
  --ig-amber: #f59e0b;

  /* Signature Instagram Blue & Pink Gradient Blend */
  --ig-gradient: linear-gradient(135deg, #3858f6 0%, #6366f1 22%, #8b5cf6 45%, #d946ef 70%, #ec4899 90%, #f43f5e 100%);
  --ig-gradient-btn: linear-gradient(135deg, #3858f6 0%, #8b5cf6 45%, #ec4899 100%);
  --ig-gradient-btn-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 45%, #db2777 100%);
  --ig-gradient-subtle: linear-gradient(135deg, rgba(56, 88, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
  --ig-gradient-card: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  --ig-gradient-pill: linear-gradient(135deg, rgba(56, 88, 246, 0.10) 0%, rgba(236, 72, 153, 0.10) 100%);

  --accent: #ec4899;
  --accent-blue: #3858f6;
  --accent-hover: #db2777;
  --accent-light: rgba(236, 72, 153, 0.08);
  --accent-medium: rgba(139, 92, 246, 0.20);
  --accent-soft: rgba(56, 88, 246, 0.06);

  --text-main: #0a0f1d;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-light: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(56, 88, 246, 0.06);
  --shadow-lg: 0 8px 28px rgba(139, 92, 246, 0.08);
  --shadow-xl: 0 20px 48px rgba(236, 72, 153, 0.08);
  --shadow-accent: 0 8px 24px rgba(236, 72, 153, 0.28);
  --shadow-ig-glow: 0 10px 30px rgba(139, 92, 246, 0.32);

  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
  background: #ffffff;
  scroll-behavior: smooth;
}

/* Typography Spacing */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; }

p {
  margin-bottom: 1em;
  line-height: 1.7;
}

ul, ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.35em;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--ig-gradient);
  color: #ffffff;
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.25);
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge-new {
  background: #ffffff;
  color: var(--ig-pink);
  font-weight: 900;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.announcement-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announcement-close {
  position: absolute;
  right: 18px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Navbar */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-card);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1240px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--ig-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-badge {
  font-size: 0.62rem;
  padding: 2px 6px;
  background: var(--accent-light);
  border: 1px solid var(--accent-medium);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
}
}

.nav-avatar-stack img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  object-fit: cover;
}

.nav-avatar-stack img:first-child { margin-left: 0; }

.nav-social-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-green-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-card);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-card);
  padding: 20px 24px;
}

.mobile-drawer.active { display: block; }
.mobile-drawer-content { display: flex; flex-direction: column; gap: 14px; }
.mobile-nav-link { color: var(--text-main); text-decoration: none; font-size: 1.05rem; font-weight: 600; }
.mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

/* Buttons */
.btn-primary {
  background: var(--ig-gradient-btn);
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.32);
}

.btn-primary:hover {
  background: var(--ig-gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(56, 88, 246, 0.05);
  color: #3858f6;
  border-color: rgba(56, 88, 246, 0.2);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--border-card);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
  color: #3858f6;
}

.btn-small {
  background: var(--ig-gradient-btn);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

.btn-small:hover { transform: scale(1.03); background: var(--ig-gradient-btn-hover); }

.w-full { width: 100%; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

/* Hero Section */
.hero-section {
  padding: 70px 0 50px;
  background: #ffffff;
  position: relative;
  z-index: 10;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(56, 88, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  color: #3858f6;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(56, 88, 246, 0.06);
}

.ig-gradient-text {
  background: linear-gradient(135deg, #3858f6 0%, #6366f1 22%, #8b5cf6 45%, #d946ef 70%, #ec4899 90%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #3858f6;
  border-radius: 50%;
  box-shadow: 0 0 8px #3858f6;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-main);
  max-width: 960px;
  margin: 0 auto 20px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Claim Storefront Form Bar */
.claim-url-wrapper {
  max-width: 580px;
  margin: 0 auto 36px;
}

.claim-url-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--border-card);
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.claim-url-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.15);
}

.url-prefix {
  padding-left: 18px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--accent);
  font-size: 1rem;
  user-select: none;
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 10px 8px;
}

.btn-claim {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
}

.btn-claim:hover { background: var(--accent-hover); transform: scale(1.02); }

.claim-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Metrics Bar */
.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 18px 36px;
  border-radius: var(--radius-xl);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-main);
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.metric-divider {
  width: 1px;
  height: 38px;
  background: var(--border-card);
}

/* ==========================================================================
   Creator Workflow Grid
   ========================================================================== */
.creator-rail-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.workflow-card {
  height: 360px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  transition: var(--transition);
}

.workflow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.workflow-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0; left: 0;
  transition: transform 0.5s ease;
}

.workflow-card:hover .workflow-bg-img {
  transform: scale(1.05);
}

.workflow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(15, 23, 42, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
}

.workflow-handle {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.workflow-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 2px 0 8px;
}

.workflow-pill-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.workflow-keyword {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
}

.workflow-keyword span {
  background: var(--accent);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
}

.workflow-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  line-height: 1.35;
}

.workflow-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.workflow-badge-ig {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.workflow-followers {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   Live Workspace & Interactive Phone Simulator
   ========================================================================== */
.hero-simulator-wrapper {
  margin-top: 64px;
}

.simulator-glass-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.simulator-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-card);
  flex-wrap: wrap;
  gap: 16px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mac-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.toolbar-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-picker-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
}

.theme-picker-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-right: 4px;
}

.theme-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.theme-btn:hover { color: var(--accent); }

.theme-btn.active {
  background: var(--accent-light);
  color: var(--accent);
}

.color-chip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.bg-ig-gradient-chip { background: #e5e5e5; border: 1px solid var(--border-card); }
.bg-ig-blue-chip { background: #525252; }
.bg-ig-clean-chip { background: #ffffff; border: 1px solid var(--border-card); }

.simulator-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 48px;
  align-items: center;
  background: #ffffff;
}

.simulator-info-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--accent);
}

.simulator-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
}

.simulator-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.sim-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.sim-feature-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.sim-feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.sim-icon {
  font-size: 1.3rem;
  min-width: 32px;
  padding-top: 2px;
  color: var(--accent);
}

.sim-feature-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--text-main);
}

.sim-feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cta-banner-sim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-soft);
  border: 1px dashed var(--accent-medium);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Phone Simulator Device Frame */
.simulator-phone-wrapper {
  display: flex;
  justify-content: center;
}

.iphone-frame {
  width: 350px;
  height: 690px;
  background: #ffffff;
  border: 10px solid #f1f2f6;
  border-radius: 46px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.iphone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #18181b;
  border-radius: var(--radius-full);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.iphone-notch .camera { width: 9px; height: 9px; background: #312e81; border-radius: 50%; }
.iphone-notch .speaker { width: 32px; height: 4px; background: #3f3f46; border-radius: 2px; }

.phone-screen {
  flex: 1;
  padding: 44px 14px 14px;
  overflow-y: auto;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--text-main);
}

.phone-screen.theme-instagram .phone-prod-card {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}
.phone-screen.theme-instagram .buy-action-btn {
  background: var(--accent);
  color: #fff;
}
.phone-screen.theme-instagram .cat-pill.active {
  background: var(--accent);
  color: #fff;
}

.phone-screen.theme-blue .phone-prod-card {
  background: #ffffff;
  border: 1.5px solid var(--border-card);
}
.phone-screen.theme-blue .buy-action-btn {
  background: #525252;
  color: #fff;
}
.phone-screen.theme-blue .cat-pill.active {
  background: #525252;
  color: #fff;
}

.phone-screen.theme-clean .phone-prod-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
}
.phone-screen.theme-clean .cat-pill.active {
  background: var(--text-main);
  color: #fff;
}

/* Phone Profile Elements */
.phone-profile-header {
  text-align: center;
  margin-bottom: 16px;
}

.avatar-story-ring {
  position: relative;
  display: inline-block;
  padding: 3px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.25);
}

.creator-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #ffffff;
}

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.creator-name {
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-main);
}

.verified-badge {
  color: var(--accent);
  font-size: 0.9rem;
}

.creator-bio {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
  padding: 0 8px;
}

.creator-social-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.social-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-pill:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.phone-category-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.phone-category-tabs::-webkit-scrollbar { display: none; }

.cat-pill {
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.cat-pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

/* Phone Products Cards */
.phone-products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.phone-prod-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  background: #ffffff;
  border: 1px solid var(--border-card);
}

.phone-prod-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.prod-badge-tag {
  position: absolute;
  top: -6px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.prod-badge-tag.highlight {
  background: #525252;
  color: #fff;
}

.prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pink-thumb { background: var(--accent-light); color: var(--accent); }
.blue-thumb { background: rgba(82, 82, 82, 0.08); color: #525252; }
.purple-thumb { background: rgba(82, 82, 82, 0.08); color: #525252; }
.orange-thumb { background: rgba(245, 158, 11, 0.1); color: #d97706; }

.prod-details { flex: 1; min-width: 0; }

.prod-details h5 {
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.prod-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.prod-price {
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--accent);
}

.buy-action-btn {
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 3px;
}

.phone-lead-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-card);
}

.phone-sub-form { display: flex; gap: 4px; }

.phone-sub-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.phone-sub-input:focus { border-color: var(--accent); }

.phone-sub-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.powered-by-ate {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-subtle);
  margin-top: 8px;
}

/* Section Headers */
.section-header { margin-bottom: 50px; }

.pill-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(56, 88, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
  color: #3858f6;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(139, 92, 246, 0.22);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(56, 88, 246, 0.05);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.text-center { text-align: center; }

/* Features Grid */
.features-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-bento-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 32px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: var(--accent-light);
  border: 1px solid var(--accent-medium);
  color: var(--accent);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.bento-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.bento-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.bento-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: var(--transition);
}

.bento-tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Comment-to-DM Studio */

/* Creator Social Proof Section */
.creators-section {
  padding: 90px 0;
  background: #ffffff;
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.creator-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.creator-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.creator-card:hover .creator-store-img {
  transform: scale(1.03);
}

.creator-store-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.creator-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.creator-avatar {
  position: relative;
  width: 44px;
  height: 44px;
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.creator-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.creator-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.creator-stats {
  margin-left: auto;
  text-align: right;
}

.creator-cta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.creator-cta-bar span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Integrations Section */
.integrations-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.integrations-header {
  text-align: center;
  margin-bottom: 32px;
}

.integrations-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 12px;
}

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 80px;
}

.integration-item:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.integration-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.integration-item:hover .integration-icon-wrap {
  transform: scale(1.08);
}

.integration-icon-wrap.ig-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.integration-icon-wrap.tiktok-icon { background: #000000; }
.integration-icon-wrap.yt-icon { background: #FF0000; }
.integration-icon-wrap.stripe-icon { background: #635BFF; }
.integration-icon-wrap.paypal-icon { background: #003087; }
.integration-icon-wrap.google-icon { background: #EA4335; }
.integration-icon-wrap.zoom-icon { background: #2D8CFF; }
.integration-icon-wrap.wa-icon { background: #25D366; }

.integration-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.automation-tools-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--ig-pink);
}

.tool-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(238, 39, 89, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 28px;
}

.tool-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.tool-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.tool-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tool-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  padding: 4px 12px;
  border-radius: 999px;
}

.ai-badge {
  display: inline-block;
  background: var(--ig-purple);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.automation-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  position: relative;
  z-index: 10;
}

.automation-studio-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.studio-subtitle {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.studio-input, .studio-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.studio-input:focus, .studio-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.input-with-icon {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.input-with-icon:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.input-with-icon .input-icon {
  padding: 10px 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 800;
}

.input-with-icon .studio-input {
  border: none;
  background: transparent;
}

.help-text {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 4px;
  display: block;
}

.help-text code { color: var(--accent); font-weight: 700; }

.dm-analytics-badge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.badge-metric .b-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  display: block;
  color: var(--text-main);
}

.badge-metric .b-lbl {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* Instagram Preview UI */
.studio-preview-pane { display: flex; justify-content: center; }

.ig-mockup {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.ig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-card);
  background: #ffffff;
}

.ig-user { display: flex; align-items: center; gap: 10px; }

.ig-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
}

.ig-meta { display: flex; flex-direction: column; }
.ig-username { font-size: 0.85rem; font-weight: 800; color: var(--text-main); }
.ig-sound { font-size: 0.68rem; color: var(--text-subtle); }
.btn-more { background: transparent; border: none; color: var(--text-muted); cursor: pointer; }

.ig-media-box {
  height: 210px;
  background: #fafafa;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  position: relative;
}

.reel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  color: var(--accent);
}

.reel-center-copy h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-main);
}

.keyword-highlight {
  background: var(--accent);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 900;
}

.ig-comment-section {
  padding: 12px;
  background: #ffffff;
}

.comment-stream {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.comment-bubble {
  font-size: 0.8rem;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 6px 10px;
  border-radius: 12px;
  line-height: 1.35;
  color: var(--text-main);
}

.comment-bubble.user-added {
  background: var(--accent-soft);
  border: 1px solid var(--accent-medium);
}

.ig-comment-form { display: flex; gap: 6px; }

.ig-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.ig-input:focus { border-color: var(--accent); }

.ig-send-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ig-send-btn:hover { background: var(--accent-hover); }

.dm-toast {
  display: none;
  background: #ffffff;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 12px;
  margin: 10px 12px 14px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dm-toast.active { display: block; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.dm-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.dm-toast-user { display: flex; align-items: center; gap: 6px; }
.dm-time { color: var(--text-subtle); }

.dm-toast-body {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 8px;
}

.btn-dm-open {
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-dm-open:hover { background: var(--accent-hover); }

/* Calculator */
.calculator-section {
  padding: 90px 0;
  background: #ffffff;
  position: relative;
  z-index: 10;
}

.calculator-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc-slider-block { margin-bottom: 28px; }

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slider-header label { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }

.slider-val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #f5f5f5;
  outline: none;
  accent-color: var(--accent);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 6px;
}

.competitor-picker label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.comp-options { display: flex; gap: 8px; flex-wrap: wrap; }

.comp-btn {
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.comp-btn:hover { border-color: var(--accent); color: var(--accent); }

.comp-btn.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.savings-card {
  background: var(--accent-soft);
  border: 1.5px solid var(--accent-medium);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.savings-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.savings-amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--accent);
  margin: 10px 0;
  line-height: 1;
}

.savings-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.45;
}

.breakdown-table {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.highlight-row {
  font-weight: 800;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 6px 0;
  color: var(--accent);
}

/* Tools */
.tools-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
}

.tool-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tool-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--accent-light);
  border: 1px solid var(--accent-medium);
  color: var(--accent);
}

.tool-card-header h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-main); }
.tool-card-header p { font-size: 0.82rem; color: var(--text-subtle); }

.qr-preview-box {
  display: flex;
  justify-content: center;
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin-bottom: 18px;
}

.qr-canvas img, .qr-canvas canvas { display: block; }

.copy-url-bar {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 6px;
}

.readonly-url {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 10px 12px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
}

.btn-copy {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0 16px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover { background: var(--accent-hover); }

/* Comparison */
.comparison-section {
  padding: 90px 0;
  background: #ffffff;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #ffffff;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.95rem;
}

.comparison-table th { background: #ffffff; font-weight: 800; color: var(--text-main); }
.comparison-table .highlight-col {
  background: var(--accent-soft);
  border-left: 1px solid var(--accent-medium);
  border-right: 1px solid var(--accent-medium);
}

.logo-th {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
}

/* Pricing */
.pricing-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
}

.toggle-label { font-size: 0.88rem; font-weight: 700; color: var(--text-subtle); }
.toggle-label.active { color: var(--text-main); }

.save-badge {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #e5e5e5; transition: .3s; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .3s; }
input:checked + .slider { background-color: var(--accent); }
input:checked + .slider:before { transform: translateX(20px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: var(--shadow-accent);
  transform: translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.card-tier { font-size: 0.75rem; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.tier-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; color: var(--text-main); }
.tier-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; min-height: 42px; }
.price-box { display: flex; align-items: baseline; margin-bottom: 28px; }
.price-box .currency { font-size: 1.5rem; font-weight: 700; color: var(--text-main); }
.price-box .price-val { font-family: var(--font-display); font-size: 3.2rem; font-weight: 900; line-height: 1; color: var(--text-main); }
.price-box .period { font-size: 0.85rem; color: var(--text-subtle); margin-left: 6px; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; flex: 1; }
.tier-features li { font-size: 0.88rem; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-muted); }
.tier-features li.disabled { color: var(--text-light); text-decoration: line-through; }
.tier-features li i { color: var(--accent); }

/* Testimonials */
.testimonials-section { padding: 90px 0; background: #ffffff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.star-rating { color: var(--accent); font-size: 0.85rem; margin-bottom: 16px; display: flex; gap: 3px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.6; color: var(--text-main); margin-bottom: 24px; }
.creator-profile { display: flex; align-items: center; gap: 14px; }
.creator-profile img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.creator-profile h5 { font-size: 0.95rem; font-weight: 800; color: var(--text-main); }
.creator-profile span { font-size: 0.78rem; color: var(--text-subtle); }

/* ==========================================================================
   FAQ Section (Spacious, Accessible, High Contrast)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-card);
}

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
  border-color: #ff5a1f;
  box-shadow: 0 8px 28px rgba(255, 90, 31, 0.08);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-question:focus-visible {
  outline: 2px solid #ff5a1f;
  outline-offset: -2px;
  border-radius: 16px;
}

.faq-question:hover {
  color: #ff5a1f;
}

.faq-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: #64748b;
}

.faq-icon {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-wrap {
  background: linear-gradient(135deg, #ff5a1f, #e11d48);
  color: #ffffff;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 28px 28px;
  opacity: 1;
}

.faq-answer-inner {
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
}

.faq-answer p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0;
}

.faq-answer code {
  background: #f1f5f9;
  color: #ff5a1f;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
  .faq-section {
    padding: 60px 0;
  }
  .faq-question {
    padding: 20px 20px;
    font-size: 1.02rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 20px 22px;
  }
  .faq-answer-inner {
    padding-top: 16px;
  }
  .faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* Final CTA */
.final-cta-section { padding: 50px 0 90px; background: #ffffff; }
.cta-box-glow {
  background: linear-gradient(135deg, rgba(56, 88, 246, 0.04) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(236, 72, 153, 0.05) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  color: var(--text-main);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.08);
}

.cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-pill {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ec4899;
  margin-bottom: 12px;
  background: rgba(236, 72, 153, 0.1);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(236, 72, 153, 0.25);
}
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; color: var(--text-main); }
.cta-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; }
.cta-guarantees { display: flex; justify-content: center; gap: 24px; font-size: 0.85rem; color: var(--text-muted); margin-top: 20px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: #ffffff;
  color: var(--text-main);
  border-top: 1px solid var(--border-card);
  padding: 70px 0 30px;
}
.footer-container { display: grid; grid-template-columns: 1.4fr 3fr; gap: 60px; }
.footer-brand-desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 14px; line-height: 1.6; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent); color: #fff; border-color: transparent; }
.footer-links-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.95rem; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.85rem; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border-card); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-subtle); flex-wrap: wrap; gap: 14px; }
.status-indicator-bar { display: flex; align-items: center; gap: 8px; }
.live-pulse { width: 8px; height: 8px; background: #10b981; border-radius: 50%; }

/* Modals */
.checkout-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-modal-backdrop.active { display: flex; }
.checkout-modal {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScale { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 24px; background: #ffffff; border-bottom: 1px solid var(--border-card); }
.modal-badge { font-size: 0.72rem; font-weight: 800; color: var(--accent); display: block; margin-bottom: 4px; }
.modal-close { background: transparent; border: none; color: var(--text-subtle); font-size: 1.5rem; cursor: pointer; }
.modal-body { padding: 24px; }
.order-summary-box { background: var(--accent-soft); border: 1px solid var(--accent-medium); padding: 14px 16px; border-radius: var(--radius-md); margin-bottom: 20px; }
.order-item-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.order-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; color: var(--accent); }
.fee-savings-pill { font-size: 0.72rem; color: var(--text-muted); background: #ffffff; padding: 4px 8px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 6px; font-weight: 700; border: 1px solid var(--border-card); }
.express-checkout-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.btn-express { border: none; padding: 10px; border-radius: var(--radius-md); font-weight: 800; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-apple-pay { background: #000000; color: #ffffff; }
.btn-google-pay { background: #ffffff; color: #000000; border: 1px solid var(--border-card); }
.or-divider { text-align: center; position: relative; margin: 16px 0; }
.or-divider::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--border-card); }
.or-divider span { position: relative; background: #ffffff; padding: 0 12px; font-size: 0.72rem; color: var(--text-subtle); font-weight: 800; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-guarantee { text-align: center; font-size: 0.75rem; color: var(--text-subtle); margin-top: 14px; }

/* Live Toast */
.live-activity-stream { position: fixed; bottom: 24px; left: 24px; z-index: 100; width: 380px; max-width: calc(100vw - 48px) !important; }
.activity-toast { background: #ffffff; border: 1px solid var(--accent-medium); border-radius: var(--radius-lg); padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); animation: toastPop 0.5s cubic-bezier(0.16, 1, 0.3, 1); max-width: 100%; box-sizing: border-box; overflow: hidden; }
@keyframes toastPop { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.toast-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.toast-title { font-size: 0.82rem; font-weight: 700; color: var(--text-main); }
.toast-sub { font-size: 0.75rem; color: var(--text-muted); }
.toast-time { font-size: 0.68rem; color: var(--text-subtle); }

/* Utilities */
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-black { font-weight: 900; }
.hidden { display: none; }

.text-ig-pink { color: var(--accent); }
.text-ig-blue { color: #525252; }
.text-emerald-500 { color: #10b981; }
.text-emerald-600 { color: #059669; }
.text-rose-500 { color: #ef4444; }
.text-slate-500 { color: var(--text-subtle); }

.bg-ig-pink-glow { background: var(--accent-light); border: 1px solid var(--accent-medium); color: var(--accent); }
.bg-ig-purple-glow { background: rgba(82, 82, 82, 0.08); border: 1px solid rgba(82, 82, 82, 0.15); color: #525252; }
.bg-ig-blue-glow { background: rgba(82, 82, 82, 0.08); border: 1px solid rgba(82, 82, 82, 0.15); color: #525252; }
.bg-ig-orange-glow { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.25); color: #d97706; }

/* ==========================================================
   Dashboard Home Page
   ========================================================== */
.ig-connect-banner {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 50%, #FF6B9D 100%);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  margin-bottom: 32px;
  color: #FFFFFF;
}

.ig-connect-banner h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.ig-connect-banner p {
  font-size: 1rem;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 24px;
}

.ig-connect-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ig-connect-actions .btn-primary {
  background: #FFFFFF;
  color: #FF6B9D;
}

.ig-connect-actions .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: #0f172a !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  text-align: center !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
  color: #f8fafc !important;
}

.stat-value {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

.stat-note {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 4px;
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}

.stat-trend.positive { color: #10B981; }
.stat-trend.negative { color: #EF4444; }

.setup-checklist {
  background: #0f172a;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.setup-checklist h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffffff;
}

.checklist-subtitle {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #e2e8f0;
}

.checklist-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-item.done .checklist-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.checklist-item.needed .checklist-icon {
  background: rgba(100, 116, 139, 0.2);
  color: #94A3B8;
}

.checklist-text {
  flex: 1;
}

.checklist-title {
  font-weight: 600;
  color: #0F172A;
}

.checklist-status {
  font-size: 0.8rem;
  font-weight: 600;
}

.checklist-item.done .checklist-status { color: #10B981; }
.checklist-item.needed .checklist-status { color: #F59E0B; }

.preparation-section {
  margin-bottom: 32px;
}

.preparation-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
}

.prep-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.prep-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  background: #0f172a;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.prep-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.25);
  border-color: #ec4899;
}

.prep-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 88, 246, 0.2), rgba(236, 72, 153, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.prep-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.prep-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.tutorials-section {
  background: #0f172a;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.tutorials-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #ffffff;
}

.tutorial-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tutorial-item {
  display: block;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tutorial-item:hover {
  background: linear-gradient(135deg, rgba(56, 88, 246, 0.25), rgba(236, 72, 153, 0.25));
  border-color: #ec4899;
  color: #ffffff;
  transform: translateX(4px);
}


/* ==========================================================
   Income Page
   ========================================================== */
.income-time-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.time-filter-btn {
  padding: 8px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.time-filter-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.time-filter-btn.active {
  background: #3367EA;
  color: #FFFFFF;
  border-color: #3367EA;
}

.revenue-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.revenue-card, .cashout-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
}

.revenue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.revenue-percent {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.revenue-percent.positive { color: #10B981; }
.revenue-percent.negative { color: #EF4444; }

.revenue-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #0F172A;
}

.revenue-chart-placeholder {
  height: 60px;
  background: #F8FAFC;
  border-radius: 8px;
  margin-top: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  padding: 4px;
}

.area-chart-line {
  flex: 1;
  height: 70%;
  background: linear-gradient(135deg, #3367EA 0%, #FF6B9D 70%);
  border-radius: 2px;
  min-height: 2px;
}

.cashout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cashout-link {
  font-size: 0.8rem;
  color: #3367EA;
}

.cashout-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.cashout-status {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 12px;
}

.cashout-pending {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.cashout-amount-small {
  font-weight: 700;
  color: #0F172A;
}

.cashout-card button {
  width: 100%;
}

.income-transactions {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.transactions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.transactions-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.btn-tertiary {
  background: transparent;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-tertiary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.income-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-btn {
  padding: 6px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 0.8rem;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn i {
  color: #94A3B8;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
}

.transactions-table th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
  padding: 12px 16px;
  border-bottom: 1px solid #E2E8F0;
}

.transactions-table th.text-right {
  text-align: right;
}

.transactions-table td {
  padding: 16px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.9rem;
}

.empty-state-table {
  text-align: center;
  padding: 48px 16px;
}

.empty-state-table p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 4px;
}

.empty-hint {
  font-size: 0.85rem;
  color: #CBD5E1;
}

/* ==========================================================
   Success Page
   ========================================================== */
.success-welcome {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
  text-align: center;
}

.success-welcome h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.success-emoji {
  display: inline-block;
  margin-left: 8px;
}

.success-intro {
  color: #64748B;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.success-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.success-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emoji {
  font-size: 1.2rem;
}

.success-video {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.success-video h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.success-tutorials {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.success-tutorials h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.tutorial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.tutorial-card:hover {
  background: #FFFFFF;
}

.tutorial-thumbnail {
  width: 100%;
  height: 100px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3367EA 0%, #60A5FA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
}

.tutorial-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: #0F172A;
}

.tutorial-duration {
  font-size: 0.8rem;
  color: #94A3B8;
}

.success-tips {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.success-tips h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(51, 103, 234, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3367EA;
  flex-shrink: 0;
}

.tip-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0F172A;
}

.tip-content p {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.5;
}

/* ==========================================================
   AI Assistant Chat Widget
   ========================================================== */
.ai-chat-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ai-chat-trigger {
  background: linear-gradient(135deg, #3367EA 0%, #60A5FA 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(51, 103, 234, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ai-chat-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(51, 103, 234, 0.45);
}

.ai-chat-trigger i {
  font-size: 1.1rem;
}

.ai-chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.ai-chat-panel.open {
  display: flex;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3367EA 0%, #60A5FA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
}

.ai-chat-info {
  flex: 1;
}

.ai-chat-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
}

.ai-chat-status {
  font-size: 0.8rem;
  color: #10B981;
}

.ai-chat-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 6px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  max-height: 320px;
  padding: 20px;
}

.ai-message {
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
}

.ai-message-content {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
  max-width: 85%;
}

.ai-message-content:last-child::after {
  content: '';
}

.ai-user-msg {
  border-radius: 16px 4px 16px 16px !important;
}

.ai-chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid #E2E8F0;
}

.ai-message-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.ai-message-input:focus {
  border-color: #3367EA;
}

.ai-send-btn {
  background: #3367EA;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.ai-send-btn:hover:not(:disabled) {
  background: #2547EA;
}

.ai-send-btn:disabled {
  background: #CBD5E1;
  cursor: not-allowed;
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
}

/* Layout Utilities */
.scroll-smooth { scroll-behavior: smooth; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.flex { display: flex; }
.grid { display: grid; }

/* Hero Layout */
.hero-container { position: relative; z-index: 10; }
.hero-header { position: relative; z-index: 10; }

/* Ambient Glows (Vibrant Instagram Blue & Pink Mesh) */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.glow-ig-pink {
  top: -80px;
  right: -60px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.32) 0%, rgba(236, 72, 153, 0) 70%);
}
.glow-ig-blue, .glow-ig-orange {
  top: -60px;
  left: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 88, 246, 0.30) 0%, rgba(56, 88, 246, 0) 70%);
}
.glow-ig-purple {
  top: 600px;
  left: 30%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0) 70%);
}

/* Studio Layout */
.studio-controls { display: flex; flex-direction: column; gap: 0; }
.automation-action-row { display: flex; gap: 10px; }

/* Calculator Layout */
.calc-inputs-pane { display: flex; flex-direction: column; }
.calc-results-pane { display: flex; flex-direction: column; }

/* Tools Layout */
.tool-body { display: flex; flex-direction: column; gap: 18px; }
.qr-actions { display: flex; gap: 10px; }

/* Comparison Table */
.feature-col { width: 40%; }
.f-title { font-weight: 600; color: var(--text-muted); }
.b-cost { font-weight: 700; }
.b-name { color: var(--text-muted); }

/* Footer */
.footer-col-brand { display: flex; flex-direction: column; }

/* Modal */
.modal-title-wrap { display: flex; flex-direction: column; gap: 4px; }
.checkout-form { display: flex; flex-direction: column; gap: 18px; }

/* WhatsApp Tool */
.generated-wa-box { display: flex; flex-direction: column; gap: 6px; }

/* IG Mockup */
.ig-media-content { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }

/* Comment */
.comment-bubble.incoming { background: #fafafa; border: 1px solid var(--border-card); }

/* Toast */
.toast-content { display: flex; flex-direction: column; gap: 2px; }
.dm-toast-footer { margin-top: 10px; }

/* Misc */
.btn-complete-order { width: 100%; }

/* Responsive */
@media (max-width: 1024px) {
  .simulator-body, .studio-grid, .calc-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions .btn-ghost, .nav-actions .btn-primary { display: none; }
  .mobile-toggle { display: block; }
  .navbar-container { padding: 0 16px; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-container { padding: 0 20px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-section { padding: 40px 0 50px; }
  .hero-metrics-bar { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 14px; padding: 16px 20px; }
  .metric-divider { display: none; }
  .tools-grid { grid-template-columns: 1fr; }
  .simulator-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .theme-picker-group { width: 100%; justify-content: space-between; }
  .workflow-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .ambient-glow { display: none; }
}

@media (max-width: 480px) {
  .claim-url-form { flex-wrap: wrap; }
  .btn-claim { padding: 12px 20px; font-size: 0.88rem; width: 100%; justify-content: center; }
  .simulator-body { padding: 20px 16px; }
  .simulator-info-pane { width: 100%; max-width: 100%; }
  .sim-feature-card { max-width: 100%; width: 100%; }
  .cta-banner-sim { flex-wrap: wrap; font-size: 0.8rem; gap: 8px; }
  .iphone-frame { width: 100%; max-width: 290px; height: auto; aspect-ratio: 350 / 690; margin: 0 auto; }
  .url-prefix { font-size: 0.88rem; }
  .theme-btn { padding: 4px 8px; font-size: 0.75rem; }
  .phone-screen { padding: 36px 10px 12px; }
  .claim-url-wrapper { margin-bottom: 24px; }
  .live-activity-stream { right: 12px !important; left: 12px !important; max-width: calc(100vw - 24px) !important; bottom: 16px !important; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-bento-card { padding: 22px 18px; }
  .feature-bento-card, .feature-bento-card * { max-width: 100%; }
  .tool-card { width: 100%; min-width: 0; padding: 24px 18px; }
  .tools-grid > * { min-width: 0; }
  .calc-inputs-pane, .calc-results-pane { width: 100%; min-width: 0; }
  .calculator-card { padding: 22px 18px; }
  .calc-grid { gap: 20px; }
  .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid > *, .testimonials-grid > * { min-width: 0; width: 100%; }
}

@media (max-width: 360px) {
  .simulator-body { padding: 16px; }
  .sim-feature-card { padding: 12px; gap: 12px; }
  .cta-banner-sim { padding: 12px 16px; }
  .btn-claim { padding: 8px 16px; }
  .simulator-heading { font-size: 1.7rem; }
  .feature-bento-card { padding: 20px; }
  .bento-title { font-size: 1.2rem; }
  .tool-card { padding: 22px; }
  .calculator-card { padding: 20px; }
  .calc-grid { gap: 16px; }
  .quota-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Dashboard App (Ate Clone)
   ========================================================================== */
.dashboard-app {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F8FAFC;
  z-index: 9999;
  overflow: hidden;
  overflow-x: hidden;
  scroll-padding-top: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  overflow-x: hidden !important;
}

.dashboard-app *:not(:before):not(:after) {
  font-family: inherit;
}

.dashboard-app .fa-solid,
.dashboard-app .fa-brands,
.dashboard-app .fa-solid:before,
.dashboard-app .fa-brands:before,
.dashboard-app .fa-solid:after,
.dashboard-app .fa-brands:after {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "Font Awesome 5 Brands", sans-serif !important;
}

.dashboard-app .dash-nav-item {
  font-weight: 500;
}

.dashboard-app .dash-page-header h1 {
  font-weight: 700;
}

.dashboard-app .dash-page-subtitle {
  font-weight: 400;
}

.dashboard-app .form-section h2 {
  font-weight: 700;
}

.dashboard-app .form-group label {
  font-weight: 600;
}

.dashboard-container {
  display: flex;
  height: 100vh;
}

.dashboard-sidebar {
  width: 260px;
  background: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  flex-shrink: 0;
}

.dashboard-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 90;
}

.dashboard-sidebar-overlay.open {
  display: block;
}

.dashboard-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  cursor: pointer;
  margin-right: 12px;
  flex-shrink: 0;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  text-decoration: none;
  color: #0F172A;
}

.dashboard-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-nav {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.dash-nav-item:hover {
  background: #F8FAFC;
  color: #0F172A;
}

.dash-nav-item.active {
  background: linear-gradient(135deg, rgba(255,107,157,0.1) 0%, rgba(255,138,92,0.1) 100%);
  color: #FF6B9D;
}

.dash-nav-item svg {
  flex-shrink: 0;
}

.dashboard-sidebar-footer {
  padding: 16px;
  border-top: 1px solid #E2E8F0;
}

.get-app-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.app-link:hover {
  background: #F8FAFC;
  color: #0F172A;
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  min-width: 0;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.dashboard-header-left {
  flex: 1;
  max-width: 400px;
}

.dashboard-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 8px 14px;
  border-radius: 12px;
  color: #94A3B8;
}

.dashboard-search-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: #0F172A;
  width: 100%;
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-plan-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255,107,157,0.1) 0%, rgba(255,138,92,0.1) 100%);
  border: 1px solid rgba(255,107,157,0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FF6B9D;
}

.dashboard-profile-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  border: none;
  color: white;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-logout-btn {
  background: transparent;
  border: 1px solid #E2E8F0;
  padding: 8px;
  border-radius: 8px;
  color: #94A3B8;
  cursor: pointer;
  transition: 0.2s ease;
}

.dashboard-logout-btn:hover {
  border-color: #EF4444;
  color: #EF4444;
}

.dashboard-pages {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
}

.dash-page {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
}

.dash-page.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease;
}

.dash-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.dash-page-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
}

.dash-page-subtitle {
  color: #475569;
  margin-bottom: 32px;
}

.back-btn {
  background: transparent;
  border: none;
  color: #475569;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-title-group {
  flex: 1;
}

.automation-title-input {
  font-size: 1.5rem;
  font-weight: 800;
  border: none;
  background: transparent;
  outline: none;
  color: #0F172A;
  width: 100%;
}

.automation-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.status-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 600;
}

.status-btn {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.save-btn {
  background: #10B981;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.trigger-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.trigger-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.trigger-section p {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.trigger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.trigger-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: left;
}

.trigger-btn:hover {
  border-color: #FF6B9D;
  color: #FF6B9D;
  background: rgba(255, 107, 157, 0.03);
}

.response-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.response-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.response-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.response-step {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.step-header h3 {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pro-badge {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  color: white;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 800;
}

.edit-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #FF6B9D;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.step-content {
  padding: 20px;
}

.step-content p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.message-link-btn {
  background: #FF6B9D;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.step-edit {
  padding: 20px;
}

.message-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 12px;
}

.save-message-btn {
  background: #FF6B9D;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.pro-feature {
  opacity: 0.7;
}

.pro-feature-text {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.pro-upgrade-notice {
  background: rgba(255, 107, 157, 0.08);
  border: 1px solid rgba(255, 107, 157, 0.2);
  color: #FF6B9D;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.step-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 600;
}

.toggle-switch {
  width: 40px;
  height: 22px;
  background: #E2E8F0;
  border: none;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: 0.2s ease;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: 0.2s ease;
}

.add-response-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.add-response-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

/* Products Page */
.products-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.products-stat, .order-stat, .contact-stat {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.products-stat-value, .order-stat-value, .contact-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.products-stat-label, .order-stat-label, .contact-stat-label {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.empty-icon {
  color: #CBD5E1;
  margin-bottom: 20px;
}

.empty-state h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-state p {
  color: #475569;
  max-width: 400px;
  margin: 0 auto 24px;
}

.empty-state-small {
  text-align: center;
  padding: 40px 20px;
  color: #94A3B8;
}

.orders-stats, .contacts-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.orders-search, .contacts-search {
  margin-bottom: 24px;
}

.search-input {
  width: 100%;
  max-width: 400px;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: 0.2s ease;
}

.search-input:focus {
  border-color: #FF6B9D;
}

/* Analytics Page */
.plan-banner {
  display: inline-flex;
  background: linear-gradient(135deg, rgba(255,107,157,0.1) 0%, rgba(255,138,92,0.1) 100%);
  border: 1px solid rgba(255,107,157,0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FF6B9D;
  margin-bottom: 32px;
}

.quota-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.quota-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.quota-subtitle {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.quota-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.quota-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
}

.quota-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.quota-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.quota-note {
  font-size: 0.75rem;
  color: #94A3B8;
  text-align: right;
}

.quota-bar {
  height: 8px;
  background: #F1F5F9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.quota-fill {
  height: 100%;
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.quota-values {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.quota-used {
  font-size: 1.25rem;
  font-weight: 800;
}

.quota-divider {
  color: #94A3B8;
}

.quota-total {
  font-size: 1rem;
  color: #94A3B8;
  font-weight: 600;
}

.quota-percent {
  font-size: 0.8rem;
  color: #94A3B8;
}

.contact-sources {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.contact-sources h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.sources-note {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.view-all-link {
  color: #FF6B9D;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.pro-analytics {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.pro-analytics h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pro-analytics-note {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.upgrade-link {
  color: #FF6B9D;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 24px;
}

.pro-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.pro-feature-item {
  padding: 20px;
  background: #F8FAFC;
  border-radius: 8px;
}

.pro-feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pro-feature-item p {
  font-size: 0.85rem;
  color: #475569;
}

.pro-upgrade-card {
  background: linear-gradient(135deg, rgba(255,107,157,0.05) 0%, rgba(255,138,92,0.05) 100%);
  border: 1px solid rgba(255,107,157,0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.pro-upgrade-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pro-upgrade-card p {
  color: #475569;
  margin-bottom: 16px;
}

/* Billing Page */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 40px;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
}

.save-badge {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 800;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #E2E8F0;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.06);
}

.pricing-card.featured {
  border-color: #FF6B9D;
  box-shadow: 0 10px 25px rgba(255, 107, 157, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  color: white;
  font-size: 0.75rem;
  padding: 4px 16px;
  border-radius: 9999px;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.75rem;
  font-weight: 800;
  color: #FF6B9D;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: #94A3B8;
}

.amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0F172A;
}

.period {
  font-size: 0.85rem;
  color: #94A3B8;
}

.annual-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #475569;
}

.pricing-features li::before {
  content: '✓';
  color: #10B981;
  font-weight: 800;
}

/* Gmail Section */
.gmail-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.gmail-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.gmail-subtitle {
  color: #475569;
  margin-bottom: 24px;
}

.gmail-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  max-width: 400px;
}

.gmail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.gmail-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.gmail-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.gmail-price .amount {
  font-size: 1.5rem;
}

.gmail-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.gmail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #475569;
}

.gmail-features li::before {
  content: '✓';
  color: #10B981;
  font-weight: 800;
}

/* Refer & Earn Page */
.referral-hero {
  background: linear-gradient(135deg, rgba(255,107,157,0.05) 0%, rgba(255,138,92,0.05) 100%);
  border: 1px solid rgba(255,107,157,0.15);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-bottom: 32px;
}

.referral-earnings {
  margin-bottom: 24px;
}

.earnings-amount {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.earnings-label {
  color: #94A3B8;
  font-weight: 600;
}

.referral-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.referral-stat {
  text-align: center;
}

.referral-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
}

.referral-stat-label {
  font-size: 0.8rem;
  color: #94A3B8;
}

.referral-link-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.referral-link-section h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.referral-link-box {
  display: flex;
  gap: 12px;
}

.referral-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #F8FAFC;
  color: #475569;
}

.btn-copy {
  background: #FF6B9D;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-copy:hover {
  background: #E85D8A;
}

.referral-how {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.referral-how h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.referral-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.referral-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8A5C 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.85rem;
  color: #475569;
}

/* Profile Page */
.profile-form {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.form-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.form-section h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-hint {
  color: #94A3B8;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: 0.2s ease;
}

.form-input:focus {
  border-color: #FF6B9D;
}

.form-input:disabled {
  background: #F8FAFC;
  color: #94A3B8;
}

.phone-input-group {
  display: flex;
  gap: 12px;
}

.phone-prefix {
  padding: 10px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #FFFFFF;
  min-width: 100px;
}

.phone-input {
  flex: 1;
}

.account-status {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  height: fit-content;
  align-self: start;
  position: sticky;
  top: 16px;
}

.account-status h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.status-item:last-child {
  border-bottom: none;
}

.status-label {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

.status-value {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-value.verified {
  color: #10B981;
}

.status-value.missing {
  color: #F59E0B;
}

.status-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
}

.status-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.status-info p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

/* Support Page */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.support-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: 0.2s ease;
}

.support-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,157,0.1) 0%, rgba(255,138,92,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #FF6B9D;
}

.support-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 20px;
}

.dash-faq-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
}

.dash-faq-box h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .dashboard-sidebar-toggle {
    display: flex;
  }

  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  .dashboard-header {
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .dashboard-header-left {
    max-width: none;
    flex: 1 1 auto;
  }

  .dashboard-search {
    display: none !important;
  }

  .dashboard-header-right {
    gap: 8px;
  }

  .dashboard-plan-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .dashboard-profile-btn {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .dashboard-logout-btn {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .dashboard-pages {
    padding: 16px;
    width: 100%;
    min-width: 0;
  }

  .dash-page-header {
    margin-bottom: 16px;
  }

  .dash-page-header h1 {
    font-size: 1.4rem;
  }

  .dash-page-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

  .profile-form .form-section {
    padding: 16px;
  }

  .profile-form .form-group {
    margin-bottom: 12px;
  }

  .profile-form .form-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .profile-form .form-input {
    font-size: 0.85rem;
    padding: 10px 12px;
  }

  .profile-form .btn-primary,
  .profile-form .btn-save {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
  }

  .trigger-section {
    padding: 20px;
  }

  .automation-title-input {
    font-size: 1.2rem;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .referral-hero {
    flex-direction: column;
  }

  .referral-link-box {
    flex-direction: column;
  }

  .referral-steps {
    flex-direction: column;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 14px;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .live-activity-stream {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
  }

  .activity-toast {
    max-width: 100%;
  }

  .dashboard-nav-section {
    padding: 8px;
  }

  .dash-nav-item {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .dashboard-logo {
    padding: 16px;
  }

  .dashboard-sidebar-footer {
    padding: 12px;
  }

  .contact-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
    justify-content: stretch;
  }

  .contact-actions button {
    flex: 1;
  }

  .order-header {
    flex-direction: column;
    gap: 10px;
  }

  .order-stats {
    width: 100%;
    justify-content: space-around;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }
}

/* ==========================================================================
   Supplementary Enhancements: Dashboard Actions & Modals
   ========================================================================== */
.dashboard-exit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dashboard-exit-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

/* Custom Modals (Product & Contact Creation) */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.custom-modal-backdrop.active {
  display: flex;
}

.custom-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Scroll & Mobile Safe Area Enhancements */
.custom-modal,
.checkout-modal {
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .checkout-modal-backdrop,
  .custom-modal-backdrop {
    padding: 12px;
  }
  .checkout-modal,
  .custom-modal {
    max-width: 100% !important;
    border-radius: 14px;
    max-height: 92vh;
  }
  .modal-header {
    padding: 14px 16px;
  }
  .modal-body {
    padding: 16px;
  }
  .express-checkout-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Small Screens & Mobile Fine-Tuning */
@media (max-width: 640px) {
  .nav-actions {
    gap: 8px;
  }

  .ai-chat-panel {
    width: calc(100vw - 24px) !important;
    right: 0 !important;
    max-height: 480px !important;
  }

  .phone-mockup {
    max-width: 100% !important;
  }

  .simulator-toolbar {
    padding: 12px 14px;
    gap: 8px;
  }

  .theme-picker-group {
    display: none;
  }

  .hero-metrics-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .metric-divider {
    display: none !important;
  }

  .dashboard-exit-btn span {
    display: none;
  }

  .dashboard-exit-btn {
    padding: 8px 10px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1.85rem !important;
  }

  .container {
    padding: 0 14px;
  }

  .announcement-bar {
    font-size: 0.78rem;
    padding: 8px 12px;
  }
}

/* 1-Click Order Bump Upsell (Stan Store Pro Feature) */
.order-bump-box {
  background: #fffbf5;
  border: 1.5px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 16px 0;
  transition: all 0.2s ease;
}

.order-bump-box.selected {
  background: #fef3c7;
  border-color: #d97706;
}

.order-bump-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.order-bump-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.order-bump-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #f59e0b;
}

.order-bump-tag {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.order-bump-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #b45309;
}

.order-bump-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.order-bump-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

/* Gatekeeper Response Step (Ate App Feature) */
.gatekeeper-step {
  border-left: 4px solid #ff5a1f !important;
}

.gatekeeper-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-growth {
  background: linear-gradient(135deg, #ff5a1f 0%, #d946ef 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.gatekeeper-preview {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
}

.preview-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e1306c;
  margin-bottom: 4px;
}

.preview-text {
  font-size: 0.82rem;
  color: #334155;
  font-style: italic;
  line-height: 1.4;
}

/* Image & Media UI/UX Enhancements */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

.workflow-bg-img,
.creator-store-img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  will-change: transform;
}

.workflow-card:hover .workflow-bg-img {
  transform: scale(1.06);
  filter: brightness(1.04);
}

.creator-card:hover .creator-store-img {
  transform: scale(1.04);
  filter: brightness(1.02);
}

.creator-avatar img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.creator-avatar:hover img {
  transform: scale(1.08);
}

/* CRM & Audience Filter Pills */
.filter-pill {
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.filter-pill.active {
  background: #fff5f2 !important;
  border-color: #ff5a1f !important;
  color: #ff5a1f !important;
}

/* Product Format Cards Selection */
.prod-type-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-type-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Settings Subtabs Navigation (Stan Parity) */
.settings-tablist {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.settings-tab-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.settings-tab-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

.settings-tab-btn.active {
  background: #fff5f2;
  color: #ff5a1f !important;
  font-weight: 700 !important;
}

/* ==========================================================
   Floating AI Chat Assistant Widget
   ========================================================== */
.ai-chat-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ai-chat-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 14px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 25px -5px rgba(220, 39, 67, 0.45), 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px -6px rgba(220, 39, 67, 0.55);
}

.ai-chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 36px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: aiPanelSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ai-chat-panel.open,
.ai-chat-panel.active {
  display: flex !important;
}

@keyframes aiPanelSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.ai-chat-info {
  flex: 1;
}

.ai-chat-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ai-chat-status {
  font-size: 0.72rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.ai-chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}

.ai-chat-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-chat-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}

.ai-message,
.user-message {
  display: flex;
  max-width: 88%;
}

.ai-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
}

.ai-message-content {
  background: #ffffff;
  color: #1e293b;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  font-size: 0.86rem;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.user-message-content {
  background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 100%);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.86rem;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.25);
}

.ai-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ai-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-chip:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.ai-typing-dots {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  width: fit-content;
}

.ai-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: aiBounce 1.4s infinite ease-in-out both;
}

.ai-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes aiBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.ai-chat-input {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-message-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 10px 16px;
  font-size: 0.86rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.ai-message-input:focus {
  border-color: #e1306c;
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.12);
}

.ai-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 100%);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ai-send-btn:not(:disabled):hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}

/* ==========================================================================
   Instagram Royal Blue + Hot Pink Theme — Clean White Background Mode
   ========================================================================== */
.dashboard-app {
  background: #f8fafc !important;
  color: #0f172a !important;
}
.dashboard-container {
  background: #f8fafc !important;
}
.dashboard-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
}
.dashboard-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
.dashboard-main {
  background: #f8fafc !important;
  color: #0f172a !important;
}
.dashboard-pages {
  background: #f8fafc !important;
}
.dash-page {
  background: #f8fafc !important;
}
.dashboard-search-input {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
.dashboard-search-input::placeholder {
  color: #94a3b8 !important;
}
.dash-page-header h1 {
  color: #0f172a !important;
}
.dash-page-subtitle {
  color: #64748b !important;
}
.dash-card, .stat-card, .prep-card, .table-card, .automation-workflow-card, .settings-tab-panel > div, .integration-card, .analytics-chart-card, .setup-checklist {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  border-radius: 14px !important;
}
.stat-value {
  color: #0f172a !important;
}
.stat-label {
  color: #64748b !important;
}
.dash-nav-item {
  color: #475569 !important;
  font-weight: 500 !important;
}
.dash-nav-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
.dash-nav-item.active {
  background: linear-gradient(135deg, rgba(56, 88, 246, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%) !important;
  border-left: 3.5px solid #3858f6 !important;
  color: #3858f6 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.dash-nav-item.active svg {
  stroke: #3858f6 !important;
}
.dashboard-logo-text {
  background: linear-gradient(135deg, #3858f6 0%, #8b5cf6 45%, #ec4899 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.dashboard-profile-btn {
  background: linear-gradient(135deg, #3858f6 0%, #8b5cf6 45%, #ec4899 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(56, 88, 246, 0.25) !important;
}
.dashboard-plan-badge {
  background: linear-gradient(135deg, rgba(56,88,246,0.1), rgba(236,72,153,0.1)) !important;
  color: #3858f6 !important;
  border: 1px solid rgba(56, 88, 246, 0.25) !important;
  font-weight: 700 !important;
}
.ig-connect-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%) !important;
  border: 1.5px solid rgba(236, 72, 153, 0.25) !important;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.08) !important;
}
.ig-connect-banner h1, .ig-connect-banner h2 {
  color: #0f172a !important;
}
.ig-connect-banner p {
  color: #64748b !important;
}
.btn-primary, .dash-action-btn, .btn-save-automation {
  background: linear-gradient(135deg, #3858f6 0%, #8b5cf6 45%, #ec4899 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3) !important;
  border: none !important;
}
.btn-primary:hover, .dash-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4) !important;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Suite
   ========================================================================== */
@media (max-width: 992px) {
  .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    background: #ffffff !important;
    z-index: 9999 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15) !important;
    overflow-y: auto !important;
  }

  .dashboard-sidebar.open {
    transform: translateX(0) !important;
  }

  .dashboard-sidebar-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .dashboard-sidebar-overlay.open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .dashboard-main {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .dashboard-sidebar-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    cursor: pointer !important;
  }
}

@media (max-width: 768px) {
  .dashboard-header {
    padding: 10px 14px !important;
    height: auto !important;
    min-height: 56px !important;
  }

  .dashboard-search {
    display: none !important;
  }

  .dashboard-header-right {
    gap: 6px !important;
  }

  .dashboard-exit-btn span {
    display: none !important;
  }

  .dashboard-exit-btn {
    padding: 8px 10px !important;
  }

  .dashboard-pages {
    padding: 14px 12px !important;
  }

  .dash-page-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .dash-page-header button {
    width: 100% !important;
    justify-content: center !important;
  }

  .custom-modal-backdrop {
    padding: 12px !important;
  }

  .custom-modal, .custom-modal-card {
    width: 100% !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    padding: 18px 16px !important;
    border-radius: 16px !important;
    margin: auto !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .studio-input, .studio-textarea, .form-group input, .form-group select {
    font-size: 16px !important;
  }

  .stats-grid, .analytics-grid, .summary-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .stat-card {
    padding: 14px !important;
  }

  .stat-value {
    font-size: 1.3rem !important;
  }

  #appointmentsListContainer, #automationsListContainer {
    grid-template-columns: 1fr !important;
  }

  .table-responsive, .contacts-table-wrapper, .table-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
  }

  .table-responsive table, .contacts-table-wrapper table {
    min-width: 580px !important;
  }
}

@media (max-width: 480px) {
  .stats-grid, .analytics-grid, .summary-metrics {
    grid-template-columns: 1fr !important;
  }

  .dashboard-plan-badge {
    display: none !important;
  }
}






