/* Boost Apts Services LLC — Swiss minimal static site */

:root {
  --bg: #ffffff;
  --text: #000000;
  --accent: #0055ff;
  --muted: #666666;
  --border: #e8e8e8;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 720px;
  --nav-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 600;
}

.logo-text span {
  color: var(--accent);
}

.logo:hover {
  color: inherit;
}

.logo:hover .logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 900px) {
  .nav-links {
    gap: 1.75rem;
  }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s;
}

/* Main layout */

main {
  padding-top: var(--nav-height);
  min-height: calc(100vh - 120px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-section {
  padding: 6rem 0;
}

.page-section--hero {
  padding: 10rem 0 4rem;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Typography */

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36ch;
  margin-top: 1.5rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.text-muted {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Buttons & links */

.btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn--accent:hover {
  background: var(--text);
  border-color: var(--text);
}

.link-accent {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.link-accent:hover {
  border-bottom-color: var(--accent);
}

/* Hero animation */

.hero-animation {
  margin-top: 5rem;
  width: 100%;
  max-width: 480px;
}

.flow-diagram {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.flow-diagram .node {
  fill: var(--bg);
  stroke: var(--text);
  stroke-width: 1.5;
}

.flow-diagram .node-accent {
  fill: var(--accent);
  stroke: var(--accent);
}

.flow-diagram .line {
  stroke: var(--border);
  stroke-width: 1.5;
  fill: none;
}

.flow-diagram .line-active {
  stroke: var(--accent);
  stroke-dasharray: 8 4;
  animation: dash-flow 2s linear infinite;
}

.flow-diagram .pulse {
  fill: var(--accent);
  opacity: 0;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0; r: 4; }
  50% { opacity: 0.6; r: 8; }
}

/* Product page */

.product-hero {
  padding: 6rem 0 4rem;
}

.product-name {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.product-tagline {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  gap: 3rem;
  margin: 4rem 0;
}

.feature-item {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.feature-item h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* Mock screenshots */

.screenshot-grid {
  display: grid;
  gap: 2rem;
  margin: 4rem 0;
}

@media (min-width: 640px) {
  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mock-screen {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f7;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  display: flex;
  flex-direction: column;
}

.mock-status-bar {
  height: 28px;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.mock-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-header {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 13px;
}

.mock-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.9;
}

.mock-icon--gray {
  background: #d1d1d6;
}

.mock-gesture-hint {
  margin-top: auto;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 12px;
  border-top: 1px solid var(--border);
}

.mock-gesture-arrow {
  display: block;
  font-size: 20px;
  color: var(--accent);
  animation: swipe-hint 2s ease-in-out infinite;
}

@keyframes swipe-hint {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(8px); opacity: 1; }
}

/* About page */

.about-statement {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  max-width: 20ch;
}

.about-detail {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 48ch;
}

/* Legal pages */

.legal-content h2 {
  font-size: 1.125rem;
  margin-top: 2.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  margin: 0.75rem 0 1rem 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal-updated {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* Contact page */

.contact-grid {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.0625rem;
}

.contact-value a {
  color: var(--accent);
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-page-layout {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-page-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
  }
}

.contact-form-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input {
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

.form-input::placeholder {
  color: #aaa;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-error {
  font-size: 0.875rem;
  color: #cc0000;
}

.contact-sidebar .contact-card:first-child {
  border-top: none;
  padding-top: 0;
}

.contact-note {
  margin-top: 3rem;
  max-width: 48ch;
  font-size: 0.875rem;
}

/* Modal */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s;
}

.modal-overlay.is-visible {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--bg);
  width: 100%;
  max-width: 400px;
  padding: 2.5rem 2rem;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s;
}

.modal-overlay.is-visible .modal {
  transform: translateY(0);
}

.modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.modal-text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-close {
  width: 100%;
}

/* Team section */

.team-section {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.team-heading {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.team-intro {
  max-width: 42ch;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.team-member {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.team-member h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-member .text-muted {
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Homepage sections */

.home-section {
  padding: 5rem 0;
}

.home-section--border {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-section--cta {
  padding-bottom: 6rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 24ch;
}

.home-prose {
  max-width: 52ch;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.home-grid {
  display: grid;
  gap: 0;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-card {
  padding: 2rem 2rem 2rem 0;
  border-top: 1px solid var(--border);
}

.home-card-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.home-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.home-card .text-muted {
  font-size: 0.875rem;
  line-height: 1.55;
}

.home-list {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  max-width: 48ch;
}

.home-list li {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.home-list li::marker {
  color: var(--accent);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32ch;
}

.footer-brand {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-contact {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-contact a {
  color: var(--muted);
}

.footer-contact a:hover {
  color: var(--accent);
}

/* Process list */

.process-list {
  list-style: none;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-list > li {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.process-list > li:last-child {
  border-bottom: 1px solid var(--border);
}

.process-number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.process-list h3 {
  margin-bottom: 0.5rem;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 1.5rem;
  max-width: 52ch;
}

.faq-answer p {
  margin-bottom: 0;
}

.legal-content code {
  font-size: 0.875em;
  background: #f5f5f5;
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  width: 100%;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Mobile nav */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .page-section--hero {
    padding: 6rem 0 4rem;
    min-height: auto;
  }

  .hero-animation {
    margin-top: 3rem;
  }
}
