* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  background: #050505;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 30px;
  background: #050505;
  border-bottom: 1px solid #1a1a1a;
  transition: all 0.2s ease;
}

.header.scrolled {
  padding: 8px 30px;
  background: #050505;
  border-bottom-color: #00ff66;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-logo span em {
  color: #00ff66;
  font-style: normal;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  color: #808080;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #ffffff;
}

.nav-menu a::after {
  display: none;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #00ff66;
  transition: all 0.2s;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 30px;
  background: #050505;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('tip.jpeg') center center / cover no-repeat;
  opacity: 0.08;
  filter: blur(2px);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.05;
}

.hero h1 span {
  color: #00ff66;
  display: block;
}

.hero p {
  font-size: 15px;
  margin-bottom: 30px;
  max-width: 500px;
  color: #ffffff;
  line-height: 1.5;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #00ff66 0%, #00cc52 100%);
  color: #000000;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.cta-btn .tg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.cta-btn:hover .tg-icon {
  transform: translateX(-3px) rotate(-10deg);
}

.cta-btn:hover {
  background: linear-gradient(135deg, #33ff85 0%, #00ff66 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 255, 102, 0.4);
}

/* Bottone header */
.nav-cta {
  padding: 10px 22px !important;
  background: linear-gradient(135deg, #00ff66 0%, #00cc52 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #33ff85 0%, #00ff66 100%) !important;
  color: #000000 !important;
}

.nav-cta::after {
  display: none !important;
}

/* Bottone fisso in basso */
.fixed-btn {
  padding: 18px 40px;
  font-size: 14px;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

/* ===== COUNTDOWN ===== */
.countdown-wrapper {
  background: rgba(0, 255, 102, 0.05);
  border: 2px solid #00ff66;
  padding: 25px 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.countdown-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 102, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.countdown-label {
  font-size: 12px;
  font-weight: 700;
  color: #00ff66;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
  position: relative;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  background: rgba(0, 255, 102, 0.1);
  padding: 10px 15px;
  border: 1px solid rgba(0, 255, 102, 0.3);
}

.countdown-item span {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.5);
}

.countdown-item small {
  font-size: 10px;
  color: #00ff66;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
  font-weight: 600;
}

.countdown-sep {
  font-size: 36px;
  font-weight: 300;
  color: #00ff66;
  margin: 0 5px;
  margin-bottom: 20px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

.countdown-cta {
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  margin: 0;
  position: relative;
}

@media (max-width: 480px) {
  .countdown-wrapper {
    padding: 15px 15px;
  }
  
  .countdown {
    gap: 5px;
  }
  
  .countdown-item {
    min-width: 50px;
    padding: 8px 10px;
  }
  
  .countdown-item span {
    font-size: 32px;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-dark {
  background: #0a0a0a;
}

.section-split {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.section-split.reverse {
  flex-direction: row-reverse;
}

.section-content {
  flex: 1;
  min-width: 280px;
}

.section-image {
  flex: 1;
  min-width: 280px;
}

.section-image img {
  width: 100%;
}

.section h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.section h2 span {
  color: #00ff66;
}

.section p {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
  line-height: 1.6;
}

.section p strong {
  color: #ffffff;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  margin: 25px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #ffffff;
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #00ff66;
  flex-shrink: 0;
}

/* ===== CARDS SECTION ===== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.card {
  background: #0a0a0a;
  padding: 30px 25px;
  border: 1px solid #1a1a1a;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: #00ff66;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: #00ff66;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.card p {
  font-size: 13px;
  color: #cccccc;
  line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: #050505;
  border-top: 1px solid #1a1a1a;
}

.cta-section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-section h2 span {
  color: #00ff66;
}

.cta-section p {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BOTTOM FIXED BAR ===== */
.bottom-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #050505;
  border-top: 1px solid #1a1a1a;
  padding: 15px 20px;
  text-align: center;
  z-index: 1000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #050505;
    flex-direction: column;
    padding: 25px 20px;
    gap: 20px;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.2s;
    border-bottom: 1px solid #1a1a1a;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .cards-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  
  .section-split {
    flex-direction: column !important;
    gap: 30px;
  }
  
  .hero {
    padding: 70px 20px 30px;
  }
  
  .hero-logo {
    width: 80px;
    height: 80px;
  }
  
  .header {
    padding: 10px 15px;
  }
  
  .nav-logo img {
    width: 32px;
    height: 32px;
  }
  
  .nav-logo span {
    font-size: 15px;
  }
  
  .countdown-item span {
    font-size: 28px;
  }
}

/* ===== EXTRA SPACING FOR FIXED BUTTON ===== */
body {
  padding-bottom: 70px;
}

html {
  scroll-behavior: smooth;
}
