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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #141b2d 100%);
  color: #e8eaed;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > *:not(footer) {
  flex-shrink: 0;
}

a {
  text-decoration: none;
  color: #2196f3;
}

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

/* Risk Warning Banner */
.risk-warning-banner {
  background: linear-gradient(90deg, rgba(255,193,7,0.15) 0%, rgba(255,152,0,0.15) 100%);
  border-bottom: 2px solid #ffa726;
  padding: 15px 5%;
  text-align: center;
  color: #ffb74d;
  font-size: 0.95rem;
  line-height: 1.5;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.risk-warning-banner strong {
  color: #ff9800;
  font-weight: 700;
}

/* Header Styles */
header {
  background: rgba(15, 20, 25, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(33, 150, 243, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(33, 150, 243, 0.2);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 5%;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #2196f3;
  text-align: center;
  text-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.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: 80px 5%;
  background: linear-gradient(135deg, #1a1f2e 0%, #141b2d 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(33,150,243,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2196f3 0%, #4caf50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  font-weight: 800;
}

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

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

.cta-primary {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: #fff;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(33, 150, 243, 0.6);
}

.cta-secondary {
  background-color: transparent;
  color: #2196f3;
  border: 2px solid #2196f3;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-secondary:hover {
  background-color: rgba(33, 150, 243, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.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;
  flex-direction: column;
  gap: 30px;
}

/* Trading Signal Cards */
.trading-signals {
  display: flex;
  gap: 15px;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.signal-card {
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  animation: signalPulse 2s ease-in-out infinite;
  border: 2px solid;
}

.signal-card.buy-signal {
  border-color: #4caf50;
  animation-delay: 0s;
}

.signal-card.sell-signal {
  border-color: #f44336;
  animation-delay: 0.7s;
}

.signal-card.neutral-signal {
  border-color: #ff9800;
  animation-delay: 1.4s;
}

.signal-icon {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.buy-signal .signal-icon {
  color: #4caf50;
}

.sell-signal .signal-icon {
  color: #f44336;
}

.neutral-signal .signal-icon {
  color: #ff9800;
}

.signal-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e8eaed;
  font-weight: 600;
  margin-bottom: 3px;
}

.signal-price {
  font-size: 0.9rem;
  font-weight: bold;
}

.buy-signal .signal-price {
  color: #4caf50;
}

.sell-signal .signal-price {
  color: #f44336;
}

.neutral-signal .signal-price {
  color: #ff9800;
}

@keyframes signalPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.6);
  }
}

/* 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: 60px 5%;
  background: linear-gradient(135deg, rgba(33,150,243,0.1) 0%, rgba(76,175,80,0.1) 100%);
  backdrop-filter: blur(10px);
  color: #e8eaed;
  text-align: center;
  border-top: 1px solid rgba(33, 150, 243, 0.2);
  border-bottom: 1px solid rgba(33, 150, 243, 0.2);
}

.stat-item {
  position: relative;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(33, 150, 243, 0.1);
  transform: scale(1.05);
}

.stat-item h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #2196f3;
  font-weight: 700;
}

.stat-item p {
  color: #b0b8c1;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 5%;
  text-align: center;
  background: linear-gradient(135deg, #1a1f2e 0%, #141b2d 100%);
}

.how-it-works h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #2196f3 0%, #4caf50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
}

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

.step {
  flex: 1;
  min-width: 250px;
  background: rgba(33, 150, 243, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.3);
  border-color: rgba(33, 150, 243, 0.5);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 5px 20px rgba(33, 150, 243, 0.5);
  border: 3px solid #141b2d;
}

.step h3 {
  margin: 30px 0 15px;
  color: #2196f3;
  font-size: 1.4rem;
  font-weight: 700;
}

.step p {
  color: #b0b8c1;
  line-height: 1.6;
}

/* Benefits Section */
.benefits {
  padding: 80px 5%;
  text-align: center;
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
}

.benefits h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #2196f3 0%, #4caf50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-weight: 800;
}

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

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

.benefit-card {
  background: rgba(33, 150, 243, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.3);
  border-color: rgba(33, 150, 243, 0.5);
  background: rgba(33, 150, 243, 0.08);
}

.benefit-card i {
  font-size: 2.5rem;
  color: #2196f3;
  margin-bottom: 20px;
}

.benefit-card:nth-child(even) i {
  color: #4caf50;
}

.benefit-card h3 {
  color: #2196f3;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.benefit-card p {
  color: #b0b8c1;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 5%;
  background: linear-gradient(135deg, #1a1f2e 0%, #141b2d 100%);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #2196f3 0%, #4caf50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 50px;
  font-weight: 800;
}

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

.testimonial {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: rgba(33, 150, 243, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.3);
  border-color: rgba(33, 150, 243, 0.5);
}

.testimonial-content {
  padding: 30px;
}

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

.testimonial-author {
  text-align: left;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: #2196f3;
  margin-bottom: 5px;
  font-weight: 700;
}

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

/* FAQ Section */
.faq {
  padding: 80px 5%;
  text-align: center;
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
}

.faq h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #2196f3 0%, #4caf50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 50px;
  font-weight: 800;
}

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

.faq-item {
  background: rgba(33, 150, 243, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.3);
  border-color: rgba(33, 150, 243, 0.5);
}

.faq-item h3 {
  color: #2196f3;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item p {
  color: #b0b8c1;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 100px 5%;
  text-align: center;
  background: linear-gradient(135deg, #1a1f2e 0%, #141b2d 100%);
  color: #e8eaed;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(33,150,243,0.1) 0%, transparent 70%);
  z-index: 0;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2196f3 0%, #4caf50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: #b0b8c1;
  position: relative;
  z-index: 1;
}

.cta-section .cta-primary {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  padding: 16px 40px;
}

.cta-section .cta-primary:hover {
  box-shadow: 0 12px 35px rgba(33, 150, 243, 0.6);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
  color: #e8eaed;
  padding: 60px 5% 30px;
  border-top: 1px solid rgba(33, 150, 243, 0.2);
  margin-top: auto;
}

.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;
  color: #2196f3;
  font-weight: 700;
}

.footer-column p {
  color: #8a92a0;
  line-height: 1.6;
}

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

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

.footer-column a {
  color: #b0b8c1;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #2196f3;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(33, 150, 243, 0.2);
  color: #8a92a0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.telegram-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(33, 150, 243, 0.6);
  color: #fff;
}

.telegram-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* 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;
  }
  
  /* Hide trading elements on tablet screens to prevent overflow */
  .trading-signals {
    display: none;
  }
}

@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 rgba(33, 150, 243, 0.2);
}

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