/**
 * Local Lens — Index Page
 * Google Material 3 style
 */

/* ======== VARIABLES ======== */
:root {
  --bg: #ffffff;
  --surface: #f0f4f9;
  --text: #1f1f1f;
  --text-muted: #444746;
  --primary: #0b57d0;
  --on-primary: #ffffff;
  --outline: #79747e;
  --outline-variant: #c4c7c5;

  --radius-pill: 100px;
  --radius-sm: 8px;

  --font-main:
    'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  --font-weight-bold: 700;
  --font-weight-medium: 500;
  --font-weight-regular: 400;

  --ease-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ======== TOPBAR ======== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--outline-variant);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--text);
  letter-spacing: -0.2px;
}

/* ======== HERO ======== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 32px 120px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 620px;
}

/* ======== BUTTONS ======== */
.cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  gap: 10px;
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--ease-fast),
    transform 0.1s ease;
}

.btn-primary:hover {
  background: #0842a0;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  gap: 10px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--outline);
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--ease-fast),
    border-color var(--ease-fast),
    transform 0.1s ease;
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--text);
}

.btn-outline:active {
  transform: scale(0.97);
}

.btn-icon {
  display: block;
  flex-shrink: 0;
}

.btn-icon--chrome {
  width: 17px;
  height: 17px;
}

.btn-icon--github {
  width: 17px;
  height: 17px;
}

/* ======== FEATURES ======== */
.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.feature-badge {
  background: var(--surface);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  border: 1px solid var(--outline-variant);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }
}
