/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e8f7e8; /* Light green background */
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #007c36; /* Darker green for links */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: #00b341; /* Change to bright green for better visibility */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: center; /* Center the logo now that nav links are gone */
  align-items: center;
  padding: 15px 5%;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: white; /* Change to white for better contrast */
  text-align: center;
}

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

.nav-links a {
  font-weight: 500;
}

.sign-in-btn {
  background-color: #00b341; /* Bright green */
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.sign-in-btn:hover {
  background-color: #009735;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  display: flex;
  padding: 60px 5%;
  background: linear-gradient(135deg, #e8f7e8 0%, #c6f6c6 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 230, 0, 0.1); /* Yellow accent */
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 100px;
  width: 300px;
  height: 300px;
  background-color: rgba(0, 179, 65, 0.05); /* Green accent */
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  flex: 1;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #007c36; /* Dark green */
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #444;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.cta-primary {
  background-color: #ffcc00; /* Bright yellow */
  color: #333;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
  border-color: rgba(0, 0, 0, 0);
}

.cta-primary:hover {
  background-color: #ffdb4d;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.cta-secondary {
  background-color: transparent;
  color: #00b341; /* Bright green */
  border: 2px solid #00b341;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background-color: rgba(0, 179, 65, 0.1);
  transform: translateY(-3px);
}

.promotion-timer {
  margin-top: 20px;
}

.promotion-timer p {
  font-weight: 600;
  color: #007c36;
  margin-bottom: 10px;
}

.countdown {
  display: flex;
  gap: 15px;
}

.time-block {
  background-color: #00b341; /* Bright green */
  color: white;
  padding: 10px;
  border-radius: 8px;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 179, 65, 0.3);
}

.time-block span {
  display: block;
}

.time-block span:first-child {
  font-size: 1.8rem;
  font-weight: 700;
}

.time-label {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Hero Animation */
.hero-animation {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: relative;
}

/* Norwegian Flag */
.norwegian-flag {
  position: absolute;
  width: 160px;
  height: 160px;
  background: none;
  font-size: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  top: 15%;
  right: calc(50% + 120px);
  z-index: 3;
  animation: pulse 2s infinite;
  overflow: visible;
}

.norwegian-flag::after {
  content: 'Kun for Norge';
  display: block;
  background-color: #00b341; /* Зеленый фон для надписи */
  color: white;
  text-align: center;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background-color: transparent;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  border: 10px solid #222;
  z-index: 2;
}

.tiktok-scroll {
  height: calc(100% - 70px);
  overflow: hidden;
  position: relative;
  background-color: #000;
}

.tiktok-video {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.tiktok-video.active {
  opacity: 1;
  z-index: 2;
}

.video-info {
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.video-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.video-info p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.video-actions {
  display: flex;
  gap: 20px;
}

.video-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.video-action i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.earnings-counter {
  height: 70px;
  background-color: #00b341; /* Bright green */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Stats Banner */
.stats-banner {
  display: flex;
  justify-content: space-around;
  padding: 40px 5%;
  background-color: #00b341; /* Bright green */
  color: white;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 5%;
  text-align: center;
  background-color: #f0faf0; /* Very light green */
}

.how-it-works h2 {
  font-size: 2.2rem;
  color: #007c36;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.step {
  flex: 1;
  min-width: 250px;
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #ffcc00; /* Bright yellow */
  color: #333;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.step h3 {
  margin: 20px 0;
  color: #007c36;
}

/* Benefits Section */
.benefits {
  padding: 80px 5%;
  text-align: center;
}

.benefits h2 {
  font-size: 2.2rem;
  color: #007c36;
  margin-bottom: 20px;
}

.benefits > p {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
  font-size: 2.5rem;
  color: #00b341; /* Bright green */
  margin-bottom: 20px;
}

.benefit-card:nth-child(even) i {
  color: #ffcc00; /* Bright yellow */
}

.benefit-card h3 {
  margin-bottom: 15px;
  color: #007c36;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 5%;
  background-color: #f0faf0; /* Very light green */
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  color: #007c36;
  margin-bottom: 50px;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  padding: 30px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  text-align: left;
  /* border-top: 1px solid #eee; */
  /* padding-top: 20px; */
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: #007c36;
  margin-bottom: 5px;
}

.testimonial-author p {
  font-style: normal;
  font-size: 0.9rem;
  margin: 0;
}

/* FAQ Section */
.faq {
  padding: 80px 5%;
  text-align: center;
}

.faq h2 {
  font-size: 2.2rem;
  color: #007c36;
  margin-bottom: 50px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.faq-item {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: #007c36;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 5%;
  text-align: center;
  background-color: #00b341; /* Bright green */
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

.cta-section .cta-primary {
  background-color: #ffcc00; /* Bright yellow */
  color: #333;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-primary:hover {
  background-color: #ffdb4d;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background-color: #007c36; /* Dark green */
  color: white;
  padding: 60px 5% 30px;
}

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

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation for the flipping TikTok videos */
@keyframes flipVideo {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  5% {
    transform: translateY(0);
    opacity: 1;
  }
  95% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
  }

  .hero-content {
    margin-bottom: 50px;
    text-align: center;
    max-width: 100%;
  }

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

  .countdown {
    justify-content: center;
  }

  .norwegian-flag {
    top: auto;
    bottom: 65%;
    right: auto;
    left: 65%;
    width: 140px;
    height: 140px;
  }

  .norwegian-flag::after {
    bottom: -40px;
    font-size: 14px;
  }
}

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

  .logo {
    margin-bottom: 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .stats-banner {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .countdown {
    flex-wrap: wrap;
    justify-content: center;
  }

  .phone-mockup {
    width: 280px;
    height: 500px;
  }

  .norwegian-flag {
    width: 120px;
    height: 120px;
    left: 60%;
    bottom: 70%;
  }

  .norwegian-flag::after {
    font-size: 12px;
    padding: 6px 10px;
    bottom: -35px;
  }
}
.user-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
