:root {
  --bg-color: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1, h2, h3 {
  color: var(--text-primary);
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  gap: 8px;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background-color: white;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

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

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand i {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

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

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Glass Mockup */
.mockup {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover .mockup {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  height: 50px;
  border-bottom: 1px solid var(--border-color);
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.dots span:nth-child(1) { background-color: #ef4444; }
.dots span:nth-child(2) { background-color: #eab308; }
.dots span:nth-child(3) { background-color: #22c55e; }

.mockup-body {
  padding: 30px;
  flex: 1;
}

.skeleton-title {
  width: 60%;
  height: 24px;
  background-color: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 30px;
}

.skeleton-line {
  height: 12px;
  background-color: #f1f5f9;
  border-radius: 4px;
  margin-bottom: 12px;
}

.skeleton-line.full { width: 100%; }
.skeleton-line.eighty { width: 80%; }
.skeleton-line.ninety { width: 90%; }
.skeleton-line.half { width: 50%; }


@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px;
  }
  .hero-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .mockup {
    transform: none;
  }
}

/* Section Common */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title p {
  font-size: 1.15rem;
  margin-top: 16px;
}

/* Features */
.features {
  background-color: white;
  padding: 100px 24px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  padding: 32px;
  background-color: var(--bg-color);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.icon-box {
  width: 56px;
  height: 56px;
  background-color: #dbeafe;
  color: var(--primary-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

/* How It Works */
.how-it-works {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
}

.step {
  text-align: center;
}

.step-num {
  width: 64px;
  height: 64px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 8px #dbeafe;
}

.step h3 {
  margin-bottom: 12px;
}

/* FAQ */
.faq {
  padding: 80px 24px 100px;
  background-color: white;
  border-top: 1px solid var(--border-color);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 24px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid #334155;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: white;
  font-size: 1.5rem;
}

.footer-brand i {
  color: var(--primary-color);
}

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

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
}

/* Mobile Polish */
@media (max-width: 768px) {
  .hero {
    padding: 40px 16px 60px;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .btn-large {
    padding: 12px 20px;
  }
  .mockup {
    height: 250px;
  }
  .features {
    padding: 60px 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .how-it-works {
    padding: 60px 16px;
  }
  .faq {
    padding: 60px 16px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
