/* =====================================================
   Word Blaze – Premium Static Website Styles
   Sharma Tech Labs
   ===================================================== */

:root {
  --primary: #1a6de0;
  --primary-dark: #0e4fad;
  --primary-light: #3d8af0;
  --secondary: #e8f2ff;
  --secondary-mid: #b8d6ff;
  --accent: #ff6b1a;
  --accent-soft: #fff0e6;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f7faff;
  --text: #1a2332;
  --text-muted: #5a6a7e;
  --text-light: #8899aa;
  --border: rgba(26, 109, 224, 0.12);
  --shadow-sm: 0 2px 8px rgba(14, 79, 173, 0.06);
  --shadow-md: 0 8px 28px rgba(14, 79, 173, 0.1);
  --shadow-lg: 0 16px 48px rgba(14, 79, 173, 0.14);
  --shadow-hover: 0 20px 56px rgba(14, 79, 173, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --nav-h: 72px;
  --max-w: 1140px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--secondary-mid);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 109, 224, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(26, 109, 224, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  color: var(--primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid transparent;
}

.btn-ghost:hover {
  background: var(--secondary);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.nav-brand:hover {
  color: var(--primary);
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--secondary);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.25rem !important;
  font-size: 0.85rem !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--secondary);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(184, 214, 255, 0.55), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232, 242, 255, 0.8), transparent),
    linear-gradient(180deg, #f0f7ff 0%, var(--white) 70%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a6de0' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  animation: fadeSlideUp 0.8s var(--ease) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
  animation: floatSoft 4s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.15rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
  animation: fadeSlideUp 0.8s 0.15s var(--ease) both;
}

.hero-banner-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}

.hero-banner-wrap:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-banner {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-flame {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ff8c3a, var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 107, 26, 0.4);
  animation: pulseFlame 2.5s ease-in-out infinite;
  z-index: 2;
}

.hero-flame svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
}

.section-blue {
  background: linear-gradient(160deg, #0e4fad 0%, #1a6de0 50%, #3d8af0 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-blue .section-title,
.section-blue .section-eyebrow,
.section-blue h3 {
  color: var(--white);
}

.section-blue .section-desc {
  color: rgba(255, 255, 255, 0.85);
}

.section-blue .section-eyebrow {
  opacity: 0.9;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  opacity: 0;
  transform: translateY(28px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-mid));
  color: var(--primary);
}

.feature-icon.flame-icon {
  background: linear-gradient(135deg, var(--accent-soft), #ffd4b8);
  color: var(--accent);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Screenshots ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  position: relative;
  background: var(--secondary);
  aspect-ratio: 9 / 16;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 79, 173, 0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-slider {
  display: none;
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1.5rem;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track .gallery-item {
  flex: 0 0 min(72vw, 260px);
  scroll-snap-align: center;
  opacity: 1;
  transform: none;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.slider-btn:hover {
  background: var(--secondary);
  transform: scale(1.08);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-mid);
  border: none;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 30, 60, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 1.5rem;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: min(90vw, 420px);
  max-height: 90vh;
}

.lightbox-content img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--white);
  transform: scale(1.08);
}

.lightbox-close {
  top: -20px;
  right: -20px;
}

.lightbox-prev {
  left: -64px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -64px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* ---------- About App / Why ---------- */
.about-app-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.about-app-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-app-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.about-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.about-list .check svg {
  width: 12px;
  height: 12px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.35s var(--ease), background 0.35s;
  opacity: 0;
  transform: translateY(24px);
}

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
}

.why-num {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.contact-card {
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: var(--secondary);
  border-radius: 999px;
  font-weight: 600;
  color: var(--primary);
  transition: background 0.25s, transform 0.25s;
}

.contact-email:hover {
  background: var(--secondary-mid);
  transform: scale(1.03);
  color: var(--primary-dark);
}

.contact-email svg {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a2540;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color 0.25s, padding-left 0.25s;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(184, 214, 255, 0.5), transparent),
    linear-gradient(180deg, #f0f7ff 0%, var(--white) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.85rem;
  color: var(--primary-dark);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.65rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.legal-content ol {
  list-style: decimal;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.45rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.legal-content a {
  font-weight: 500;
}

/* ---------- About Page ---------- */
.about-page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(184, 214, 255, 0.55), transparent),
    linear-gradient(180deg, #f0f7ff 0%, var(--white) 100%);
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-page-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-page-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-page-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}

.about-page-info {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.info-row {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.info-row strong {
  min-width: 110px;
  color: var(--text);
}

.info-row span {
  color: var(--text-muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.tech-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tech-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mission-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.mission-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.mission-block p {
  color: var(--text-muted);
}

/* ---------- Delete Account ---------- */
.delete-card {
  max-width: 720px;
  margin: 0 auto 4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.delete-steps {
  counter-reset: step;
  margin: 2rem 0;
  display: grid;
  gap: 0.85rem;
}

.delete-steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.delete-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note-box {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0 2rem;
}

.note-box strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.note-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.delete-actions {
  text-align: center;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(184, 214, 255, 0.45), transparent),
    var(--white);
}

.error-code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.error-page h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 420px;
  margin-inline: auto;
}

/* ---------- Animations ---------- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseFlame {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255, 107, 26, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 12px 32px rgba(255, 107, 26, 0.55); }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.15s; }
.feature-card:nth-child(4) { transition-delay: 0.2s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.3s; }
.feature-card:nth-child(7) { transition-delay: 0.35s; }
.feature-card:nth-child(8) { transition-delay: 0.4s; }
.feature-card:nth-child(9) { transition-delay: 0.45s; }

.gallery-item:nth-child(1) { transition-delay: 0.05s; }
.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.15s; }
.gallery-item:nth-child(4) { transition-delay: 0.2s; }
.gallery-item:nth-child(5) { transition-delay: 0.25s; }
.gallery-item:nth-child(6) { transition-delay: 0.3s; }

.why-card:nth-child(1) { transition-delay: 0.05s; }
.why-card:nth-child(2) { transition-delay: 0.15s; }
.why-card:nth-child(3) { transition-delay: 0.25s; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid,
  .about-app-grid,
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
  }

  .hero-banner-wrap {
    transform: none;
  }

  .hero-banner-wrap:hover {
    transform: scale(1.02);
  }

  .features-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    display: none;
  }

  .gallery-slider {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: -56px;
    right: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
  }

  .features-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .delete-card,
  .contact-card {
    padding: 1.75rem 1.25rem;
  }

  .info-row {
    flex-direction: column;
    gap: 0.15rem;
  }

  .info-row strong {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--max-w));
  }

  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-logo {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
