:root {
  /* High-End Minimalist Palette (Apple-inspired) */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #1d1d1f;
  
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-inverse: #f5f5f7;
  
  --accent-color: #0066cc; /* Elegant link blue */
  --accent-hover: #0077ed;
  
  --border-light: rgba(0, 0, 0, 0.08);
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }

/* Navigation (Ultra Minimal) */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 9999;
  display: flex;
  justify-content: center;
}

.nav-content {
  width: 100%;
  max-width: 980px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  height: 100%;
}

.nav-logo {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  font-size: 12px;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Typography Classes */
h1 {
  font-size: 80px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h2 {
  font-size: 56px;
  line-height: 1.07143;
  font-weight: 600;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 28px;
  line-height: 1.14286;
  font-weight: 600;
  letter-spacing: .007em;
}

.subtitle {
  font-size: 28px;
  line-height: 1.14286;
  font-weight: 400;
  letter-spacing: .007em;
  color: var(--text-secondary);
}

.body-large {
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: .011em;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 17px;
  line-height: 1.17648;
  font-weight: 400;
  letter-spacing: -0.022em;
  padding: 18px 31px;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-dark {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
}

.btn-dark:hover {
  background-color: #333336;
  border-color: #333336;
}

.btn-link {
  font-size: 21px;
  color: var(--accent-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-link:hover {
  text-decoration: underline;
}

.btn-link::after {
  content: "›";
  font-size: 26px;
  line-height: 1;
  position: relative;
  top: -1px;
}

/* Hero Section (Left-Right Layout) */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-container {
  max-width: 1200px; /* Wider for left-right */
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.hero-text-container {
  flex: 1;
  max-width: 540px;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  background: rgba(0, 102, 204, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: 64px; /* Slightly adjusted for side-by-side */
}

.hero .subtitle {
  margin-bottom: 40px;
  font-size: 24px;
}

/* Abstract Wireframe Phone - Hero Right Side */
.wireframe-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.wireframe-phone {
  width: 340px;
  height: 680px;
  border-radius: 48px;
  border: 4px solid var(--text-primary);
  position: relative;
  background: var(--bg-primary);
  box-shadow: 0 40px 100px rgba(0,0,0,0.08);
  overflow: hidden;
  transform: rotate(-2deg); /* High-end subtle tilt */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wireframe-phone:hover {
  transform: rotate(0deg) translateY(-10px);
}

.wireframe-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--text-primary);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.wf-ui {
  padding: 60px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.wf-title {
  width: 60%;
  height: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.wf-chart {
  width: 100%;
  height: 160px;
  border: 2px solid var(--bg-secondary);
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  gap: 12px;
}

.wf-bar {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: 6px;
}
.wf-bar:nth-child(1) { height: 40%; }
.wf-bar:nth-child(2) { height: 80%; background: var(--text-primary); }
.wf-bar:nth-child(3) { height: 60%; }

.wf-card {
  width: 100%;
  height: 80px;
  background: var(--bg-secondary);
  border-radius: 16px;
}

/* Metrics Section (NEW) */
.section-metrics {
  padding: 80px 20px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.metrics-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-wrap: wrap;
  gap: 40px;
}

.metric-item {
  flex: 1;
  min-width: 200px;
}

.metric-number {
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.metric-label {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Feature Sections */
.section-feature {
  padding: 120px 20px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.section-feature.bg-alt {
  background: var(--bg-secondary);
  border-top: none;
}

.feature-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

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

.feature-text {
  flex: 1;
  max-width: 460px;
}

.feature-text h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

/* Feature Sub-list (NEW) */
.feature-list {
  margin-top: 32px;
  list-style: none;
}

.feature-list li {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  stroke-width: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic-icon {
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-icon svg {
  width: 120px;
  height: 120px;
  stroke: var(--text-primary);
  stroke-width: 1px;
}

/* Minimal Grid Section (NEW) */
.section-grid {
  padding: 120px 20px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.grid-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.minimal-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; /* Creates the border effect */
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

.grid-item {
  background: var(--bg-primary);
  padding: 60px 40px;
  transition: background-color 0.3s ease;
}

.grid-item:hover {
  background: var(--bg-secondary);
}

.grid-item svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-primary);
  stroke-width: 1.5px;
  margin-bottom: 24px;
}

.grid-item h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.grid-item p {
  font-size: 17px;
  color: var(--text-secondary);
}

/* Reviews Section */
.section-reviews {
  padding: 120px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.reviews-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-primary);
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #F59E0B;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.review-author {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Final CTA Section */
.section-cta {
  padding: 160px 20px;
  background: var(--bg-tertiary);
  color: var(--text-inverse);
  text-align: center;
}

.section-cta h2 {
  color: var(--text-inverse);
  margin-bottom: 40px;
}

.btn-light {
  background-color: var(--text-inverse);
  color: var(--bg-tertiary);
}

.btn-light:hover {
  background-color: #ffffff;
}

/* Footer Minimal */
footer {
  background: var(--bg-secondary);
  padding: 40px 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

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

/* Support & Privacy Pages overrides */
.page-simple {
  padding-top: 100px;
  padding-bottom: 100px;
}
.page-simple h1 {
  font-size: 48px;
  margin-bottom: 16px;
  text-align: center;
}
.page-simple .content-container {
  max-width: 680px;
  margin: 60px auto 0;
  font-size: 17px;
  color: var(--text-primary);
}
.page-simple h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1068px) {
  h1 { font-size: 64px; }
  h2 { font-size: 48px; }
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-badge {
    margin: 0 auto 24px;
  }
  .wireframe-container {
    justify-content: center;
  }
  .feature-container {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }
  .feature-reverse {
    flex-direction: column;
  }
  .feature-text {
    max-width: 600px;
  }
  .feature-list li {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 734px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .subtitle { font-size: 21px; }
  .body-large { font-size: 17px; }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  .nav-links { display: none; }
  
  .wireframe-phone {
    width: 280px;
    height: 560px;
  }
  
  .section-feature {
    padding: 80px 20px;
  }
  
  .metric-number { font-size: 48px; }
  .metrics-container { gap: 20px; flex-direction: column; }
  
  .minimal-grid { grid-template-columns: 1fr; }
  .grid-item { padding: 40px 20px; }
  
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-header h2 { font-size: 28px; }
}
