:root {
  /* Colors - Modern Premium Palette */
  --bg: #030711;
  --bg-glass: rgba(3, 7, 17, 0.7);
  --bg-card: #080c18;
  --bg-input: #0f172a;
  
  --cyan: #00f2ff;
  --purple: #7036e7;
  --purple2: #9333ea;
  --pink: #ec4899;
  --green: #22c55e;
  
  --text: #f8fafc;
  --text2: #94a3b8;
  --text3: #64748b;
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(0,242,255,0.2);
  --white: #ffffff;
  
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --shadow-glow: 0 0 20px rgba(0,242,255,0.15);
  --r: 12px;
  --r2: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── SELECTION ── */
::selection { background: rgba(124,58,237,0.4); color: #fff; }

/* ─────────────────────── NAV ─────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-glow);
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.6rem;
  letter-spacing: -0.5px;
  color: var(--white);
}

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--cyan); background: rgba(0,220,255,0.08); }
.nav-links a.active { color: var(--cyan); }

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--glow-purple); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--cyan); border-radius: 2px;
  transition: all 0.3s;
}

/* ─────────────────────── PAGES ─────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─────────────────────── HERO ─────────────────────── */
#home { padding-top: 68px; }

.hero {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 80px 5% 60px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(124,58,237,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0,220,255,0.1) 0%, transparent 60%);
}

.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,100,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,100,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,220,255,0.08);
  border: 1px solid var(--border2);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 500; color: var(--cyan);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text2); font-size: 1.15rem; line-height: 1.6;
  max-width: 520px; margin-bottom: 40px;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; text-decoration: none;
  border: none; transition: all 0.25s;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), #5b21b6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.5); }

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border2);
}
.btn-outline:hover { background: rgba(0,220,255,0.08); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 30px; margin-top: 40px;
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.78rem; color: var(--text3); margin-top: 2px; }

.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.8s 0.2s ease both;
}
.hero-qr-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-purple);
  position: relative;
  max-width: 300px; width: 100%;
}
.hero-qr-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--r2);
  background: linear-gradient(135deg, rgba(0,220,255,0.3), rgba(124,58,237,0.3), transparent);
  z-index: -1;
}
.qr-demo-label {
  text-align: center; font-size: 0.8rem; color: var(--text3);
  font-weight: 500; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
#hero-qr-demo {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px;
  padding: 16px; margin-bottom: 14px;
  color: #0d1117; /* Fix dummy QR SVG visibility */
}
#hero-qr-demo canvas, #hero-qr-demo img { border-radius: 4px; }
.scan-me-badge {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, rgba(0,220,255,0.1), rgba(124,58,237,0.1));
  border: 1px solid var(--border2);
  border-radius: 8px; padding: 8px 14px;
  font-size: 0.85rem; font-weight: 600; color: var(--cyan);
}

/* Floating chips */
.float-chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.float-chip.c1 { top: -20px; right: -20px; animation-delay: 0s; color: var(--green); }
.float-chip.c2 { bottom: 20px; left: -30px; animation-delay: 1s; color: var(--pink); }
.float-chip.c3 { top: 50%; right: -40px; animation-delay: 0.5s; color: var(--cyan); }

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ─────────────────────── SECTION HEADER ─────────────────────── */
.section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(0,220,255,0.08);
  border: 1px solid var(--border2);
  color: var(--cyan); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 14px;
}
.section-title span {
  background: linear-gradient(135deg, var(--cyan), var(--purple2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub { color: var(--text2); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* ─────────────────────── TOOLS SECTION ─────────────────────── */
.tools-section { background: var(--bg2); }

.tool-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px;
}
.tab-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); color: var(--text2);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.tab-btn:hover { border-color: var(--cyan); color: var(--text); }
.tab-btn.active {
  background: var(--white); color: var(--bg);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}
.tab-btn .tab-icon svg { width: 18px; height: 18px; }

.tool-panel { display: none; }
.tool-panel.active { display: block; animation: fadeIn 0.5s ease both; }

.tool-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}

.tool-form-card, .qr-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.tool-form-card:hover, .qr-result-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.tool-form-card h3 {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.tool-form-card p {
  color: var(--text2); font-size: 0.95rem; margin-bottom: 32px; line-height: 1.6;
}

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--text2); margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: var(--transition);
}
.form-group textarea {
  resize: vertical; min-height: 120px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 4px rgba(0,242,255,0.1);
}
.form-group input::placeholder { color: var(--text3); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.gen-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--purple), #4c1d95);
  border: none; border-radius: 10px;
  color: #fff; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  margin-top: 8px;
}
.gen-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--glow-purple); }

/* QR Result */
.qr-result-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px;
  display: flex; flex-direction: column; align-items: center;
  min-height: 300px; justify-content: center;
}

.qr-placeholder {
  text-align: center; color: var(--text3);
}
.qr-placeholder-icon { font-size: 4rem; margin-bottom: 14px; opacity: 0.4; }
.qr-placeholder p { font-size: 0.9rem; }

.qr-output { display: none; width: 100%; }
.qr-output.show { display: flex; flex-direction: column; align-items: center; }

#qr-canvas-wrap {
  background: #fff; border-radius: 16px;
  padding: 20px; margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  position: relative;
}

.scan-me-label {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
  white-space: nowrap;
}

.qr-meta {
  width: 100%; margin-top: 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
  font-size: 0.82rem; color: var(--text2);
  word-break: break-all;
}
.qr-meta strong { color: var(--cyan); }

.qr-actions { display: flex; gap: 10px; margin-top: 20px; width: 100%; }
.qr-actions .btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 11px; }

/* Color picker row */
.color-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.color-row label { font-size: 0.78rem; color: var(--text2); margin-right: 4px; }
.color-swatch {
  width: 28px; height: 28px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s;
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.selected { border-color: #fff; }

/* ── SCANNER ── */
.scanner-area {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px;
  text-align: center;
}
.scanner-area h3 {
  font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 8px;
}
.scanner-area > p { color: var(--text2); font-size: 0.88rem; margin-bottom: 24px; }

#reader {
  width: 100%; max-width: 440px; margin: 0 auto;
  border-radius: 12px; overflow: hidden;
}
#reader video { border-radius: 12px; }

.scan-result-box {
  display: none;
  background: var(--bg3);
  border: 1px solid var(--green);
  border-radius: 12px; padding: 20px;
  margin-top: 20px; text-align: left;
}
.scan-result-box.show { display: block; }
.scan-result-label {
  font-size: 0.75rem; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.scan-result-label::before {
  content: ''; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}
.scan-result-data {
  font-size: 0.95rem; word-break: break-all; color: var(--text);
  margin-bottom: 14px;
}
.scan-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.scan-actions .btn { font-size: 0.82rem; padding: 9px 16px; }

.scan-upload-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  border: 1px dashed rgba(0,220,255,0.4);
  background: rgba(0,220,255,0.04);
  color: var(--cyan); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  margin-top: 12px;
}
.scan-upload-btn:hover { background: rgba(0,220,255,0.08); }

/* ─────────────────────── FEATURES ─────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feat-card:hover { 
  border-color: var(--cyan); 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-glow);
}
.feat-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(0,242,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.feat-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(0,220,255,0.1));
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.feat-card h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  margin-bottom: 8px;
}
.feat-card p { color: var(--text2); font-size: 0.88rem; line-height: 1.6; }

/* ─────────────────────── HOW IT WORKS ─────────────────────── */
.how-section { background: var(--bg2); }
.steps-grid { 
  display: flex; align-items: stretch; justify-content: center; gap: 16px;
}
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 1.5rem;
}

.step-card.neon-box {
  flex: 1;
  text-align: center; padding: 40px 24px;
  background: var(--bg);
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; overflow: hidden;
}

.step-card.neon-box::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  transition: all 0.4s;
  pointer-events: none;
}

.step-card.neon-box.c-cyan:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0, 242, 255, 0.15); }
.step-card.neon-box.c-cyan:hover::before { box-shadow: inset 0 0 0 1px var(--cyan), inset 0 0 20px rgba(0, 242, 255, 0.15); }

.step-card.neon-box.c-purple:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(112, 54, 231, 0.15); }
.step-card.neon-box.c-purple:hover::before { box-shadow: inset 0 0 0 1px var(--purple), inset 0 0 20px rgba(112, 54, 231, 0.15); }

.step-card.neon-box.c-pink:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15); }
.step-card.neon-box.c-pink:hover::before { box-shadow: inset 0 0 0 1px var(--pink), inset 0 0 20px rgba(236, 72, 153, 0.15); }

.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  margin: 0 auto 20px; color: var(--text);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: all 0.3s;
}

.step-card.neon-box.c-cyan:hover .step-num { background: var(--cyan); color: #000; border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.step-card.neon-box.c-purple:hover .step-num { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: 0 0 15px var(--purple); }
.step-card.neon-box.c-pink:hover .step-num { background: var(--pink); color: #fff; border-color: var(--pink); box-shadow: 0 0 15px var(--pink); }

.step-icon { font-size: 2rem; margin-bottom: 20px; color: var(--text2); transition: color 0.3s; }
.step-card.neon-box.c-cyan:hover .step-icon { color: var(--cyan); }
.step-card.neon-box.c-purple:hover .step-icon { color: var(--purple); }
.step-card.neon-box.c-pink:hover .step-icon { color: var(--pink); }

.step-card h4 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 12px; color: var(--white);
}
.step-card p { color: var(--text3); font-size: 0.88rem; line-height: 1.6; }

/* Mobile Optimizations for Steps */
@media (max-width: 768px) {
  .steps-grid { flex-direction: column; align-items: center; }
  .step-card.neon-box { width: 100%; max-width: 400px; }
  .step-arrow { transform: rotate(90deg); margin: 4px 0; }
}

/* ─────────────────────── USE CASES ─────────────────────── */
.use-cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.use-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2); padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.3s;
}
.use-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.use-emoji { font-size: 2.2rem; }
.use-text h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  margin-bottom: 6px;
}
.use-text p { color: var(--text2); font-size: 0.87rem; line-height: 1.6; }

/* ─────────────────────── ABOUT SECTION ─────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-area { position: relative; }
.about-big-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2); padding: 36px;
  text-align: center;
}
.about-logo-big {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin: 0 auto 20px;
  box-shadow: var(--glow-cyan);
}
.about-big-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-content h2 {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  margin-bottom: 16px;
}
.about-content p { color: var(--text2); line-height: 1.8; margin-bottom: 20px; font-size: 0.95rem; }

/* ─────────────────────── FAQ ─────────────────────── */
.faq-section { background: var(--bg2); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border2); }
.faq-q {
  width: 100%; background: var(--card);
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; text-align: left;
  color: var(--text); border: none; font-family: var(--font-body);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--card2); }
.faq-arrow {
  color: var(--cyan); font-size: 1.2rem; transition: transform 0.3s;
  flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  background: var(--bg3);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 22px;
  color: var(--text2); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; padding: 16px 22px; }

/* ─────────────────────── CTA BANNER ─────────────────────── */
.cta-banner {
  margin: 80px 5%;
  max-width: 1200px; margin-left: auto; margin-right: auto;
  background: linear-gradient(135deg, rgba(112,54,231,0.2), rgba(0,242,255,0.1));
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--r2); padding: 80px 40px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0,242,255,0.05) 0%, transparent 60%);
}
.cta-banner h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; margin-bottom: 16px; position: relative;
  color: var(--white);
}
.cta-banner p { color: var(--text2); font-size: 1.1rem; margin-bottom: 40px; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { position: relative; }

/* ─────────────────────── FOOTER ─────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--text2); font-size: 0.88rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--white); margin-bottom: 24px;
}
.footer-col a {
  display: block; color: var(--text2); text-decoration: none;
  font-size: 0.95rem; margin-bottom: 12px; transition: var(--transition);
  cursor: pointer;
}
.footer-col a:hover { color: var(--cyan); transform: translateX(4px); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text3); font-size: 0.82rem; }
.footer-bottom .love { color: var(--pink); }

/* ─────────────────────── BACK TO TOP ─────────────────────── */
#back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 52px; height: 52px;
  background: var(--white);
  border: none; border-radius: 12px;
  color: var(--bg); font-size: 1.4rem;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: var(--transition);
}
#back-top.show { display: flex; animation: fadeIn 0.3s ease both; }
#back-top:hover { transform: translateY(-5px); background: var(--cyan); }

/* ─────────────────────── INNER PAGES ─────────────────────── */
.inner-page {
  padding-top: 68px; min-height: 100vh;
}
.inner-hero {
  padding: 60px 5%;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.inner-hero h1 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 12px;
}
.inner-hero p { color: var(--text2); max-width: 500px; margin: 0 auto; }
.inner-content {
  max-width: 800px; margin: 0 auto; padding: 60px 5%;
}
.inner-content h2 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  color: var(--cyan); margin: 32px 0 12px;
}
.inner-content h2:first-child { margin-top: 0; }
.inner-content p, .inner-content li {
  color: var(--text2); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem;
}
.inner-content ul { padding-left: 20px; }
.inner-content li { margin-bottom: 8px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 {
  font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px;
}
.contact-info p { color: var(--text2); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  margin-bottom: 12px; font-size: 0.88rem;
}
.contact-item-icon { font-size: 1.3rem; }
.contact-form-area {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2); padding: 28px;
}
.contact-form-area textarea {
  width: 100%; background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  color: var(--text); font-family: var(--font-body);
  font-size: 0.92rem; resize: vertical; min-height: 120px;
  outline: none; transition: all 0.2s;
}
.contact-form-area textarea:focus {
  border-color: var(--purple2);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

/* Success toast */
.toast {
  position: fixed; bottom: 90px; right: 28px; z-index: 9999;
  background: var(--card2);
  border: 1px solid var(--green);
  border-radius: 12px; padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600; color: var(--green);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateX(120%); transition: transform 0.3s;
}
/* ── SVG ICONS ── */
svg { vertical-align: middle; flex-shrink: 0; }
.nav-icon svg { width: 1.25rem; height: 1.25rem; }
.feat-icon svg { width: 1.5rem; height: 1.5rem; color: var(--cyan); }
.step-icon svg { width: 2rem; height: 2rem; color: var(--white); }
.qr-placeholder-icon svg { width: 4rem; height: 4rem; opacity: 0.2; }
.contact-item-icon svg { width: 1.25rem; height: 1.25rem; color: var(--cyan); }
.about-logo-big svg { width: 3.5rem; height: 3.5rem; color: var(--white); }

.logo-icon svg { width: 1.8rem; height: 1.8rem; color: var(--white); }

.toast.show { transform: translateX(0); }

/* Ads Architecture */
.ad-slot-300x250 {
  width: 300px; min-height: 250px;
  background: rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; overflow: visible;
  border-radius: var(--r);
}

/* ─── USE CASES ─── */
.use-cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.use-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r2); padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.3s;
}
.use-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.use-emoji { font-size: 2.2rem; }
.use-text h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  margin-bottom: 6px;
}
.use-text p { color: var(--text2); font-size: 0.87rem; line-height: 1.6; }

/* ─── FAQ ─── */
.faq-section { background: var(--bg2); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--cyan); }
.faq-q {
  width: 100%; background: var(--bg-card);
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; text-align: left;
  color: var(--text); border: none; font-family: var(--font-body);
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-arrow {
  color: var(--cyan); font-size: 1.2rem; transition: transform 0.3s;
  flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  background: rgba(0,0,0,0.2);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 22px;
  color: var(--text2); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; padding: 16px 22px; }

/* ─── QR Metadata ─── */
.qr-meta {
  width: 100%; margin-top: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
  font-size: 0.82rem; color: var(--text2);
  word-break: break-all;
  text-align: left;
}
.qr-meta strong { color: var(--cyan); }


/* QR Loader */
.qr-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.qr-loader.active { display: flex; animation: fadeIn 0.3s ease; }

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0, 242, 255, 0.1);
  border-left-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 0.85rem;
  color: var(--text2);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─────────────────────── ANIMATIONS ─────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  opacity: 0;
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-text > *, .hero-visual, .feat-card, .step-card {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-text h1 { animation-delay: 0.1s; }
.hero-text p { animation-delay: 0.2s; }
.hero-btns { animation-delay: 0.3s; }
.hero-visual { animation-delay: 0.4s; }

/* ─────────────────────── RESPONSIVENESS ─────────────────────── */
@media (max-width: 991px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .hero { height: auto; min-height: 100vh; padding-top: 140px; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 5%; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg1); flex-direction: column; padding: 100px 32px;
    align-items: flex-start; transition: 0.4s ease-in-out;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.2rem; }
}

/* ─────────────────────── FONT SETTINGS ─────────────────────── */
.font-settings {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--bg3);
  border-radius: 8px;
  margin-right: 15px;
}

.font-select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.font-select:focus {
  border-color: var(--cyan);
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--bg2);
    border-bottom: 1px solid var(--border); padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .tool-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .float-chip.c2, .float-chip.c3 { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 40px 24px; }
  .font-settings { margin-right: 0; margin-bottom: 10px; width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .qr-actions { flex-direction: column; }
  .tab-btn span:not(.tab-icon) { display: none; }
}
