/* =========================
   GLOBAL STYLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #162447, #1f4068, #e43f5a);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-weight: 700;
}

p {
  margin: 15px 0;
}

/* =========================
   HEADER
========================= */
.header {
  background: linear-gradient(90deg, #0d0d14, #090a10);
  padding: 20px 40px;
  border-bottom: 1px solid #1f1f2e;
}

/* Nav wrapper */
.navwrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Branding */
.brand {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

/* Main nav */
.mainnav {
  display: flex;
  gap: 24px;
}

.mainnav a {
  color: #bbb;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.mainnav a:hover {
  color: #fff;
}

/* Ghost button */
.btn-ghost {
  padding: 8px 16px;
  border: 1px solid #ff4cbf;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 0.95rem;
}

.btn-ghost:hover {
  background-color: #ff4cbf;
  color: #0d0d14;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 15px 20px;
  }
  
  .header .mainnav {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  
  .header .btn-ghost {
    margin-top: 10px;
  }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
   padding: 150px 20px 60px 20px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.3);
  z-index:0;
}

.hero-inner {
  position: relative;
  z-index:1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ff758c, #ff7eb3);
  background-clip: text;           /* Standard property */
  -webkit-background-clip: text;   /* Vendor prefix for Safari/Chrome */
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1.2s ease forwards;
  color: transparent;              /* fallback */
}


.hero p {
  font-size: 1.2rem;
  margin:20px 0;
  animation: fadeInUp 1.5s ease forwards;
}

.hero .btn-primary {
  animation: fadeInUp 1.8s ease forwards;
  transform: translateY(20px);
  display:inline-block;
  padding:12px 30px;
  border-radius: 50px;
  background: linear-gradient(45deg, #ff758c, #ff7eb3);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255,117,140,0.5);
}

.hero .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255,117,140,0.7);
}

/* =========================
   CARDS / CONTENT SECTIONS
========================= */
.card {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  opacity:0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.card.visible {
  opacity:1;
  transform: translateY(0);
}

.card.alt {
  background: rgba(20,20,40,0.5);
}

.card h2 {
  font-size:2rem;
  margin-bottom:15px;
}

.card h3 {
  font-size:1.4rem;
  margin:12px 0;
}

.card ul, .card ol {
  padding-left: 20px;
}

.card ul li, .card ol li {
  margin-bottom:10px;
}

/* =========================
   CTA SECTION
========================= */
.cta {
  background: linear-gradient(135deg, #1f4068, #e43f5a);
  padding: 50px 20px;
  border-radius: 20px;
  text-align: center;
  margin:50px auto;
  max-width: 900px;
  animation: fadeInUp 2s ease forwards;
}

.cta h3 {
  font-size:2rem;
  margin-bottom:15px;
}

.cta p {
  font-size:1.2rem;
  margin-bottom:25px;
}

.cta .btn-primary.large {
  padding:15px 40px;
  font-size:1.1rem;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: rgba(0,0,0,0.6);
  padding:20px;
  text-align:center;
  backdrop-filter: blur(8px);
  color:#ccc;
  font-size:0.9rem;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeInUp {
  0% {opacity:0; transform:translateY(20px);}
  100% {opacity:1; transform:translateY(0);}
}

/* =========================
   REVEAL SCROLL
========================= */
.reveal {
  opacity:0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.reveal.visible {
  opacity:1;
  transform: translateY(0);
}
