/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* GLOBAL */
html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: #e2e8f0;
  background: #020617; /* clean solid background */
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: rgba(2,6,23,0.85);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56,189,248,0.1);
}

header h1 {
  color: #38bdf8;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

nav a {
  margin-left: 28px;
  text-decoration: none;   /* THIS removes default underline */
  color: #cbd5f5;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
}

a, button {
  transition: all 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;   /* hidden by default */
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition: width 0.3s ease;
}

nav a:hover {
  color: white;
}

nav a:hover::after {
  width: 100%;
}

/* HERO (FIXED) */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* fallback if JS fails */
.slide:first-child {
  opacity: 1;
}

.slide.active {
  opacity: 1;
}

/* overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6),
    rgba(2,6,23,0.9)
  );
}

/* text */
.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);

  /* NEW */
  background: rgba(2,6,23,0.4);
  padding: 20px 30px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.hero-content h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.tagline {
  font-size: 1.1rem;
  margin-top: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;

  color: #e2e8f0;

  /* NEW */
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* SECTION */
.section {
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-light {
  background: #020617;
}

.section-dark {
  background: #020617;
  border-top: 1px solid rgba(56,189,248,0.08);
  border-bottom: 1px solid rgba(56,189,248,0.08);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

h2, h3 {
  margin-bottom: 12px;
}

p {
  margin-bottom: 10px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #38bdf8,
    #22c55e,
    transparent
  );
  margin: 25px 0 40px 0;
}

.section p {
  max-width: 700px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.premium-cards {
  margin-top: 35px;
}

.premium-card {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(56,189,248,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(56,189,248,0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56,189,248,0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.premium-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: #38bdf8;
}

.premium-card p {
  color: #cbd5f5;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ABOUT */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #cbd5f5;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* ABOUT BLOCK */
.about-block {
  background: #0f172a;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid #1e293b;
}

.about-block p {
  margin-bottom: 18px;
  line-height: 1.8;
}

/* SPLIT */
.split-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.split-text {
  flex: 1;
  min-width: 300px;
}

.split-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.split-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: 0.3s ease;
}

.split-image img:hover {
  transform: scale(1.03);
}

/* BUTTON */
a.download-btn {
  display: inline-block;
  margin-top: 15px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  padding: 12px 22px;
  border-radius: 8px;
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

a.download-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* COOKIE */
.cookie-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 360px;
  background: #0f172a;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 999;
}

.cookie-box p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.cookie-buttons button {
  margin: 5px 5px 0 0;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.cookie-buttons button:first-child {
  background: #22c55e;
  color: white;
}

.cookie-buttons button:nth-child(2) {
  background: #ef4444;
  color: white;
}

.cookie-buttons button:nth-child(3) {
  background: #38bdf8;
  color: white;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #020617;
  color: #64748b;
}

/* FADE-IN ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
  margin-left: 28px;
  padding-bottom: 8px;
}

.dropdown-toggle {
  color: #cbd5f5;
  cursor: pointer;
  font-size: 0.95rem;
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;   /* attach directly below */
  left: 0;
  background: #0f172a;
  border: 1px solid rgba(56,189,248,0.1);
  border-radius: 8px;
  padding: 10px 0;
  display: none;
  min-width: 220px;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: rgba(56,189,248,0.1);
  color: white;
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-toggle {
  margin-left: 28px;
  text-decoration: none;
  color: #cbd5f5;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 10px;
}

.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition: width 0.3s ease;
}

.dropdown-toggle:hover::after {
  width: 100%;
}