/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #0b0f19, #020617);
  color: #fff;
  line-height: 1.6;
}
/* LOADER */
#loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #020617;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* SPINNER */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.1);
  border-top: 5px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

/* SPIN ANIMATION */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* FADE OUT */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
/* NAVBAR */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.6);
  z-index: 100;
}
.checkbox-group {
  text-align: left;
  max-width: 500px;
  margin: 20px auto;
}

/* Container */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  color: #fff;
}

/* Hide default checkbox */
.custom-checkbox input {
  display: none;
}
/* Screen base */
.phone .screen {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

/* Video */
.app-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback image */
.fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide image when video is ready */
.video-loaded .fallback-img {
  opacity: 0;
}
/* Custom box */
.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #1e293b;
  border: 2px solid #4f46e5;
  display: inline-block;
  position: relative;
  transition: 0.3s ease;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  position: relative;
  z-index: 2;
}

/* LEFT SIDE */
.hero-phone {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* PHONE FRAME */
.phone {
  width: 300px;
  height: 600px;
  background: #000;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}
.phone {
  animation: float 4s ease-in-out infinite;
}
 
@keyframes shine {
  0% { left: -50%; }
  100% { left: 150%; }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    margin-top: 30px;
  }
}
@media (max-width: 768px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    margin-top: 50px;
  }

  /* 🔥 FIX: SCALE PHONE DOWN */
  .phone {
    width: 220px;
    height: 440px;
  }

}
/* SCREEN */
.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
/* NOTCH */
.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 30px;
  background: black;
  border-radius: 1px;
  border-bottom-right-radius: 14px ;
  border-bottom-left-radius:14px ;
  z-index: 5;
}
.notch::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 15px;
  width: 40px;
  height: 5px;
  background: #222;
  border-radius: 5px;
}

.notch::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 15px;
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .notch {
    width: 55%;
    height: 20px;
  }
}
/* Make sure phone allows absolute positioning */
.phone {
  position: relative;
}

/* COMMON STYLE */
.phone div[class*="volume"],
.phone .power-btn {
  position: absolute;
  background: #fff;
  border-radius: 4px;
  z-index: 10;
}

/* VOLUME UP */
.volume-up {
  left: -4px;
  top: 120px;
  width: 4px;
  height: 40px;
}

/* VOLUME DOWN */
.volume-down {
  left: -4px;
  top: 170px;
  width: 4px;
  height: 40px;
}

/* POWER BUTTON */
.power-btn {
  right: -4px;
  top: 140px;
  width: 4px;
  height: 60px;
}
/* subtle shine */
.phone div[class*="volume"],
.phone .power-btn {
  background: linear-gradient(
    to bottom,
    #444,
    #111
  );
}

/* tiny shadow for realism */
.volume-up,
.volume-down,
.power-btn {
  box-shadow: 0 0 2px rgba(0,0,0,0.6);
}
.volume-up:hover,
.volume-down:hover,
.power-btn:hover {
  transform: scaleX(0.9);
}
/* RIGHT SIDE */
.hero-content {
  flex: 1;
  color: white;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.8rem;
}

.hero-content p {
  margin: 15px 0;
  opacity: 0.8;
}
/* Hover effect */
.custom-checkbox:hover .checkmark {
  border-color: #7c3aed;
}

/* Checked state */
.custom-checkbox input:checked + .checkmark {
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  border: none;
}

/* Tick */
.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

/* Show tick */
.custom-checkbox input:checked + .checkmark::after {
  display: block;
}

/* Tick design */
.custom-checkbox .checkmark::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-step.active {
  display: block;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  border-radius: 10px;
  transition: 0.4s ease;
}
.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #1e293b;
  color: white;
}

 
button {
  margin-top: 15px;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.logo span {
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav a {
  margin-left: 25px;
  color: #cbd5f5;
  text-decoration: none;
  transition: 0.3s;
}

.nav a:hover {
  color: #3b82f6;
}

.nav-btn {
  background: #3b82f6;
  padding: 8px 16px;
  border-radius: 8px;
  color: white !important;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 20px;

  background:
    linear-gradient(rgba(2,6,23,0.7), rgba(2,6,23,0.9)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475');

  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  max-width: 800px;
  margin: auto;
}

.hero p {
  margin-top: 20px;
  color: #cbd5f5;
  font-size: 1.1rem;
}
/* HERO INTERACTIVE */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}
.contact-form {
  max-width: 600px;
  margin: auto;
}

.contact-form select {
  width: 80%;
  max-width: 500px;
  margin: 10px auto;
  display: block;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #1e293b;
  color: white;
}
#formContainer {
  opacity: 0;
  transition: 0.5s ease;
}

#formContainer.show {
  opacity: 1;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* BACKGROUND LAYER */
.hero::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, #3b82f6, transparent 40%),
              radial-gradient(circle at 70% 70%, #9333ea, transparent 40%);
  filter: blur(100px);
  z-index: 0;
  transition: transform 0.2s ease;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(2,6,23,0.7);
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
}
/* BUTTONS */
button {
  margin-top: 25px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-3px) scale(1.05);
}

/* SHOWCASE */
.showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 20px;
  flex-wrap: wrap;
}

.showcase img {
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* DARK SECTION */
.dark {
  background: rgba(255,255,255,0.02);
}

/* GRID */
.grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* CARDS */
.box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 16px;
  width: 260px;
  transition: 0.3s;
}

.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.box h3 {
  margin-bottom: 10px;
}

/* STATS */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 80px 20px;
  text-align: center;
}

.stats h2 {
  font-size: 2.5rem;
  color: #3b82f6;
}

/* PRICING */
.price {
  font-size: 2.2rem;
  margin: 15px 0;
  color: #3b82f6;
}

.highlight {
  border: 2px solid #3b82f6;
  transform: scale(1.05);
}

/* TESTIMONIALS */
.testimonials {
  padding: 100px 20px;
  text-align: center;
}

.box h4 {
  margin-top: 15px;
  color: #3b82f6;
}

/* CTA */
.cta {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
}

.cta h2 {
  font-size: 2.5rem;
}

/* FORM */
input, textarea {
  width: 80%;
  max-width: 500px;
  margin: 10px auto;
  display: block;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #1e293b;
  color: white;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .nav {
    padding: 20px;
  }

  .stats {
    flex-direction: column;
  }
}
/* HIDE MENU ICON ON DESKTOP */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* MOBILE STYLES */
@media(max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  #nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

  #nav-links a {
    display: block;
    margin: 15px 0;
  }

  #nav-links.active {
    display: flex;
  }
}
/* 📱 Tablets */
@media (max-width: 768px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-phone {
    order: 1;
    margin-bottom: 20px;
  }

  .hero-content {
    order: 2;
    text-align: center;
  }

  /* 🔥 Scale phone down */
  .phone {
    width: 220px;
    height: 440px;
  }

  /* Adjust notch */
  .notch {
    width: 40%;
    height: 18px;
    top: 5px;
  }

  /* Adjust buttons */
  .volume-up {
    top: 22%;
    height: 10%;
  }

  .volume-down {
    top: 34%;
    height: 10%;
  }

  .power-btn {
    top: 26%;
    height: 16%;
  }

}
/* 📱 Small phones */
@media (max-width: 480px) {

  .phone {
    width: 180px;
    height: 360px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .notch {
    width: 38%;
    height: 16px;
  }

}
/* 📱 Extra small devices */
@media (max-width: 360px) {

  .phone {
    width: 160px;
    height: 320px;
  }

  .hero-container {
    padding: 40px 15px;
  }

}
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 60px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-section ul li:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #1e293b;
  padding-top: 15px;
  font-size: 13px;
}