/* AskABD Technologies - Reference Replica */
:root {
  --navy-dark: #0A0E27;
  --navy-deep: #060818;
  --navy-section: #0E1430;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-bright: #60A5FA;
  --text-light: #E8EDF7;
  --text-gray: #94A3B8;
  --white: #FFFFFF;
  --gray-bg: #F8FAFC;
  --gray-text: #475569;
  --gray-soft: #64748B;
  --border-soft: #E2E8F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy-dark);
  color: #F0F4FF;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* Navigation */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91, 141, 239, 0.12);
}
.nav-container {
  max-width: 1440px; margin: 0 auto; padding: 0.6rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo a { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo img {
  height: 66px; width: auto;
  background: #fff; padding: 7px; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.brand-name { display: flex; flex-direction: column; line-height: 1; font-weight: 800; font-size: 1.75rem; color: #fff; }
.brand-name span { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.24em; color: var(--text-gray); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-size: 1rem; font-weight: 500; color: var(--text-light);
  transition: color 0.2s, text-shadow 0.2s;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #3B82F6, #A855F7);
  border-radius: 2px; transition: width 0.3s;
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
}
.nav-links a:hover { color: #60A5FA; text-shadow: 0 0 12px rgba(96,165,250,0.5); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #60A5FA; }
.nav-links a.active::after { width: 100%; }
.btn-primary {
  background: var(--blue);
  color: #fff; padding: 0.7rem 1.5rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(45, 91, 227, 0.4);
}
.btn-outline {
  background: transparent; border: 1.5px solid rgba(91,141,239,0.5);
  color: var(--text-light); padding: 0.6rem 1.3rem; border-radius: 8px;
  font-weight: 600; font-size: 0.85rem; transition: all 0.2s;
}
.btn-outline:hover { background: rgba(91,141,239,0.12); border-color: var(--blue-bright); }
.btn-large { padding: 0.85rem 1.7rem; font-size: 0.95rem; }

.hamburger { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; flex-direction: column; gap: 4px; background: none; padding: 8px; }
  .hamburger span { width: 24px; height: 2px; background: var(--text-light); }
  .nav-container { padding: 0.5rem 0.8rem; }
  .nav-container > a .btn-primary { font-size: 0.65rem; padding: 0.4rem 0.7rem; white-space: normal; max-width: 90px; text-align: center; line-height: 1.3; }
  .logo img { height: 36px !important; padding: 3px !important; border-radius: 8px !important; }
  .logo { gap: 0.4rem !important; }
  .brand-name { font-size: 0.95rem !important; }
  .brand-name span { font-size: 0.42rem !important; letter-spacing: 0.15em !important; }
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; flex-direction: column; gap: 5px; background: none; padding: 0.5rem; }
  .hamburger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; }
  .nav-container { padding: 0.6rem 1rem; }
  .logo img { height: 46px; }
  .brand-name { font-size: 1.3rem; }
  .brand-name span { font-size: 0.55rem; }
}

/* Mobile nav menu when active */
.nav-links.active {
  display: flex; flex-direction: column; position: absolute;
  top: 100%; left: 0; right: 0; background: rgba(7,11,34,0.98);
  padding: 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(96,165,250,0.2);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .btn-large { padding: 0.7rem 1.3rem; font-size: 0.9rem; }
}
