/* =========================================
   VARIABLES & THEME TOKENS
   ========================================= */
:root {
  /* Colors */
  --text-main: #140d1c;
  /* Dark purple/black matching logo */
  --text-purple: #524763;
  --text-light: #faf9fb;
  --bg-main: #ffffff;
  --bg-alt: #faf9fb;
  --bg-dark: #222222;
  /* Subtly tinted grey/purple base */

  /* Logo Colors */
  --color-purple: #4b1b70;
  --color-pink: #aa2f84;
  --color-orange: #eb6861;
  --color-yellow: #fdb954;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 35%, var(--color-orange) 70%, var(--color-yellow) 100%);
  --gradient-hover: linear-gradient(135deg, #561f80 0%, #bc3492 35%, #f0776f 70%, #ffc463 100%);
  --gradient-soft: linear-gradient(135deg, rgba(75, 27, 112, 0.05) 0%, rgba(170, 47, 132, 0.05) 100%);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --section-padding: 100px 0;

  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --shadow-sm: 0 4px 12px rgba(20, 13, 28, 0.05);
  --shadow-md: 0 12px 24px rgba(20, 13, 28, 0.08);
  --shadow-lg: 0 24px 48px rgba(20, 13, 28, 0.12);
  --shadow-colored: 0 12px 24px rgba(170, 47, 132, 0.2);

  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-main: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Offset for sticky nav */
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-main);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-main);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   UTILITIES
   ========================================= */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   COMPONENTS
   ========================================= */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-main);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: var(--shadow-colored);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hover);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-main);
  border-radius: var(--radius-pill);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(170, 47, 132, 0.3);
  color: white;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(75, 27, 112, 0.05);
  color: var(--color-purple);
  border: 1px solid rgba(75, 27, 112, 0.1);
}

.btn-secondary:hover {
  background: rgba(75, 27, 112, 0.1);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--color-purple);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  background: white;
  color: var(--text-main);
}

/* =========================================
   LAYOUT SECTIONS
   ========================================= */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: var(--transition-main);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 72px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-main);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: var(--text-main);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: var(--bg-main);
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 100;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .navbar .btn {
    display: none;
  }

  /* Hamburger Animation */
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 100%;
  background: var(--gradient-soft);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px);
  z-index: 0;
  animation: morph 15s ease-in-out infinite;
}

@keyframes morph {

  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }

  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-right: 20px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Artistic interpretation of logo ribbon for hero */
.abstract-shape {
  width: 100%;
  height: 100%;
  position: relative;
}

.wave {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: float 8s ease-in-out infinite alternate;
}

.wave-1 {
  width: 350px;
  height: 350px;
  background: var(--gradient-main);
  top: 10%;
  right: 15%;
  opacity: 0.8;
  box-shadow: var(--shadow-colored);
}

.wave-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-yellow) 100%);
  bottom: 15%;
  left: 10%;
  opacity: 0.9;
  animation-delay: -4s;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  100% {
    transform: translateY(-30px) rotate(10deg) scale(1.05);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .abstract-shape {
    display: none;
  }

  .hero-visual {
    height: auto;
  }
}

/* Services Section */
.services {
  padding: var(--section-padding);
  background: var(--bg-main);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-main);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-main);
}

.service-card:hover .service-icon {
  background: rgba(170, 47, 132, 0.1);
}

/* About Section */
.about {
  padding: 0;
  /* padding handled by separators */
  background: var(--bg-alt);
  position: relative;
}

.about-separator svg,
.about-separator-bottom svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-separator svg path {
  fill: var(--bg-alt);
}

.about-separator {
  background: var(--bg-main);
}

.about-separator-bottom svg path {
  fill: var(--bg-main);
}

.about-separator-bottom {
  background: var(--bg-alt);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 24px;
}

.about-visual {
  position: relative;
}

.about-card-stack {
  position: relative;
  height: 320px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.about-card-back {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  border-radius: var(--radius-lg);
  opacity: 0.5;
  filter: blur(20px);
}

.about-card-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.about-logo {
  width: 100%;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}

.about-list {
  list-style: none;
  margin-top: 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
}

.bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-main);
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bullet::after {
  content: '';
  width: 8px;
  height: 4px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-visual {
    margin-bottom: 40px;
  }
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: var(--bg-alt);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item h3 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1;
}

.stat-item p {
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 0;
  font-weight: 500;
}

.stats-footer {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 40px;
}

.stats-footer p {
  color: var(--text-purple);
  font-size: 1.25rem;
  margin: 0;
}

/* Work Section (Typical Campaign) */
.work {
  padding: var(--section-padding);
  background: var(--bg-main);
}

.production-infographic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto 50px;
  gap: 20px;
}

@media (max-width: 900px) {
  .production-infographic {
    flex-direction: column;
  }

  .arrow-svg {
    transform: rotate(90deg);
  }
}

.info-step {
  background: var(--bg-alt);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  flex: 1;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.step-assets {
  flex: 1.5;
  background: white;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 10px 40px rgba(75, 27, 112, 0.08);
}

.step-assets::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-main);
}

.info-icon {
  margin-bottom: 20px;
}

.info-step h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.info-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-main);
}

.info-list strong {
  color: var(--color-purple);
  font-weight: 700;
}

.asset-grid-visual {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.fake-asset {
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
}

.fake-asset.var1 {
  width: 50px;
  height: 50px;
}

.fake-asset.var2 {
  width: 30px;
  height: 50px;
}

.fake-asset.var3 {
  width: 70px;
  height: 50px;
  background: linear-gradient(135deg, rgba(75, 27, 112, 0.1), rgba(170, 47, 132, 0.1));
}

.fake-asset.var4 {
  width: 60px;
  height: 30px;
}

.fake-asset.var5 {
  width: 40px;
  height: 40px;
}

.delivery-badge {
  background: var(--gradient-main);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(253, 185, 84, 0.4);
}

.production-summary {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-main);
  line-height: 1.6;
}

.info-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Capabilities Section */
.capabilities {
  padding: var(--section-padding);
  background: var(--bg-main);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.cap-item {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-main);
  text-align: center;
}

.cap-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cap-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-item h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.cap-item p {
  color: var(--text-purple);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Pricing Section */
.pricing {
  padding-bottom: 80px;
  background: var(--bg-alt);
}

.pricing-subtitle {
  font-size: 1.1rem;
  color: var(--text-purple);
  margin-top: 10px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  transition: var(--transition-main);
  z-index: 1;
}

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

.pricing-card.highlighted {
  border: 2px solid transparent;
  background-clip: padding-box;
  background: var(--text-main);
  color: white;
}

.pricing-card.highlighted::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  z-index: -1;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-main);
}

.pricing-card.highlighted h3,
.pricing-card.highlighted .price h4,
.pricing-card.highlighted .pricing-list li {
  color: white;
}

.pricing-card.highlighted .price-label,
.pricing-card.highlighted .price-unit {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card.highlighted .price {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.price {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.price h4 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-purple);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-main);
  font-size: 1.05rem;
}

.pricing-list li span {
  color: var(--color-orange);
  display: flex;
  align-items: center;
}

.pricing-example {
  background: var(--bg-main);
  max-width: 900px;
  margin: 0 auto 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.example-content {
  padding: 30px 40px;
  flex: 1;
}

.example-content h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-purple);
}

.example-content p {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main);
}

.example-price {
  display: flex;
  flex-direction: column;
}

.example-price span {
  font-size: 0.9rem;
  color: var(--text-purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.example-price h3 {
  font-size: 2rem;
  margin: 0;
  color: var(--color-orange);
}

.example-delivery {
  background: var(--text-main);
  color: white;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1rem;
}

.example-delivery strong {
  font-size: 1.3rem;
  color: var(--color-yellow);
  margin-top: 5px;
}

.pricing-note {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-purple);
}

@media (max-width: 768px) {
  .pricing-example {
    flex-direction: column;
  }
}

/* Partners Section */
.partners {
  padding: 0 0 80px;
  background: var(--bg-maint);
}

.partners-title {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin: 60px 40px;
  color: var(--text-purple);
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 80px;
  width: 100%;
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 80px;
  min-width: 100%;
  animation: scrollMarquee 30s linear infinite;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 80px));
  }
}

.marquee-container:hover .marquee-group {
  animation-play-state: paused;
}

.partner-wrap {
  aspect-ratio: 3 / 1;
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.filter-dark .partner-logo {
  filter: invert(1) brightness(0);
}

.partner-logo {
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.partner-logo:hover {
  opacity: 0.5;
}

/* CTA Section */
.cta {
  position: relative;
  background: var(--text-main);
  color: white;
}

.cta-wave {
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.cta-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.cta-content {
  background: var(--gradient-main);
  padding: 120px 0 120px;
  text-align: center;
  position: relative;
}

.cta h2 {
  color: white;
  margin-bottom: 24px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Footer */
.footer {
  background: var(--text-main);
  color: white;
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 60px;
  margin-bottom: 24px;
}

.footer-slogan {
  color: white;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0 0 16px 0;
  font-weight: 600;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 360px;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
}

.footer-nav h4,
.footer-contact h4 {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav a,
.footer-contact a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  transition: var(--transition-fast);
  margin-bottom: 12px;
  width: fit-content;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: white;
}

.footer-contact .contact-label {
  color: var(--color-orange);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-contact .contact-email,
.footer-contact .contact-phone {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 15px;
  }
}

/* Legal Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 750px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 1.5rem;
}

.modal-header .modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}

.modal-header .modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  color: var(--text-main);
}

.modal-body p {
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.7;
}

.modal-body h4 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.modal-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--text-main);
}

.modal-body a {
  color: var(--color-purple);
  text-decoration: underline;
}

.modal-body a:hover {
  color: var(--color-orange);
}

.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: flex-end;
}

.btn-close-modal {
  background: var(--bg-alt);
  color: var(--text-main);
  padding: 10px 24px;
}

.btn-close-modal:hover {
  background: #e2e8f0;
}

.body-no-scroll {
  overflow: hidden;
  padding-right: 15px;
  /* Prevent layout shift when scrollbar disappears */
}

@media (max-width: 600px) {
  .modal-container {
    max-height: 90vh;
  }

  .modal-body,
  .modal-header,
  .modal-footer {
    padding: 24px;
  }
}