:root {
  --bg: #ffffff;
  --text: #1f2430;
  --muted: #6b7280;
  --line: #eef0f3;
  --primary: #ff5b6a;
  --primary-600: #ff3f55;
  --primary-50: #fff5f6;
  --dark: #16181d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Inter,
    Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 0;
}
.container-main {
  background: url("../img/background.png");
  background-size: 100% 100%;
}
/* header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  color: #ff5b6a;
}

.main-nav a.active {
  color: #ff5b6a;
  font-weight: 600;
}

/* SIGN UP button specific styles */
.main-nav .btn.btn-dark {
  color: #fff;
  background: #000;
  border: 1px solid #000;
  margin-left: 16px;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.main-nav .btn.btn-dark:hover {
  color: #fff;
  background: #000;
  opacity: 0.9;
  transform: none;
}

/* Add underline for active navigation links, but not for buttons */
.main-nav > a:not(.btn).active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ff5b6a;
  border-radius: 2px 2px 0 0;
}

.main-nav .btn {
  margin-left: 16px;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  line-height: 3;
  width: 160px;
  height: 60px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: #e40b0b;
  border: 1px solid #e40b0b;
}

.btn-dark {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.btn-dark:hover {
  background: #000;
  color: #fff;
  transform: none;
}

.section {
  position: relative;
  padding: 80px 0;
}

.section-title {
  margin: 0 0 180px;
  font-size: 28px;
  line-height: 1.25;
  text-align: center;
}

.section-sub {
  margin: -6px 0 26px;
  color: var(--muted);
  text-align: center;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(31, 36, 48, 0.05);
}

.grid {
  display: grid;
  gap: 24px;
}

.footer {
  background: #3a3a3a;
  color: #fff;
  padding: 0;
  margin-top: 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 220px;
  height: auto;
}

.footer-copyright {
  margin: 0;
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}

.footer-right {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.social-item svg {
  flex-shrink: 0;
}

.social-item:hover {
  opacity: 0.7;
}

.cta-bar {
  width: 70%;
  margin-left: auto;
  justify-content: flex-start;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 80px 97px;
  -webkit-box-shadow: 0 0 20px 0 hsla(0, 0%, 43.9%, 0.2);
  box-shadow: 0 0 20px 0 hsla(0, 0%, 43.9%, 0.2);
  border-bottom-left-radius: 100px;
  background-color: #fff;
  transform: translateY(-50px);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-direction: row-reverse;
}

.cta-inner a {
  display: flex;
  width: 190px;
  height: 48px;
  line-height: 48px;
  border: 1px solid #dc1f27;
  font-size: 21px;
  color: #dc1f27;
  justify-content: center;
  margin-right: 97px;
  text-decoration: none;
}

.cta-inner span {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  line-height: 1.3;
  flex: 1;
}

@media (max-width: 1024px) {
  .header-inner {
    height: 56px;
  }

  .section {
    padding: 60px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 50px;
    padding: 60px 24px 50px;
  }

  .footer-right {
    gap: 60px;
    width: 100%;
  }

  .cta-inner span {
    font-size: 20px;
  }

  .cta-bar {
    width: 85%;
    padding: 50px 60px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    gap: 12px;
  }

  .footer-content {
    padding: 50px 20px 40px;
  }

  .footer-logo {
    width: 180px;
  }

  .footer-right {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav,
  .footer-social {
    gap: 16px;
  }

  .footer-nav a,
  .social-item {
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 12px;
  }
}

@media screen and (max-width: 640px) {
  .cta-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }

  .cta-inner span {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .cta-bar {
    width: 90%;
    padding: 40px 30px;
    border-bottom-left-radius: 60px;
    transform: translateY(-30px);
  }
}
