/* ===================================================
   Culpqc – Premium SaaS CSS
   Author: Culpqc
   Version: 1.0.0
=================================================== */

/* ---- Local Fonts ---- */
@font-face {
  font-family: 'Inter';
  src: url('../vendor/google-fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../vendor/google-fonts/outfit.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ---- CSS Variables (Design Tokens) ---- */
:root {
  /* Colors */
  --primary: #6C63FF;
  --primary-dark: #5A52D5;
  --primary-light: #8B85FF;
  --secondary: #00D4AA;
  --secondary-dark: #00B891;
  --accent: #FF6584;
  --warning: #FFB347;
  --danger: #FF4757;
  --success: #2ED573;

  /* Dark Mode (default) */
  --bg-primary: #0F0F1A;
  --bg-secondary: #161627;
  --bg-card: #1C1C35;
  --bg-card-hover: #22223E;
  --bg-input: #252545;
  --border: rgba(108, 99, 255, 0.2);
  --border-hover: rgba(108, 99, 255, 0.5);
  --text-primary: #F0F0FF;
  --text-secondary: #9494C0;
  --text-muted: #5A5A80;
  --shadow: rgba(0, 0, 0, 0.4);
  --glow: rgba(108, 99, 255, 0.15);

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Light Mode ---- */
[data-theme="light"] {
  --bg-primary: #F0F2FF;
  --bg-secondary: #E8EAFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F9FF;
  --bg-input: #F0F2FF;
  --border: rgba(108, 99, 255, 0.15);
  --border-hover: rgba(108, 99, 255, 0.4);
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted: #9090AA;
  --shadow: rgba(108, 99, 255, 0.1);
  --glow: rgba(108, 99, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- Animated Background ---- */
.bg-gradient-animated {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,212,170,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 80%, rgba(255,101,132,0.04) 0%, transparent 60%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ---- App Shell ---- */
#smart-tools {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

[data-theme="light"] .navbar {
  background: rgba(240, 242, 255, 0.85);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 20px var(--glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.brand-name span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--glow);
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 20px rgba(108,99,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.5);
}

.btn-secondary {
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--primary);
  background: var(--glow);
}

.btn-success {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(0,212,170,0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,212,170,0.45);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #FF6B7A);
  color: white;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* ---- Theme Toggle ---- */
.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(30deg);
}

/* ---- Pages ---- */
.page {
  display: none;
  flex: 1;
  animation: fadeInUp 0.4s ease forwards;
}

.page.active {
  display: flex;
  flex-direction: column;
}

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

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  box-shadow: 0 20px 60px var(--shadow);
}

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

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.card-icon-primary {
  background: rgba(108,99,255,0.15);
  color: var(--primary);
}

.card-icon-secondary {
  background: rgba(0,212,170,0.15);
  color: var(--secondary);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---- Form Elements ---- */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236C63FF' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ---- Tool Page Layout ---- */
.tool-page {
  padding: 40px 0 60px;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

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

/* ---- Hero Section ---- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 20%, var(--primary) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Stats Row ---- */
.stats-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
  flex-wrap: wrap;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Feature Cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
  text-align: center;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: 0 10px 40px var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- QR Actions ---- */
.qr-preview-container {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 16px 0;
  position: relative;
}

.qr-preview-container canvas,
.qr-preview-container img {
  max-width: 100%;
  border-radius: 6px;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #999;
  font-size: 0.875rem;
}

.qr-placeholder svg {
  opacity: 0.3;
}

.qr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Tab Selector */
.tab-group {
  display: flex;
  gap: 4px;
  background: var(--bg-input);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  flex: 1;
  min-width: 70px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(108,99,255,0.4);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeInUp 0.25s ease forwards;
}

/* ---- Result Display ---- */
.result-card {
  background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(0,212,170,0.08));
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin: 16px 0;
}

.result-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: -0.5px;
}

.result-rate {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.result-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Swap Button */
.swap-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swap-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: rotate(180deg);
  box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}

.currency-selects {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-selects select {
  flex: 1;
}

/* ---- Color Input ---- */
.color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.color-swatch input[type="color"] {
  width: 60px;
  height: 60px;
  margin: -10px;
  cursor: pointer;
  border: none;
  padding: 0;
}

/* ---- History ---- */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  margin-bottom: 10px;
  gap: 12px;
}

.history-item:hover {
  border-color: var(--primary);
  background: var(--glow);
}

.history-item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-item-info {
  flex: 1;
}

.history-item-main {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.history-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.history-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-currency {
  background: rgba(108,99,255,0.15);
  color: var(--primary-light);
}

.badge-qr {
  background: rgba(0,212,170,0.15);
  color: var(--secondary);
}

.badge-password {
  background: rgba(255,101,132,0.15);
  color: #FF6584;
}

.badge-unit {
  background: rgba(255,179,71,0.15);
  color: #FFB347;
}

.badge-color {
  background: rgba(108,99,255,0.15);
  color: var(--primary-light);
}

.badge-lorem {
  background: rgba(0,212,170,0.15);
  color: var(--secondary);
}

.badge-default {
  background: rgba(108,99,255,0.15);
  color: var(--primary-light);
}

.history-empty {
  text-align: center;
  padding: 28px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ---- Combo Section ---- */
.combo-section {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border);
}

.combo-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.combo-toggle-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- Switch ---- */
.switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: var(--transition);
}

.slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition);
}

input:checked + .slider {
  background: var(--primary);
  border-color: var(--primary);
}

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

/* ---- Loading Spinner ---- */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(108,99,255,0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

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

.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,15,26,0.75);
  backdrop-filter: blur(4px);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ---- Alerts / Toast ---- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 400px;
  animation: slideInRight 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.toast.hiding {
  animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100px); }
}

.toast-success {
  background: rgba(46,213,115,0.1);
  border-color: rgba(46,213,115,0.3);
  color: var(--success);
}

.toast-error {
  background: rgba(255, 71, 87, 0.1);
  border-color: rgba(255,71,87,0.3);
  color: var(--danger);
}

.toast-info {
  background: rgba(108,99,255,0.1);
  border-color: rgba(108,99,255,0.3);
  color: var(--primary-light);
}

/* ---- Error State ---- */
.error-text {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---- Section Title ---- */
.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.section-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* ---- Pricing Page ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 20px 60px rgba(108,99,255,0.2);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 70px var(--shadow);
}

.pricing-card.popular:hover {
  transform: translateY(-6px) scale(1.04);
}

.popular-badge {
  position: absolute;
  top: 18px; right: -28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 36px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin: 16px 0 4px;
}

.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features li .check {
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
}

.pricing-features li .cross {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

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

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.dash-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.dash-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.dash-stat-change {
  font-size: 0.78rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-stat-change.up { color: var(--success); }
.dash-stat-change.down { color: var(--danger); }

.dash-chart {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 12px;
}

.chart-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.chart-bar:hover {
  opacity: 0.8;
}

.chart-bar-tooltip {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition-fast);
  pointer-events: none;
}

.chart-bar:hover .chart-bar-tooltip {
  opacity: 1;
}

.chart-labels {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.chart-label {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

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

.dash-recent-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.dash-recent-table td {
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dash-recent-table tr:hover td {
  background: var(--glow);
}

/* ---- Auth Modals ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  transform: translateY(30px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-logo {
  text-align: center;
  margin-bottom: 28px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}

.modal-subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.modal-footer-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.modal-footer-text a {
  color: var(--primary-light);
  cursor: pointer;
  text-decoration: none;
}

.modal-footer-text a:hover {
  text-decoration: underline;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-input);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---- User Avatar ---- */
.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
}

.user-dropdown {
  position: relative;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 180px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: 0 20px 50px var(--shadow);
}

.user-dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-primary);
}

.dropdown-item:hover {
  background: var(--glow);
  color: var(--text-primary);
}

.dropdown-item.danger {
  color: var(--danger);
}

.dropdown-item.danger:hover {
  background: rgba(255,71,87,0.1);
}

/* ---- Footer ---- */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---- Logo Upload ---- */
.logo-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.logo-upload-area:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--glow);
}

/* ---- Utility Classes ---- */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.gap-16      { gap: 16px; }
.mt-8        { margin-top: 8px; }
.mt-12       { margin-top: 12px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mb-8        { margin-bottom: 8px; }
.mb-12       { margin-bottom: 12px; }
.mb-16       { margin-bottom: 16px; }
.text-center { text-align: center; }
.w-full      { width: 100%; }
.hidden      { display: none !important; }
.relative    { position: relative; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .navbar { padding: 12px 16px; }
  .nav-links { display: none; }
  .hero { padding: 50px 0 40px; }
  .container, .container-sm { padding: 0 16px; }
  .card { padding: 20px; }
  .tool-page { padding: 24px 0 40px; }
  .pricing-card.popular { transform: none; }
  .modal-box { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .swap-area { flex-direction: column; }
  .currency-selects { flex-direction: column; }
  .currency-selects .swap-btn { transform: rotate(90deg); }
  .currency-selects .swap-btn:hover { transform: rotate(270deg); }
}

/* ---- Pulse Animation ---- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse { animation: pulse 1.5s ease-in-out infinite; }

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Input Group ---- */
.input-group {
  display: flex;
  gap: 0;
}

.input-group .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.input-group .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  flex-shrink: 0;
}

/* ---- Progress Bar ---- */
.progress {
  height: 6px;
  background: var(--bg-input);
  border-radius: 100px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.8s ease;
}

/* ---- Onboarding badges on dashboard ---- */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-free { background: rgba(148,148,192,0.15); color: var(--text-secondary); }
.plan-pro  { background: rgba(108,99,255,0.15); color: var(--primary-light); }
.plan-business { background: rgba(0,212,170,0.15); color: var(--secondary); }

/* ---- Animated number ---- */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.count-anim {
  animation: countUp 0.4s ease forwards;
}

/* ================================================================
   HOW IT WORKS SECTION
================================================================ */
.how-it-works { padding: 70px 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 54px;
  left: 17%;
  right: 17%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
  opacity: 0.35;
}

.step-card {
  text-align: center;
  padding: 36px 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: 0 20px 60px var(--shadow);
}

.step-card:hover .step-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 0 28px rgba(108,99,255,0.4);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 12px rgba(108,99,255,0.4);
}

.step-icon {
  width: 72px;
  height: 72px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ================================================================
   TESTIMONIALS SECTION
================================================================ */
.testimonials-wrapper {
  background: var(--bg-secondary);
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 18px;
  font-size: 7rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: 0 20px 50px var(--shadow);
}

.stars {
  color: #FFB347;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

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

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  text-transform: uppercase;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.reviewer-role {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ================================================================
   FAQ ACCORDION SECTION
================================================================ */
.faq-section { padding: 70px 0; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 24px var(--glow);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--primary); }

.faq-q-icon {
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 14px 22px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ================================================================
   FONT AWESOME ICON SIZING
================================================================ */
.feature-icon i   { font-size: 1.6rem; }
.card-icon i      { font-size: 1.1rem; line-height: 1; }
.brand-icon i     { font-size: 1rem; line-height: 1; }
.step-icon i      { font-size: 1.5rem; }
.theme-toggle i   { font-size: 0.95rem; line-height: 1; }
.btn i            { font-size: 0.9rem; }
.dropdown-item i  { font-size: 0.9rem; width: 16px; }

/* ================================================================
   INLINE STYLES CONVERTED TO CLASSES
================================================================ */

/* Brand icon styling */
.brand-icon i {
  color: white;
  font-size: 1.1rem;
}

/* User dropdown header */
.user-dropdown-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

/* Nav user name */
.nav-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* Primary icon color */
.icon-primary {
  color: var(--primary);
}

/* Secondary icon color */
.icon-secondary {
  color: var(--secondary);
}

/* Accent icon color */
.icon-accent {
  color: var(--accent);
}

/* Features section padding */
.features-section {
  padding: 20px 0 0;
}

/* Hero badge inline layout */
.hero-badge-inline {
  display: inline-flex;
  margin-bottom: 16px;
}

/* Flex row with gap */
.flex-row-gap-8 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Flex row with gap 10 */
.flex-row-gap-10 {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Currency select flex */
.currency-selects-flex {
  flex: 1;
  gap: 8px;
  display: flex;
  align-items: center;
}

/* Loader text styling */
.loader-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 8px 0;
}

/* Combo section margin */
.combo-section-margin {
  margin-top: 12px;
}

/* Hidden network label */
.hidden-network-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Two column grid with gap */
.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Details element margin */
.details-margin {
  margin: 12px 0;
}

/* Summary styling */
.summary-uppercase {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Branding options section */
.branding-section {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Color label text */
.color-label-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Pricing page container */
.pricing-page-container {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Extras page container */
.extras-page-container {
  padding: 40px 0 80px;
}

/* Extras tool grid */
.extras-tool-grid {
  grid-template-columns: 1fr 1fr;
}

/* History page container */
.history-page-container {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Page flexbox utilities */
.flex-between-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Section description with no margin */
.section-sub-no-margin {
  margin-bottom: 0;
}

/* Card icon colors */
.card-icon-password {
  background: rgba(255, 101, 132, 0.15);
  color: #FF6584;
}

.card-icon-unit {
  background: rgba(255, 179, 71, 0.15);
  color: #FFB347;
}

.card-icon-color {
  background: rgba(108, 99, 255, 0.15);
  color: var(--primary);
}

.card-icon-lorem {
  background: rgba(0, 212, 170, 0.15);
  color: var(--secondary);
}

/* Password generator grid */
.grid-password {
  margin-bottom: 16px;
  gap: 10px;
}

/* Unit converter grid */
.grid-unit-convert {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

/* Color picker flex layout */
.color-picker-flex {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

/* Color picker input */
.color-picker-input {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 4px;
  background: var(--bg-input);
}

/* Color preview */
.color-preview {
  height: 80px;
  border-radius: var(--radius-sm);
  background: #6C63FF;
  transition: background 0.2s;
}

/* Color inputs flex */
.color-inputs-flex {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Lorem generator grid */
.grid-lorem {
  margin-bottom: 12px;
}

/* Lorem options flex */
.flex-lorem-options {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

/* Lorem actions flex */
.flex-lorem-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Lorem word count */
.lorem-word-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Pricing FAQ container */
.pricing-faq-container {
  max-width: 600px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Pricing FAQ card */
.pricing-faq-card {
  padding: 18px 22px;
}

/* Pricing FAQ text */
.pricing-faq-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Pricing description */
.pricing-description {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Container small utilities */
.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Flex utilities */
.flex {
  display: flex;
}

.gap-8 {
  gap: 8px;
}

.justify-between {
  justify-content: space-between;
}

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

/* Form styling utilities */
.form-group-no-margin {
  margin-bottom: 0;
}

.input-group-margin {
  margin-bottom: 12px;
}

.logo-preview-margin {
  margin-top: 8px;
}

/* Range input styling */
.pwd-range {
  padding: 6px 0;
  cursor: pointer;
}

/* Checkbox label styling */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Strength meter styling */
.strength-meter-container {
  margin-bottom: 12px;
}

.strength-meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Progress bar initial state */
.progress-bar {
  width: 0%;
  background: var(--danger);
}

/* Button group styling */
.btn-group-right {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Arrow separator */
.arrow-separator {
  color: var(--primary);
  font-weight: 700;
}

/* Unit result display */
.unit-result-display {
  display: none;
}

.unit-result-value {
  font-size: 1.6rem;
}

/* Color preview flex */
.color-preview-container {
  flex: 1;
}

/* File upload hidden */
.file-upload-hidden {
  display: none;
}

/* Pricing pricing page container fixed */
.pricing-page-container-fixed {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* History page container fixed */
.history-page-container-fixed {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Color palette display */
.color-palette-container {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Palette margin */
.palette-margin {
  margin-top: 14px;
}

/* Lorem textarea styling */
.lorem-textarea {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Lorem checkbox label */
.lorem-checkbox-label {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Pricing section margin top */
.pricing-section-margin {
  margin-top: 40px;
}

/* Pricing FAQ title */
.pricing-faq-title {
  font-size: 1.3rem;
}

/* Dashboard header wrapper */
.dashboard-header-wrapper {
  flex-wrap: wrap;
  gap: 12px;
}

/* Dashboard title styling */
.dashboard-title {
  margin-bottom: 4px;
}

/* Dashboard welcome emoji */
.dashboard-emoji {
  color: var(--primary);
}

/* Dashboard welcome smile */
.dashboard-smile {
  color: var(--primary);
}

/* Pricing and dashboard container margins */
.pricing-container-margin {
  padding-top: 60px;
  padding-bottom: 80px;
}

.history-container-margin {
  padding-top: 40px;
  padding-bottom: 60px;
}

.dashboard-container-margin {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Hero badge inline display */
.hero-badge-display {
  display: inline-flex;
}

/* Pricing section margin and title font */
.pricing-section-title {
  margin-top: 40px;
  font-size: 1.3rem;
}

/* Dashboard section styles */
.dashboard-header-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-member-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.dashboard-stats-label-main {
  font-size: 0.9rem;
}

.dashboard-stats-label-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dashboard-quota-margin {
  margin-top: 16px;
}

.dashboard-quota-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.dashboard-usage-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.dashboard-button-small {
  font-size: 0.8rem;
}

.dashboard-card-overflow {
  overflow: hidden;
  padding: 0;
}

/* Dashboard table header */
.dashboard-table-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

/* Dashboard table wrapper */
.dashboard-table-wrapper {
  overflow-x: auto;
}

/* Dashboard table empty state */
.dashboard-table-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
}

.dashboard-table-empty-link {
  color: var(--primary);
}

/* Dashboard table footer */
.dashboard-table-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  text-align: right;
}

.dashboard-table-footer-link {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
}

/* Footer links */
.footer-link-primary {
  color: var(--primary);
  text-decoration: none;
}

/* Modal form button */
.modal-button-padding {
  padding: 14px;
}

/* Brand icon modal/footer size */
.brand-icon-large {
  width: 50px;
  height: 50px;
  font-size: 22px;
  margin: 0 auto 14px;
}
