@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

/* =============================================
   Cubbit PhotoVault — Design System
   ============================================= */

/* ------------------------------------------
   1. CSS Custom Properties
   ------------------------------------------ */
:root {
  --color-accent: #009EFF;
  --color-background: #0A0E14;
  --color-surface: #141A23;
  --color-surface-elevated: #1A2233;
  --color-text-primary: #F0F0F0;
  --color-text-secondary: #9099A1;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-success: #22C55E;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-accent-hover: #0080d0;
  --color-blue-600: #2563EB;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ------------------------------------------
   3. Background Utilities
   ------------------------------------------ */
.bg-background        { background-color: var(--color-background); }
.bg-surface           { background-color: var(--color-surface); }
.bg-surface-elevated  { background-color: var(--color-surface-elevated); }
.bg-transparent       { background-color: transparent; }
.bg-accent\/20        { background-color: rgba(0, 158, 255, 0.2); }
.bg-blue-600\/20      { background-color: rgba(37, 99, 235, 0.2); }
.bg-success\/20       { background-color: rgba(34, 197, 94, 0.2); }

/* Surface with 50% opacity over background */
.bg-surface\/50 {
  background-color: rgba(20, 26, 35, 0.5);
}

/* Backdrop blur for scrolled navbar */
.backdrop-blur-md {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ------------------------------------------
   4. Text & Color Utilities
   ------------------------------------------ */
.text-text-primary   { color: var(--color-text-primary); }
.text-text-secondary { color: var(--color-text-secondary); }
.text-accent         { color: var(--color-accent); }
.text-success        { color: var(--color-success); }
.text-error          { color: var(--color-error); }
.text-warning        { color: var(--color-warning); }

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent), #6ab7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.font-bold    { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium  { font-weight: 500; }
.font-mono    { font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; }

/* ------------------------------------------
   5. Responsive Typography
   ------------------------------------------ */
.hero-title {
  font-size: 3.75rem;   /* text-6xl */
  font-weight: 700;
  line-height: 1.1;
}
.section-title {
  font-size: 2.25rem;   /* text-4xl */
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title   { font-size: 4.5rem; }  /* text-7xl */
  .section-title { font-size: 3rem; }   /* text-5xl */
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem;  }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem;  }
.text-2xl { font-size: 1.5rem; }

/* ------------------------------------------
   6. Buttons
   ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 0.875rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

/* ------------------------------------------
   7. Cards
   ------------------------------------------ */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.card-interactive {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-interactive:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------
   8. Border Utilities
   ------------------------------------------ */
.border-border     { border-color: var(--color-border); }
.border-accent\/20 { border-color: rgba(0, 158, 255, 0.2); }
.border-accent\/30 { border-color: rgba(0, 158, 255, 0.3); }
.border            { border: 1px solid; }
.border-b          { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t          { border-top-width: 1px; border-top-style: solid; }

/* ------------------------------------------
   9. Glass & Effects
   ------------------------------------------ */
.glass {
  background-color: rgba(20, 26, 35, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
}

.glass-strong {
  background-color: rgba(20, 26, 35, 0.85);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
}

.blur-3xl {
  filter: blur(64px);
}

.drop-shadow-2xl {
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

/* ------------------------------------------
   10. Layout Utilities
   ------------------------------------------ */
.relative    { position: relative; }
.absolute    { position: absolute; }
.fixed       { position: fixed; }
.inset-0     { top: 0; right: 0; bottom: 0; left: 0; }
.-inset-4    { top: -1rem; right: -1rem; bottom: -1rem; left: -1rem; }
.top-0       { top: 0; }
.left-0      { left: 0; }
.right-0     { right: 0; }
.z-50        { z-index: 50; }
.z-10        { z-index: 10; }
.-z-10       { z-index: -10; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.mx-auto         { margin-left: auto; margin-right: auto; }
.flex-shrink-0   { flex-shrink: 0; }
.shrink-0        { flex-shrink: 0; }

.opacity-50         { opacity: 0.5; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-pointer     { cursor: pointer; }
.select-none        { user-select: none; }

.min-h-screen { min-height: 100vh; }

/* ------------------------------------------
   11. Flex & Grid Utilities
   ------------------------------------------ */
.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.flex-wrap       { flex-wrap: wrap; }
.flex-1          { flex: 1; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ------------------------------------------
   12. Spacing Utilities
   ------------------------------------------ */
.px-4  { padding-left: 1rem;  padding-right: 1rem; }
.px-6  { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8  { padding-left: 2rem;  padding-right: 2rem; }
.py-4  { padding-top: 1rem;   padding-bottom: 1rem; }
.py-8  { padding-top: 2rem;   padding-bottom: 2rem; }
.py-12 { padding-top: 3rem;   padding-bottom: 3rem; }
.py-16 { padding-top: 4rem;   padding-bottom: 4rem; }
.py-24 { padding-top: 6rem;   padding-bottom: 6rem; }

.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

/* ------------------------------------------
   13. Width / Height Utilities
   ------------------------------------------ */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }

/* ------------------------------------------
   14. Border Radius Utilities
   ------------------------------------------ */
.rounded       { border-radius: 6px; }
.rounded-lg    { border-radius: 12px; }
.rounded-xl    { border-radius: 16px; }
.rounded-full  { border-radius: 9999px; }

/* ------------------------------------------
   15. List Utilities
   ------------------------------------------ */
.list-disc   { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* ------------------------------------------
   16. Text Utilities
   ------------------------------------------ */
.leading-relaxed { line-height: 1.6; }
.tracking-wider  { letter-spacing: 0.05em; }
.uppercase       { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre    { white-space: pre; }

/* ------------------------------------------
   17. Transition Utilities
   ------------------------------------------ */
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.duration-200      { transition-duration: 0.2s; }
.duration-300      { transition-duration: 0.3s; }

/* ------------------------------------------
   18. Section-specific Grid Layouts
   ------------------------------------------ */
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .download-grid  { grid-template-columns: repeat(2, 1fr); }
  .security-grid  { grid-template-columns: repeat(2, 1fr); }
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(3, 1fr); }
}

/* Row direction on small screens → column; on sm → row */
@media (min-width: 640px) {
  .sm-flex-row { flex-direction: row; }
}

/* Responsive grid columns */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:flex-row { flex-direction: row; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.gap-12 { gap: 3rem; }

/* ------------------------------------------
   19. Animations & Transitions
   ------------------------------------------ */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Hover lift for feature cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Scale on hover */
.hover-scale:hover {
  transform: scale(1.05);
}
.hover-scale {
  transition: transform 0.5s ease;
}

/* Rotate utility */
.rotate-180 {
  transform: rotate(180deg);
}

/* ------------------------------------------
   20. Navbar
   ------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  background-color: transparent;
}

.navbar-scrolled {
  background-color: rgba(10, 14, 20, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
  text-decoration: none;
}

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

/* ------------------------------------------
   21. Footer
   ------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.footer-brand span {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-text-primary);
}

/* ------------------------------------------
   22. FAQ
   ------------------------------------------ */
.faq-section {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text-primary);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  transition: transform 0.2s ease;
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.faq-icon.rotated {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-answer.open {
  display: block;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ------------------------------------------
   23. Hero Section (desktop.html)
   ------------------------------------------ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 158, 255, 0.10), transparent, transparent);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
  padding: 0 1rem;
}

.hero-logo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ------------------------------------------
   24. Feature Grid (desktop.html)
   ------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  border-radius: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------
   25. Screenshot Placeholder
   ------------------------------------------ */
.screenshot-placeholder {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 158, 255, 0.15), rgba(0, 158, 255, 0.05));
  border: 2px dashed rgba(0, 158, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-inner {
  text-align: center;
  padding: 2rem;
}

.screenshot-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.screenshot-label {
  font-weight: 600;
  font-size: 1.125rem;
}

.screenshot-hint {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ------------------------------------------
   26. Download Card
   ------------------------------------------ */
.download-card {
  padding: 1.5rem;
  border-radius: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
}

.download-card.accent {
  border-color: rgba(0, 158, 255, 0.3);
}

.download-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.download-icon {
  font-size: 3rem;
}

.download-info {
  flex: 1;
}

.download-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.download-subtitle {
  color: var(--color-text-secondary);
}

.download-badge {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ------------------------------------------
   27. Requirements Grid
   ------------------------------------------ */
.req-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .req-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.req-section-title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.req-list {
  list-style: disc;
  list-style-position: inside;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ------------------------------------------
   28. CTA Card
   ------------------------------------------ */
.cta-card {
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 158, 255, 0.1), rgba(0, 158, 255, 0.05));
  text-align: center;
}

.cta-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-card p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------
   29. Migrate Page Specific
   ------------------------------------------ */
.migrate-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.migrate-header-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.migrate-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.migrate-logo img {
  width: 2.5rem;
  height: 2.5rem;
}

.migrate-logo h1 {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent), #6ab7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.migrate-main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.section-divider-line {
  height: 1px;
  flex: 1;
  background-color: var(--color-border);
}

.section-divider-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}

/* Install card */
.install-card {
  background: linear-gradient(135deg, rgba(0, 158, 255, 0.1), rgba(0, 158, 255, 0.05));
  border: 1px solid rgba(0, 158, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Code block */
.code-block {
  position: relative;
  background-color: var(--color-surface-elevated);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.code-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.code-block-lang {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-family: 'SF Mono', 'Fira Code', monospace;
  text-transform: uppercase;
}

.code-block pre {
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.code-block code {
  color: var(--color-accent);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  white-space: pre;
}

/* Copy button (migrate.html style) */
.copy-btn {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--color-surface-elevated);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.copy-btn:hover {
  background: rgba(0, 158, 255, 0.1);
  color: var(--color-accent);
  border-color: rgba(0, 158, 255, 0.3);
}

.copy-btn.copied {
  color: var(--color-success);
}

/* Step component */
.step {
  display: flex;
  gap: 1rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(0, 158, 255, 0.15);
  border: 1px solid rgba(0, 158, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.step-body {
  flex: 1;
  padding-top: 0.125rem;
}

.step-title {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.step-body p {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Flag table */
.flag-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.flag-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background-color: var(--color-surface-elevated);
  color: var(--color-text-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.flag-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.flag-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.flag-name {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.75rem;
  color: var(--color-accent);
  white-space: nowrap;
}

.flag-required {
  color: var(--color-error);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.flag-default {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.flag-desc {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

/* Note card */
.note-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* ------------------------------------------
   30. Misc helpers
   ------------------------------------------ */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Gradient card background */
.bg-gradient-card {
  background: linear-gradient(135deg, rgba(0, 158, 255, 0.1), rgba(37, 99, 235, 0.1));
}

/* Hide on mobile */
@media (max-width: 640px) {
  .hide-mobile { display: none; }
}
