:root {
  --bg-color: #fdfbf5;
  --text-main: #18152c;
  --text-muted: #5e5b72;
  --accent-yellow: #f2dc5a;
  --accent-purple: #7a6ab4;
  --card-bg: #ffffff;
  --border-color: #e5e3db;
  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --grid-color: rgba(0, 0, 0, 0.03);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 20px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--accent-purple);
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

.nav-desktop {
  display: flex;
  gap: 24px;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-desktop a:hover {
  opacity: 0.7;
}

.action-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--text-main);
  border-color: #dcc23e;
}

.btn-primary:hover {
  background-color: #e3cc4a;
}

.btn-secondary {
  background-color: white;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: #f5f3ec;
}

/* Hero Section */
.hero {
  display: flex;
  padding: 80px 0;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background-color: #eeeafb;
  color: var(--accent-purple);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 24px 0;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 0 32px 0;
}

.app-links {
  display: flex;
  gap: 16px;
}

.hero-visual {
  flex: 1;
  background-color: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
}

.browser-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot.red { background-color: #ff5f56; }
.browser-dot.yellow { background-color: #ffbd2e; }
.browser-dot.green { background-color: #27c93f; }

.browser-url {
  background-color: var(--bg-color);
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-muted);
  flex-grow: 1;
  text-align: center;
  max-width: 250px;
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Centered Section (Like "Pure starter surface") */
.section-centered {
  text-align: center;
  padding: 64px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 16px 0;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.feature-icon-box {
  width: 32px;
  height: 32px;
  background-color: #f6f5fb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-purple);
}

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

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

/* Split Section (Like "Build from the design") */
.section-split {
  padding: 80px 0;
  border-top: 1px dashed var(--border-color);
  display: flex;
  gap: 64px;
  align-items: center;
}

.section-split.reverse {
  flex-direction: row-reverse;
}

.split-text {
  flex: 1;
}

.split-visual {
  flex: 1;
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.split-visual img {
  width: 100%;
  border-radius: 8px;
}

.split-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background-color: #f6f5fb;
  color: var(--accent-purple);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.split-text h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.split-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.split-actions {
  display: flex;
  gap: 16px;
}

/* Footer */
.footer {
  border-top: 1px dashed var(--border-color);
  padding: 40px 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-left p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 16px 0 0 0;
  max-width: 300px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 4px 0;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-version {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 40px 0;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-split {
    flex-direction: column !important;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}
