:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --success: #10b981;
  --danger: #ef4444;
  --border: #334155;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

main {
  padding: 64px 0;
}

h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 48px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.hero p {
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.tier.featured {
  border-color: var(--accent);
  position: relative;
}

.tier.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.price {
  font-size: 48px;
  font-weight: 800;
  margin: 16px 0;
}

.price-period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.tier ul {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.tier li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.tier li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: bold;
}

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

.tile {
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
  font-weight: 700;
}

.tile-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.tile-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.tile-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.tile-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.tile-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.tile-6 { background: linear-gradient(135deg, #30cfd0, #330867); }

form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 540px;
  margin-top: 32px;
}

.field {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
}

.checkbox-row label {
  margin-bottom: 0;
  color: var(--text-muted);
  font-weight: 400;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 80px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
