:root{
      --bg: #ffffff;
      --text: #0f172a; /* slate-900 */
      --muted: #64748b; /* slate-500 */
      --card: #ffffff;
      --border: #e2e8f0; /* slate-200 */
      --ring: #93c5fd;   /* blue-300 */
      --accent-1: #6366f1; /* indigo-500 */
      --accent-2: #3b82f6; /* blue-500 */
      --accent-3: #a78bfa; /* violet-400 */
      --nashwa-color: #0c2b43;
      --shadow: 0 10px 30px rgba(2, 6, 23, .06), 0 2px 6px rgba(2,6,23,.03);
      --radius: 16px;
      --radius-sm: 12px;
      --radius-xs: 10px;
    }
*,*::before,*::after{box-sizing:border-box}
html,body{
  height:100%;
  /*overflow-x: hidden;*/
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
html {
  margin: 0;
  padding: 0;
}
body{
  margin:0; 
  overflow-x: hidden;
  padding:0;
  padding-top:70px; /* keep content below fixed navbar */
  background:var(--bg); 
  color:var(--text);
  font-family: "Zain", sans-serif;
  -webkit-font-smoothing: antialiased; 
  text-rendering: optimizeLegibility;
}
/* NAVBAR BASE */
.navbar {
  width: 100%;
  max-width: 100%;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05); /* almost transparent */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25); /* subtle border */
  transition: transform 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
  box-sizing: border-box;
  overflow: hidden;
}

/* MENU OVERLAY */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* MENU TOGGLE BUTTON */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--nashwa-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--nashwa-color);
  flex-shrink: 0;
}

.nav-logo img {
  height: 45px;
  object-fit: contain;
}

/* BUTTON CONTAINER */
.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.nav-links.logged-in {
  justify-content: space-between;
  flex: 1;
  margin-left: 20px;
  min-width: 0;
}

/* LOGIN BUTTON (outline) */
.btn-login {
  padding: 10px 22px;
  font-weight: 600;
  color: #6366f1;
  text-decoration: none;
  border: 2px solid #6366f1;
  border-radius: 50px;
  transition: 0.3s ease;
}

.btn-login:hover {
  background: #cdd7ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}

/* SIGN UP BUTTON (gradient) */
.btn-signup {
  padding: 10px 22px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #6366f1, #3b82f6, #a78bfa);
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(99,102,241,0.25);
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}

/* NAVIGATION LINKS (when logged in) */
.nav-left-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
  min-width: 0;
}

.user-name {
  font-weight: 700;
  color: var(--nashwa-color);
  font-size: 16px;
  margin-left: 10px;
}

.nav-link {
  padding: 8px 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s ease;
  font-size: 14px;
}

.nav-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

/* LOGOUT BUTTON */
.btn-logout {
  padding: 10px 22px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
  border: 2px solid #dc2626;
  border-radius: 50px;
  transition: 0.3s ease;
}

.btn-logout:hover {
  background: #dc2626;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

/* Container */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0 0 0;
}

/* Full Access Button */
.btn-full {
  background: #4F74F4;
  padding: 14px 36px;
  color: #fff;
  font-weight: 600;
  border-radius: 50px; /* Rounded-pill */
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;

  /* subtle shadow */
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-full:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

/* Free Trial Button */
.btn-trial {
  background: white;
  padding: 14px 36px;
  color: #4F74F4;
  font-weight: 600;
  border: 2px solid #4F74F4;
  border-radius: 50px; /* Rounded-pill */
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;

  /* subtle shadow */
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.btn-trial:hover {
  background: #cdd7ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.25);
}

/* Subtle gradient header */
.hero {
  position:relative; isolation:isolate; overflow:hidden;
  background: radial-gradient(1200px 400px at 70% -50%, rgba(99,102,241,.18), transparent 60%),
              radial-gradient(900px 400px at 0% 0%, rgba(59,130,246,.18), transparent 60%),
              linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
  /*border-bottom:1px solid var(--border);*/
}
.container{max-width:1200px; margin-inline:auto; padding:24px;}

.brand{display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:-.02em}
.logo{
  width:40px; height:40px; border-radius:12px;
  background: conic-gradient(from 160deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.8), 0 6px 20px rgba(99,102,241,.25);
}
.brand-text {
  background:linear-gradient(90deg,var(--accent-2),var(--accent-1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent
}

.hero-main{padding:32px 0 24px}
.headline{font-size:clamp(28px, 3.6vw, 44px); font-weight:800; letter-spacing:-.03em; margin:0}
.sub {
  text-align: center;
  color:var(--muted);
  font-size:clamp(14px, 2vw, 16px);
  max-width:820px;
  margin-top:10px
}

    /* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Section spacing */
section {
    padding: 5rem 0;
}

/* Button hover effects */
.btn-hover-grow {
    transition: transform 0.3s ease;
}

.btn-hover-grow:hover {
    transform: translateY(-3px);
}

/* Custom shadows */
.custom-shadow {
    box-shadow: 0 10px 30px -10px rgba(0, 71, 171, 0.2);
}

footer {
  margin-top: 20px;
  background: #1a202c;
  color: white;
  padding: 3rem 2rem;
  font-size: 0.9rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.footer-logo-icon {
  color: #FFB100;
  margin-right: 0.5rem;
}
.footer-description {
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-links h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #FFB100;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-links a:hover {
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-links a {
  color: white;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.social-links a:hover {
  opacity: 1;
}
.copyright {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.6;
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  section {
        padding: 3rem 0;
    }
    .navbar {
    padding: 12px 16px;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 12px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-overlay {
    display: block;
  }

  .nav-logo {
    flex-shrink: 0;
    min-width: 0;
  }

  .nav-logo img {
    height: 35px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    overflow-y: auto;
    max-height: calc(100vh - 70px);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links.logged-in {
    margin-left: 0;
    gap: 12px;
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    width: 100%;
    text-align: right;
    border-radius: 8px;
    display: block;
  }

  .nav-left-links {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  .user-name {
    font-size: 14px;
    margin-left: 0;
    margin-bottom: 8px;
    padding: 8px 16px;
    display: block;
    font-weight: 700;
    color: var(--nashwa-color);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 12px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    width: 100%;
    text-align: right;
  }

  .btn-logout {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    width: 100%;
    text-align: center;
  }

  .btn-login,
  .btn-signup {
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 12px;
  }
  body {
    padding: 0;
  }
  .nav-logo img {
    height: 30px;
  }

  .nav-links {
    max-width: 100%;
    top: 62px;
  }

  .menu-toggle {
    width: 26px;
    height: 26px;
  }
}