@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

:root {
  --blue: #0052ff;
  --blue-hover: #0040dd;
  --text: #0f172a;
  --text-muted: #64748b;
  --surface: #f5f7fa;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --white: #ffffff;
  --max-w: 1280px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-image {
  width: auto;
  max-width: 160px;
  min-width: 80px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

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

.btn-primary {
  background: #0030cf;
  color: #fff;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.mobile-menu-btn {
  display: none;
  color: var(--text-muted);
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.hero {
  padding: 180px 0 80px;
  min-height: 320px;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
}

.features {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

.feature-card:hover .feature-icon {
  background: rgba(0, 82, 255, 0.08);
  border-color: rgba(0, 82, 255, 0.25);
}

.feature-card:hover .feature-icon svg {
  color: var(--blue);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.cards-section {
  padding: 128px 0;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cards-section .bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(0, 82, 255, 0.04);
  filter: blur(150px);
  border-radius: 50%;
  pointer-events: none;
}

.cards-content {
  position: relative;
  z-index: 1;
}

.card-visual {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.6;
  margin: 0 auto 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.cards-section h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.cards-content p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.btn-dark {
  background: var(--text);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  min-width: 300px;
}

.btn-dark:hover {
  background: #1e293b;
}

.security {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.security-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.security-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.security-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 82, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.security-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.security-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.security-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.developers-image {
  width: 100%;
  max-width: 100%;
  max-height: 80vh;
  object-fit: cover;
  margin: 0 auto;
}

.ecosystem {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.eco-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eco-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.eco-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.eco-card:hover .eco-icon {
  background: rgba(0, 82, 255, 0.08);
  border-color: rgba(0, 82, 255, 0.25);
  color: var(--blue);
}

.eco-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.eco-card span {
  font-size: 12px;
  color: var(--text-muted);
}

.explore-link {
  display: block;
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.explore-link:hover {
  color: var(--text);
}

.footer {
  background: #0d0d0d;
  border-top: 1px solid #1e293b;
  padding: 80px 0 40px;
  color: #828282;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo-wrap {
  margin-bottom: 24px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 28px;
  height: 28px;
  border: 1px solid #334155;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #94a3b8;
}

.social-links a:hover {
  color: #ffffff;
  border-color: #64748b;
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: #64748b;
}

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

.footer-bottom-links a {
  font-size: 12px;
  color: #64748b;
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-image {
    max-width: 128px;
    min-width: 72px;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 16px;
    height: 72px;
  }

  .nav-links,
  .navbar .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .logo-image {
    max-width: 96px;
    min-width: 64px;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .features-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-section {
    padding: 88px 0;
  }

  .cards-section h2 {
    font-size: 30px;
  }

  .btn-dark {
    min-width: auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 28px;
  }
}
