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

:root {
  --bg: #f5f7fb;
  --bg-2: #eef2f8;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-2: rgba(255, 255, 255, 0.95);
  --border: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --muted: #64748b;
  --primary: #3b82f6;
  --secondary: #8b5cf6;
  --success: #22c55e;
  --info: #38bdf8;
  --shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

body.dark-mode {
  --bg: #07131f;
  --bg-2: #0d1b2a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #b9c6d3;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.1), transparent 30%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  line-height: 0;
  min-width: 0;
  flex-shrink: 0;
}

.logo-image {
  display: block;
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.logo-image-dark {
  display: none;
}

body.light-mode .logo-image-light {
  display: none;
}

body.light-mode .logo-image-dark {
  display: block;
}

.mobile-brand {
  display: none;
  padding: 0 0 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mobile-brand-image {
  display: block;
  width: auto;
  height: 44px;
  max-width: 200px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mobile-brand-image-dark {
  display: none;
}

body.light-mode .mobile-brand-image-light {
  display: none;
}

body.light-mode .mobile-brand-image-dark {
  display: block;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn,
.theme-toggle-btn,
.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover,
.theme-toggle-btn:hover,
.mobile-menu-btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.18);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

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

.theme-toggle-btn {
  min-width: 48px;
  padding: 13px 14px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.mobile-menu-btn {
  display: none;
  min-width: 48px;
  height: 48px;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 20px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
}

.mobile-nav.open {
  display: block;
}

.hero-section {
  padding: 90px 0 40px;
}

.hero-content {
  text-align: center;
  max-width: 780px;
}

.badge,
.section-tag,
.hero-badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-content h1 {
  font-size: 54px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.hero-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: 42px;
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.cta-section {
  padding: 70px 0 90px;
}

.cta-box {
  text-align: center;
  padding: 58px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(139,92,246,0.12));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: 40px;
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.02);
}

.footer-grid {
  padding: 44px 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  display: block;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  padding: 18px 0 30px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-brand {
    display: block;
  }

  .logo-image {
    height: 42px;
    max-width: 170px;
  }

  .mobile-brand-image {
    height: 40px;
    max-width: 170px;
  }

  .hero-content h1,
  .section-heading h2,
  .cta-box h2 {
    font-size: 34px;
  }

  .container {
    width: min(1180px, calc(100% - 24px));
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .nav-container {
    min-height: 74px;
    gap: 12px;
  }

  .logo-image {
    height: 38px;
    max-width: 150px;
  }

  .theme-toggle-btn,
  .mobile-menu-btn {
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
  }

  .mobile-brand-image {
    height: 38px;
    max-width: 150px;
  }
}
.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  min-width: 0;
  isolation: isolate;
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: -8px -12px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.16), transparent 36%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.13), transparent 38%);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: -1;
}

.brand-logo:hover::before {
  opacity: 1;
  transform: scale(1);
}

.brand-logo-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-logo-mark::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.22));
  filter: blur(8px);
  opacity: 0.65;
  z-index: -1;
}

.brand-logo-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.04);
  z-index: -1;
}

.brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  font-family: "Sora", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.48rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.brand-main {
  color: var(--text);
  text-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.brand-accent {
  margin-left: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 52%, #06b6d4 100%);
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandGradientMove 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(59, 130, 246, 0.18));
}

.brand-logo:hover .brand-accent {
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.35));
}

@keyframes brandGradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.footer-brand-logo {
  margin-bottom: 18px;
}

.footer-brand-logo .brand-main {
  color: #ffffff;
}

body.light-mode .footer-brand-logo .brand-main {
  color: #0f172a;
}

.brand-logo-mobile {
  width: fit-content;
}

@media (max-width: 780px) {
  .brand-logo {
    gap: 9px;
  }

  .brand-logo-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 420px) {
  .brand-logo-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    font-size: 1.08rem;
    letter-spacing: -0.055em;
  }
}