:root {
  /* Apple/Stripe-like Clean Aesthetic */
  --bg-color: #FFFFFF;
  --bg-secondary: #F5F5F7; /* Very light gray */
  --text-main: #1D1D1F;    /* Almost black */
  --text-muted: #86868B;   /* Apple gray */
  --accent-color: #0066CC; /* Trust blue */
  --accent-hover: #0055B3; 
  --border-color: #E5E5EA;
  --success-color: #34C759;
  
  /* Utilities */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 24px; }

.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-light { background: var(--bg-secondary); }

/* Navigation */
nav {
  position: fixed;
  top: 0; width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 16px 0;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 24px; height: 24px;
  background: var(--accent-color);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-main); font-size: 0.95rem; opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 980px; /* Apple pill shape */
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--accent-color); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: scale(1.02); }
.btn-secondary { background: rgba(0,0,0,0.05); color: var(--text-main); }
.btn-secondary:hover { background: rgba(0,0,0,0.1); }
.btn-nav { padding: 8px 16px; font-size: 0.9rem; }

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.25rem;
}

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

.hero-dashboard-preview {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  height: 500px;
  max-width: 1000px;
  margin-left: auto; margin-right: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px;
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

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

/* Pricing Section */
.pricing-card {
  max-width: 500px;
  margin: 60px auto 0;
  padding: 60px;
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-badge {
  position: absolute;
  top: 20px; right: -30px;
  background: var(--success-color);
  color: white;
  padding: 6px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.price {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text-main);
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.price span { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; }
.strike { text-decoration: line-through; color: var(--text-muted); opacity: 0.5; font-size: 2rem; margin-right: 12px; }

.pricing-features {
  list-style: none;
  margin: 32px 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.pricing-features li svg { color: var(--accent-color); flex-shrink: 0; }

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover { color: var(--text-main); }

.modal-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.modal h3 { font-size: 1.6rem; margin-bottom: 4px; }

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-color);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: 2.5rem; }
  .hero-dashboard-preview { height: 300px; }
  .pricing-card { padding: 40px 24px; }
}
