/* =========================
   SHAYA UDOFF - REWRITTEN STYLESHEET
   Glassmorphism (iOS-like) theme
   Clean, organized, responsive, mobile-first
   Background image: img/AZ_sunset.jpeg
   ========================= */

:root{
  --glass-bg: rgba(255,255,255,0.12);
  --glass-bg-strong: rgba(255,255,255,0.22);
  --glass-border: rgba(255,255,255,0.28);
  --text: #0b0b0b;
  --muted: rgba(11,11,11,0.65);
  --accent: rgba(255,255,255,0.85);
  --shadow: 0 14px 40px rgba(12,12,16,0.28);
  --radius: 16px;
  --backdrop: blur(14px);
}

/* -------------------------
   RESET + BASE
   ------------------------- */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: url('img/AZ_sunset.jpeg') center center / cover no-repeat fixed;
  background-color: rgba(255, 255, 255, 0.05);
  padding-top: 100px;
}

/* Utility containers */
.container{width:min(1150px,94%);margin:0 auto}
.center{display:flex;align-items:center;justify-content:center}
.column{display:flex;flex-direction:column}

/* -------------------------
   NAVBAR (desktop + mobile)
   - hamburger top-left on mobile
   - slide-in panel from left
   ------------------------- */
/* === NAVBAR (Refined Float & Consistency) === */

.brand {
  display: none !important;
}

.navbar {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92%);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 12px 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  transition: all 0.3s ease;
}

/* Desktop menu */
/* Nav links container - centered alignment */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center; /* centers the nav links horizontally */
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

/* Nav links */
.navbar a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.navbar a.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* === APPLE-STYLED MOBILE NAV (iOS 18 / macOS Sonoma vibe) === */

@media (max-width: 768px) {
  /* Hide default navbar, show only hamburger */
  .navbar {
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: auto;
    background: transparent !important;
    box-shadow: none !important;
  }
  .navbar-inner { display: none !important; }

  .navbar ul {
    display: none;
  }

/* ─── ULTRA-HIGH TOP-RIGHT HAMBURGER (Apple-level positioning) ─── */

.mobile-toggle {
  position: fixed !important;
  left: calc(env(safe-area-inset-left) + 8px) !important;
  top: calc(env(safe-area-inset-top) + 8px) !important;
  z-index: 3000;
  width: 46px;
  height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

  /* Subtle background when pressed (like iOS buttons) */
  .mobile-toggle:active {
    background: rgba(255, 255, 255, 0.15);
  }

  .mobile-toggle .bar {
    height: 2px; /* Thinner, more refined than 3px */
    width: 100%;
    background: var(--hamburger-color, #000000); /* Will adapt to light/dark */
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
    transform-origin: center;
  }

  /* Space bars like Apple’s Music / Settings app */
  .mobile-toggle .bar:nth-child(1) { width: 80%; align-self: flex-end; }
  .mobile-toggle .bar:nth-child(2) { width: 100%; }
  .mobile-toggle .bar:nth-child(3) { width: 60%; align-self: flex-end; }

  /* === When menu is open → animate to × === */
  .mobile-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 100%;
  }
  .mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 100%;
  }

  /* === SIDE PANEL - iOS-style blur panel === */
  .side-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    max-width: 85vw;
    background: rgba(255, 255, 255, 0.72); /* Light mode */
    backdrop-filter: saturate(180%) blur(32px); /* True Apple blur */
    -webkit-backdrop-filter: saturate(180%) blur(32px);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1900;
    padding: 80px 24px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Dark mode support */
  @media (prefers-color-scheme: dark) {
    .side-panel {
      background: rgba(20, 20, 25, 0.78);
      border-right: 1px solid rgba(255, 255, 255, 0.12);
    }
    .mobile-toggle .bar {
      background: var(--hamburger-color, #ffffff);
    }
    .mobile-toggle:active {
      background: rgba(255, 255, 255, 0.12);
    }
  }

  .side-panel.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .side-panel:not(.open) {
    pointer-events: none;
  }

  /* Navigation links — SF Pro style */
  .side-panel nav ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .side-panel nav a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 1.25rem; /* 20px */
    font-weight: 500;
    color: var(--text, #000);
    border-radius: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
  }

  @media (prefers-color-scheme: dark) {
    .side-panel nav a {
      color: #ffffff;
    }
  }

  .side-panel nav a:hover,
  .side-panel nav a:focus-visible {
    background: rgba(0, 0, 0, 0.08);
  }

  @media (prefers-color-scheme: dark) {
    .side-panel nav a:hover,
    .side-panel nav a:focus-visible {
      background: rgba(255, 255, 255, 0.12);
    }
  }

  .side-panel nav a:active {
    transform: scale(0.96);
    background: rgba(0, 0, 0, 0.15);
  }

  /* Close button (top-right, like Apple sheets) */
  .side-panel .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.08);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s;
  }

  @media (prefers-color-scheme: dark) {
    .side-panel .close-btn {
      background: rgba(255,255,255,0.12);
    }
  }

  .side-panel .close-btn:hover {
    background: rgba(0,0,0,0.16);
  }
}

/* Optional: Auto-switch hamburger color based on theme */
:root {
  --hamburger-color: #000;
}
@media (prefers-color-scheme: dark) {
  :root {
    --hamburger-color: #fff;
  }
}

/* -------------------------
   PAGE CONTENT CENTERING
   ------------------------- */
.page-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 160px);
  padding: 60px 20px;
  box-sizing: border-box;
  width: 100%;
}
.page-content > *{max-width:920px;width:100%}
.page-content p, .page-content h1, .page-content h2, .page-content h3, .page-content h4{max-width:760px;margin:10px auto;line-height:1.6}

/* -------------------------
   GLASS CARDS / BOXES
   ------------------------- */
.card{
  background: var(--glass-bg);
  border:1px solid var(--glass-border);
  border-radius: calc(var(--radius) - 2px);
  padding:18px;
  box-shadow:var(--shadow);
  backdrop-filter: var(--backdrop);
}

.card-strong{background:var(--glass-bg-strong)}

/* homepage boxes */
.about-me-box, .social-media-box, .name, .quote-card, #contact-form, footer {
  margin: 18px auto;
  padding: 24px;
  border-radius: 16px;
  width: min(600px, 94%);
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-me-box,
.name {
  margin: 18px auto;
  padding: 24px;
  border-radius: 16px;
  width: min(600px, 94%);
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: shadow-drop-2-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  -webkit-animation: shadow-drop-2-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}


.about-me-box h2{font-size:1.6rem;margin-bottom:8px}

.about-text-box {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  backdrop-filter: none;
  text-align: left;
  line-height: 1.7;
}

/* contact form tweaks */
#contact-form{display:flex;flex-direction:column;gap:12px}
#contact-form input, #contact-form textarea{padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,0.14);background:rgba(255,255,255,0.04);color:var(--text)}
#contact-form button{padding:12px;border-radius:10px;border:none;background:rgba(0,0,0,0.8);color:#fff;font-weight:700;cursor:pointer}


/* quotes */
.quote-card{background:linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));padding:26px;border-radius:14px;max-width:700px;margin:16px auto;box-shadow:0 8px 30px rgba(0,0,0,0.12)}
.quote-text{font-style:italic;color:var(--muted);font-size:1.1rem}
.quote-author{text-align:right;font-weight:700;color:var(--text);margin-top:12px}

/* photo gallery */
.photo-gallery{padding:30px 18px;max-width:1200px;margin:0 auto}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}
.photo-grid img{width:100%;height:180px;object-fit:cover;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,0.12)}

/* footer */
footer {
  padding: 18px 10px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.28); /* increased opacity for a whiter look */
  color: var(--text);
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* -------------------------
   RESPONSIVE RULES
   Mobile-first; then scale up
   ------------------------- */
@media (max-width: 980px){
  body{padding-top:72px}
  .navbar-inner{padding:8px 14px}
}


@media (min-width: 769px){
  /* desktop layout show full navbar */
  .mobile-toggle{display:none}
  .side-panel{display:none}
  .navbar ul{display:flex}
  .navbar{left:50%;transform:translateX(-50%)}
  .page-content{min-height:calc(100vh - 120px)}
}

/* small tweaks for very small phones */
@media (max-width:420px){
  .photo-grid img{height:120px}
  .quote-text{font-size:1rem}
  .about-me-box, .name{padding:14px}
}

/* Accessibility helpers */
.sr-only{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Social media box - new style */
/* Social media box - updated style */
.social-media-box {
  margin: 18px auto;
  padding: 16px 20px;
  border-radius: 12px;
  width: min(380px, 90%);
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.social-media-box h4 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a i {
  font-size: 1.4rem;
  color: var(--color);
}

.social-icons a:hover {
  transform: scale(1.15);
  background: var(--color);
  box-shadow: 0 0 18px var(--color);
}

.social-icons a:hover i {
  color: #fff;
}
/* Contact Page Styling */
.contact-header.card,
#contact-form.card {
  max-width: 600px;
  width: 90%;
  margin: 18px auto;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
  text-align: center;
}

/* WhatsApp link styling - no card, greenish-blue gradient, hover effect */
.whatsapp a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #25D366; /* default WhatsApp greenish-blue */
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none; /* remove outer box style */
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp a:hover {
  background: #128C7E; /* darker WhatsApp green-blue on hover */
  transform: translateY(-1px);
}

/* Contact form input and textarea - subtle recessed shadow */
#contact-form input,
#contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); /* small inward shadow for depth */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Remove the glass card styling around WhatsApp button */
.whatsapp.card {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

/* -------------------------
   PHOTO PAGE STYLING
   ------------------------- */

/* Photo gallery container */
.photo-gallery.card {
  padding: 32px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  text-align: center;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* Individual images */
.photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.photo-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* Lightbox overlay */
#lightboxOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1200;
}

#lightboxImage {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
  transition: transform 0.25s ease;
}

#lightboxImage:hover {
  transform: scale(1.02);
}

/* Lock overlay */
.lock-overlay {
  position: fixed;
  top: 80px; /* leave space for navbar */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.lock-box {
  background: rgba(255,255,255,0.10);
  padding: 36px 48px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease;
}

.lock-box h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #fff;
}

.lock-box input {
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lock-box input:focus {
  outline: none;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.lock-box button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #00000084; /* WhatsApp-style green for unlock button */
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lock-box button:hover {
  background: #ffffff9d;
  transform: translateY(-1px);
}

.lock-message {
  font-size: 0.95rem;
  color: #ff2121;
  margin-top: 4px;
  min-height: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .photo-gallery.card {
    padding: 24px 16px;
  }

  .photo-grid img {
    height: 140px;
  }

  .lock-box {
    padding: 28px 24px;
  }

  .lock-box h2 {
    font-size: 1.4rem;
  }
}
/* =========================
   PROJECTS PAGE GRID (NEW)
   ========================= */

.projects-header {
  text-align: center;
  margin-bottom: 40px;
}

.projects-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.projects-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Grid layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Project card */
.project-card {
  position: relative;
  padding: 42px 26px 32px;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--backdrop);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Hover effect (Apple-style lift) */
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.32);
}

/* Status pill */
.status-pill {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

/* Status colors */
.status-pill.live {
  background: rgba(52, 199, 89, 0.18);
  color: #1f8a3b;
}

.status-pill.beta {
  background: rgba(255, 204, 0, 0.2);
  color: #8a6d00;
}

.status-pill.progress {
  background: rgba(0, 122, 255, 0.18);
  color: #004fa3;
}

/* Mobile refinements */
@media (max-width: 520px) {
  .project-card {
    padding: 22px 20px 28px;
  }

  .projects-header h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}


/* ============================
   ENTRY PAGE + DISCLAIMER STYLING (FIXED & CLEAN)
   ============================ */

/* Entry page background and layout */
.entry-page {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('img/AZ_sunset.jpeg') center/cover no-repeat fixed;
  overflow: hidden;
  position: relative;
  padding-top: 0;
}

/* Welcome box */
.entry-container {
  text-align: center;
  padding: 40px 30px;
  border-radius: 18px;
  max-width: 500px;
  width: 90%;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255,255,255,0.3);
  animation: fadeInEntry 0.6s ease-out;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  margin: 0 auto;
}

.entry-container.shift-up {
  transform: translateY(-120px) scale(0.96);
}

.entry-container h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.entry-container p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Buttons */
.enter-site-btn {
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  margin-top: 14px;
}

.enter-site-btn:hover {
   Trust / privacy micro-text */
.wa-trust {
  margin-top: 18px;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.5;
}

.wa-trust span {
  color: #128C7E;
  font-weight: 700;
}

/* Mobile refinement */
@media (max-width: 480px) {
  .wa-generator {
    padding: 30px 22px;
    margin: 32px 16px;
  }

  .wa-output {
    flex-direction: column;
  }

  .wa-output button {
    width: 100%;
  }
}background: rgba(0,0,0,0.9);
  transform: translateY(-2px);
}

.view-disclaimer-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.75);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.view-disclaimer-btn:hover {
  opacity: 0.6;
}

/* Fade animation */
@keyframes fadeInEntry {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Backdrop blur overlay */
.disclaimer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  z-index: 2980;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.disclaimer-overlay.show {
  display: block;
  opacity: 1;
}

/* Bottom sheet container (iOS-style) */
.disclaimer-container {
  position: fixed;
  display: none;
  inset: 0;
  align-items: flex-end;
  padding-bottom: 40px;
  justify-content: center;
  z-index: 3000;
  pointer-events: none;
}

/* Actual sliding sheet */
.disclaimer-sheet {
  width: min(92vw, 640px);
  max-height: 70vh;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(22px);
  border-radius: 24px 24px 0 0;
  border: 1px solid var(--glass-border);
  box-shadow: 0 -20px 48px rgba(0,0,0,0.30);
  padding: 20px 28px 42px;
  overflow-y: scroll;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  transform: translateY(100%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}

@media (prefers-color-scheme: dark) {
  .disclaimer-sheet {
    background: rgba(18, 18, 22, 0.85);
    border-color: rgba(255, 255, 255, 0.18);
    color: white;
  }
}

/* Handle bar */
.sheet-handle {
  width: 42px;
  height: 5px;
  background: rgba(0,0,0,0.32);
  border-radius: 3px;
  margin: 0 auto 18px;
}

/* Sheet content */
.disclaimer-sheet h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 8px 0 16px;
}

.disclaimer-sheet p {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.95;
}

/* Close button */
.close-disclaimer-btn {
  margin-top: 28px;
  width: 100%;
  padding: 15px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  background: var(--accent);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.close-disclaimer-btn:hover {
  background: var(--glass-bg);
}

@media (prefers-color-scheme: dark) {
  .close-disclaimer-btn {
    background: var(--glass-bg-strong);
    color: var(--accent);
  }
}

/* SHOW STATE FIXED */
.disclaimer-container.show {
  display: flex;
  pointer-events: auto;
}

.disclaimer-container.show .disclaimer-sheet {
  transform: translateY(0);
}


/* =========================
   WhatsApp Generator (Glass Redesign)
   ========================= */

/* Main Container - Matches .about-me-box style */
.wa-glass-card {
  position: relative;
  width: min(550px, 94%);
  margin: 40px auto;
  padding: 38px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14); /* Your vibe background */
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
  text-align: center;
  overflow: hidden; /* Keeps animations inside */
}

/* Header Typography */
.wa-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text, #000);
}

.wa-header p {
  font-size: 0.95rem;
  color: var(--muted, rgba(0,0,0,0.6));
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Input Fields - Matches #contact-form input style */
.wa-form-group {
  margin-bottom: 18px;
  text-align: left;
}

.wa-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text, #333);
  opacity: 0.8;
}

.wa-input,
.wa-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04); /* Subtle recessed look */
  color: var(--text, #000);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.wa-input:focus,
.wa-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: #25D366; /* WhatsApp Green highlight */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.wa-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Primary Action Button */
.wa-btn-primary {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #25D366, #128C7E); /* Green Gradient */
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.wa-btn-primary:active {
  transform: translateY(0);
}

/* Output Section (Hidden by default) */
.wa-result-box {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: none; /* Toggled via JS */
  flex-direction: column;
  gap: 12px;
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-result-actions {
  display: flex;
  gap: 10px;
}

.wa-btn-secondary {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text, #000);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.wa-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Trust Badge */
.wa-trust {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--muted, #666);
  opacity: 0.7;
}

/* Animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Tweak */
@media (max-width: 480px) {
  .wa-glass-card {
    padding: 28px 20px;
    margin: 20px auto;
  }
}

/* ============================
   WA SEO / FAQ SECTION (UNDER CARD)
   ============================ */

/* Wrapper spacing */
.wa-seo-section {
  width: min(900px, 94%);
  margin: 28px auto 60px;
  text-align: center;
}

/* Toggle Button */
.wa-seo-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  color: var(--text);
  transition: all 0.25s ease;
}

.wa-seo-toggle-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.38);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Collapsible Container */
.wa-seo-content {
  margin-top: 22px;
  padding: 32px 34px;
  border-radius: 20px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
  text-align: left;

  /* collapsed by default */
  display: none;
}

/* When opened via JS */
.wa-seo-content.show {
  display: block;
  animation: seoFadeIn 0.45s cubic-bezier(0.22,1,0.36,1);
}

/* Section headings */
.wa-seo-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.wa-seo-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 26px;
  margin-bottom: 8px;
}

/* Paragraphs */
.wa-seo-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Lists */
.wa-seo-content ul {
  padding-left: 18px;
  margin: 12px 0 18px;
}

.wa-seo-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* FAQ blocks */
.wa-faq-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.wa-faq-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Subtle disclaimer text */
.wa-seo-disclaimer {
  margin-top: 22px;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.5;
}

/* Animation */
@keyframes seoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile refinement */
@media (max-width: 520px) {
  .wa-seo-content {
    padding: 26px 22px;
  }

  .wa-seo-toggle-btn {
    width: 100%;
    justify-content: center;
  }
}
.wa-seo-toggle-btn {
  margin: 0 auto;
  display: flex;
}


* QR Code Generator Specific Styles */
    .qr-glass-card {
      position: relative;
      width: min(550px, 94%);
      margin: 40px auto;
      padding: 38px 32px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
      text-align: center;
      overflow: hidden;
      transition: box-shadow 0.28s;
    }

    .qr-glass-card h1 {
      font-size: 1.55rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text, #000);
    }

    .qr-glass-card .subtitle {
      font-size: 0.97rem;
      color: var(--muted, #444);
      margin-bottom: 24px;
      line-height: 1.5;
    }

    .qr-form-group {
      margin-bottom: 18px;
      text-align: left;
    }

    .qr-form-group label {
      display: block;
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 6px;
      color: var(--text, #333);
      opacity: 0.8;
    }

    .qr-input,
    .qr-number,
    .qr-select,
    .qr-file {
      width: 100%;
      padding: 14px 16px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.04);
      color: var(--text, #000);
      font-size: 1rem;
      font-family: inherit;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
      transition: all 0.22s;
    }

    .qr-input:focus,
    .qr-number:focus,
    .qr-select:focus,
    .qr-file:focus {
      outline: none;
      background: rgba(255,255,255,0.1);
      border-color: #25D366;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.06), 0 0 0 2px rgba(37,211,102,0.2);
    }

    .qr-color-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 18px;
    }

    .qr-color-group {
      text-align: left;
    }

    .qr-color {
      width: 100%;
      height: 50px;
      padding: 4px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.04);
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
      cursor: pointer;
      transition: box-shadow 0.18s, border-color 0.2s;
    }

    .qr-color::-webkit-color-swatch-wrapper { padding: 2px; }
    .qr-color::-webkit-color-swatch {
      border-radius: 8px;
      border: none;
    }

    .qr-color:focus {
      outline: none;
      border-color: #25D366;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.06), 0 0 0 2px rgba(37,211,102,0.2);
    }

    .qr-file::-webkit-file-upload-button {
      padding: 8px 18px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.08);
      color: var(--text, #333);
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }

    .qr-file:hover::-webkit-file-upload-button {
      background: rgba(37,211,102,0.13);
    }

    .qr-file::file-selector-button {
      padding: 8px 18px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.08);
      color: var(--text, #333);
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
    }

    .qr-file:hover::file-selector-button {
      background: rgba(37,211,102,0.13);
    }

    .qr-advanced-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: rgba(37,211,102,0.1);
      border: 1px solid rgba(37,211,102,0.2);
      border-radius: 12px;
      color: #128C7E;
      font-weight: 600;
      font-size: 1.01rem;
      padding: 14px;
      margin: 18px 0 0 0;
      cursor: pointer;
      transition: all 0.2s;
    }

    .qr-advanced-toggle:hover {
      background: rgba(37,211,102,0.15);
      border-color: #25D366;
    }

    .qr-advanced-section {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      margin-top: 0;
      background: rgba(255,255,255,0.08);
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,0.16);
      transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
      padding: 0;
    }

    .qr-advanced-section.open {
      max-height: 2000px;
      opacity: 1;
      margin-top: 18px;
      padding: 20px 16px;
    }

    .customization-option {
      margin-bottom: 12px;
    }

    .checkbox-option {
      display: flex;
      align-items: center;
      padding: 12px 14px;
      background: rgba(255,255,255,0.06);
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .checkbox-option:hover {
      background: rgba(255,255,255,0.12);
    }

    .checkbox-option input[type="checkbox"] {
      width: 20px;
      height: 20px;
      margin-right: 12px;
      cursor: pointer;
      accent-color: #25D366;
    }

    .checkbox-option label {
      margin: 0;
      cursor: pointer;
      font-weight: 500;
      font-size: 0.95rem;
      text-transform: none;
      letter-spacing: normal;
      opacity: 1;
    }

    .sub-options {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      margin-left: 32px;
      margin-top: 0;
      padding: 0;
      transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
    }

    .sub-options.open {
      max-height: 600px;
      opacity: 1;
      margin-top: 12px;
      padding: 16px;
      background: rgba(255,255,255,0.04);
      border-left: 3px solid #25D366;
      border-radius: 10px;
    }

    .qr-btn-primary {
      width: 100%;
      margin-top: 24px;
      padding: 16px;
      border-radius: 12px;
      border: none;
      background: linear-gradient(135deg, #25D366, #128C7E);
      color: white;
      font-size: 1.05rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .qr-btn-primary:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    }

    .qr-btn-primary:active:not(:disabled) {
      transform: translateY(0);
    }

    .qr-btn-primary:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .prototype-note,
    .privacy-disclaimer {
      text-align: center;
      font-size: 0.85rem;
      margin-top: 16px;
      color: var(--muted, #666);
      line-height: 1.5;
    }

    .privacy-disclaimer {
      padding: 12px;
      background: rgba(255,255,255,0.08);
      border-radius: 10px;
      margin-top: 12px;
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border-width: 0;
    }

    @media (max-width: 600px) {
      .qr-glass-card {
        padding: 24px 20px;
        margin: 20px auto;
      }
      
      .qr-color-row {
        grid-template-columns: 1fr;
        gap: 12px;
      }
    }
/* Add horizontal margins for QR page like other site sections */
@media (min-width: 600px) {
  .qr-glass-card {
    margin-left: auto;
    margin-right: auto;
    width: min(550px, 94%);
  }
}
/* =========================
   PROTOTYPE ALERT STYLING
   ========================= */
.prototype-alert {
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  padding: 24px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  color: var(--text, #000);
  margin: 24px auto;
  width: 100%;
  max-width: 720px; /* allows it to expand more on larger screens */
  min-width: 320px; /* ensures it doesn't shrink too much on small screens */
  box-sizing: border-box;
}
