/* Landing Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(15,23,42,0.8);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .landing-nav {
  background: rgba(248,250,252,0.85);
}
.landing-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.landing-logo:hover {
  transform: rotate(-3deg) scale(1.08);
  border-bottom-right-radius: 30%;
}
.landing-brand-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing-links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.landing-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.landing-links a:hover { color: var(--text); }
.landing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 160px 32px 100px;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sections */
.landing-section {
  padding: 80px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.landing-section h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.stat-number {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--accent); }
.service-icon { font-size: 36px; margin-bottom: 12px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.why-icon { font-size: 32px; margin-bottom: 12px; }
.why-card h3 { font-size: 16px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* CTA */
.cta-section {
  text-align: center;
  max-width: 700px;
}
.cta-section p { color: var(--muted); margin-bottom: 24px; }
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Login */
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.login-card {
  width: 380px;
  padding: 40px 32px;
}
.login-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
}
.login-card h2 {
  text-align: center;
  margin-bottom: 24px;
}
.login-card input {
  width: 100%;
}

/* Page visibility */
.page { display: none; }
.page.active { display: block; }

/* Responsive */
@media (max-width: 768px) {
  .landing-links { display: none; }
  .landing-nav-inner { padding: 12px 16px; }
  .hero { padding: 120px 16px 60px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .landing-section { padding: 48px 16px; }
  .cta-section { padding: 48px 16px; }
}
