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

:root {
  --color-primary: #0f0f1a;
  --color-primary-light: #1a1a2e;
  --color-accent: #16c79a;
  --color-accent-end: #0fb9b1;
  --gradient: linear-gradient(135deg, #16c79a 0%, #0fb9b1 100%);
  --color-bg: #f8f9fa;
  --color-white: #ffffff;
  --color-text: #2d2d3a;
  --color-text-light: #6b6b80;
  --color-border: #e2e4e8;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 15, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 15, 26, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 15, 26, 0.12);
  --shadow-xl: 0 16px 50px rgba(15, 15, 26, 0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 200;
  font-weight: 600;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0.5rem; }

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 520px;
}

/* ===== Fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stack);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn--gradient {
  background: var(--gradient);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(22, 199, 154, 0.3);
}
.btn--gradient:hover {
  box-shadow: 0 6px 25px rgba(22, 199, 154, 0.4);
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn--full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 1.6rem;
  width: auto;
}

.nav__links { display: flex; gap: 2rem; }

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--color-primary); }

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  background: var(--color-primary) url('../assets/hero-bg.png') center/cover no-repeat;
  color: var(--color-white);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 26, 0.85);
}


.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
}

.hero__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  border: 1px solid rgba(22, 199, 154, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
}

.hero__mockup {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero__divider {
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.hero__divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ===== Showcase ===== */
.showcase {
  padding: 4rem 0 0;
  background: var(--color-white);
  position: relative;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.feature-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-card:hover .feature-card__accent {
  transform: scaleY(1);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(22,199,154,0.1) 0%, rgba(15,185,177,0.1) 100%);
  color: var(--color-accent);
  margin-bottom: 1rem;
  transition: background 0.3s, color 0.3s;
}

.feature-card:hover .feature-card__icon {
  background: var(--gradient);
  color: var(--color-white);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

.showcase__cta { text-align: center; }

.showcase__cta-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.section-divider--to-dark {
  background: var(--color-primary-light);
  margin-top: -1px;
}
.section-divider--to-dark svg { display: block; width: 100%; height: 60px; }

.section-divider--to-white {
  background: var(--color-white);
  margin-top: -1px;
}
.section-divider--to-white svg { display: block; width: 100%; height: 60px; }

/* ===== About ===== */
.about {
  padding: 5rem 0 0;
  background: var(--color-primary-light);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about__dot-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

.about__intro {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-bottom: 3.5rem;
}

.about .section-title {
  color: var(--color-white);
}

.about__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4rem;
}

.stat {
  background: var(--color-primary-light);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__suffix {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ===== Contact ===== */
.contact {
  padding: 5rem 0;
  background: var(--color-white);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__info .section-title {
  margin-bottom: 1rem;
}

.contact__text {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact__email-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  transition: opacity 0.2s;
}
.contact__email-link:hover { opacity: 0.8; }

.contact__socials { margin-top: auto; }

.contact__social-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.6rem;
}

.contact__social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-light);
  transition: all 0.25s;
}
.social-link:hover {
  background: var(--gradient);
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-link--footer {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}
.social-link--footer:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-input {
  font-family: var(--font-stack);
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(22, 199, 154, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.5);
  padding: 3.5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
  margin-bottom: 0.5rem;
}

.footer__logo-img {
  height: 1.4rem;
  width: auto;
}

.footer__tagline {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer__socials { display: flex; gap: 0.5rem; }

.footer__heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.75rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--color-accent); }

.footer__bottom {
  padding: 1.25rem 0;
  text-align: center;
}

.footer__copy { font-size: 0.75rem; }

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: all 0.3s;
  z-index: 50;
  box-shadow: var(--shadow-lg);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ===== Responsive — Tablet (768px+) ===== */
@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }

  .hero { padding: 6rem 0 0; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero__title { font-size: 3rem; }
  .hero__divider svg { height: 80px; }

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

  .stats { grid-template-columns: repeat(4, 1fr); }

  .contact__layout { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }

  .section-divider--to-dark svg,
  .section-divider--to-white svg { height: 80px; }
}

/* ===== Responsive — Desktop (1024px+) ===== */
@media (min-width: 1024px) {
  .hero { padding: 5rem 0 0; }
  .hero__grid { gap: 4rem; }
  .hero__title { font-size: 3.5rem; }
  .hero__lion-watermark { width: 600px; }

  .features { grid-template-columns: repeat(4, 1fr); }

  .stat__number { font-size: 3rem; }

  .nav__links { gap: 2.5rem; }
}

/* ===== Mobile nav ===== */
@media (max-width: 480px) {
  .nav__inner {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 0;
    gap: 0.5rem;
  }
  .nav__links { gap: 1.25rem; }

  .hero__title { font-size: 2rem; }

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