/* =====================================================
   FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* =====================================================
   DESIGN TOKENS — Apple Light-first
   ===================================================== */
:root {
  /* Backgrounds */
  --bg:       #ffffff;
  --bg-2:     #f5f5f7;
  --bg-3:     #f5f5f7;
  --bg-4:     #e8e8ed;

  /* Borders */
  --border:        rgba(0,0,0,0.06);
  --border-hover:  rgba(0,0,0,0.12);

  /* Text */
  --text:       #1d1d1f;
  --text-muted: #6e6e73;
  --text-dim:   #86868b;

  /* Accent — Apple Blue */
  --accent:       #0071e3;
  --accent-hover: #0077ED;
  --accent-dim:   rgba(0,113,227,0.08);

  /* Product color — teal (brand) */
  --teal:      #00c7b1;
  --teal-dim:  rgba(0,199,177,0.08);

  /* Status */
  --green:  #34c759;
  --red:    #ff3b30;
  --yellow: #ff9f0a;

  /* Shape */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Shadows */
  --shadow:      0 2px 12px rgba(0,0,0,0.04);
  --shadow-lg:   0 4px 24px rgba(0,0,0,0.08);

  /* Layout */
  --nav-h: 48px;
  --transition: 0.2s ease;
}

/* =====================================================
   DARK MODE
   ===================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:       #000000;
    --bg-2:     #1d1d1f;
    --bg-3:     #1d1d1f;
    --bg-4:     #2d2d2f;

    --border:        rgba(255,255,255,0.08);
    --border-hover:  rgba(255,255,255,0.16);

    --text:       #f5f5f7;
    --text-muted: #a1a1a6;
    --text-dim:   #6e6e73;

    --accent:       #2997ff;
    --accent-hover: #40a9ff;
    --accent-dim:   rgba(41,151,255,0.10);

    --teal:      #00e8cc;
    --teal-dim:  rgba(0,232,204,0.10);

    --green:  #30d158;
    --red:    #ff453a;
    --yellow: #ffd60a;

    --shadow:      0 2px 12px rgba(0,0,0,0.20);
    --shadow-lg:   0 4px 24px rgba(0,0,0,0.35);
  }
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Noto Sans SC',
    'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.72; }

code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.84em;
  background: var(--bg-2);
  color: var(--teal);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 120px 0; }

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-align: center;
  color: var(--text);
  line-height: 1.1;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* =====================================================
   NAV — Apple frosted glass
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--border);
}

@media (prefers-color-scheme: dark) {
  .nav {
    background: rgba(29,29,31,0.72);
  }
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1200px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-logo:hover { color: var(--text); opacity: 1; }
.nav-logo-icon { font-size: 1rem; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  flex: 1;
}

.nav-links a {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: opacity var(--transition);
  opacity: 0.8;
}
.nav-links a:hover { opacity: 0.5; }

.nav-right { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; gap: 16px; }

/* Nav Auth Buttons */
.nav-auth { display: flex; align-items: center; }
.nav-auth-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 980px;
  border: 1px solid var(--accent);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-auth-link:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}
.nav-auth-user {
  border-color: transparent;
  color: var(--text-muted);
}
.nav-auth-user:hover {
  background: var(--bg-2);
  color: var(--text);
}

/* Language Switcher */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
  font-family: inherit;
  opacity: 0.8;
}
.lang-btn:hover { opacity: 0.5; }

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  list-style: none;
  min-width: 140px;
  overflow: hidden;
  z-index: 200;
}
.lang-menu.open { display: block; }

.lang-menu li {
  padding: 10px 16px;
  font-size: 0.84rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.lang-menu li:hover { background: var(--bg-2); color: var(--text); }
.lang-menu li.active { color: var(--accent); font-weight: 600; }

/* =====================================================
   HERO — Centered stacked layout
   ===================================================== */
.hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

/* Hide glow orbs */
.hero-glow { display: none; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* Badge — minimal pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-dim);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
  border: none;
}

/* Remove blinking dot */
.badge::before { display: none; }

/* Title — clean, no gradient */
.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 600px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: center;
}

.hero-version {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* =====================================================
   BUTTONS — Apple pill style
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 12px 4px;
  border: none;
}
.btn-secondary:hover {
  color: var(--accent-hover);
  opacity: 0.72;
}

/* highlight current platform button */
.btn.recommended {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

/* =====================================================
   HERO MOCKUP — Clean, light shadow
   ===================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 400px;
}

/* Remove radial glow */
.hero-visual::before { display: none; }

.hero-mockup {
  width: 100%;
  max-width: 380px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  /* No floating animation */
  animation: none;
}

.mockup-bar {
  background: var(--bg-2);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.mockup-bar-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-left: 6px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.mockup-body { padding: 10px; }

.mockup-search {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mockup-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  transition: background var(--transition);
  cursor: default;
}
.mockup-item:hover,
.mockup-item.active { background: var(--accent-dim); }

.mockup-item-ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}

.mockup-item.active .mockup-item-ic {
  background: var(--accent-dim);
  border-color: rgba(0,113,227,0.15);
  color: var(--accent);
}

.mockup-item-text { flex: 1; min-width: 0; }

.mockup-item-title {
  font-size: 0.8rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-item-meta {
  font-size: 0.69rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.mockup-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 2px;
}

.mockup-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 3px;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.mockup-sync-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* =====================================================
   FEATURES — Alternating bg
   ===================================================== */
.features { background: var(--bg-2); position: relative; }

/* Remove radial gradient overlay */
.features::after { display: none; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition);
  box-shadow: var(--shadow);
}

/* Remove top line gradient */
.feature-card::after { display: none; }

/* No hover lift */
.feature-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Hide numbering */
.feature-num { display: none; }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-2);
  border-radius: 14px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* =====================================================
   PRIVACY SHIELD
   ===================================================== */
.privacy-shield {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Remove radial gradients */
.privacy-shield::before { display: none; }

.privacy-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52,199,89,0.08);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 16px;
  border: none;
}

.privacy-shield-badge::before { display: none; }

.privacy-shield-header { text-align: center; margin-bottom: 56px; }

.privacy-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.privacy-pillar {
  background: var(--bg-2);
  border: none;
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

/* Remove top line */
.privacy-pillar::before { display: none; }

.privacy-pillar:hover {
  box-shadow: var(--shadow);
}

.privacy-pillar-icon { font-size: 1.55rem; margin-bottom: 12px; }
.privacy-pillar h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.privacy-pillar p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* Comparison table */
.privacy-compare {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg);
}

.privacy-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 0.5px solid var(--border);
}
.privacy-compare-row:last-child { border-bottom: none; }

.privacy-compare-header { background: var(--bg-2); }

.privacy-compare-label {
  padding: 13px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-right: 0.5px solid var(--border);
  display: flex;
  align-items: center;
}

.privacy-compare-col {
  padding: 13px 18px;
  font-size: 0.875rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-us {
  border-right: 0.5px solid var(--border);
  background: rgba(52,199,89,0.04);
}

.privacy-yes { color: var(--green); font-weight: 600; }
.privacy-yes::before { content: '\2713  '; opacity: 0.9; }
.privacy-no { color: var(--text-dim); }
.privacy-no::before { content: '\2715  '; }

/* =====================================================
   GUIDE
   ===================================================== */
.guide { background: var(--bg-2); }

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.guide-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-lg); }

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.guide-icon { font-size: 1.3rem; }

.guide-card-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.guide-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.guide-steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.guide-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px; height: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  border: none;
}

.guide-paths { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.guide-path-item { display: flex; flex-direction: column; gap: 4px; }

.path-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.path-code {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  background: var(--bg-2);
  color: var(--teal);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  word-break: break-all;
}

.guide-client-step { font-size: 0.875rem; color: var(--text-muted); }

.guide-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-2);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tip-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* =====================================================
   CLOUD
   ===================================================== */
.cloud { background: var(--bg); }

.cloud-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 44px;
}

.cloud-table-wrap { overflow-x: auto; }

.cloud-table-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 11px;
  color: var(--text);
}

.cloud-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cloud-table th {
  background: var(--bg-2);
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 0.5px solid var(--border);
  white-space: nowrap;
  font-size: 0.8rem;
}

.cloud-table td {
  padding: 12px 14px;
  border-bottom: 0.5px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.cloud-table tr:last-child td { border-bottom: none; }
.cloud-table tbody tr:hover td { background: var(--bg-2); }

.badge-small {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 1px 7px;
  border-radius: 980px;
  vertical-align: middle;
  margin-left: 5px;
  border: none;
}

.cloud-steps-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.cloud-step-list {
  list-style: none;
  counter-reset: cstep;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 680px;
}

.cloud-step-list li {
  counter-increment: cstep;
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cloud-step-list li::before {
  content: counter(cstep);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px; height: 26px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =====================================================
   DOWNLOAD
   ===================================================== */
.download { background: var(--bg-2); }

.dl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.dl-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

/* Remove top line gradient */
.dl-card::before { display: none; }

.dl-card:hover { box-shadow: var(--shadow-lg); }

.dl-card.highlighted {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg);
}
.dl-card.highlighted::before { display: none; }

.dl-card-icon { font-size: 1.9rem; margin-bottom: 4px; }
.dl-card h3 { font-size: 1.1rem; font-weight: 600; }
.dl-req { font-size: 0.84rem; color: var(--text-muted); }
.dl-size { font-size: 0.78rem; color: var(--text-dim); }
.dl-card .btn { margin-top: 10px; width: 100%; justify-content: center; }

.dl-note {
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 2px;
}
.dl-note code { font-size: 0.73em; }

.source-link { text-align: center; color: var(--text-muted); font-size: 0.875rem; }
.source-link a { color: var(--accent); }
.source-link a:hover { opacity: 0.72; }

/* Version badge */
.dl-version-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.dl-version-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 2px 9px;
  border-radius: 980px;
  font-family: 'JetBrains Mono', monospace;
  border: none;
}

.dl-version-date { font-size: 0.73rem; color: var(--text-dim); }

/* =====================================================
   FAQ — Minimal, divider-only
   ===================================================== */
.faq { background: var(--bg); }

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

.faq-item {
  border: none;
  border-bottom: 0.5px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}
.faq-item:hover { }
.faq-item.open { }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  font-family: inherit;
}
.faq-q:hover { color: var(--text-muted); }

.faq-arrow {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s ease, color var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }

.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }

.faq-a {
  overflow: hidden;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { padding: 0 0 18px; }

/* =====================================================
   DEV DOCS
   ===================================================== */
.dev-docs {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

/* Remove gradient */
.dev-docs::before { display: none; }

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 16px;
  border: none;
  text-align: center;
}

.dev-badge::before { display: none; }

.dev-docs .section-title,
.dev-docs .section-subtitle,
.dev-docs .dev-badge { text-align: center; }
.dev-docs .dev-badge { margin: 0 auto 16px; }

.dev-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.dev-card:hover { box-shadow: var(--shadow-lg); }

.dev-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dev-card-icon { font-size: 1.3rem; }

.dev-card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.dev-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.dev-file-tree pre {
  background: var(--bg-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 16px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow-x: auto;
}

.dev-file-tree code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.dev-code-block {
  position: relative;
  margin-top: 8px;
}

.dev-code-label {
  position: absolute;
  top: 0; right: 0;
  background: var(--bg-4);
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0 var(--radius-xs) 0 var(--radius-xs);
  border-left: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.dev-code-block pre {
  background: var(--bg-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 20px;
  padding-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text-muted);
  overflow-x: auto;
  tab-size: 4;
}

.dev-code-block code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* API Tables */
.dev-table-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.dev-table-wrap {
  overflow-x: auto;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xs);
}

.dev-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.dev-table thead { background: var(--bg-2); }
.dev-table th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 0.5px solid var(--border);
}

.dev-table td {
  padding: 9px 14px;
  border-bottom: 0.5px solid var(--border);
  color: var(--text-muted);
  line-height: 1.55;
  vertical-align: top;
}
.dev-table tr:last-child td { border-bottom: none; }

.dev-table td code {
  font-size: 0.78rem;
  white-space: nowrap;
}

.dev-tag-required,
.dev-tag-optional,
.dev-tag-inject {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 980px;
  white-space: nowrap;
  display: inline-block;
}

.dev-tag-required {
  background: rgba(255,59,48,0.08);
  color: var(--red);
  border: none;
}

.dev-tag-optional {
  background: var(--accent-dim);
  color: var(--accent);
  border: none;
}

.dev-tag-inject {
  background: rgba(52,199,89,0.08);
  color: var(--green);
  border: none;
}

/* Tips */
.dev-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.dev-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-2);
  border: none;
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* =====================================================
   FOOTER — Minimal
   ===================================================== */
.footer {
  background: var(--bg-2);
  border-top: 0.5px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-copyright { font-size: 0.78rem; color: var(--text-dim); margin-top: 4px; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.84rem;
}
.footer-right a { color: var(--text-muted); }
.footer-right a:hover { opacity: 0.72; }
.footer-version {
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}

/* =====================================================
   MODAL
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; }
.modal p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}
.modal-close:hover { color: var(--text); background: var(--bg-2); }

/* =====================================================
   AD BANNER
   ===================================================== */
.ad-banner {
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Remove striped circle */
.ad-banner::before { display: none; }

.ad-label { margin-bottom: 18px; }

.ad-label-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-2);
  border: none;
  padding: 4px 10px;
  border-radius: 980px;
}

.ad-label-text::before {
  content: 'AD';
  font-size: 0.62rem;
  background: var(--text-dim);
  color: var(--bg);
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 800;
}

.ad-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.ad-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.ad-brand-icon { font-size: 1.2rem; }
.ad-brand-name { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }

.ad-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.ad-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 18px;
}

.ad-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }

.ad-pill {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-2);
  border: none;
  padding: 4px 12px;
  border-radius: 980px;
}

.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 980px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.ad-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  opacity: 1;
}

.ad-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 110px;
  text-align: center;
}

.ad-stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.ad-stat-label { font-size: 0.72rem; color: var(--text-dim); }

/* =====================================================
   SCROLL REVEAL — Apple-style subtle
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1068px) {
  .privacy-pillars { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 834px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-tables { grid-template-columns: 1fr; }
  .dl-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .section { padding: 80px 0; }
}

@media (max-width: 734px) {
  .nav-links { display: none; }
  .hero-inner { flex-direction: column; }
  .hero-visual { display: none; }
  .guide-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; max-width: 300px; }
  .ad-inner { grid-template-columns: 1fr; gap: 28px; }
  .ad-stats { flex-direction: row; justify-content: space-around; min-width: unset; }
  .privacy-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--nav-h) + 60px); }
  .section { padding: 64px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}

/* =====================================================
   PRICING PAGE
   ===================================================== */
.pricing-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

/* Remove top line gradient */
.pricing-card::before { display: none; }

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Popular card — blue border */
.pricing-card-popular {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg);
  background: var(--bg);
}

.pricing-card-popular:hover {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg);
}

.pricing-popular-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
  letter-spacing: 0.04em;
}

.pricing-card-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--border);
}

.pricing-plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

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

.pricing-amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

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

.pricing-features li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

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

.pricing-feature-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  font-size: 0.85rem;
}

.pricing-feature-value.pricing-check {
  color: var(--green);
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* =====================================================
   ACCOUNT PAGE
   ===================================================== */
.account-section {
  padding-top: calc(var(--nav-h) + 60px);
  position: relative;
  min-height: 80vh;
  background: var(--bg-2);
}

/* Login form */
.account-auth {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}

.account-auth-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.account-auth-card .section-title {
  font-size: 1.8rem;
}

.account-field {
  text-align: left;
  margin-bottom: 16px;
}

.account-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.account-field input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.account-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.account-field input::placeholder {
  color: var(--text-dim);
}

.account-error {
  background: rgba(255,59,48,0.06);
  border: 1px solid rgba(255,59,48,0.15);
  color: var(--red);
  font-size: 0.84rem;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  text-align: left;
}

.account-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 13px 20px;
  font-size: 0.95rem;
}

.account-switch {
  margin-top: 20px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.account-switch a {
  color: var(--accent);
  font-weight: 600;
  margin-left: 4px;
}

/* Dashboard */
.account-dashboard {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.account-card:hover {
  box-shadow: var(--shadow-lg);
}

.account-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  background: var(--bg-2);
  border-bottom: 0.5px solid var(--border);
}

.account-card-icon {
  font-size: 1.2rem;
}

.account-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.account-card-body {
  padding: 20px 24px;
}

.account-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--border);
}

.account-info-row:last-child {
  border-bottom: none;
}

.account-info-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.account-info-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* Plan display */
.account-plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.account-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.account-plan-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
  letter-spacing: 0.04em;
  background: var(--accent-dim);
  color: var(--accent);
  border: none;
}

.account-plan-badge-basic {
  background: var(--accent-dim);
  color: var(--accent);
}

.account-plan-badge-super {
  background: rgba(255,159,10,0.08);
  color: var(--yellow);
}

.account-plan-badge-ultimate {
  background: rgba(255,59,48,0.08);
  color: var(--red);
}

/* Progress bars */
.account-usage {
  margin-bottom: 16px;
}

.account-usage-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.account-usage-header span:last-child {
  font-weight: 600;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

.account-progress-bar {
  height: 6px;
  background: var(--bg-2);
  border-radius: 980px;
  overflow: hidden;
}

.account-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 980px;
  transition: width 0.5s ease;
}

.account-plan-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.account-plan-actions .btn {
  flex: 1;
  justify-content: center;
}

/* Device list */
.account-device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--border);
}

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

.account-device-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-device-icon {
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border-radius: var(--radius-xs);
  border: none;
}

.account-device-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-device-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.account-device-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.account-device-remove {
  font-size: 0.78rem;
  padding: 6px 14px;
}

.account-no-devices {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.875rem;
  padding: 24px 0;
}

/* Loading spinner */
.account-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.account-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* Records list */
.account-records-list {
  max-height: 600px;
  overflow-y: auto;
}

.account-record-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
}

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

.account-record-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.account-record-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-record-preview {
  font-size: 0.875rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-record-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.account-record-copy {
  font-size: 0.75rem;
  padding: 4px 12px;
  flex-shrink: 0;
}

.account-record-copy.copied {
  color: var(--green);
}

.account-no-records {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.875rem;
  padding: 24px 0;
}

/* Account page responsive */
@media (max-width: 480px) {
  .account-auth-card {
    padding: 28px 20px;
  }
  .account-card-body {
    padding: 16px;
  }
  .account-plan-actions {
    flex-direction: column;
  }
  .account-device-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .account-device-remove {
    align-self: flex-end;
  }
}

/* =====================================================
   RECORDS PAGE
   ===================================================== */
.records-section {
  padding-top: calc(var(--nav-h) + 48px);
  min-height: 80vh;
}

.records-header {
  text-align: center;
  margin-bottom: 40px;
}

.records-auth-prompt {
  display: flex;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 60px);
}

.records-list {
  max-width: 720px;
  margin: 0 auto;
}

.records-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 0;
  color: var(--text-dim);
}

.records-empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 48px 0;
}

.record-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
}
.record-item:last-child {
  border-bottom: none;
}

.record-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.record-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.record-preview {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.record-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.record-image-wrap {
  max-width: 200px;
}

.record-thumbnail {
  display: block;
  max-width: 200px;
  max-height: 150px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--bg-2);
}

.record-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  border-radius: var(--radius-xs);
  border: 1px dashed var(--border);
  background: var(--bg-2);
  color: var(--text-3);
  font-size: 0.8rem;
}

.record-copy-btn {
  font-size: 0.75rem;
  padding: 6px 14px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.record-copy-btn.copied {
  color: var(--green);
}

/* Pagination */
.records-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px 0;
  max-width: 720px;
  margin: 0 auto;
}

.records-page-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
}
.records-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.records-page-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Records responsive */
@media (max-width: 480px) {
  .record-item {
    gap: 10px;
  }
  .record-thumbnail {
    max-width: 140px;
    max-height: 100px;
  }
}
