/* ==========================================
   JMD WORLD - Stylesheet
   Theme: Modern Tech / High-contrast Dark Mode
   ========================================== */

/* CSS Variables */
:root {
  --bg-primary: #0a192f;
  --bg-secondary: #112240;
  --bg-tertiary: #172a45;
  --accent: #64ffda;
  --accent-blue: #00d2ff;
  --text-primary: #e2e8f0;
  --text-secondary: #8892b0;
  --text-white: #ffffff;
  --border-color: #233554;
  --shadow-color: rgba(2, 12, 27, 0.7);
  --transition-speed: 0.3s;
  --max-width: 1200px;
}

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 650px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: rgba(100, 255, 218, 0.1);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.25), 0 0 40px rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
}

.btn-solid {
  background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
  color: var(--text-white);
}

.btn-solid:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4), 0 0 40px rgba(0, 210, 255, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(35, 53, 84, 0.4);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(35, 53, 84, 0.3);
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(100, 255, 218, 0.06);
  transition: all 0.3s;
  box-shadow: 0 2px 20px rgba(2, 12, 27, 0.4);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 56px;
  gap: 0.85rem;
  max-width: calc(100% - 160px);
  flex: 0 1 auto;
  min-width: 0;
}

.logo-img {
  height: 48px;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(255, 170, 0, 0.6);
}

.logo-text {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.8px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--text-white) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  align-items: center;
}

/* Hidden on desktop, visible in mobile hamburger */
.nav-mobile-only {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

/* 3-Line Hamburger Icon */
.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  z-index: 1100;
  padding: 8px 6px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.bar {
  display: block;
  width: 28px;
  height: 3.5px;
  background-color: var(--accent);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(100, 255, 218, 0.35);
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85vh;
  background: radial-gradient(ellipse at 80% 20%, rgba(100, 255, 218, 0.07), transparent 50%),
              radial-gradient(ellipse at 10% 80%, rgba(0, 210, 255, 0.06), transparent 50%),
              radial-gradient(ellipse at 50% 50%, rgba(100, 100, 255, 0.04), transparent 60%);
  overflow: hidden;
}

/* Floating Gradient Orbs behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb-1 12s ease-in-out infinite;
  pointer-events: none;
  filter: blur(60px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-orb-2 15s ease-in-out infinite;
  pointer-events: none;
  filter: blur(60px);
}

@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-40px, 30px) scale(1.1); }
  50% { transform: translate(20px, -20px) scale(0.95); }
  75% { transform: translate(-20px, -40px) scale(1.05); }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.9); }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-pretitle {
  color: var(--accent);
  font-family: monospace;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: inline-block;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent-blue), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gradient 4s linear infinite;
}

@keyframes shimmer-gradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Card Styling & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
}

.card {
  background: rgba(17, 34, 64, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(100, 255, 218, 0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(2, 12, 27, 0.3);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(100, 255, 218, 0.25);
  background: rgba(17, 34, 64, 0.75);
  box-shadow: 0 15px 50px 0 rgba(100, 255, 218, 0.12),
              0 0 25px 0 rgba(100, 255, 218, 0.06),
              inset 0 1px 0 rgba(100, 255, 218, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-tertiary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.card-list {
  list-style: none;
}

.card-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.card-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Credentials / Verified Section */
.credentials-bar {
  background: rgba(17, 34, 64, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 8px 32px 0 rgba(2, 12, 27, 0.2);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cred-icon {
  font-size: 2rem;
  color: var(--accent);
}

.cred-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.cred-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: monospace;
}

.cred-copy-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 6px;
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 4px;
  margin-left: 0.5rem;
  transition: all 0.2s;
}

.cred-copy-btn:hover {
  background-color: rgba(100, 255, 218, 0.1);
}

/* Call to Action Section (App Download) */
.cta-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1 1 500px;
}

.cta-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.cta-title {
  font-size: 2.5rem;
  color: var(--text-white);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Form Styles */
.contact-form {
  background: rgba(17, 34, 64, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(100, 255, 218, 0.08);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 10px 32px 0 rgba(2, 12, 27, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(10, 25, 47, 0.5);
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(10, 25, 47, 0.7);
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Policy Content Layout */
.policy-box {
  background: rgba(17, 34, 64, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.08);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(2, 12, 27, 0.25);
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-h3 {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.policy-h3 span {
  color: var(--accent);
  font-family: monospace;
}

.policy-text {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.policy-list {
  list-style: none;
  padding-left: 0.5rem;
}

.policy-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.policy-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.policy-list-bullets {
  list-style: disc;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
}

.policy-list-bullets li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* Footer Section */
footer {
  background: linear-gradient(180deg, rgba(2, 12, 27, 0.98) 0%, #020c1b 100%);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.25), rgba(0, 210, 255, 0.25), transparent) 1;
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  width: fit-content;
}

.footer-logo-img {
  height: 42px;
  width: 42px;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--text-white) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(100, 255, 218, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.made-in-india {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.flag-heart {
  color: #ff4d4d;
}

/* PWA App Banner Prompt Style */
.pwa-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  background: rgba(17, 34, 64, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 12px 40px 0 rgba(2, 12, 27, 0.4);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 2000;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90%;
  width: 480px;
}

.pwa-banner.show {
  transform: translateX(-50%) translateY(0);
}

.pwa-banner-text {
  flex: 1;
}

.pwa-banner-title {
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
}

.pwa-banner-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.pwa-banner-actions {
  display: flex;
  gap: 0.5rem;
}

/* Restricted Activities box style */
.restricted-box {
  background: rgba(239, 68, 68, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 24px 0 rgba(2, 12, 27, 0.2);
}

.restricted-title {
  color: #ef4444;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.restricted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.restricted-item {
  color: var(--text-primary);
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}

.restricted-item::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 991px) {
  .container {
    padding: 0 1.25rem;
  }

  .navbar {
    height: 70px;
  }

  .logo-link {
    height: 48px;
    gap: 0.65rem;
    max-width: calc(100% - 56px);
    flex: 0 1 auto;
    min-width: 0;
  }

  .logo-img {
    height: 42px;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.35);
  }

  .logo-text {
    font-size: clamp(1rem, 3.8vw, 1.25rem);
    letter-spacing: 0.4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    font-weight: 800;
  }

  .nav-actions {
    display: none !important;
  }

  /* 3-Line Hamburger Menu */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 34px;
    height: 26px;
    padding: 0;
    flex-shrink: 0;
    margin-left: auto;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    z-index: 1100;
  }

  .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.4);
    transform-origin: center;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(17, 34, 64, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    width: 100%;
    height: calc(100vh - 70px);
    text-align: center;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(2, 12, 27, 0.6);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    align-items: center;
    overflow-y: auto;
    z-index: 1050;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-mobile-only {
    display: list-item;
    width: 85%;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(100, 255, 218, 0.12);
  }

  .nav-mobile-only .nav-link {
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 600;
  }

  .section-title {
    font-size: 1.85rem;
  }
  
  .hero {
    min-height: auto;
    padding: 3.5rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
    grid-column: span 1;
  }

  .footer-desc {
    margin: 0 auto;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-bottom-info {
    align-items: center;
    text-align: center;
  }

  .pwa-banner {
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .pwa-banner-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    height: 64px;
  }

  .logo-link {
    height: 40px;
    gap: 0.45rem;
    max-width: calc(100% - 46px);
  }

  .logo-img {
    height: 34px;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
    border-radius: 6px;
  }

  .logo-text {
    font-size: clamp(0.75rem, 3.2vw, 0.88rem);
    letter-spacing: 0;
  }

  .hamburger {
    width: 30px;
    height: 22px;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  .nav-menu {
    top: 64px;
    height: calc(100vh - 64px);
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .credentials-bar {
    padding: 1.25rem 1rem;
  }

  .policy-box {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 360px) {
  .logo-img {
    height: 28px;
    width: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
  }

  .logo-text {
    font-size: 0.72rem;
  }
}

/* Animated Canvas background and Cursor Click Ripple styling */
#tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-primary);
  /* Subtle vignette overlay for depth */
  box-shadow: inset 0 0 200px 60px rgba(2, 12, 27, 0.5);
}

/* Floating Ambient Glow Blobs (body-level) */
body::before {
  content: '';
  position: fixed;
  top: 30%;
  left: -8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  animation: ambient-drift-1 20s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.035) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  animation: ambient-drift-2 25s ease-in-out infinite;
}

@keyframes ambient-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -40px); }
}

@keyframes ambient-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 30px); }
}

.tap-ripple {
  position: absolute;
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.25) 0%, transparent 70%);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-effect-outer 0.55s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  z-index: 9999;
}

.tap-ripple::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 1px solid var(--accent-blue);
  animation: ripple-effect-inner 0.45s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

.click-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  animation: spark-drift 0.7s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  box-shadow: 0 0 8px currentColor;
}

@keyframes ripple-effect-outer {
  to {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}

@keyframes ripple-effect-inner {
  0% {
    transform: scale(0.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes spark-drift {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0);
    opacity: 0;
  }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Glowing section separator */
section + section {
  border-top: 1px solid transparent;
  background-image: linear-gradient(var(--bg-primary), var(--bg-primary)),
                    linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.15), rgba(0, 210, 255, 0.15), transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* FAQ Accordion Styling */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  margin-top: 1rem;
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(17, 34, 64, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all var(--transition-speed);
}

.nav-action-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
  transform: translateY(-1px);
}

.nav-action-btn.play-store-btn {
  width: auto;
  border-radius: 20px;
  padding: 0 1rem;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12) 0%, rgba(0, 114, 255, 0.12) 100%);
  border-color: var(--accent-blue);
  color: var(--text-white);
}

.nav-action-btn.play-store-btn span {
  display: inline-block;
}

.nav-action-btn.play-store-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

/* Projects Portfolio Layout */
.jmd-projects-section {
  border-top: 1px solid var(--border-color);
  padding: 5rem 0;
}

.jmd-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.jmd-project-card {
  background: rgba(17, 34, 64, 0.45);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(100, 255, 218, 0.06);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(2, 12, 27, 0.2);
}

.jmd-project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: rgba(17, 34, 64, 0.65);
  box-shadow: 0 12px 30px rgba(100, 255, 218, 0.15);
}

.jmd-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.jmd-project-card:hover::before {
  opacity: 1;
}

.jmd-project-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(100, 255, 218, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(100, 255, 218, 0.15);
}

.jmd-project-card:nth-child(even) .jmd-project-icon-wrapper {
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-blue);
  border-color: rgba(0, 210, 255, 0.15);
}

.jmd-project-card h3 {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.jmd-project-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.jmd-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(17, 34, 64, 0.6);
  transition: all var(--transition-speed);
  gap: 0.35rem;
  width: fit-content;
}

.jmd-project-card:hover .jmd-project-btn {
  border-color: var(--accent);
  background: rgba(100, 255, 218, 0.08);
  color: var(--accent);
  box-shadow: 0 0 8px rgba(100, 255, 218, 0.15);
}

.jmd-project-card.more:hover .jmd-project-btn {
  border-color: var(--accent-blue);
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-blue);
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.15);
}

.jmd-project-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-family: monospace;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
}

.jmd-project-badge.playstore {
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 210, 255, 0.15);
}

.jmd-project-badge.coming-soon {
  background: rgba(255, 179, 0, 0.08);
  color: #ffb300;
  border: 1px solid rgba(255, 179, 0, 0.15);
}

/* Dynamic Typewriter Heading */
.dynamic-heading-container {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.8rem;
  overflow: hidden;
}

.dynamic-static-text {
  color: var(--text-secondary);
}

.dynamic-animated-text {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  border-right: 2px solid var(--accent);
  padding-right: 5px;
  animation: cursor-blink 0.75s step-end infinite;
  white-space: nowrap;
}

@keyframes cursor-blink {
  from, to { border-color: transparent }
  50% { border-color: var(--accent) }
}

@media (max-width: 768px) {
  .dynamic-heading-container {
    font-size: 1.5rem;
    height: 2.2rem;
    justify-content: center;
  }
}


