:root {
  --encore-blue: #89cff0;
  --encore-gold: #ffd700;
  --encore-orange: #ffa53f;

  --bg-main: #ffffff;
  --bg-alt: #f4f9fd;
  --bg-card: #ffffff;

  --text-main: #0f172a;
  --text-dim: #475569;

  --border-soft: #e2e8f0;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.08);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--encore-blue);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--encore-gold);
}

* {
  scrollbar-color: var(--encore-blue) var(--bg-alt);
  scrollbar-width: thin;
}

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

body {
  font-family: "Radio Canada", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.nav-logo,
.number-stat,
.btn {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}

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

.scroll-anim {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.scroll-anim.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}
.delay-2 {
  transition-delay: 0.3s;
}
.delay-3 {
  transition-delay: 0.45s;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 1000;
}

.nav-logo {
  font-size: 2.4rem;
  color: var(--text-main);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--text-main);
  border-bottom: 3px solid var(--encore-gold);
  padding-bottom: 4px;
}

.btn {
  font-size: 1.2rem;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--encore-blue);
  color: var(--text-main);
}

.btn-primary:hover {
  background: #75c2e8;
  box-shadow: 0 8px 20px rgba(137, 207, 240, 0.4);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--encore-gold);
  color: var(--text-main);
}

.btn-gold:hover {
  background: #f0ca00;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border-color: var(--text-main);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--text-main);
  color: #fff;
  transform: translateY(-3px);
}

.btn-nav {
  background: var(--text-main);
  color: #fff !important;
  font-size: 1.1rem !important;
  padding: 0.5rem 1.5rem;
  border-bottom: none !important;
}

.btn-nav:hover {
  background: var(--encore-blue);
  color: var(--text-main) !important;
  box-shadow: var(--shadow-sm);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at top center,
    #ffffff 0%,
    var(--bg-alt) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(137, 207, 240, 0.2) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.15) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

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

.hero h1 {
  font-size: 5.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  max-width: 1000px;
  color: var(--text-main);
}

.text-highlight-gold {
  background: var(--encore-gold);
  padding: 0 15px;
  border-radius: 12px;
}

.text-highlight-orange {
  background: var(--encore-orange);
  padding: 0 15px;
  border-radius: 12px;
  color: #fff;
}

.hero h1 .text-highlight-gold {
  background: var(--encore-gold);
  padding: 0 15px;
  border-radius: 12px;
  display: inline-block;
  transform: rotate(-2deg);
}

.hero h1 .text-highlight-orange {
  background: var(--encore-orange);
  padding: 0 15px;
  border-radius: 12px;
  display: inline-block;
  transform: rotate(1deg);
  color: #fff;
  text-decoration: underline;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.section {
  padding: 6rem 5%;
  position: relative;
  z-index: 1;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-dim);
  font-size: 1.5rem;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 6px solid var(--encore-blue);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.card:nth-child(2) {
  border-top-color: var(--encore-gold);
}
.card:nth-child(3) {
  border-top-color: var(--encore-orange);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.card p {
  color: var(--text-dim);
  font-size: 1.2rem;
}

footer {
  background: var(--text-main);
  color: #fff;
  padding: 5rem 5% 2rem 5%;
  text-align: center;
}

.footer-logo {
  font-family: "Rajdhani", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--encore-blue);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.footer-links a {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--encore-gold);
}

.copyright {
  margin-top: 4rem;
  color: #64748b;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .split-layout,
  .split-layout.reverse {
    flex-direction: column;
    text-align: center;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .nav-links {
    display: none;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .section-title {
    font-size: 2.8rem;
  }
  .split-text h2 {
    font-size: 2.8rem;
  }
}
