*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #EEEEEE;
  --card: #FFFFFF;
  --text: #232323;
  --muted: #7B7B7B;
  --border: #E4E4E4;
  --border-light: #EEEEEE;
  --accent: #232323;
  --radius: 6px;
  --glasses-bg: #0a0a0a;
  --glasses-text: #00ff66;
  --glasses-border: #1a3d1a;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Fira Code", monospace;
}

html {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

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

/* Layout */

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

.section {
  padding: 48px 0;
}

/* Typography */

.text-vlarge-title {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.72px;
}

.text-large-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.6px;
}

.text-medium-title {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.17px;
}

.text-medium-body {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: -0.17px;
}

.text-normal-title {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.15px;
}

.text-normal-body {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: -0.15px;
}

.text-subtitle {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.13px;
}

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

/* Hero */

.hero {
  text-align: center;
  padding: 80px 0 48px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* App cards (hub page) */

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

@media (max-width: 720px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card:hover {
  border-color: var(--accent-color, var(--accent));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.app-card .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg);
}

.app-card .icon svg {
  width: 24px;
  height: 24px;
}

.app-card h3 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.17px;
}

.app-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

/* Back link */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  padding: 24px 0 0;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text);
}

/* Detail page hero */

.detail-hero {
  padding: 40px 0 48px;
}

.detail-hero h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1.2px;
  margin-bottom: 8px;
}

.detail-hero p {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.5;
}

/* Mockups section */

.mockups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 720px) {
  .mockups {
    grid-template-columns: 1fr;
  }
}

.mockup-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* Glasses mockup */

.glasses-mockup {
  aspect-ratio: 2 / 1;
  background: var(--glasses-bg);
  border: 1px solid var(--glasses-border);
  border-radius: 10px;
  font-family: var(--mono);
  color: var(--glasses-text);
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
  white-space: pre;
  position: relative;
}

.glasses-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 255, 102, 0.03), transparent 70%);
  pointer-events: none;
}

/* Phone mockup */

.phone-mockup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 20px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

.phone-content {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}

.phone-content .phone-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 8px;
}

.phone-content .phone-card-title {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.phone-content .phone-card-value {
  font-size: 16px;
  font-weight: 400;
}

.phone-content .phone-button {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 400;
  margin-right: 6px;
  margin-top: 4px;
}

.phone-content .phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.phone-content .phone-row > * {
  flex: 1;
}

/* Feature grid */

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

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 12px;
}

.feature-item .feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg);
}

.feature-item .feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

/* Section title */

.section-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

/* Footer */

.footer {
  padding: 48px 0 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Accent badge */

.accent-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
