/* Global Styles */
:root {
  --primary: #0066ff;
  --dark: #222;
  --light: #f7f9fc;
  --grey: #555;
}

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

/* Make media scale fluidly by default */
img, video, svg, canvas, iframe {
  max-width: 100%;
  height: auto;
}

html {scroll-behavior:smooth;}
body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--dark);
  background-color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Navbar */
.navbar {
  background: #07051b;
  border-bottom: 1px solid #1b154b;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 4px 10px; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.navbar::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,#4f9fff 0%, #ffffff 50%, #7aaeff 100%);opacity:.9}
.navbar .container{display:flex;align-items:center;justify-content:space-between;gap:0.5rem;padding:4px 0;}

/* Dropdown */
.navbar .dropdown {
  position: relative;
}
.navbar .dropbtn::after {
  content: "\25BE";
  font-size: 0.65rem;
  margin-left: 4px;
}
.navbar .dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  min-width: 200px;
  box-shadow: 0 12px 24px rgba(10, 6, 38, 0.18);
  z-index: 200;
  overflow: hidden;
}
.navbar .dropdown-content a {
  display:block;
  padding: 0.7rem 1rem;
  color: #0f172a;
  white-space: nowrap;
}
.navbar .dropdown-content a:hover {
  background: #f3f4f6;
  color: #ffffff;
}
.navbar .dropdown:hover .dropdown-content,
.navbar .dropdown.open .dropdown-content {
  display: flex;
}
.navbar .logo {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
}

/* Contact chip */
.contact-chip{background:#fff;color:#0a0626;border-radius:9999px;padding:.45rem .9rem;font-weight:500;box-shadow:0 2px 6px rgba(0,0,0,.15);border:1px solid #e6e8ef;text-decoration:none}
.contact-chip:hover{background:#f7f8ff;color:#0a0626}
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 8px;
  border-radius: 9999px;
}
.navbar .nav-links li{position:relative}
.nav-links a{
  color: #ffffff;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  font-size: 11px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.2;
}
.nav-links a.active,
.nav-links a:hover {
  color: #ffdd57;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #1b4fff 0%, #4f9fff 60%);
  text-align: center;
  padding: 6rem 0;
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  color: #e8f0ff;
}

/* Sections */
.page-header {
  background: var(--light);
  padding: 4.5rem 0;
  text-align: center;
}
.app-header{display:flex;align-items:center;justify-content:center;gap:1rem}
.app-logo{width:72px;height:auto;border-radius:14px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.page-header h1 {
  font-size: 2rem;
}

.apps { padding: 4.5rem 0; }
.apps .app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.app-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.app-card h3 {
  margin-bottom: 0.5rem;
}
.app-card p {
  margin-bottom: 1rem;
  color: var(--grey);
}

.intro-strip{padding:2rem 0;background:#0f0a37;color:#e6e6f0}
.intro-strip .strip-inner{padding: 20px; margin: 0 auto; max-width:1100px; display:flex; flex-wrap:wrap; gap:1.25rem; align-items:center; justify-content:space-between}
.intro-strip h2{padding: 20px;font-size:2rem;color:#fff}
.intro-strip p{padding: 20px;max-width:720px;color:#cfd3ff}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, #4f9fff 100%);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}
.btn:hover {
  opacity: 0.9;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 600px;
}
.contact-form input,
.contact-form textarea {
  padding: 0.65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Inter", Arial, sans-serif;
}

/* Footer */
.site-footer {
  background:#0e0831;
  color:#fff;
  margin-top:3rem;
  padding:4rem 0 2.5rem;
}
.site-footer a{color:#ccc;text-decoration:none;transition:color .2s}
.site-footer a:hover{color:#fff}
.footer-grid{display:flex;flex-wrap:wrap;gap:2rem}
.footer-grid>div{flex:1 1 160px}
.footer-grid h4{margin-bottom:.5rem;font-size:1rem;color:#fff}
.footer-grid .logo{font-size:1.5rem;font-weight:700;color:#fff}
.store-badge{width:160px;height:auto;margin-top:1rem}
.footer-bottom{text-align:center;margin-top:2rem;font-size:.85rem;color:#ccc}


/* Responsive */
@media (max-width: 768px) {
  .navbar .nav-links {
    position: absolute;
    top: 50px;
    right: 0;
    background: #0e0831;
    flex-direction: column;
    width: 200px;
    display: none;
    border: 1px solid #e5e5e5;
  }
  .contact-chip{display:none}
  .navbar .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #0a0a23;
  overflow-x: hidden;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ------------------------------------------------ */
/* NAVBAR STYLING - SAME FOR ALL PAGES */
/* ------------------------------------------------ */
.navbar {
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

/* Desktop Menu */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  display: inline-block;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  background: #ffffff;
  list-style: none;
  border-radius: 8px;
  padding: 10px 0;
  min-width: 150px;
  box-shadow: 0px 6px 22px rgba(0, 0, 0, 0.15);
}

.dropdown-content li a {
  display: block;
  padding: 10px 16px;
  color: #000 !important;
}

.dropdown-content li a:hover {
  background: #f2f2f2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ------------------------------------------------ */
/* MOBILE MENU */
/* ------------------------------------------------ */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: 0.3s;
}

/* Mobile View */
@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: -300px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.92);
    width: 240px;
    padding: 20px;
    border-radius: 12px 0 0 12px;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    padding-left: 20px;
  }

  .dropdown-content li a {
    color: #fff !important;
    padding: 8px 0;
  }
}

/* Add margin so content is visible under navbar */
.page-content {
  margin-top: 100px;
}

/* Final overrides: ensure hamburger visibility on mobile */
@media (max-width: 900px) {
  .navbar .menu-toggle { display:flex; align-items:center; justify-content:center; padding:4px; }
  .navbar .menu-toggle span { background:#ffffff; opacity:1; }
  .navbar .nav-links { display:none; }
  .navbar .nav-links.active { display:flex; }
}
