:root {
  --primary: #0a2540;
  --accent: #0fb9b1;
  --light: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background:linear-gradient(135deg, #f8fafc, #c3ddff);
  color: var(--primary);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

h1, h2, h3 {
  font-weight: 700;
}

p {
  color: var(--muted);
}


/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 22px;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.05)
  );

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(201, 201, 201, 0.35);

  transition: all 0.35s ease;
}

.site-header.scrolled .header-inner {
  backdrop-filter: blur(30px);
}

/* LOGO */
.logo {
  font-size: 1.4rem;
  font-weight: 700;
}

.logo .apex {
  color: rgb(81, 87, 239);
}

.logo .finish {
  color: rgb(255, 106, 0);
}

/* NAV */
.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: translateX(-50%);
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}


/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: rgb(0, 0, 0);
  border-radius: 10px;
}


/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(30px);
  display: none;
  flex-direction: column;
  padding: 40px;
  z-index: 2000;
}

.mobile-menu nav {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu a {
  color: white;
  font-size: 1.4rem;
  text-decoration: none;
}

.close-menu {
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  align-self: flex-end;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* ================= HERO SECTION ================= */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-image: url(Ph.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
  border-radius: 0;
  margin: 0;
  max-width: 100%; 
  overflow: hidden;
  transition: transform 0.4s ease;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Slightly dark overlay (0.4 = dim) */
  z-index: 1;
}

/* Optional: Slight scale effect when scrolling down */
.hero.scrolled {
  transform: scale(0.98);
}

/* Shrinked Hero (card style) */
.hero.hero-card {
  height: 200px; /* height of minimized card */
  max-width: 1200px; /* keeps card width */
  margin: 20px auto; /* centers card */
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  padding: 20px;
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}

.hero.hero-card .hero-content {
  text-align: left;
  max-width: 400px;
}

.hero.hero-card .scroll-indicator {
  display: none; /* hide scroll indicator when minimized */
}


/* Vertical Progress Line */
.hero-progress {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 160px;
  background: #e5e7eb;
}

.hero-progress span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--primary);
  animation: progressGrow 1.2s ease forwards;
}

@keyframes progressGrow {
  to {
    height: 100%;
  }
}

/* Content */
.hero-content {
  text-align: center;
  max-width: 90%;
  padding: 20px;
}

.hero-title {
  font-size: 100px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

/* Underline Draw Animation */
.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: var(--primary);
  animation: underlineDraw 0.8s ease forwards;
  animation-delay: 0.6s;
}

@keyframes underlineDraw {
  to {
    width: 100%;
  }
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 25px;
  color: rgb(49, 69, 135);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.3s;
}

.hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  border-radius: 30px;
  background: #000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.5s;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}


/* Fade Up Keyframe */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-indicator span {
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  animation: scrollPulse 1.6s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    margin: 20px;
    border-radius: 15px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-progress {
    display: none;
  }
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.plan {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.plan.popular {
  border: 2px solid var(--accent);
  transform: scale(1.03);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  margin: 20px 0;
}

.price span {
  font-size: 0.9rem;
  color: var(--muted);
}

.features {
  text-align: left;
  margin: 25px 0;
}

.features li {
  list-style: none;
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #0da7a0;
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}


/* CTA */
.cta {
  background: linear-gradient(135deg, #0a2540, #081c30);
  color: white;
  text-align: center;
  border-radius: 20px;
  padding: 80px 20px;
}

.cta p {
  color: #d1d5db;
  margin: 20px auto;
  max-width: 600px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}

/* MOST POPULAR GLOW */
.plan.popular {
  position: relative;
  border: 2px solid var(--accent);
}

.plan.popular::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(15, 185, 177, 0.35),
    transparent
  );
  opacity: 0;
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 80%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ok*/


.hosting-section {
  padding: 80px 5%;
  text-align: center;
}

.hosting-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #111;
}

.hosting-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.hosting-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #eef0ff;
  color: #5a5fe0;
  font-size: 12px;
  margin-bottom: 20px;
}

.hosting-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}

.row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.lock {
  color: #555;
}

.meter {
  margin-bottom: 18px;
}

.meter label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: #444;
}

.bar {
  height: 8px;
  border-radius: 10px;
  background: #e6e6ff;
  overflow: hidden;
  position: relative;
}

.bar::after {
  content: "";
  height: 100%;
  background: #6c6ff5;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
}

/* Specific widths */
.bar.low::after {
  width: 30%;
}

.bar.medium::after {
  width: 60%;
}

.bar.high::after {
  width: 80%;
}

.bar.full::after {
  width: 100%;
}

/*Webpage*/
.features-section {
  padding: 60px 20px;
  background-color: #f7fafc; /* light background behind card */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  color: #4a5568;
  display: flex;
  justify-content: center;
}

.features-card {
  background: linear-gradient(135deg, #f8fafc, #c3ddff); /* card background */
  border-radius: 20px;       /* rounded corners */
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* subtle shadow */
  max-width: 1100px;
  width: 100%;
}

.features-grid {
  display: grid;
  gap: 50px;
  margin-bottom: 50px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-wrapper {
  color: #4299e1;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #2d3748;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #070707;
  max-width: 280px;
}

.btn-primary {
  background-color: #667eea;
  color: white;
  padding: 12px 40px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.btn-primary:hover {
  background-color: #5a67d8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .main-heading {
    font-size: 1.8rem;
  }
  .features-card {
    padding: 40px 20px;
  }
}



/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 40px 25px;
  font-family: "Inter", sans-serif;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer.reveal{
    opacity: 1;
    transform: translateY(0);
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 45px;
}
.footer h2,
.footer h4 {
  color: #fff;
  margin-bottom: 18px;
}
.footer h2 {
  font-size: 20px;
}
.footer h4 {  font-size: 16px;
}
.footer p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer a {
  display: block;
  width: fit-content;
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  background-image: linear-gradient(#1dbfff, #1d76fafb);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  padding-bottom: 4px;
  transition: background-size 0.3s ease, color 0.2s ease;
}
.footer a:hover {
  background-size: 100% 2px;
  color: #fff;
}
.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.socials a img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: transform 0.3s;
}
.socials a img:hover {
  transform: scale(1.2);
}
.footer-bottom {
  max-width: 1300px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
}
@media (max-width: 900px) {  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer a {
    margin-bottom: 8px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

