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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #323544;
  background: #fafafa;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

/* CSS Variables */
:root {
  --color-primary: #323544;
  --color-accent: #c6eb08;
  --color-white: #ffffff;
  --color-light-bg: #fafafa;
  --color-text-muted: rgba(50, 53, 68, 0.5);
  --color-glass: rgba(255, 255, 255, 0.25);
  --transition: 0.3s ease;
  --border-radius: 25px;
  --border-radius-btn: 100px;
}

/* Container */
.container {
  max-width: 1660px;
  margin: 0 auto;
  padding: 0 140px;
}

@media (max-width: 1440px) {
  .container {
    padding: 0 80px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Header */
.header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 280px);
  max-width: 1600px;
  z-index: 1000;
  transition: var(--transition);
}

.header__container {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-btn);
  padding: 1rem 1rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  transition: all var(--transition);
}

.header.scrolled .header__container {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header.scrolled .logo__text strong,
.header.scrolled .logo__text--light {
  color: var(--color-primary);
}

.header.scrolled .nav__link {
  color: var(--color-text-muted);
}

.header:not(.scrolled) .logo__text strong,
.header:not(.scrolled) .logo__text--light {
  color: var(--color-white);
}

.header:not(.scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.7);
}

.header:not(.scrolled) .nav__link:hover {
  color: var(--color-white);
}

.header:not(.scrolled) .hamburger span {
  background: var(--color-white);
}

.header.scrolled .logo__icon {
  background-image: url('../img/logo-dark.svg');
}

.header:not(.scrolled) .logo__icon {
  background-image: url('../img/logo.svg');
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.5rem;
  font-weight: 500;
}

.logo__icon {
  width: 28px;
  height: 23px;
  background: url('../img/logo-dark.svg') center center/contain no-repeat;
  position: relative;
}

.logo__icon--footer {
  background: url('../img/logo-dark.svg') center center/contain no-repeat;
}

.logo__text strong {
  color: var(--color-primary);
}

.logo__text--light {
  color: var(--color-text-muted);
}

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

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

@media (max-width: 1066px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .header {
    width: calc(100% - 40px);
  }
  
  .header__container {
    padding: 1rem;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  transform: translateX(-100%);
  transition: transform var(--transition);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 8rem 2rem 2rem;
}

.mobile-menu.visible {
  transform: translateX(0);
}

/* Когда мобильное меню открыто - всегда тёмный лого */
.header.menu-open .logo__icon {
  background-image: url('../img/logo-dark.svg') !important;
}

.header.menu-open .logo__text strong,
.header.menu-open .logo__text--light {
  color: var(--color-primary) !important;
}

.header.menu-open .hamburger span {
  background: var(--color-primary) !important;
}

.header.menu-open .header__container {
  background: var(--color-white) !important;
}

.mobile-menu__link {
  padding: 1rem;
  font-size: 1.2rem;
  color: var(--color-primary);
  display: block;
}

.mobile-menu__btn {
  margin-top: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-btn);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--header {
  padding: 0.9375rem 1.25rem;
}

.btn--glass {
  background: var(--color-glass);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-glass);
  color: var(--color-white);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.35);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 235, 8, 0.4);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-white);
}

.btn--white:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .btn {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
  
  .btn--header {
    display: none;
  }
}

/* Hero Section */
.hero {
  min-height: 905px;
  background: url('../img/hero_back.jpg') center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 140px;
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__title {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-white);
}

.hero__subtitle {
  font-size: 1rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.hero__divider {
  width: 100%;
  max-width: 559px;
  height: 1px;
  margin: 0 auto;
  opacity: 0.3;
}

.hero__buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  max-width: 170px;
}

.feature-badge__icon {
  width: 55px;
  height: 55px;
  background: var(--color-glass);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-glass);
  border-radius: 100px;
  padding: 15px;
  object-fit: contain;
}

.feature-badge__divider {
  width: 1px;
  height: 55px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 8rem 1rem 4rem;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__divider {
    width: 100%;
  }
  
  .hero__features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .feature-badge__divider {
    display: none;
  }
}

/* Section */
.section {
  padding: 6.25rem 0;
}

.section--light {
  background: var(--color-light-bg);
}

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

.section--dark {
  position: relative;
  color: var(--color-white);
}

#assessment.section--dark {
  background: url(../img/assessment_back.jpg) center center / cover no-repeat;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(33, 34, 40, 0.75);
  z-index: 1;
}

.section--dark .container {
  position: relative;
  z-index: 2;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__tag {
  display: inline-block;
  padding: 0.9375rem 1.875rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-btn);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section__tag--glass {
  background: var(--color-glass);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-glass);
  color: var(--color-white);
}

.section__tag--glass-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.section__title {
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section__title--white {
  color: var(--color-white);
}

.section__description {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 auto;
}

.section__description--white {
  color: rgba(255, 255, 255, 0.5);
}

.section__cta {
  text-align: center;
  margin-top: 2rem;
}

.cta__note {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .section__title {
    font-size: 1.5rem;
  }
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 4.6875rem;
}

.value-card__icon {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  padding: 15px;
  object-fit: contain;
}

.value-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.9375rem;
}

.value-card__text {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* Outcomes Layout */
.outcomes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.outcomes-image {
  background: url('../img/outcomes_photo.jpg') center center/cover no-repeat;
  border-radius: var(--border-radius);
  min-height: 915px;
}

.outcomes-list {
  display: flex;
  flex-direction: column;
}

.outcome-item {
  display: flex;
  gap: 1.5625rem;
  align-items: flex-end;
  padding: 1.875rem;
  border-bottom: 1px solid rgba(50, 53, 68, 0.1);
  background: var(--color-white);
}

.outcome-item__icon {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  flex-shrink: 0;
  padding: 15px;
  object-fit: contain;
}

.outcome-item__content h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.9375rem;
}

.outcome-item__content p {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .outcomes-layout {
    grid-template-columns: 1fr;
  }
  
  .outcomes-image {
    min-height: 400px;
  }
}

/* Assessment Features */
.assessment-features {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.assessment-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 340px;
  text-align: center;
}

.assessment-feature__icon {
  width: 80px;
  height: 80px;
  background: var(--color-glass);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-glass);
  border-radius: 100px;
  padding: 15px;
  object-fit: contain;
}

.assessment-feature p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.service-card__icon {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  padding: 15px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
}

.service-card p {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--color-text-muted);
}

.service-card__divider {
  width: 100%;
  height: 1px;
  opacity: 0.1;
  background: #000;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--color-text-muted);
}

.service-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* How It Works Grid */
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.how-step {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 2.1875rem;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.how-step h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
}

.how-step p {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--color-text-muted);
}

.how-step__details {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--color-primary);
}

.how-image {
  background: url('../img/how_it_works_photo.jpg') center center/cover no-repeat;
  border-radius: var(--border-radius);
  min-height: 450px;
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 2.1875rem;
  display: flex;
  gap: 1.5625rem;
  align-items: center;
}

.why-item__icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
}

.why-item__content h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.9375rem;
}

.why-item__content p {
  font-size: 1rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Layout */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.faq-image {
  background: url('../img/faq_photo.jpg') center center/cover no-repeat;
  border-radius: var(--border-radius);
  height: 700px;
}

#cta-final.section--dark {
  background: url('../img/cta_back.jpg') center center/cover no-repeat;
}

@media (min-width: 769px) {
  .faq-image {
    position: sticky;
    top: 120px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(50, 53, 68, 0.1);
  background: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  background: var(--color-light-bg);
}

.faq-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.875rem;
}

.faq-item__question {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
}

.faq-item__icon {
  width: 25px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform var(--transition);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.875rem;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
  padding: 0 1.875rem 1.875rem;
}

.faq-item__answer p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  
  .faq-image {
    height: 260px;
  }
}

/* Footer */
.footer {
  background: var(--color-white);
  padding: 4.6875rem 140px;
}

.footer__container {
  max-width: 1160px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5625rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer__description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 714px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  opacity: 0.1;
  margin: 3rem 0;
  background: #000;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.footer__column h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
}

.footer__column a {
  font-size: 1rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__column a:hover {
  color: var(--color-primary);
}

.footer__legal {
  font-size: 0.875rem;
  line-height: 1.25;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1rem;
  }
  
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .footer__links {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ========================================
   INTERNAL PAGES STYLES (Contact, Login, Unsubscribe)
   ======================================== */

/* Contact Page Hero */
.contact-hero {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, rgba(50, 53, 68, 0.2) 0%, rgba(50, 53, 68, 0.1) 100%), 
              url('../img/contact.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16rem 2rem 4rem;
  margin-top: -90px;
}

.contact-hero__content {
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
}

.contact-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.contact-hero__info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-hero__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-align: left;
}

.contact-hero__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-hero__icon svg,
.contact-hero__icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Contact Form Section */
.contact-form-wrapper {
  max-width: 750px;
  margin: 0px auto 4rem;
  position: relative;
  z-index: 10;
  padding: 2rem;
}

.contact-form-card {
  background: #4e5565;
  border-radius: 25px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  grid-column: 1 / -1;
  margin-bottom: 2rem;
}

.form-label {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9375rem 1.125rem;
  background: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(198, 235, 8, 0.4);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.form-consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.form-consent label {
  flex: 1;
  cursor: pointer;
}

.form-consent a {
  color: var(--color-accent);
  text-decoration: underline;
}

.form-consent a:hover {
  color: #a3d806;
}

.form-submit {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: var(--border-radius-btn);
  padding: 1rem 3.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin: 2.5rem auto 0;
}

.form-submit:hover {
  background: #a3d806;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 235, 8, 0.4);
}

.form-submit:active {
  transform: translateY(0);
}

/* Login Page */
.login-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(50, 53, 68, 0.2) 0%, rgba(50, 53, 68, 0.1) 100%),
              url('../img/login.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13rem 2rem 6rem 2rem;
}

.login-card {
  background: rgba(255, 255, 255, 0.1);
  border: solid 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 3.5rem 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.login-card__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.login-card__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.login-form .form-field {
  text-align: left;
  margin-bottom: 1.5rem;
}

.login-error {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b7a;
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  display: none;
}

.login-error.is-visible {
  display: block;
}

/* Unsubscribe Page */
.unsubscribe-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(50, 53, 68, 0.2) 0%, rgba(50, 53, 68, 0.1) 100%),
              url('../img/login.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13rem 2rem 6rem 2rem;
}

.unsubscribe-card {
  background: rgba(255, 255, 255, 0.1);
  border: solid 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 3.5rem 2.5rem;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.unsubscribe-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-btn);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.unsubscribe-card__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.unsubscribe-card__lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.email-field {
  position: relative;
  margin-bottom: 2rem;
}

.email-field__icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #999;
  pointer-events: none;
}

.email-field__input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.5rem;
  background: var(--color-white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: all 0.2s ease;
}

.email-field__input:focus {
  box-shadow: 0 0 0 3px rgba(198, 235, 8, 0.4);
}

.unsubscribe-fineprint {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 1.5rem;
}

/* Success State */
.success-state {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--color-accent);
}

.success-state__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.success-state__message {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.success-state__message a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Mobile Responsive for Internal Pages */
@media screen and (max-width: 768px) {
  .unsubscribe-hero {
  padding: 9rem 1rem 3rem 1rem;
}
  .login-hero {
  padding: 9rem 1rem 3rem 1rem;
}
  .contact-hero {
    min-height: 400px;
    padding: 17rem 1.5rem 3rem;
  }
  
  .contact-hero__title {
    font-size: 2rem;
  }
  
  .contact-hero__info {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-form-card {
    padding: 1rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .login-card,
  .unsubscribe-card {
    padding: 2.5rem 1.5rem;
  }
  
  .login-card__title,
  .unsubscribe-card__title {
    font-size: 1.75rem;
  }
  
  .form-submit {
    width: 100%;
    padding: 1rem 2rem;
  }
}

/* ========================================
   LEGAL PAGES (Privacy Policy, Terms)
   ======================================== */

/* Legal Hero */
.legal-hero {
  position: relative;
  min-height: 400px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a2d3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16rem 2rem 4rem;
  margin-top: -90px;
}

.legal-hero__content {
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
}

.legal-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.legal-hero__updated {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 500;
}

.legal-hero__updated strong {
  color: var(--color-white);
}

/* Legal Content */
.legal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(50, 53, 68, 0.1);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}

.legal-content strong {
  font-weight: 600;
  color: var(--color-primary);
}

.legal-content a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  transition: color var(--transition);
}

.legal-content a:hover {
  color: #a3d806;
}

.legal-content ul,
.legal-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-content ul li,
.legal-content ol li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  position: relative;
}

.legal-content ul li::marker {
  color: var(--color-accent);
}

.legal-content ol li::marker {
  color: var(--color-accent);
  font-weight: 600;
}

/* Legal Mobile */
@media screen and (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1rem;
}
  .legal-hero {
    min-height: 320px;
    padding: 16rem 1.5rem 3rem;
  }
  
  .legal-hero__title {
    font-size: 2rem;
  }
  
  .legal-hero__updated {
    font-size: 0.9375rem;
  }
  
  .legal-content {
    padding: 3rem 1.5rem;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
  }
  
  .legal-content h3 {
    font-size: 1.125rem;
  }
  
  .legal-content p,
  .legal-content li {
    font-size: 0.9375rem;
  }
}
