@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --nav: #334155;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --gradient-start: #3b82f6;
  --gradient-end: #8b5cf6;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--nav);
}

.nav a:hover {
  color: var(--brand);
}

.nav .btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.nav .btn-primary:hover {
  background: var(--brand-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Landing Page Hero */
.hero {
  padding: 100px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #eff6ff 0%, #f8fafc 100%);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  color: var(--text);
  max-width: 800px;
}

.hero h1 span {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 40px;
}

/* Features Section */
.features {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 0 20px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--brand);
}

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

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Content (For Privacy Policy) */
.content {
  width: min(860px, calc(100% - 32px));
  margin: 64px auto;
  background: var(--bg-card);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.policy-block {
  margin-bottom: 40px;
}

.policy-block h1 {
  font-size: 40px;
  letter-spacing: -1px;
}

.policy-block h1,
.policy-block h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 700;
}

.policy-block h2 {
  font-size: 22px;
  margin-top: 32px;
}

.effective-date {
  margin-bottom: 24px;
  display: inline-block;
  padding: 6px 12px;
  background: #eff6ff;
  color: var(--brand);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.policy-block p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.policy-block ul {
  margin: 0 0 16px 20px;
  padding-left: 16px;
}

.policy-block li {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-card);
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 15px;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--brand);
}

.footer p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .topbar-inner {
    padding: 16px 0;
  }
  
  .content {
    padding: 32px 20px;
    margin: 32px auto;
  }
  
  .policy-block h1 {
    font-size: 32px;
  }
}
