/* WorkspaceRestore — workspacerestore.com */

:root {
  --blue-deep: #0b1d3a;
  --blue-electric: #1677ff;
  --teal: #00b8a9;
  --slate: #475569;
  --silver: #e5e7eb;
  --purple: #7c3aed;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --shadow-sm: 0 1px 3px rgba(11, 29, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 29, 58, 0.12);
  --shadow-lg: 0 16px 48px rgba(11, 29, 58, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;
  --max-w: 1120px;
  --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-electric);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--blue-deep);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 29, 58, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-restore {
  color: var(--teal);
  font-weight: 600;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--blue-deep);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--white);
  padding: 0.5rem 0;
  font-weight: 500;
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--blue-electric);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.35);
}

.btn-primary:hover {
  background: #1260d9;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-header { white-space: nowrap; }

.header-actions-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .header-actions-mobile { display: none; }
  .language-selector--mobile { display: none; }
}

.language-selector {
  display: flex;
  align-items: center;
}

.language-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1.75rem 0.4rem 0.65rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
  max-width: 9rem;
}

.language-select option {
  color: var(--blue-deep);
  background: var(--white);
}

.language-select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.privacy-eyebrow,
.download-eyebrow {
  color: var(--teal);
}

.download-section .download-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  color: white;
  margin-bottom: 0.75rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-bg.png") center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.94) 0%, rgba(11, 29, 58, 0.78) 45%, rgba(0, 184, 169, 0.35) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1 {
  color: var(--white);
  max-width: 18ch;
}

.hero-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: 1.05rem;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.12), rgba(0, 184, 169, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-electric);
}

.card h3 { margin-bottom: 0.5rem; }

.pillar-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}

.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}

.pillar-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-electric), var(--teal));
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--silver) transparent;
}

.gallery-slide {
  flex: 0 0 min(85vw, 640px);
  scroll-snap-align: center;
}

.gallery-slide figure { margin: 0; }

.gallery-slide img {
  border-radius: var(--radius);
  border: 1px solid var(--silver);
  box-shadow: var(--shadow-md);
}

.gallery-slide figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--slate);
  text-align: center;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--silver);
  background: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn:hover {
  background: var(--bg-light);
  border-color: var(--blue-electric);
}

.gallery-btn:focus-visible {
  outline: 2px solid var(--blue-electric);
  outline-offset: 2px;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--silver);
}

.feature svg {
  flex-shrink: 0;
  color: var(--blue-electric);
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature p {
  font-size: 0.875rem;
  margin: 0;
}

.privacy-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0f2847 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.privacy-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.privacy-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-inline: auto;
}

.privacy-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.privacy-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.privacy-point svg { color: var(--teal); }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--silver);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--white);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--silver);
}

.comparison-table th {
  background: var(--bg-light);
  color: var(--blue-deep);
  font-weight: 600;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .yes { color: #059669; font-weight: 600; }
.comparison-table .no { color: #dc2626; }
.comparison-table .partial { color: #d97706; }
.comparison-table .highlight-col { background: rgba(0, 184, 169, 0.06); }

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

.shortcuts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.shortcuts-table th,
.shortcuts-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--silver);
  text-align: left;
}

.shortcuts-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--blue-deep);
}

.shortcuts-table kbd {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background: var(--bg-light);
  border: 1px solid var(--silver);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.8rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--silver); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-deep);
  text-align: left;
}

.faq-question:hover { color: var(--blue-electric); }

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--teal);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--slate);
}

.faq-item.open .faq-answer { display: block; }

.download-section {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #123a5c 50%, rgba(0, 184, 169, 0.25) 100%);
  color: var(--white);
  text-align: center;
}

.download-section h2 { color: var(--white); }

.download-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-inline: auto;
}

.checksum {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: rgba(255, 255, 255, 0.55);
  word-break: break-all;
  max-width: 640px;
  margin-inline: auto;
}

.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer .brand { margin-bottom: 0.75rem; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
  background: var(--bg-light);
}

.page-hero h1 { margin-bottom: 0.5rem; }

.page-content {
  padding: 3rem 0 5rem;
}

.page-content h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.page-content h2:first-child { margin-top: 0; }

.page-content ul { padding-left: 1.25rem; }
.page-content li { margin-bottom: 0.5rem; }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.page-content th,
.page-content td {
  padding: 0.65rem 1rem;
  border: 1px solid var(--silver);
  text-align: left;
}

.page-content th { background: var(--bg-light); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
