/* Project-specific styles for sendform.net */

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

:root {
  /* Animation timing */
  --anim-fast: 0.2s;
  --anim-base: 0.3s;
  --anim-slow: 0.5s;
  --anim-slower: 0.8s;

  /* Easing curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Animation delays */
  --stagger-delay: 0.1s;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}

body {
  overflow-x: hidden;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Scroll-triggered animation classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade {
  opacity: 0;
  transition: opacity 1s var(--ease-out-expo);
}

.scroll-fade.revealed {
  opacity: 1;
}

.scroll-slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

.scroll-slide-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.scroll-slide-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.scroll-slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.scroll-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger-children > *:nth-child(1) {
  transition-delay: calc(var(--stagger-delay) * 0);
}
.stagger-children > *:nth-child(2) {
  transition-delay: calc(var(--stagger-delay) * 1);
}
.stagger-children > *:nth-child(3) {
  transition-delay: calc(var(--stagger-delay) * 2);
}
.stagger-children > *:nth-child(4) {
  transition-delay: calc(var(--stagger-delay) * 3);
}
.stagger-children > *:nth-child(5) {
  transition-delay: calc(var(--stagger-delay) * 4);
}
.stagger-children > *:nth-child(6) {
  transition-delay: calc(var(--stagger-delay) * 5);
}
.stagger-children > *:nth-child(7) {
  transition-delay: calc(var(--stagger-delay) * 6);
}
.stagger-children > *:nth-child(8) {
  transition-delay: calc(var(--stagger-delay) * 7);
}

.card.soft {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.card.soft h4 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12.8px;
  color: var(--muted-text);
  margin-bottom: 12px;
  font-weight: 600;
  display: inline-block;
}

.lead {
  font-size: 20.8px;
  color: var(--muted-text);
  line-height: 1.8;
  max-width: 600px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.muted {
  color: var(--muted-text);
}

.small {
  font-size: 15.2px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5.6px;
  padding: 5.6px 12px;
  border-radius: 999px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  font-weight: 600;
  color: inherit;
}

.pill.soft {
  background: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5.6px;
  padding: 4px 9.6px;
  background: var(--input-bg);
  border-radius: var(--radius-small);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 14.4px;
}

.badge-success {
  color: #12b76a;
  border-color: rgba(18, 183, 106, 0.35);
  background: rgba(18, 183, 106, 0.1);
}

.landing-hero {
  padding: 40px 80px 0;
  position: relative;
  overflow: visible;
  margin-bottom: 0;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1) rotate(2deg);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95) rotate(-1deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

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

.hero-main {
  align-items: center;
  position: relative;
  z-index: 1;
  gap: 80px;
  margin-bottom: 0;
  min-height: auto;
}

.landing-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(
    135deg,
    var(--text-color) 0%,
    var(--link) 60%,
    rgba(139, 92, 246, 0.9) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  position: relative;
  padding-bottom: 0.3em;
  overflow: visible;
  display: block;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 0;
}

.hero-actions .button {
  transition: all var(--anim-base) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-actions .button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--anim-base) var(--ease-out-expo);
  z-index: 1;
}

.hero-actions .button::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(139, 92, 246, 0.3)
  );
  border-radius: inherit;
  opacity: 0;
  filter: blur(12px);
  transition: opacity var(--anim-base) var(--ease-out-expo);
  z-index: -1;
}

.hero-actions .button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hero-actions .button:hover::before {
  opacity: 1;
}

.hero-actions .button:hover::after {
  opacity: 1;
}

.hero-actions .button:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-actions .button-primary {
  background: linear-gradient(
    135deg,
    var(--link) 0%,
    rgba(99, 102, 241, 0.8) 100%
  );
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.hero-actions .subtext {
  display: inline-flex;
  align-items: center;
  gap: 7.2px;
  color: var(--muted-text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 0;
}

.metric-card {
  padding: 24px;
  border: none;
  border-radius: var(--radius-medium);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: all var(--anim-base) var(--ease-out-expo);
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  text-align: center;
}

.metric-card::before {
  display: none;
}

.metric-card:hover {
  transform: translateY(-2px);
}

.metric-label {
  color: var(--text-color);
  font-weight: 600;
}

.metric-value {
  font-size: 32px;
  font-weight: 800;
  display: block;
  letter-spacing: -0.02em;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--text-color), var(--link));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-value.counting {
  animation: count-up 0.6s var(--ease-out-expo);
}

.metric-card small {
  display: block;
  margin-top: 8px;
  font-size: 15.2px;
  color: var(--text-color);
  opacity: 0.75;
  font-weight: 500;
}

/* Hero Animation - Form Visualization */
.hero-animation {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.form-visualization {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.form-container {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
}

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

.field-label {
  font-size: 13.6px;
  font-weight: 600;
  color: var(--muted-text);
  margin-bottom: 8px;
}

.field-input {
  height: 40px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
  overflow: hidden;
}

.field-input-large {
  height: 60px;
  align-items: flex-start;
  padding-top: 10px;
}

.field-text {
  font-size: 14.4px;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  border-right: 2px solid transparent;
}

.form-field.typing .field-text {
  border-right-color: var(--link);
  animation: cursorBlink 0.7s step-end infinite;
}

@keyframes cursorBlink {
  0%,
  100% {
    border-right-color: var(--link);
  }
  50% {
    border-right-color: transparent;
  }
}

.form-submit {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.form-submit.visible {
  opacity: 1;
  transform: translateY(0);
}

.submit-button {
  height: 44px;
  background: linear-gradient(135deg, var(--link), rgba(139, 92, 246, 0.9));
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14.4px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.form-submit.sending .submit-button {
  transform: scale(0.95);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.form-success {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  z-index: 10;
}

.form-success.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.success-checkmark {
  width: 70px;
  height: 70px;
  color: #22c55e;
  filter: drop-shadow(0 8px 20px rgba(34, 197, 94, 0.4));
}

.success-checkmark svg {
  width: 100%;
  height: 100%;
}

.success-checkmark circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  transition: stroke-dashoffset 0.6s ease;
}

.success-checkmark path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  transition: stroke-dashoffset 0.4s ease 0.4s;
}

.form-success.visible .success-checkmark circle {
  stroke-dashoffset: 0;
}

.form-success.visible .success-checkmark path {
  stroke-dashoffset: 0;
}

.success-text {
  font-size: 17.6px;
  font-weight: 600;
  color: #22c55e;
}

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

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
  }
}

@keyframes arrowSlide {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes endpointSlide {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

@keyframes fadeInLabel {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resetText {
  to {
    width: 0;
  }
}

@keyframes successHide {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes arrowHide {
  to {
    opacity: 0;
    transform: translateY(-50%) translateX(-20px);
  }
}

@keyframes endpointHide {
  to {
    opacity: 0;
    transform: translateY(-50%) translateX(-20px);
  }
}

/* Hero CTA Section */
/* Hero CTA Section */
.hero-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-left: 32px;
  overflow: visible;
}

.hero-cta h1 {
  margin-bottom: 24px;
}

.hero-cta .lead {
  margin-bottom: 0;
}

/* Hero Metrics Section (below hero) */
.hero-metrics-section {
  margin-top: 32px;
  padding-top: 32px;
  margin-bottom: 0;
  border-top: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Features Showcase - Unified Section */
.features-showcase {
  padding: 64px 0;
  margin-top: 0;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.features-grid-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-large);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(139, 92, 246, 0.03)
  );
  border: 1px solid rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-item::before {
  display: none;
}

.feature-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 36px;
  color: var(--link);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0.25));
  transition: transform var(--anim-base) var(--ease-spring);
}

.feature-item:hover i {
  transform: scale(1.15) rotate(5deg);
}

.feature-item h4 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-color);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.feature-item p {
  margin: 0;
  font-size: 19.2px;
  line-height: 1.6;
  color: var(--muted-text);
}

.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 40px;
  background: rgba(99, 102, 241, 0.03);
  border-radius: var(--radius-large);
  border: 1px solid rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-strip-item {
  display: flex;
  gap: 24px;
  align-items: center;
  transition: all var(--anim-base) var(--ease-out-expo);
}

.feature-strip-item:hover {
  transform: translateX(4px);
}

.feature-strip-item i {
  font-size: 36px;
  color: var(--link);
  flex-shrink: 0;
  transition: transform var(--anim-base) var(--ease-spring);
  filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0.25));
}

.feature-strip-item:hover i {
  transform: scale(1.15) rotate(5deg);
}

.feature-strip-title {
  font-weight: 700;
  margin: 0 0 8px 0;
  font-size: 24px;
  color: var(--text-color);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.feature-strip-item small {
  display: block;
  margin-top: 4px;
  opacity: 0.85;
  font-size: 19.2px;
  line-height: 1.6;
  color: var(--muted-text);
}

/* Hero endpoint panel (below main content) */
.hero-endpoint-panel {
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  border-radius: var(--radius-large);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-body {
  margin-top: 16px;
}

.panel-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.panel-code {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-medium);
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  font-size: 15.2px;
  position: relative;
  overflow-x: auto;
  transition: all var(--anim-base) var(--ease-out-expo);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.panel-code:hover {
  border-color: var(--link);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-color);
  transition: transform var(--anim-fast) var(--ease-out-expo);
}

.panel-list li:hover {
  transform: translateX(4px);
}

.panel-list li i {
  color: var(--link);
  transition: transform var(--anim-fast) var(--ease-spring);
}

.panel-list li:hover i {
  transform: scale(1.2);
}

.dashboard {
  border: 1px solid var(--border-color);
}

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

.dashboard-actions {
  display: flex;
  gap: 12px;
}

.dashboard-loading {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 16px;
  margin-bottom: 16px;
}

.skeleton-row {
  height: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0)
  );
  border-radius: var(--radius-small);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.skeleton-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 1.4s infinite;
}

.skeleton-row.short {
  width: 60%;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ============================================
   Forms Page Layout
   ============================================ */

/* Dashboard header */
body:has(.base-sidebar--floating-left) main .dashboard-header {
  margin-bottom: 24px;
  margin-top: 0;
}

/* Dashboard grid */
body:has(.base-sidebar--floating-left) main .dashboard-grid {
  padding: 0;
  margin: 0;
}

/* Dashboard main card */
body:has(.base-sidebar--floating-left) main .dashboard-main {
  padding: 20px;
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Overview Stats Section */
.dashboard-overview {
  width: 100%;
  margin-bottom: 24px;
}

.overview-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Always hide overview-actions when getting started section is visible */
.overview-actions[hidden],
.overview-actions.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dashboard-overview:has(#gettingStartedSection:not([style*='display: none']))
  .overview-actions,
.dashboard-overview:has(#gettingStartedSection[style*='display: block'])
  .overview-actions {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.overview-actions .button {
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

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

.overview-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.overview-stat-card:hover {
  border-color: var(--link);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.overview-stat-card .stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-medium);
  background: rgba(99, 102, 241, 0.1);
  color: var(--link);
  flex-shrink: 0;
}

.overview-stat-card .stat-icon i {
  font-size: 24px;
}

.overview-stat-card .stat-content {
  flex: 1;
  min-width: 0;
}

.overview-stat-card .stat-label {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.overview-stat-card .stat-value {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
}

/* Getting Started Section */
/* Onboarding Styles */
.onboarding-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
}

.onboarding-header {
  margin-bottom: 48px;
}

.onboarding-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--link), rgba(139, 92, 246, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.onboarding-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}

.onboarding-subtitle {
  font-size: 20px;
  color: var(--text-color);
  opacity: 0.7;
  margin: 0;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
  text-align: left;
}

.onboarding-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.onboarding-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--link);
}

.step-indicator {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--link), rgba(139, 92, 246, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-indicator .step-number {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.step-details {
  flex: 1;
}

.step-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text-color);
}

.step-details p {
  font-size: 16px;
  color: var(--text-color);
  opacity: 0.7;
  margin: 0;
  line-height: 1.6;
}

.onboarding-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.button-large {
  padding: 16px 32px;
  font-size: 17.6px;
  font-weight: 600;
  min-width: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.button-large i {
  font-size: 20px;
}

.getting-started-section {
  padding: 32px 0;
}

.welcome-message-small {
  text-align: center;
  margin-bottom: 32px;
}

.welcome-message-small h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-color);
}

.welcome-message-small p {
  font-size: 17.6px;
  margin: 0;
}

.getting-started-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.getting-started-step {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.getting-started-step:hover {
  border-color: var(--link);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.getting-started-step .step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-medium);
  background: rgba(99, 102, 241, 0.1);
  color: var(--link);
  font-weight: 700;
  font-size: 28px;
  flex-shrink: 0;
}

.getting-started-step .step-content {
  flex: 1;
  min-width: 0;
}

.getting-started-step .step-content h4 {
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
}

.getting-started-step .step-content p {
  margin: 0 0 20px 0;
  font-size: 17.6px;
  line-height: 1.6;
  color: var(--text-muted);
}

.getting-started-step .step-content .button {
  margin-top: 8px;
  font-size: 16px;
  padding: 12px 24px;
}

/* Sendform-specific sidebar customizations */
.base-sidebar[data-sidebar-id='forms-sidebar'] {
  overflow: hidden;
}

/* Remove left border from active items (use only background/shadow) */
.base-sidebar[data-sidebar-id='forms-sidebar'] .base-sidebar__item-link.active {
  border-left: none !important;
}

.project-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  padding: 12px;
  background: var(--input-bg);
}

.project-card h5 {
  margin: 0 0 4px 0;
}

.form-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8.8px 12px;
  border-radius: var(--radius-small);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  cursor: pointer;
  margin-top: 5.6px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.form-chip:hover {
  border-color: var(--link);
  transform: translateY(-1px);
}

.form-chip.active {
  border-color: var(--link);
  box-shadow: var(--shadow-sm);
}

.dashboard-main {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  padding: 0;
  background: transparent;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.welcome-message {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  padding: 48px 32px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  text-align: center;
}

.welcome-content {
  max-width: 600px;
  margin: 0 auto;
}

.welcome-content i {
  font-size: 48px;
  color: var(--link);
  margin-bottom: 16px;
}

.welcome-content h3 {
  margin: 0 0 8px 0;
  font-size: 28px;
}

.welcome-content > p {
  margin-bottom: 32px;
  color: var(--text-muted);
}

.welcome-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
  text-align: left;
}

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

.welcome-step .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--link);
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.welcome-step strong {
  display: block;
  margin-bottom: 4px;
}

.welcome-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.form-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 32px 28px 32px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.form-summary > div:first-child {
  flex: 1;
  min-width: 0;
}

.form-summary #selectedProjectBadge {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 16px;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--link);
  border-radius: var(--radius-small);
  font-weight: 600;
  line-height: 1.4;
}

.form-summary #selectedFormTitle {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
}

.form-summary #selectedFormHint {
  margin: 0;
  font-size: 17.6px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  min-width: fit-content;
}

.summary-actions .pill {
  font-size: 15.2px;
  padding: 8px 16px;
  font-weight: 500;
}

/* Pending verification badge - Uses theme text color */
body .summary-actions #formStatusPill.status-pending,
body .summary-actions .pill.status-pending,
body #formStatusPill.status-pending,
body .pill.status-pending {
  background: rgba(234, 179, 8, 0.15) !important;
  color: var(--text-color, #000000) !important;
  border: 1px solid rgba(234, 179, 8, 0.3) !important;
  font-weight: 600;
}

/* Dark mode: slightly brighter yellow background */
@media (prefers-color-scheme: dark) {
  body .summary-actions #formStatusPill.status-pending,
  body .summary-actions .pill.status-pending,
  body #formStatusPill.status-pending,
  body .pill.status-pending {
    background: rgba(234, 179, 8, 0.2) !important;
    color: var(--text-color, #fbbf24) !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
  }
}

body.dark #formStatusPill.status-pending,
body.dark .pill.status-pending,
body[data-theme='dark'] #formStatusPill.status-pending,
body[data-theme='dark'] .pill.status-pending {
  background: rgba(234, 179, 8, 0.2) !important;
  color: var(--text-color, #fbbf24) !important;
  border-color: rgba(234, 179, 8, 0.4) !important;
}

/* Alert styles - COMPLETE REFACTOR */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-medium);
  border: 1px solid;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
}

.alert i {
  flex-shrink: 0;
  font-size: 28px;
}

/* Warning alert - Uses theme text color */
body .alert-warning,
body #verifyBanner.alert-warning {
  background: rgba(234, 179, 8, 0.1) !important;
  border-color: rgba(234, 179, 8, 0.3) !important;
  color: var(--text-color, #000000) !important;
}

body .alert-warning span,
body .alert-warning > *:not(i),
body #verifyBanner.alert-warning span,
body #verifyBanner.alert-warning > *:not(i) {
  color: var(--text-color, #000000) !important;
}

body .alert-warning i,
body #verifyBanner.alert-warning i {
  color: #a16207 !important;
}

/* Dark mode: slightly brighter yellow background and icon */
@media (prefers-color-scheme: dark) {
  body .alert-warning,
  body #verifyBanner.alert-warning {
    background: rgba(234, 179, 8, 0.15) !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
    color: var(--text-color, #fbbf24) !important;
  }

  body .alert-warning span,
  body .alert-warning > *:not(i),
  body #verifyBanner.alert-warning span,
  body #verifyBanner.alert-warning > *:not(i) {
    color: var(--text-color, #fbbf24) !important;
  }

  body .alert-warning i,
  body #verifyBanner.alert-warning i {
    color: #fbbf24 !important;
  }
}

body.dark .alert-warning,
body.dark #verifyBanner.alert-warning,
body[data-theme='dark'] .alert-warning,
body[data-theme='dark'] #verifyBanner.alert-warning {
  background: rgba(234, 179, 8, 0.15) !important;
  border-color: rgba(234, 179, 8, 0.4) !important;
  color: var(--text-color, #fbbf24) !important;
}

body.dark .alert-warning span,
body.dark .alert-warning > *:not(i),
body.dark #verifyBanner.alert-warning span,
body.dark #verifyBanner.alert-warning > *:not(i),
body[data-theme='dark'] .alert-warning span,
body[data-theme='dark'] .alert-warning > *:not(i),
body[data-theme='dark'] #verifyBanner.alert-warning span,
body[data-theme='dark'] #verifyBanner.alert-warning > *:not(i) {
  color: var(--text-color, #fbbf24) !important;
}

body.dark .alert-warning i,
body.dark #verifyBanner.alert-warning i,
body[data-theme='dark'] .alert-warning i,
body[data-theme='dark'] #verifyBanner.alert-warning i {
  color: #fbbf24 !important;
}

.summary-actions .id-copy {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.summary-actions .id-copy .pill {
  font-size: 15.2px;
  padding: 8px 16px;
}

.summary-actions .button-sm {
  font-size: 15.2px;
  padding: 8px 16px;
}

.id-copy {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tab-list {
  display: flex;
  gap: 50px; /* 50px */
  margin: 0 auto 40px auto;
  position: relative;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  max-width: fit-content;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  padding: 16px 0;
  margin: 0;
  border: none;
  background: none;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  transition: color 200ms ease-in-out;
  z-index: 1;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
  /* Light mode colors (default) */
  color: #1e293b;
}

.tab:focus {
  outline: 2px solid #6366f1;
  outline-offset: 4px;
  border-radius: 4px;
}

.tab i {
  font-size: 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease-in-out;
  /* Light mode colors (default) */
  color: #1e293b;
}

.tab span {
  transition: color 200ms ease-in-out;
}

.tab:hover:not(.active) {
  color: #0f172a;
}

.tab:hover:not(.active) i {
  color: #0f172a;
}

.tab.active {
  color: #4f46e5;
  font-weight: 500;
}

.tab.active i {
  color: #4f46e5;
}

.tab.active span {
  color: #4f46e5;
}

/* Animated sliding underline indicator */
.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 1px;
  transition:
    left 300ms cubic-bezier(0.4, 0, 0.2, 1),
    width 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  /* Light mode color (default) */
  background: #4f46e5;
}

/* Dark theme tab colors */
body.theme-dark .tab {
  color: #94a3b8;
}

body.theme-dark .tab i {
  color: #94a3b8;
}

body.theme-dark .tab:hover:not(.active) {
  color: #cbd5e1;
}

body.theme-dark .tab:hover:not(.active) i {
  color: #cbd5e1;
}

body.theme-dark .tab.active {
  color: #a5b4fc;
  font-weight: 500;
}

body.theme-dark .tab.active i {
  color: #a5b4fc;
}

body.theme-dark .tab.active span {
  color: #a5b4fc;
}

body.theme-dark .tab-indicator {
  background: #a5b4fc;
}

/* Mobile current tab label */
.mobile-tab-label {
  display: none;
}

/* Responsive design */
@media (max-width: 768px) {
  .tab-list {
    gap: 32px;
    margin: 12px auto 32px auto;
    padding-bottom: 10px;
  }

  .tab {
    font-size: 18px;
    padding: 14px 0;
  }

  .tab span {
    display: none;
  }

  .tab i {
    font-size: 28px;
    width: 28px;
    height: 28px;
  }

  .mobile-tab-label {
    display: block;
    text-align: center;
    font-size: 22.4px;
    font-weight: 600;
    color: var(--link);
    margin-bottom: 8px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .tab-list {
    gap: 24px;
  }

  .tab i {
    font-size: 26px;
    width: 26px;
    height: 26px;
  }

  .mobile-tab-label {
    font-size: 20.8px;
  }
}

.tab-panels {
  padding: 0 32px 32px 32px;
}

.tab-panels .tab-panel {
  display: none;
}

.tab-panels .tab-panel.active {
  display: block;
}

.table-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.table-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.overview-submissions-card {
  position: relative;
}

.empty-submissions-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--link);
  margin: 0 auto 24px auto;
  position: relative;
  flex-shrink: 0;
}

.empty-state-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.2);
  animation: pulse-ring 2s ease-out infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.empty-state-icon i {
  font-size: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: block;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 1em;
  height: 1em;
  text-align: center;
}

.empty-submissions-state h5 {
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
}

.empty-submissions-state p {
  margin: 0;
  font-size: 17.6px;
  line-height: 1.6;
  max-width: 500px;
}

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

.table th,
.table td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
}

.table th {
  font-size: 17.6px;
  font-weight: 600;
}

.table td:last-child {
  max-width: 320px;
}

/* Statistics Tab Styles */
.statistics-header {
  margin-bottom: 32px;
}

.statistics-header h3 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.statistics-header p {
  margin: 0;
  font-size: 18px;
}

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

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-sm);
  transition: all var(--anim-base) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

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

.stat-card--primary .stat-card__icon {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(99, 102, 241, 0.08)
  );
  color: #6366f1;
}

.stat-card--secondary .stat-card__icon {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.15),
    rgba(139, 92, 246, 0.08)
  );
  color: #8b5cf6;
}

.stat-card--success .stat-card__icon {
  background: linear-gradient(
    135deg,
    rgba(18, 183, 106, 0.15),
    rgba(18, 183, 106, 0.08)
  );
  color: #12b76a;
}

.stat-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-medium);
  flex-shrink: 0;
  transition: transform var(--anim-base) var(--ease-out-expo);
}

.stat-card:hover .stat-card__icon {
  transform: scale(1.1);
}

.stat-card__icon i {
  font-size: 32px;
}

.stat-card__content {
  flex: 1;
  min-width: 0;
}

.stat-card__label {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: var(--muted-text);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.stat-card__value {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.statistics-activity {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.statistics-activity:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

.statistics-activity__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.statistics-activity__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-medium);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(99, 102, 241, 0.05)
  );
  color: var(--link);
  flex-shrink: 0;
}

.statistics-activity__icon i {
  font-size: 24px;
}

.statistics-activity__header h4 {
  margin: 0 0 4px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-color);
}

.statistics-activity__header p {
  margin: 0;
  font-size: 16px;
}

.statistics-activity__content {
  line-height: 1.7;
}

.statistics-activity__content p {
  margin: 0;
  font-size: 18px;
}

/* Statistics Responsive Styles */
@media (max-width: 768px) {
  .statistics-header {
    margin-bottom: 24px;
  }

  .statistics-header h3 {
    font-size: 28px;
  }

  .submissions-header {
    margin-bottom: 24px;
  }

  .submissions-header h3 {
    font-size: 28px;
  }

  .submissions-header p {
    font-size: 16px;
  }

  .plugins-header {
    margin-bottom: 24px;
  }

  .plugins-header h3 {
    font-size: 28px;
  }

  .plugins-header p {
    font-size: 16px;
  }

  .table-title {
    font-size: 28px;
  }

  .card.soft h4 {
    font-size: 28px;
  }

  .statistics-header p {
    font-size: 16px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-card__icon {
    width: 56px;
    height: 56px;
  }

  .stat-card__icon i {
    font-size: 28px;
  }

  .stat-card__label {
    font-size: 15.2px;
  }

  .stat-card__value {
    font-size: 40px;
  }

  .statistics-activity {
    padding: 20px;
  }

  .statistics-activity__header {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .statistics-activity__icon {
    width: 44px;
    height: 44px;
  }

  .statistics-activity__icon i {
    font-size: 22px;
  }

  .statistics-activity__header h4 {
    font-size: 20px;
  }

  .statistics-activity__header p {
    font-size: 15.2px;
  }

  .statistics-activity__content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .statistics-header h3 {
    font-size: 24px;
  }

  .submissions-header h3 {
    font-size: 24px;
  }

  .plugins-header h3 {
    font-size: 24px;
  }

  .table-title {
    font-size: 24px;
  }

  .card.soft h4 {
    font-size: 24px;
  }

  .stat-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .stat-card__content {
    width: 100%;
  }

  .stat-card__value {
    font-size: 36px;
  }
}

/* Submissions Tab Styles */
.submissions-header {
  margin-bottom: 32px;
}

.submissions-header h3 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.submissions-header p {
  margin: 0;
  font-size: 18px;
}

body.theme-dark .submissions-header h3 {
  color: #fff;
}

body.theme-dark .submissions-header p {
  color: rgba(255, 255, 255, 0.9);
}

/* Integration Tab Styles */
.integration-header {
  margin-bottom: 32px;
}

.integration-header h3 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.integration-header p {
  margin: 0;
  font-size: 18px;
  color: #000;
}

/* Dark theme integration header */
body.theme-dark .integration-header h3 {
  color: #fff;
}

body.theme-dark .integration-header p {
  color: rgba(255, 255, 255, 0.9);
}

/* Muted text in integration tab */
#tab-integration .muted {
  color: #000;
}

body.theme-dark #tab-integration .muted {
  color: rgba(255, 255, 255, 0.8);
}

.integration-endpoint-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--anim-base) var(--ease-out-expo);
}

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

.integration-endpoint-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.integration-endpoint-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-medium);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(99, 102, 241, 0.05)
  );
  color: var(--link);
  flex-shrink: 0;
}

body.theme-dark .integration-endpoint-card__icon {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(99, 102, 241, 0.1)
  );
}

.integration-endpoint-card__icon i {
  font-size: 24px;
}

.integration-endpoint-card__header h4 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 600;
  color: #000;
}

body.theme-dark .integration-endpoint-card__header h4 {
  color: #fff;
}

.integration-endpoint-card__header p {
  margin: 0;
  font-size: 16px;
  color: #000;
}

body.theme-dark .integration-endpoint-card__header p {
  color: rgba(255, 255, 255, 0.9);
}

.endpoint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.endpoint-content {
  flex: 1;
  min-width: 0;
}

.endpoint-value {
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  font-size: 18px;
  word-break: break-all;
  color: #000;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

body.theme-dark .endpoint-value {
  color: rgba(173, 181, 189, 0.95);
}

.endpoint-actions {
  flex-shrink: 0;
}

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

.code-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  background: var(--card-bg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.code-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--link);
  transform: translateY(-2px);
}

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

.code-header__content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.code-header__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(99, 102, 241, 0.05)
  );
  color: var(--link);
  flex-shrink: 0;
}

body.theme-dark .code-header__icon {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(99, 102, 241, 0.1)
  );
}

.code-header__icon i {
  font-size: 18px;
}

.code-header span {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

body.theme-dark .code-header span {
  color: #fff;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  overflow-x: auto;
  font-size: 15.2px;
  line-height: 1.6;
}

body.theme-dark pre {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

code {
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  font-size: 15.2px;
  color: #000;
  font-weight: 500;
}

body.theme-light pre code {
  color: #000;
  background: transparent;
  border: none;
}

body.theme-dark code {
  color: rgba(173, 181, 189, 0.95);
}

/* Integration Responsive Styles */
@media (max-width: 768px) {
  .integration-header {
    margin-bottom: 24px;
  }

  .integration-header h3 {
    font-size: 28px;
  }

  .submissions-header {
    margin-bottom: 24px;
  }

  .submissions-header h3 {
    font-size: 28px;
  }

  .submissions-header p {
    font-size: 16px;
  }

  .plugins-header {
    margin-bottom: 24px;
  }

  .plugins-header h3 {
    font-size: 28px;
  }

  .plugins-header p {
    font-size: 16px;
  }

  .table-title {
    font-size: 28px;
  }

  .card.soft h4 {
    font-size: 28px;
  }

  .integration-header p {
    font-size: 16px;
  }

  .integration-endpoint-card {
    padding: 20px;
    margin-bottom: 24px;
  }

  .integration-endpoint-card__header {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .integration-endpoint-card__icon {
    width: 44px;
    height: 44px;
  }

  .integration-endpoint-card__icon i {
    font-size: 22px;
  }

  .integration-endpoint-card__header h4 {
    font-size: 20px;
  }

  .integration-endpoint-card__header p {
    font-size: 15.2px;
  }

  .endpoint {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .endpoint-value {
    font-size: 16px;
  }

  .code-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .code-card {
    padding: 20px;
  }

  .code-header span {
    font-size: 16px;
  }

  pre {
    padding: 16px;
    font-size: 14px;
  }

  code {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .integration-header h3 {
    font-size: 24px;
  }

  .submissions-header h3 {
    font-size: 24px;
  }

  .plugins-header h3 {
    font-size: 24px;
  }

  .table-title {
    font-size: 24px;
  }

  .card.soft h4 {
    font-size: 24px;
  }

  .endpoint-value {
    font-size: 15.2px;
  }
}

/* Settings Tab Styles */
#tab-settings .muted {
  color: #000;
}

body.theme-dark #tab-settings .muted {
  color: rgba(255, 255, 255, 0.8);
}

.settings-header {
  margin-bottom: 32px;
}

.settings-header h3 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.settings-header p {
  margin: 0;
  font-size: 18px;
  color: #000;
}

/* Dark theme settings header */
body.theme-dark .settings-header h3 {
  color: #fff;
}

body.theme-dark .settings-header p {
  color: rgba(255, 255, 255, 0.9);
}

/* Plugins Tab Styles */
.plugins-header {
  margin-bottom: 32px;
}

.plugins-header h3 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.plugins-header p {
  margin: 0;
  font-size: 18px;
}

body.theme-dark .plugins-header h3 {
  color: #fff;
}

body.theme-dark .plugins-header p {
  color: rgba(255, 255, 255, 0.9);
}

.settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.settings-header > div {
  flex: 1;
}

.button-icon-only {
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.button-icon-only i {
  font-size: 18px;
}

.button-icon-only.button-danger {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.button-icon-only.button-danger:hover {
  background: rgba(231, 76, 60, 0.25);
  border-color: rgba(231, 76, 60, 0.6);
  color: #c0392b;
}

body.theme-dark .button-icon-only.button-danger {
  background: rgba(231, 76, 60, 0.25);
  color: #ff6b6b;
  border-color: rgba(231, 76, 60, 0.5);
}

body.theme-dark .button-icon-only.button-danger:hover {
  background: rgba(231, 76, 60, 0.35);
  border-color: rgba(231, 76, 60, 0.7);
  color: #ff8787;
}

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

.settings-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-large);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--anim-base) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

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

.settings-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 20px 28px;
  border-bottom: 1px solid var(--border-color);
}

.settings-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-medium);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(99, 102, 241, 0.05)
  );
  color: var(--link);
  flex-shrink: 0;
}

body.theme-dark .settings-card__icon {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(99, 102, 241, 0.1)
  );
}

.settings-card__icon i {
  font-size: 24px;
}

.settings-card__header h4 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 600;
  color: #000;
}

body.theme-dark .settings-card__header h4 {
  color: #fff;
}

.settings-card__header p {
  margin: 0;
  font-size: 16px;
  color: #000;
}

body.theme-dark .settings-card__header p {
  color: rgba(255, 255, 255, 0.8);
}

.settings-card__body {
  padding: 28px;
  flex: 1;
}

.form-field-group {
  margin-bottom: 24px;
}

.form-field-group:last-child {
  margin-bottom: 0;
}

.form-field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 15.2px;
  font-weight: 600;
  color: #000;
}

body.theme-dark .form-field-group label {
  color: rgba(255, 255, 255, 0.95);
}

.form-field-group input,
.form-field-group select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-medium);
  background: var(--input-bg);
  color: var(--text-color);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.form-field-group input:focus,
.form-field-group select:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

body.theme-dark .form-field-group input:focus,
body.theme-dark .form-field-group select:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-help-text {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: #000;
  line-height: 1.5;
}

body.theme-dark .form-help-text {
  color: rgba(255, 255, 255, 0.7);
}

/* Toggle Switch Styles */
.toggle-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  padding: 12px 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.toggle-switch input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  z-index: 1;
}

.toggle-switch input[type='checkbox'] + span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 72px;
  min-height: 32px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.toggle-switch input[type='checkbox'] + span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 32px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.toggle-switch input[type='checkbox'] + span::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input[type='checkbox']:checked + span::before {
  background: #12b76a;
}

.toggle-switch input[type='checkbox']:checked + span::after {
  transform: translateY(-50%) translateX(28px);
}

body.theme-dark .toggle-switch input[type='checkbox'] + span {
  color: rgba(255, 255, 255, 0.95);
}

body.theme-dark .toggle-switch input[type='checkbox'] + span::before {
  background: rgba(255, 255, 255, 0.2);
}

body.theme-dark .toggle-switch input[type='checkbox'] + span::after {
  background: #fff;
}

body.theme-dark .toggle-switch input[type='checkbox']:checked + span::before {
  background: #12b76a;
}

.toggle-switch.toggle-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.toggle-switch.toggle-disabled input[type='checkbox'] {
  cursor: not-allowed;
}

.toggle-switch.toggle-disabled input[type='checkbox'] + span {
  cursor: not-allowed;
}

.settings-card__footer {
  padding: 20px 28px 28px 28px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.settings-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-danger {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.35);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.button-danger:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: rgba(231, 76, 60, 0.5);
}

body.theme-dark .button-danger {
  background: rgba(231, 76, 60, 0.2);
  color: #ff6b6b;
  border-color: rgba(231, 76, 60, 0.4);
}

body.theme-dark .button-danger:hover {
  background: rgba(231, 76, 60, 0.3);
  border-color: rgba(231, 76, 60, 0.5);
}

/* Settings responsive styles */
@media (max-width: 768px) {
  .settings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .settings-header h3 {
    font-size: 28px;
  }

  .settings-header p {
    font-size: 16px;
  }

  .submissions-header {
    margin-bottom: 24px;
  }

  .submissions-header h3 {
    font-size: 28px;
  }

  .submissions-header p {
    font-size: 16px;
  }

  .plugins-header {
    margin-bottom: 24px;
  }

  .plugins-header h3 {
    font-size: 28px;
  }

  .plugins-header p {
    font-size: 16px;
  }

  .table-title {
    font-size: 28px;
  }

  .card.soft h4 {
    font-size: 28px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .settings-card__header {
    padding: 20px;
  }

  .settings-card__body {
    padding: 20px;
  }

  .settings-card__footer {
    padding: 16px 20px 20px 20px;
  }

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

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

.button-sm {
  padding: 7.2px 11.2px;
  font-size: 14.4px;
}

.copy-btn.copied {
  background: rgba(18, 183, 106, 0.1);
  color: #12b76a;
  border-color: rgba(18, 183, 106, 0.35);
}

.steps {
  padding: 80px 48px;
  margin-bottom: 64px;
}

.steps h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: linear-gradient(
    135deg,
    var(--text-color) 0%,
    var(--link) 60%,
    rgba(139, 92, 246, 0.9) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  text-rendering: optimizeLegibility;
}

.section-description {
  text-align: center;
  font-size: 18.4px;
  color: var(--muted-text);
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.steps-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 32px 0;
}

.step-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
  align-items: center;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: 72px;
  align-self: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.25) 0%,
    rgba(139, 92, 246, 0.3) 50%,
    rgba(168, 85, 247, 0.25) 100%
  );
  backdrop-filter: blur(10px);
  color: #000000;
  text-align: center;
  line-height: 1;
  font-weight: 800;
  font-size: 30px;
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.15),
    0 8px 24px rgba(99, 102, 241, 0.2),
    0 0 40px rgba(99, 102, 241, 0.1);
  position: relative;
  z-index: 2;
  animation: numberPulse 3s ease-in-out infinite;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.4),
    rgba(139, 92, 246, 0.5),
    rgba(168, 85, 247, 0.4),
    rgba(99, 102, 241, 0.4)
  );
  background-size: 200% 200%;
  opacity: 0.4;
  animation: numberRotate 4s linear infinite;
  z-index: -1;
  filter: blur(8px);
}

.step-number::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* Dark theme step number */
body.theme-dark .step-number {
  color: rgba(255, 255, 255, 0.95);
}

@keyframes numberPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(99, 102, 241, 0.15),
      0 8px 24px rgba(99, 102, 241, 0.2),
      0 0 40px rgba(99, 102, 241, 0.1);
    background: linear-gradient(
      135deg,
      rgba(99, 102, 241, 0.25) 0%,
      rgba(139, 92, 246, 0.3) 50%,
      rgba(168, 85, 247, 0.25) 100%
    );
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 0 1px rgba(99, 102, 241, 0.25),
      0 12px 32px rgba(99, 102, 241, 0.3),
      0 0 60px rgba(99, 102, 241, 0.15);
    background: linear-gradient(
      135deg,
      rgba(99, 102, 241, 0.35) 0%,
      rgba(139, 92, 246, 0.4) 50%,
      rgba(168, 85, 247, 0.35) 100%
    );
  }
}

@keyframes numberRotate {
  0% {
    background-position: 0% 50%;
    transform: rotate(0deg);
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
    transform: rotate(360deg);
  }
}

.step-connector {
  width: 2px;
  height: calc(100% + 48px);
  background: linear-gradient(180deg, var(--link), rgba(139, 92, 246, 0.3));
  margin-top: 8px;
  position: relative;
  z-index: 1;
  opacity: 0.4;
}

.step-content {
  flex: 1;
  padding: 28px;
  border-radius: var(--radius-large);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-content h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-color);
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

.step-content p {
  font-size: 19.2px;
  line-height: 1.75;
  color: var(--muted-text);
  margin: 0;
}

.seo-block {
  padding: 64px 48px;
  margin-bottom: 64px;
}

.seo-block h2 {
  text-align: center;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    var(--text-color) 0%,
    var(--link) 60%,
    rgba(139, 92, 246, 0.9) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
}

.seo-block h2.base-section-title {
  font-size: clamp(18px, 3vw, 24px);
}

.seo-block h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.seo-block p {
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--muted-text);
  font-size: 15px !important;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.intro-card {
  padding: 40px;
  border-radius: var(--radius-large);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(139, 92, 246, 0.03)
  );
  border: 1px solid rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.intro-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-medium);
  background: linear-gradient(135deg, var(--link), rgba(139, 92, 246, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.intro-icon i {
  font-size: 28px;
  color: #fff;
}

.intro-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
  letter-spacing: -0.01em;
  flex: 1;
}

.intro-card p {
  font-size: 20.8px;
  line-height: 1.8;
  color: var(--muted-text);
  margin: 0;
}

.intro-card p a,
.benefit-item p a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--anim-base) var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}

.intro-card p a:hover,
.benefit-item p a:hover {
  color: rgba(139, 92, 246, 1);
  border-bottom-color: rgba(139, 92, 246, 0.5);
}

.features-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-detail-card {
  padding: 32px;
  border-radius: var(--radius-large);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.feature-detail-card:hover {
  border-color: var(--link);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}

.feature-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-detail-header i {
  font-size: 32px;
  color: var(--link);
  flex-shrink: 0;
  transition: transform var(--anim-base) var(--ease-spring);
}

.feature-detail-card:hover .feature-detail-header i {
  transform: scale(1.1);
}

.feature-detail-header h4 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
  letter-spacing: -0.01em;
  flex: 1;
}

.feature-detail-card p {
  font-size: 20.8px;
  line-height: 1.8;
  color: var(--muted-text);
  margin: 0;
}

.use-cases-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-large);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(139, 92, 246, 0.03)
  );
  border: 1px solid rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.use-cases-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.use-cases-header i {
  font-size: 36px;
  color: var(--link);
  flex-shrink: 0;
}

.use-cases-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
  letter-spacing: -0.01em;
  flex: 1;
}

.use-cases-card p {
  font-size: 20.8px;
  line-height: 1.9;
  color: var(--muted-text);
  margin: 0;
}

.section-subtitle {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-top: 80px;
  margin-bottom: 56px;
  color: var(--text-color);
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 24px;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--link), transparent);
  border-radius: 2px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  padding: 32px;
  border-radius: var(--radius-large);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.benefit-item:hover {
  border-color: var(--link);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}

.benefit-item-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.benefit-item i {
  font-size: 32px;
  color: var(--link);
  flex-shrink: 0;
  transition: transform var(--anim-base) var(--ease-spring);
}

.benefit-item:hover i {
  transform: scale(1.1);
}

.benefit-item h4 {
  font-size: 26.4px;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
  letter-spacing: -0.01em;
  flex: 1;
}

.benefit-item p {
  font-size: 20.8px;
  line-height: 1.7;
  color: var(--muted-text);
  margin: 0;
}

.bullet-list {
  padding-left: 19.2px;
}

.cta {
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  margin-top: 64px;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.cta-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-body > div:first-child {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.cta h3 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-color);
  letter-spacing: -0.02em;
}

.cta .muted {
  font-size: 17.6px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  min-width: 300px;
  flex-shrink: 0;
}

.cta-button-wrapper {
  position: relative;
  display: inline-block;
  margin-right: 16px;
}

.cta-pointer {
  position: absolute;
  right: calc(100% + 32px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 10;
  animation: pointerBounce 2s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
  min-width: 100px;
}

@media (max-width: 1100px) {
  .cta-pointer {
    right: calc(100% + 16px);
    min-width: 80px;
  }

  .pointer-svg {
    width: 60px;
    height: 45px;
  }
}

@media (max-width: 992px) {
  .cta-pointer {
    display: none;
  }

  .cta-body > div:first-child {
    min-width: auto;
    max-width: none;
  }
}

.pointer-svg {
  width: 80px;
  height: 60px;
  color: var(--link);
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
  flex-shrink: 0;
}

.pointer-path {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: drawPath 3s ease-in-out infinite;
}

.pointer-arrow {
  opacity: 0;
  animation: arrowPulse 2s ease-in-out infinite;
  animation-delay: 0.5s;
}

.pointer-text {
  font-size: 13.6px;
  font-weight: 600;
  color: var(--link);
  white-space: nowrap;
  background: rgba(99, 102, 241, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(99, 102, 241, 0.3);
  animation: textPulse 2s ease-in-out infinite;
}

.cta-pulse {
  animation: buttonPulse 2s ease-in-out infinite;
  position: relative;
}

.cta-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--link), rgba(139, 92, 246, 0.8));
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes pointerBounce {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(-8px);
  }
}

@keyframes drawPath {
  0% {
    stroke-dashoffset: 150;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

@keyframes textPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes buttonPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.cta-actions .button {
  transition: all var(--anim-base) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.cta-actions .button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--anim-base) var(--ease-out-expo);
  z-index: 1;
}

.cta-actions .button::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(139, 92, 246, 0.3)
  );
  border-radius: inherit;
  opacity: 0;
  filter: blur(12px);
  transition: opacity var(--anim-base) var(--ease-out-expo);
  z-index: -1;
}

.cta-actions .button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(99, 102, 241, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.cta-actions .button:hover::before {
  opacity: 1;
}

.cta-actions .button:hover::after {
  opacity: 1;
}

.cta-actions .button:active {
  transform: translateY(-1px) scale(0.98);
}

.cta-actions .button-primary {
  background: linear-gradient(
    135deg,
    var(--link) 0%,
    rgba(99, 102, 241, 0.8) 100%
  );
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
}

.modal[hidden] {
  display: none !important;
}

.modal[aria-hidden='true'] {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.modal[aria-hidden='false'] {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--container-bg);
  border-radius: var(--radius-large);
  padding: 16px;
  width: min(520px, 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-body {
  margin-top: 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.close-modal {
  background: none;
  border: none;
  font-size: 22.4px;
  cursor: pointer;
}

.button-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  transition: all var(--anim-base) var(--ease-out-expo);
}

.button-outline:hover {
  background: var(--input-bg);
  border-color: var(--link);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.button-primary.is-loading,
.button.is-loading {
  position: relative;
  color: transparent !important;
}

.button-primary.is-loading::after,
.button.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

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

/* Magnetic button effect */
.magnetic-button {
  position: relative;
  transition: transform var(--anim-fast) var(--ease-out-expo);
}

/* Cursor follower effect */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  mix-blend-mode: difference;
}

/* Loading skeleton improvements */
.skeleton-row {
  height: 16px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0)
  );
  border-radius: var(--radius-small);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.skeleton-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 1.5s infinite;
}

/* Smooth scroll behavior enhancement */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  * {
    scroll-margin-top: 32px;
  }
}

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

  .scroll-reveal,
  .scroll-fade,
  .scroll-slide-up,
  .scroll-slide-left,
  .scroll-slide-right,
  .scroll-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    order: 2;
  }

  .dashboard-main {
    order: 1;
  }

  .landing-hero {
    padding: 80px 40px 60px;
  }

  .hero-main {
    flex-direction: column;
    gap: 48px;
    min-height: auto;
  }

  .hero-animation {
    padding: 16px;
  }

  .hero-cta {
    padding-left: 0;
    text-align: center;
  }

  .features-grid-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .features-strip {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }

  .steps {
    padding: 48px 32px;
  }

  .step-item {
    gap: 24px;
    margin-bottom: 40px;
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .step-content {
    padding: 24px;
  }

  .step-content h4 {
    font-size: 20.8px;
  }

  .step-content p {
    font-size: 16px;
  }

  .seo-block {
    padding: 48px 32px;
  }

  .intro-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cta {
    padding: 64px 32px;
  }

  .features-showcase {
    padding: 48px 0;
  }

  .features-container {
    padding: 0 24px;
  }

  .features-grid-main {
    margin-bottom: 48px;
  }

  .features-strip {
    padding: 40px 32px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta-body {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 32px;
  }

  .cta-actions {
    justify-content: center;
    width: 100%;
    min-width: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button-wrapper {
    margin-right: 0;
    width: 100%;
  }

  .cta-actions .button {
    flex: 1;
    min-width: 140px;
  }

  .cta-pointer {
    display: none;
  }

  .step-item {
    gap: 24px;
    margin-bottom: 40px;
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .step-content h4 {
    font-size: 20.8px;
  }

  .step-content p {
    font-size: 16px;
  }

  .features-grid-main {
    grid-template-columns: 1fr;
  }

  .features-strip {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .feature-strip-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

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

  .intro-card {
    padding: 32px;
  }

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

  .endpoint {
    align-items: flex-start;
  }

  .landing-hero {
    padding: 60px 24px 40px;
  }

  .hero-main {
    gap: 32px;
  }

  .form-container {
    padding: 24px;
  }

  .form-arrow {
    display: none;
  }

  .form-endpoint {
    position: static;
    transform: none;
    margin-top: 24px;
    right: auto;
    top: auto;
  }

  .hero-cta {
    padding-left: 0;
  }

  .feature-item {
    padding: 24px;
    gap: 16px;
  }

  .feature-item i {
    font-size: 24px;
  }

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

  .intro-card {
    padding: 24px;
  }

  .intro-card h3 {
    font-size: 20.8px;
  }

  .intro-card p {
    font-size: 16.8px;
  }

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

  .benefit-item {
    padding: 24px;
  }

  .benefit-item h4 {
    font-size: 19.2px;
  }

  .benefit-item p {
    font-size: 16px;
  }

  .features-detail-grid {
    grid-template-columns: 1fr;
  }

  .use-cases-card {
    padding: 32px;
  }

  .use-cases-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
