/* Apple-inspired: clean, soft, spacious */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, 4vw);
  height: 48px;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 17px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: linear-gradient(180deg, #1d1d1f 0%, #424245 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 20px;
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 480px;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: rgba(0, 113, 227, 0.06);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 113, 227, 0.08) 0%,
    rgba(147, 197, 253, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* Sections */
.section {
  padding: 100px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-text {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.9;
}

.card h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

/* Contact */
.contact-block {
  padding: 48px 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-email {
  display: inline-block;
  margin-top: 20px;
  font-size: 21px;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-email:hover {
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 40px 24px 60px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  border-top: 1px solid var(--border);
}

.footer-domain {
  margin-top: 6px;
  opacity: 0.7;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile */
@media (max-width: 734px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero {
    padding-top: 100px;
  }
}
