/* 
* Northern Insight Media - Main Stylesheet
* Colors:
* - Primary Background: #2E134D (dark purple)
* - Secondary Background: #3E6FF5 (ultramarine)
* - Accent: #B6FF4C (neon lime)
* - Text: #F3F3F3 (light gray)
* - Buttons: gradient lime -> purple
*/

/* === RESET & BASE STYLES === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px = 1rem for easier calculations */
}

body {
  font-family: 'Arial', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #F3F3F3;
  background-color: #2E134D;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
  position: relative;
  padding-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8rem;
  height: 0.4rem;
  background: #B6FF4C;
  border-radius: 0.2rem;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h2 {
  display: inline-block;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(90deg, #B6FF4C, #3E6FF5);
  color: #2E134D;
  box-shadow: 0 0.4rem 1.5rem rgba(182, 255, 76, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #3E6FF5, #B6FF4C);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.8rem 2rem rgba(182, 255, 76, 0.4);
}

.btn--secondary {
  background: transparent;
  border: 0.2rem solid #B6FF4C;
  color: #B6FF4C;
}

.btn--secondary:hover {
  background: #B6FF4C;
  color: #2E134D;
}

/* === HEADER === */
.header {
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(46, 19, 77, 0.9);
  backdrop-filter: blur(1rem);
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.2);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 4rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-weight: 600;
  padding: 0.5rem 1rem;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0.2rem;
  background: #B6FF4C;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background: #B6FF4C;
  color: #2E134D;
  padding: 0.8rem 1.5rem;
  border-radius: 3rem;
}

.nav__link--cta:hover {
  background: #a1e636;
  transform: translateY(-0.2rem);
}

.nav__link--cta::after {
  display: none;
}

/* === COOKIE POPUP === */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 1000;
  background: #3E6FF5;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
  padding: 2rem;
  max-width: 50rem;
  margin: 0 auto;
}

.cookie-popup__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.cookie-popup__text {
  flex: 1;
  margin-bottom: 0;
}

.cookie-popup__btn {
  min-width: 170px;
}

/* === HERO SECTION === */
.hero {
  padding: 15rem 0 10rem;
  background: linear-gradient(135deg, #2E134D 0%, #3E6FF5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 255, 76, 0.2) 0%, rgba(182, 255, 76, 0) 70%);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: 5.6rem;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero__title span {
  color: #B6FF4C;
  display: block;
}

.hero__subtitle {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: rgba(243, 243, 243, 0.9);
}

.hero__buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__image {
  flex: 1;
  max-width: 50rem;
  position: relative;
}

.hero__image img {
  border-radius: 1rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.4);
  transform: perspective(100rem) rotateY(-15deg);
  transition: all 0.5s ease;
}

.hero__image:hover img {
  transform: perspective(100rem) rotateY(0);
}

/* === SECTIONS === */
.section {
  padding: 10rem 0;
}

.section--alt {
  background-color: #3E6FF5;
}

/* === ABOUT SECTION === */
.about__inner {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about__image {
  flex: 1;
  position: relative;
}

.about__image img {
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.about__image::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 100%;
  height: 100%;
  border: 0.3rem solid #B6FF4C;
  border-radius: 1rem;
  z-index: -1;
}

.about__content {
  flex: 1;
}

/* === SERVICES SECTION === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 3rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: #B6FF4C;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  height: 100%;
  opacity: 0.1;
}

.service-card__title {
  margin-bottom: 1.5rem;
  color: #B6FF4C;
}

.service-card__price {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #F3F3F3;
}

.service-card__price span {
  font-size: 1.6rem;
  opacity: 0.7;
}

.service-card__features {
  margin-bottom: 2.5rem;
}

.service-card__feature {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.service-card__feature::before {
  content: '✓';
  margin-right: 1rem;
  color: #B6FF4C;
  font-weight: 700;
}

/* === ADVANTAGES SECTION === */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
}

.advantage-card {
  text-align: center;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-1rem);
}

.advantage-card__icon {
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 255, 76, 0.1);
  border-radius: 50%;
  margin: 0 auto 2rem;
  font-size: 3.6rem;
  color: #B6FF4C;
}

.advantage-card__title {
  margin-bottom: 1.5rem;
}

/* === REVIEWS SECTION === */
.reviews__inner {
  position: relative;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 3rem;
  position: relative;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.review-card__quote {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.review-card__quote::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  color: rgba(182, 255, 76, 0.2);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.review-card__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 0.2rem solid #B6FF4C;
}

.review-card__name {
  font-weight: 700;
  font-size: 1.8rem;
}

.review-card__position {
  font-size: 1.4rem;
  opacity: 0.7;
}

/* === FAQ SECTION === */
.faq__list {
  max-width: 80rem;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.faq-item__question {
  padding: 2rem;
  cursor: pointer;
  position: relative;
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::after {
  content: '+';
  font-size: 2.4rem;
  color: #B6FF4C;
}

.faq-item__answer {
  padding: 0 2rem 2rem;
}

/* === FORM SECTION === */
.form-section {
  background: linear-gradient(135deg, #3E6FF5 0%, #2E134D 100%);
  padding: 8rem 0;
  border-radius: 1rem;
  margin: 5rem 0;
}

.form {
  max-width: 45rem;
  margin: 0 auto;
  padding: 15px;
}

.form__group {
  margin-bottom: 2rem;
}

.form__label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.form__input,
.form__select {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: #F3F3F3;
  color: #333;
  font-size: 1.6rem;
}

.form__input:focus,
.form__select:focus {
  outline: 0.2rem solid #B6FF4C;
}

.form__checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form__checkbox {
  width: 2rem;
  height: 2rem;
  margin-top: 0.2rem;
}

.form__checkbox-label {
  font-size: 1.4rem;
}

.form__checkbox-label a {
  color: #B6FF4C;
  text-decoration: underline;
}

.form__submit {
  width: 100%;
  margin-top: 2rem;
}

/* === FORM ERROR === */
.form__error {
  background: rgba(255, 0, 0, 0.1);
  border-left: 4px solid #ff3333;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

.form__error p {
  color: #ffffff;
  margin-bottom: 0;
  font-weight: 600;
}

/* === FORM STATUS === */
.form__status {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

.form__status--info {
  background: rgba(62, 111, 245, 0.1);
  border-left: 4px solid #3E6FF5;
  color: #ffffff;
}

.form__status--success {
  background: rgba(182, 255, 76, 0.1);
  border-left: 4px solid #B6FF4C;
  color: #B6FF4C;
}

.form__status p {
  margin-bottom: 0;
  font-weight: 600;
}

/* === FOOTER === */
.footer {
  background: #1e0d33;
  padding: 8rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer__title {
  color: #B6FF4C;
  margin-bottom: 2rem;
}

.footer__text {
  color: rgba(243, 243, 243, 0.7);
}

.footer__contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.footer__contact-label {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer__contact-link:hover {
  color: #B6FF4C;
}

.footer__legal-item {
  margin-bottom: 1rem;
}

.footer__legal-link:hover {
  color: #B6FF4C;
  padding-left: 0.5rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 0.1rem solid rgba(243, 243, 243, 0.1);
  text-align: center;
}

.footer__copyright {
  font-size: 1.4rem;
  color: rgba(243, 243, 243, 0.5);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
  html {
    font-size: 56.25%; /* 9px = 1rem */
  }
  
  .hero__inner,
  .about__inner {
    flex-direction: column;
  }
  
  .hero__image,
  .about__image {
    order: -1;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%; /* 8px = 1rem */
  }
  
  .header__inner {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav__list {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .services__grid,
  .advantages__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-popup__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 4.2rem;
  }
  
  .hero__buttons {
    flex-direction: column;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
  }
} 