:root{
  --bg: #ffffff;
  --bg-secondary: #f5f5f7;
  --card: #ffffff;
  --accent: #007aff;
  --accent-dark: #0051d5;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --border: #d2d2d7;
  --max-width: 1200px;
  --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.site-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

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

.site-header nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.site-header nav a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  background: var(--hero-gradient);
  color: white;
  padding: 80px 0;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-content h3 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.feature-image {
  display: flex;
  justify-content: center;
}

.screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Why Section */
.why-section {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.benefit-card {
  background: var(--card);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefit-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-section p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Footer Links */
.footer-links {
  background: var(--bg-secondary);
  padding: 60px 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.link-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.link-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.link-column a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

.site-footer small {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Article Styles for Legal Pages */
article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
}

article h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

article h3 {
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 12px;
}

article p {
  margin-bottom: 16px;
}

article ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

article li {
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero .container,
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .feature-content h3 {
    font-size: 32px;
  }
  
  .section-title,
  .cta-section h2 {
    font-size: 36px;
  }
  
  .feature-row.reverse {
    direction: ltr;
  }
}

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    gap: 16px;
  }
  
  .site-header nav {
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .features {
    padding: 60px 0;
  }
  
  .feature-row {
    margin-bottom: 80px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
