/* =========================================================
   SkillDux — Stylesheet
   ========================================================= */

:root {
  --color-dark: #0e1b18;
  --color-text: #1a2b27;
  --color-muted: #5b6b67;
  --color-bg: #ffffff;
  --color-bg-soft: #f4faf8;
  --color-accent-light: #e5f9f6;
  --color-accent: #00ad8d;
  --color-accent-dark: #006655;
  --color-border: #e6ece9;

  --tag-publisher-bg: #e7f6f0;
  --tag-publisher-fg: #0c9a78;
  --tag-discovery-bg: #fdeef0;
  --tag-discovery-fg: #e0476a;
  --tag-service-bg: #eef1fd;
  --tag-service-fg: #5b63d6;
  --tag-education-bg: #fef3e3;
  --tag-education-fg: #d98a1f;
  --tag-research-bg: #f1eafd;
  --tag-research-fg: #8a4fd6;
  --tag-solution-bg: #fdeef0;
  --tag-solution-fg: #e0476a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(14, 27, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 27, 24, 0.08);

  --container-w: 1180px;

  --font-base:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
}
input {
  font: inherit;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.text-accent {
  color: var(--color-accent);
}
.text-accent-dark {
  color: var(--color-accent-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}
.btn-primary-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-primary-outline:hover {
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}
.text-accent-gradient {
  background: linear-gradient(90deg, #004253 0%, #00ad8d 48.08%, #00473a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  background: var(--color-bg-soft);
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}
.eyebrow-left {
  background: transparent;
  color: var(--color-muted);
  padding-left: 0;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}
.logo {
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo-icon {
  color: var(--color-accent);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
}
.nav-link:hover {
  color: var(--color-accent);
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 760px;
}
.hero-sub {
  max-width: 560px;
  color: var(--color-muted);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--color-bg-soft);
  padding: 20px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: start;
  gap: 24px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Product Suite ---------- */
.suite {
  padding: 90px 0;
}
.suite-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin: 14px 0 44px;
  flex-wrap: wrap;
}
.suite-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
}
.suite-heading p {
  max-width: 340px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition:
    box-shadow 0.5s ease,
    transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card .card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--product-card-color-main);
  border-radius: 10px;
  position: absolute;
  top: 26px;
  right: 26px;
  color: var(--product-card-color-main);
}
.product-card::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 0px;
  width: 200px;
  height: 200px;
  background-color: var(--product-card-color-light);
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  filter: blur(10px);
  box-shadow: inset -3px -4px 46px 25px rgba(255, 255, 255, 0.5);
  z-index: -1;
  opacity: 0;
  transform: scale(0);
  transform-origin: right top;
  transition: all 0.5s;
}
.product-card:hover::after {
  opacity: 0.7;
  transform: scale(1);
}
.product-card .card-icon svg {
  width: 24px;
  height: 24px;
}
.card-grid .product-card {
  border-top: 2px solid var(--product-card-color-main);
}
.card-grid .product-card .tag {
  color: var(--product-card-color-main);
  background: var(--product-card-color-light);
  border: 1px solid var(--product-card-color-main);
}

.card-grid .product-card:nth-child(1),
.publisher-colors {
  --product-card-color-main: #0284c7;
  --product-card-color-light: #e9f7ff;
  --product-card-color-very-light: #e9f7ff;
}
.card-grid .product-card:nth-child(2),
.journal-finder-colors {
  --product-card-color-main: #c44d36;
  --product-card-color-light: #fff5f3;
  --product-card-color-very-light: #fff5f3;
}
.card-grid .product-card:nth-child(3),
.journal-edits-colors {
  --product-card-color-main: #007c76;
  --product-card-color-light: #f3fffe;
  --product-card-color-very-light: #f3fffe;
}
.card-grid .product-card:nth-child(4),
.courses-colors {
  --product-card-color-main: #00ad8d;
  --product-card-color-light: #dafbf1;
  --product-card-color-very-light: #f2fff8;
}
.card-grid .product-card:nth-child(5),
.researchseer-colors {
  --product-card-color-main: #a23aed;
  --product-card-color-light: #faf4ff;
  --product-card-color-very-light: #f9f0ff;
}
.card-grid .product-card:nth-child(6),
.ipr-solution-colors {
  --product-card-color-main: #ed3a67;
  --product-card-color-light: #ffeef2;
  --product-card-color-very-light: #ffeef2;
}
.card-grid .product-card .card-link {
  color: var(--product-card-color-main);
}
.card-grid .product-card .product-sub-heading {
  color: var(--product-card-color-main);
}
.product-card:hover {
  box-shadow: 0 24px 24px var(--product-card-color-light);
  transform: translateY(-3px);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.tag {
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.tag-publisher {
  background: var(--tag-publisher-bg);
  color: var(--tag-publisher-fg);
}
.tag-discovery {
  background: var(--tag-discovery-bg);
  color: var(--tag-discovery-fg);
}
.tag-service {
  background: var(--tag-service-bg);
  color: var(--tag-service-fg);
}
.tag-education {
  background: var(--tag-education-bg);
  color: var(--tag-education-fg);
}
.tag-research {
  background: var(--tag-research-bg);
  color: var(--tag-research-fg);
}
.tag-solution {
  background: var(--tag-solution-bg);
  color: var(--tag-solution-fg);
}

.card-icon {
  font-size: 1.1rem;
}
.product-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.card-link:hover {
  text-decoration: underline;
}

/* ---------- Mission ---------- */
.mission {
  background: var(--color-bg-soft);
  padding: 90px 0;
}
.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.mission-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 14px 0 16px;
}
.mission-text p {
  color: var(--color-muted);
  max-width: 420px;
}

.ecosystem-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0px 0px 50px 19px var(--color-accent-light);
  padding: 26px;
  border-top: 2px solid var(--color-accent-dark);
}
.ecosystem-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}
.ecosystem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ecosystem-list li {
  display: grid;
  grid-template-columns: 90px 1fr 14px;
  align-items: center;
  gap: 60px;
}
.eco-key {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 12px;
}
.eco-value {
  border: 1px solid var(--product-card-color-main);
  background-color: var(--product-card-color-very-light);
  color: var(--product-card-color-main);
  border-radius: 12px;
  padding: 5px 14px;
  font-size: 12px;
}
.eco-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  justify-self: end;
}
.eco-dot {
  background-color: var(--product-card-color-main);
}
/* .ecosystem-list li{
  border: 1px solid var(--product-card-color-main);
  background-color: var(--product-card-color-very-light);

} */
/* .dot-publisher {
  background: var(--tag-publisher-fg);
}
.dot-discovery {
  background: var(--tag-discovery-fg);
}
.dot-service {
  background: var(--tag-service-fg);
}
.dot-education {
  background: var(--tag-education-fg);
}
.dot-research {
  background: var(--tag-research-fg);
}
.dot-solution {
  background: var(--tag-solution-fg);
} */

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}
.cta-sub {
  max-width: 480px;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #c8d6d1;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(0, 173, 141, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: start;
  position: relative;
}
.footer-brand .logo {
  color: #fff;
}
.footer-brand .logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.footer-brand .logo:hover img {
  filter: brightness(1.2) drop-shadow(0 0 6px rgba(0, 173, 141, 0.5));
}
.footer-brand p {
  margin: 14px 0 22px;
  font-size: 0.88rem;
  color: #7d918b;
  max-width: 300px;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #7d918b;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
}
.social-links a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 173, 141, 0.35);
}

.footer-col {
  position: relative;
}
.footer-col h3 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-col li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-col li:last-child {
  border-bottom: none;
}
.footer-col a {
  font-size: 0.88rem;
  color: #7d918b;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  transition: all 0.25s ease;
  position: relative;
}
.footer-col a svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 0.25s ease;
}
.footer-col a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--color-accent);
  border-radius: 2px;
  transition: height 0.25s ease;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 8px;
}
.footer-col a:hover svg {
  opacity: 1;
  color: var(--color-accent);
}
.footer-col a:hover::before {
  height: 60%;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: #9fb0ab;
  margin-bottom: 14px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-form input {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.newsletter-form input::placeholder {
  color: #7d8d88;
}

.footer-bottom {
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #566b65;
  letter-spacing: 0.02em;
}
.legal-links {
  display: flex;
  gap: 22px;
}
.legal-links a:hover {
  color: #fff;
}

.eyebrow-dot-animation {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  animation: dot-pulse 3s ease-in-out infinite;
  display: flex;
}

@keyframes dot-pulse {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.d-flex {
  display: flex;
}
.gap-1 {
  gap: 10px;
}
.align-items-center {
  align-items: center;
}
.d-none {
  display: none;
}
.mt-3 {
  margin-top: 30px;
}
/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mission-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}
@media screen and (min-width: 700px) {
  .d-md-block {
    display: block;
  }
}
@media (max-width: 700px) {
  .ecosystem-list li {
    gap: 5px;
  }
  html::-webkit-scrollbar {
    display: none;
  }
  .hero {
    padding: 60px 0 40px;
  }
  .suite,
  .mission,
  .cta {
    padding: 60px 0;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .suite-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    gap: 12px;
  }
  .nav-link {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 36px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .eyebrow {
    font-size: 12px;
  }
  .container {
    padding-inline: 12px;
  }
}
@media (max-width: 480px) {
    .ecosystem-list li {
        display: grid;
        grid-template-columns: 1fr 20px;
        grid-template-areas:
            "top top"
            "left right";
    }

    .ecosystem-list li > :nth-child(1) {
        grid-area: top;
    }

    .ecosystem-list li > :nth-child(2) {
        grid-area: left;
    }

    .ecosystem-list li > :nth-child(3) {
        grid-area: right;
    }
}
@media (max-width: 480px) {
  /* .ecosystem-list li {
    grid-template-columns: 70px 1fr 10px;
  } */
   
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
