/* ============================================
   PrintCloud — Global Styles
   Modern, clean SaaS design
   Gray theme + colorful sidebar icons
   ============================================ */

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

:root {
  --bg: #F9FAFB;
  --bg-white: #FFFFFF;
  --bg-dark: #1F2937;
  --bg-darker: #111827;
  --text: #111827;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #F9FAFB;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --transition: all 0.2s ease;
  --sidebar-width: 260px;
  --font: 'Inter', 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sidebar icon colors */
  --color-print: #3B82F6;
  --color-devices: #8B5CF6;
  --color-downloads: #10B981;
  --color-email: #F59E0B;
  --color-webhooks: #EF4444;
  --color-apikeys: #6366F1;
  --color-profile: #EC4899;
  --color-plans: #14B8A6;
  --color-settings: #6B7280;
  --color-admin: #F97316;
  --color-users: #3B82F6;
  --color-jobs: #8B5CF6;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
img { max-width: 100%; }

/* === Typography === */
h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; cursor: pointer;
  border: none; transition: var(--transition);
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--bg-dark); color: var(--text-white); }
.btn-primary:hover { background: var(--bg-darker); box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--bg-white); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border-light); }

.btn-danger { background: #EF4444; color: white; }
.btn-danger:hover { background: #DC2626; }

.btn-success { background: #10B981; color: white; }
.btn-success:hover { background: #059669; }

.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* === Cards === */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.card-header h3 { margin: 0; }

/* === Forms === */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-family: var(--font);
  background: var(--bg-white); color: var(--text);
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: #6B7280;
  box-shadow: 0 0 0 3px rgba(107,114,128,0.1);
}
.form-textarea { min-height: 100px; resize: vertical; }

/* === Tables === */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left; padding: 12px 16px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  color: var(--text-secondary); border-bottom: 2px solid var(--border);
  letter-spacing: 0.05em;
}
tbody td {
  padding: 12px 16px; border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
tbody tr:hover { background: var(--border-light); }
tbody tr:last-child td { border-bottom: none; }

/* === Badges === */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
}
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-info { background: #DBEAFE; color: #1E40AF; }
.badge-gray { background: #F3F4F6; color: #374151; }

.badge-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.badge-dot-green { background: #10B981; }
.badge-dot-red { background: #EF4444; }
.badge-dot-yellow { background: #F59E0B; }
.badge-dot-gray { background: #9CA3AF; }

/* === Alerts === */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 14px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-danger { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }

/* === Dashboard Layout === */
.dashboard-layout {
  display: flex; min-height: 100vh;
}

/* === Sidebar === */
.sidebar {
  width: var(--sidebar-width); background: var(--bg-dark);
  color: var(--text-white); position: fixed; top: 0; left: 0;
  height: 100vh; overflow-y: auto; z-index: 100;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
[dir="rtl"] .sidebar { left: auto; right: 0; }

.sidebar-logo {
  padding: 24px 20px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo .logo-icon {
  width: 36px; height: 36px; background: rgba(255,255,255,0.1);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.sidebar-logo .logo-text {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
}

.sidebar-nav { flex: 1; padding: 12px 0; }
.sidebar-section { padding: 8px 16px; }
.sidebar-section-title {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em;
  padding: 8px 12px 4px;
}

.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; margin: 2px 8px;
  border-radius: var(--radius); color: rgba(255,255,255,0.65);
  font-size: 14px; font-weight: 450; transition: var(--transition);
}
.sidebar-link:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.95); }
.sidebar-link.active { background: rgba(255,255,255,0.12); color: white; }
.sidebar-link .icon {
  width: 20px; height: 20px; display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}

/* Colorful sidebar icons */
.sidebar-link[data-page="print"] .icon { color: var(--color-print); }
.sidebar-link[data-page="devices"] .icon { color: var(--color-devices); }
.sidebar-link[data-page="downloads"] .icon { color: var(--color-downloads); }
.sidebar-link[data-page="email"] .icon { color: var(--color-email); }
.sidebar-link[data-page="webhooks"] .icon { color: var(--color-webhooks); }
.sidebar-link[data-page="api-keys"] .icon { color: var(--color-apikeys); }
.sidebar-link[data-page="profile"] .icon { color: var(--color-profile); }
.sidebar-link[data-page="plans"] .icon { color: var(--color-plans); }
.sidebar-link[data-page="settings"] .icon { color: var(--color-settings); }
.sidebar-link[data-page="dashboard"] .icon { color: var(--color-admin); }
.sidebar-link[data-page="users"] .icon { color: var(--color-users); }
.sidebar-link[data-page="jobs"] .icon { color: var(--color-jobs); }
.sidebar-link[data-page="admin-plans"] .icon { color: var(--color-plans); }

.sidebar-user {
  padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 12px;
}
.sidebar-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-email { font-size: 12px; color: rgba(255,255,255,0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* === Main Content === */
.main-content {
  flex: 1; margin-left: var(--sidebar-width); padding: 0;
  min-height: 100vh;
}
[dir="rtl"] .main-content { margin-left: 0; margin-right: var(--sidebar-width); }

.topbar {
  background: var(--bg-white); border-bottom: 1px solid var(--border);
  padding: 16px 32px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-size: 18px; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }

.page-content { padding: 32px; max-width: 1200px; }

/* === Stats Grid === */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.stat-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow);
}
.stat-card .stat-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.stat-card .stat-value { font-size: 28px; font-weight: 700; line-height: 1; }
.stat-card .stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* === Empty State === */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-secondary);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }
.empty-state p { max-width: 400px; margin: 0 auto 20px; font-size: 14px; }

/* === Progress Bar === */
.progress-bar {
  height: 8px; background: var(--border-light); border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%; border-radius: var(--radius-full);
  background: var(--bg-dark); transition: width 0.5s ease;
}
.progress-bar-fill.warning { background: #F59E0B; }
.progress-bar-fill.danger { background: #EF4444; }

/* === Language Dropdown === */
.lang-dropdown { position: relative; }
.lang-dropdown-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-white);
  font-size: 13px; font-weight: 500; color: var(--text);
  cursor: pointer; font-family: var(--font); transition: var(--transition);
}
.lang-dropdown-btn:hover { border-color: #D1D5DB; }
.lang-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 150px; padding: 6px; z-index: 200;
}
[dir="rtl"] .lang-dropdown-menu { right: auto; left: 0; }
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-dropdown-menu a {
  display: block; padding: 8px 14px; font-size: 14px;
  color: var(--text); text-decoration: none; border-radius: 6px;
  transition: background 0.15s;
}
.lang-dropdown-menu a:hover { background: var(--border-light); }
.lang-dropdown-menu a.active { background: var(--border-light); font-weight: 600; }

/* === Mobile === */
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 24px; cursor: pointer; padding: 8px;
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  [dir="rtl"] .sidebar { transform: translateX(100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; margin-right: 0 !important; }
  .mobile-toggle { display: block; }
  .page-content { padding: 20px; }
  .topbar { padding: 12px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Auth Pages === */
.auth-container {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; background: var(--bg); padding: 20px;
}
.auth-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 440px;
}
.auth-logo {
  text-align: center; margin-bottom: 32px;
}
.auth-logo .logo-icon { font-size: 40px; margin-bottom: 8px; }
.auth-logo h1 { font-size: 24px; }
.auth-logo p { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }

.auth-footer {
  text-align: center; margin-top: 24px; font-size: 14px;
  color: var(--text-secondary);
}
.auth-footer a { color: var(--text); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* === Landing Page === */
.landing-nav {
  padding: 16px 0; position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.landing-nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
.landing-nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.landing-nav-links { display: flex; align-items: center; gap: 32px; }
.landing-nav-links a { font-size: 14px; color: var(--text-secondary); font-weight: 450; transition: var(--transition); }
.landing-nav-links a:hover { color: var(--text); }
.landing-nav-actions { display: flex; align-items: center; gap: 12px; }

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

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 550px; margin: 0 auto; line-height: 1.6; }

/* Hero */
.hero {
  padding: 80px 0 40px; text-align: center;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: var(--radius-full);
  background: var(--bg-white); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  margin-bottom: 24px; box-shadow: var(--shadow);
}
.hero h1 {
  font-size: 3.5rem; font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.08; max-width: 720px; margin: 0 auto;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .hero-desc {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 560px;
  margin: 20px auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; }

.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: none; font-weight: 500;
}
.btn-ghost:hover { color: var(--text); background: rgba(0,0,0,0.04); }

/* Code window */
.hero-visual { margin-top: 56px; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-code-window {
  background: #1a1a2e; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.05);
  text-align: left;
}
.code-window-dots {
  padding: 14px 18px; display: flex; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-window-dots span {
  width: 12px; height: 12px; border-radius: 50%;
}
.code-window-dots span:nth-child(1) { background: #FF5F57; }
.code-window-dots span:nth-child(2) { background: #FFBD2E; }
.code-window-dots span:nth-child(3) { background: #28CA41; }
.hero-code-window pre {
  padding: 20px 24px; margin: 0; overflow-x: auto;
}
.hero-code-window code {
  font-family: 'Fira Code', 'SF Mono', 'Consolas', monospace;
  font-size: 13px; line-height: 1.7; color: #e2e8f0;
  white-space: pre;
}
.hero-code-window .code-response {
  color: #4ade80; font-style: italic;
}

/* Stats banner */
.stats-banner {
  padding: 48px 0; background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.stats-banner-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stats-banner-value {
  font-size: 2rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em;
}
.stats-banner-label {
  font-size: 14px; color: var(--text-secondary); margin-top: 4px;
}

/* Features */
.features-section {
  padding: 100px 0;
  background: var(--bg);
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-color: transparent;
}
.feature-card .feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* How it works */
.how-section {
  padding: 100px 0;
  background: var(--bg-white);
}
.how-grid {
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.how-step {
  text-align: center; padding: 32px; flex: 1; max-width: 280px;
}
.how-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-darker); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; margin: 0 auto 16px;
}
.how-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.how-arrow {
  display: flex; align-items: center; opacity: 0.3;
}

/* Pricing */
.pricing-section {
  padding: 100px 0;
  background: var(--bg);
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 960px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 36px; text-align: center;
  transition: all 0.3s ease;
}
.pricing-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.pricing-card.featured {
  border-color: var(--bg-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  position: relative;
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: 'Popular'; position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%); background: var(--bg-dark); color: white;
  padding: 5px 20px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.pricing-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; color: var(--text-secondary); }
.pricing-card .price {
  font-size: 48px; font-weight: 800; margin: 16px 0;
  letter-spacing: -0.03em;
}
.pricing-card .price span { font-size: 16px; font-weight: 400; color: var(--text-light); }
.pricing-card ul { list-style: none; text-align: left; margin: 28px 0; }
.pricing-card ul li {
  padding: 10px 0; font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0;
  background: #D1FAE5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%2310B981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* CTA */
.cta-section { padding: 100px 0; }
.cta-box {
  background: var(--bg-darker); color: white;
  border-radius: 20px; padding: 64px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(99,102,241,0.15); pointer-events: none;
}
.cta-box::after {
  content: ''; position: absolute; bottom: -80px; left: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(16,185,129,0.1); pointer-events: none;
}
.cta-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-box p { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 32px; position: relative; }
.cta-box .btn { position: relative; }

/* Footer */
.landing-footer {
  padding: 72px 0 32px; background: var(--bg-darker); color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 { color: white; margin-bottom: 18px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-grid a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-grid a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px;
  display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.3);
}

/* Landing responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero .hero-desc { font-size: 1rem; }
  .hero-visual { display: none; }
  .stats-banner-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .how-grid { flex-direction: column; }
  .how-arrow { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .landing-nav-links { display: none; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.5rem; }
  .section-header h2 { font-size: 1.8rem; }
}

/* === Utility === */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-sm { font-size: 13px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* === Code Block === */
.code-block {
  background: var(--bg-darker); color: #E5E7EB;
  padding: 16px 20px; border-radius: var(--radius);
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 13px; overflow-x: auto;
  white-space: pre;
}

/* === Mono text (API keys, IDs) === */
.mono { font-family: 'Fira Code', 'Consolas', monospace; font-size: 13px; }
