/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gradient-text: linear-gradient(138.83deg, rgb(13, 160, 231) 0%, rgb(30, 135, 222) 16.908%, rgb(52, 113, 210) 40.388%, rgb(83, 103, 193) 95.111%);
  --gradient-btn: linear-gradient(114.308deg, rgb(0, 188, 238) 24.07%, rgb(45, 114, 214) 50.821%, rgb(103, 98, 183) 128.65%);
  --blue-accent: #4a6bc7;
  --blue-link: #4570c9;
  --muted-fg: #717182;
  --muted-text: rgba(0, 0, 0, 0.5);
  --border-light: rgba(0, 0, 0, 0.1);
  --bg-subtle: rgba(0, 0, 0, 0.05);
}

html { font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ===== LAYOUT ===== */
.max-w-7xl { max-width: 1280px; margin-left: auto; margin-right: auto; }
.max-w-990 { max-width: 990px; margin-left: auto; margin-right: auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 990px;
  padding: 24px 16px;
}

.logo-full { display: none; }
.logo-icon { display: block; }

.navbar-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.navbar-nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--blue-accent);
  line-height: 1.45;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.navbar-nav a:hover { opacity: 0.8; }

/* Hamburger button */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-btn svg { display: block; }

.hamburger-btn .line {
  transition: all 0.3s ease-in-out;
  transform-origin: 18px 16px;
}

.hamburger-btn.is-open .line-top {
  transform: translate(0, 5px) rotate(45deg);
}

.hamburger-btn.is-open .line-bot {
  transform: translate(0, -5px) rotate(-45deg);
}

/* Mobile dropdown menu */
.mobile-menu {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  max-height: 200px;
  opacity: 1;
}

.mobile-menu.closing {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 1, 1), opacity 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 16px;
}

.mobile-menu nav a {
  font-weight: 500;
  font-size: 32px;
  color: var(--blue-accent);
  line-height: 1.2;
  transition: opacity 0.2s;
}
.mobile-menu nav a:hover { opacity: 0.8; }

/* Dimming overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0);
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nav-overlay.active {
  display: block;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: auto;
}

.nav-overlay.closing {
  display: block;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s cubic-bezier(0.4, 0, 1, 1);
  pointer-events: none;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 16px 48px;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.hero h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  background-image: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 100%;
}

.hero .subtitle {
  font-weight: 500;
  font-size: 18px;
  color: var(--blue-link);
  line-height: 1.2;
  width: 100%;
}

.hero-cta { display: flex; width: 100%; }

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  background-image: var(--gradient-btn);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.45;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-gradient:hover { opacity: 0.9; }

/* ===== FEATURES ===== */
.features {
  padding: 64px 0;
  background: rgba(236, 236, 240, 0.3);
}

.features-inner { padding: 0 16px; }

.features-heading {
  text-align: center;
  margin-bottom: 48px;
}

.features-heading .gradient-title {
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 8px;
  background-image: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-heading .desc {
  font-weight: 400;
  font-size: 16px;
  color: var(--muted-fg);
  max-width: 672px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(3, 2, 19, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: #030213; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.feature-card h3 {
  font-weight: 500;
  font-size: 18px;
  color: #000;
  margin-bottom: 8px;
}

.feature-card p {
  font-weight: 400;
  font-size: 16px;
  color: var(--muted-fg);
}

/* ===== NEWS ===== */
.news { width: 100%; padding: 32px 0 64px; }
.news-inner { padding: 0 16px; }

.news-container {
  background: var(--bg-subtle);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}

.news-container h5 {
  font-weight: 500;
  font-size: 24px;
  color: var(--muted-text);
  line-height: 1.2;
  padding-bottom: 16px;
}

.news-cards { display: flex; flex-direction: column; gap: 16px; }

.news-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.19);
  width: 100%;
}

.news-card-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 16px;
}

.news-card .date {
  font-weight: 600;
  font-size: 12px;
  color: var(--muted-text);
  line-height: normal;
}

.news-card .card-title {
  font-weight: 500;
  font-size: 18px;
  color: #000;
  line-height: 1.1;
}

.news-card .card-summary {
  font-weight: 400;
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.5;
}

.news-card .read-more {
  font-weight: 400;
  font-size: 14px;
  color: #426dca;
  text-decoration: underline;
  transition: color 0.2s;
}
.news-card .read-more:hover { color: #2f54a3; }

/* ===== PARTNERS ===== */
.partners { width: 100%; padding: 64px 0 32px; }
.partners-inner { padding: 0 16px; }

.partners-heading {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  padding-bottom: 8px;
}

.partners-heading h5 {
  font-weight: 500;
  font-size: 24px;
  color: var(--muted-text);
  line-height: 1.2;
}

.partners-logos {
  margin-top: 24px;
  opacity: 0.37;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 24px 16px;
}

.partners-logos img.logo1 { height: 22px; width: auto; }
.partners-logos img.logo2 { height: 14px; width: auto; }
.partners-logos img.logo3 { height: 14px; width: auto; }
.partners-logos img.logo4 { height: 22px; width: auto; }

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.footer-inner {
  max-width: 990px;
  margin: 0 auto;
  padding: 48px 16px;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-logo img { height: 24px; width: 168px; }

.footer-copyright {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.77);
}
.footer-copyright .bold { font-weight: 700; }
.footer-copyright .light { font-weight: 300; }
.footer-copyright-desktop { display: none; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.2;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(0, 0, 0, 0.8); }

.footer-nav .linkedin { width: 24px; height: 24px; display: block; }

/* ===== NEWSROOM PAGE ===== */
.newsroom-hero {
  width: 100%;
  border-bottom: 1px solid var(--border-light);
}

.newsroom-hero-inner { padding: 32px 16px; }

.newsroom-hero h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  background-image: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filter-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.filter-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 8px;
  background: var(--blue-link);
  opacity: 0.5;
  transition: opacity 0.2s;
  cursor: pointer;
}
.filter-btn:hover { opacity: 0.75; }
.filter-btn.active { opacity: 1; }

.article-content { width: 100%; padding: 48px 0; }
.article-content-inner { padding: 0 16px; }

.article-content h2 {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  color: #000;
  margin-bottom: 24px;
}

.article-date {
  font-weight: 600;
  font-size: 12px;
  color: var(--muted-text);
  line-height: normal;
  margin-bottom: 24px;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.article-col {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted-fg);
}

.article-col .bold { font-weight: 700; }
.article-col .mt-24 { margin-top: 24px; }

.article-col ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-box {
  background: var(--bg-subtle);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 48px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted-fg);
}

.about-box .bold { font-weight: 700; }
.about-box .mt-16 { margin-top: 16px; }
.about-box a { text-decoration: underline; color: inherit; transition: color 0.2s; }
.about-box a:hover { color: var(--blue-link); }

.download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

/* ===== 404 PAGE ===== */
.not-found {
  width: 100%;
  padding: 64px 0;
  flex: 1;
}

.not-found-inner {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.not-found h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  background-image: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.not-found .nf-subtitle {
  font-weight: 500;
  font-size: 18px;
  color: var(--muted-fg);
  line-height: 1.5;
  margin-top: 24px;
}

.not-found .btn-gradient { margin-top: 32px; }

.not-found .redirect-notice {
  font-weight: 400;
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.5;
  margin-top: 24px;
}

/* ===== TABLET (640px+) ===== */
@media (min-width: 640px) {
  .navbar { background: rgba(255, 255, 255, 0.8); box-shadow: none; }
  .navbar-inner { padding: 48px 24px; }
  .logo-full { display: block; }
  .logo-icon { display: none; }
  .navbar-nav { display: flex; }
  .hamburger-btn { display: none; }
  .mobile-menu { display: none !important; }
  .nav-overlay { display: none !important; }

  .hero {
    align-items: center;
    padding: 32px 24px 48px;
  }
  .hero-text { align-items: center; text-align: center; }
  .hero h1 { font-size: 56px; max-width: 704px; }
  .hero .subtitle { font-size: 22px; max-width: 522px; }
  .hero-cta { justify-content: center; }

  .features { padding: 96px 0; }
  .features-inner { padding: 0 24px; }
  .features-heading { margin-bottom: 64px; }
  .features-heading .gradient-title { font-size: 30px; }
  .features-heading .desc { font-size: 18px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-card { padding: 32px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card p { font-size: 18px; }

  .news { padding: 48px 0 96px; }
  .news-inner { padding: 0 24px; }
  .news-container { padding: 24px; }
  .news-container h5 { font-size: 28px; }
  .news-card .date { font-size: 13px; }
  .news-card .card-title { font-size: 20px; }
  .news-card .card-summary { font-size: 16px; }
  .news-card .read-more { font-size: 16px; }

  .partners { padding: 96px 0 48px; }
  .partners-inner { padding: 0 24px; }
  .partners-heading h5 { font-size: 28px; }
  .partners-logos { display: flex; justify-content: space-between; }
  .partners-logos img.logo1 { height: 30px; }
  .partners-logos img.logo2 { height: 19px; }
  .partners-logos img.logo3 { height: 19px; }
  .partners-logos img.logo4 { height: 30px; }

  .footer-inner { padding: 48px 24px; }
  .footer-layout { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 0; }
  .footer-copyright-desktop { display: block; }
  .footer-copyright-mobile { display: none; }
  .footer-nav { align-items: flex-end; }

  .newsroom-hero-inner { padding: 32px 24px; }
  .newsroom-hero h1 { font-size: 56px; }
  .article-content-inner { padding: 0 24px; }
  .article-content h2 { font-size: 28px; }
  .article-date { font-size: 14px; }
  .article-body { flex-direction: row; }
  .article-col { width: 50%; }
  .about-box { padding: 24px; }

  .not-found { padding: 96px 0; }
  .not-found-inner { padding: 0 24px; align-items: center; text-align: center; }
  .not-found h1 { font-size: 56px; }
  .not-found .nf-subtitle { font-size: 22px; max-width: 648px; }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  .navbar-inner { padding: 48px 0; }

  .hero {
    gap: 40px;
    padding: 32px 0 48px;
  }
  .hero h1 { font-size: 80px; max-width: 990px; }
  .hero .subtitle { font-size: 24px; max-width: 648px; }

  .features-inner { padding: 0; }
  .features-heading .gradient-title { font-size: 34px; }
  .features-grid { grid-template-columns: 1fr 1fr 1fr; }

  .news-inner { padding: 0; }
  .news-card .date { font-size: 14px; }
  .news-card .card-title { font-size: 22px; }
  .news-card .card-summary { font-size: 18px; line-height: 1.6; }
  .news-card .read-more { font-size: 18px; }

  .partners-inner { padding: 0; }
  .partners-logos img.logo1 { height: 37px; }
  .partners-logos img.logo2{ height: 23px; }
  .partners-logos img.logo3 { height: 22px; }
  .partners-logos img.logo4 { height: 37px; }

  .footer-inner { padding: 48px 0; }

  .newsroom-hero-inner { padding: 32px 0; }
  .newsroom-hero h1 { font-size: 80px; }
  .article-content-inner { padding: 0; }
  .article-content h2 { font-size: 34px; }
  .article-col { line-height: 1.6; }
  .about-box { line-height: 1.6; }

  .not-found-inner { padding: 0 32px; }
  .not-found h1 { font-size: 80px; }
  .not-found .nf-subtitle { font-size: 24px; line-height: 1.6; }
}