/* =========================================
   ScanEx Website — style.css
   ========================================= */

:root {
  --primary: #4F8EF7;
  --primary-dark: #3a7ae0;
  --accent: #a855f7;
  --bg: #0a0a1a;
  --bg2: #0f0f24;
  --card: #13132a;
  --card2: #1a1a35;
  --border: rgba(79,142,247,0.15);
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --green: #22c55e;
  --green-dark: #16a34a;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-muted); }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  text-decoration: none;
}

.navbar-logo img.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.navbar-logo span.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

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

.navbar-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(79,142,247,0.1);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language Selector */
.lang-select {
  position: relative;
}

.lang-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
  font-family: var(--font);
}

.lang-btn:hover { border-color: var(--primary); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 150px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 100;
  overflow: hidden;
}

.lang-dropdown.open { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background var(--transition);
  color: var(--text);
}

.lang-option:hover { background: rgba(79,142,247,0.1); }
.lang-option.selected { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10,10,26,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: all var(--transition);
}

.mobile-nav a:hover { color: var(--white); background: rgba(79,142,247,0.1); }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79,142,247,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168,85,247,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  white-space: pre-line;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: #111;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  color: #111;
}

.btn-store.dark {
  background: #1a1a2e;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-store.dark:hover { color: var(--white); }

.btn-store-icon { font-size: 1.4rem; line-height: 1; }

.btn-store-text { display: flex; flex-direction: column; text-align: left; }
.btn-store-text small { font-size: 0.65rem; font-weight: 400; opacity: 0.7; line-height: 1; }
.btn-store-text strong { font-size: 0.95rem; line-height: 1.3; }

/* Phone mockup */
.hero-mockup {
  position: relative;
  display: inline-block;
}

.phone-frame {
  width: 220px;
  height: 420px;
  background: linear-gradient(145deg, #1e1e3f, #0f0f2a);
  border-radius: 36px;
  border: 2px solid rgba(79,142,247,0.3);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.07);
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  width: 60px;
  height: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1rem;
  width: 100%;
}

.phone-doc {
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-size: 0.6rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-doc-icon { font-size: 1rem; }

.phone-scan-btn {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0.5rem auto 0;
  box-shadow: 0 4px 16px rgba(79,142,247,0.4);
}

.mockup-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79,142,247,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* =========================================
   SECTIONS COMMON
   ========================================= */
section { padding: 5rem 1.5rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--white); margin-bottom: 0.75rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* =========================================
   FEATURES
   ========================================= */
.features { background: var(--bg2); }

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,142,247,0.04), rgba(168,85,247,0.04));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(79,142,247,0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-icon.blue { background: rgba(79,142,247,0.15); }
.feature-icon.purple { background: rgba(168,85,247,0.15); }
.feature-icon.green { background: rgba(34,197,94,0.15); }
.feature-icon.orange { background: rgba(249,115,22,0.15); }
.feature-icon.pink { background: rgba(236,72,153,0.15); }
.feature-icon.teal { background: rgba(20,184,166,0.15); }

.feature-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/* =========================================
   SECURITY
   ========================================= */
.security { background: var(--bg); }

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.security-cards { display: flex; flex-direction: column; gap: 1rem; }

.security-card {
  background: var(--card);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
}

.security-card:hover { border-color: rgba(34,197,94,0.4); }

.security-icon {
  width: 44px;
  height: 44px;
  background: rgba(34,197,94,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.security-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.35rem; }

.security-note {
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.security-note .note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.security-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.shield-big {
  font-size: 6rem;
  line-height: 1;
  filter: drop-shadow(0 0 32px rgba(34,197,94,0.4));
  animation: pulse-shield 3s ease-in-out infinite;
}

@keyframes pulse-shield {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(34,197,94,0.3)); }
  50% { filter: drop-shadow(0 0 48px rgba(34,197,94,0.6)); }
}

.security-stat {
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
}

.security-stat .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.security-stat p { font-size: 0.8rem; margin-top: 0.25rem; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how { background: var(--bg2); }

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 0.5rem);
  right: calc(16.66% + 0.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.step-card:hover { transform: translateY(-3px); border-color: rgba(79,142,247,0.35); }

.step-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.step-card h3 { color: var(--white); margin-bottom: 0.5rem; }

/* =========================================
   DOWNLOAD CTA
   ========================================= */
.download {
  background: var(--bg);
  text-align: center;
}

.download-box {
  background: linear-gradient(135deg, rgba(79,142,247,0.08), rgba(168,85,247,0.08));
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 24px;
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.download-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(79,142,247,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.download h2 { color: var(--white); margin-bottom: 0.75rem; }
.download p { margin-bottom: 2rem; font-size: 1.05rem; }

.download-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .navbar-logo {
  margin-bottom: 0.75rem;
  display: inline-flex;
}

.footer-brand p { font-size: 0.875rem; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* =========================================
   LEGAL / INNER PAGES
   ========================================= */
.page-hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { font-size: 0.9rem; }

.page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.page-content h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.page-content h3 {
  color: var(--text);
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.page-content p {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin: 0.5rem 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-box {
  background: rgba(79,142,247,0.07);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

.info-box strong { color: var(--primary); }

.warning-box {
  background: rgba(168,85,247,0.07);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

/* =========================================
   LEGAL PAGE COMPONENTS
   ========================================= */
.legal-badge {
  display: inline-block;
  background: rgba(79,142,247,0.15);
  border: 1px solid rgba(79,142,247,0.3);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

.legal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
}

.legal-meta-sep { opacity: 0.35; }

.legal-summary {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}

.legal-summary-icon { font-size: 1.8rem; flex-shrink: 0; }

.legal-summary strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.legal-summary p {
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
  color: var(--text-muted);
}

/* Table of Contents */
.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.toc-title {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0.6;
}

.toc-list {
  list-style: decimal;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.toc-list li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.toc-list li a:hover { color: var(--primary); }

/* Legal Table */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 560px;
}

.legal-table thead tr {
  background: rgba(79,142,247,0.1);
}

.legal-table th {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.legal-table td {
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
  vertical-align: top;
}

.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.legal-footnote {
  font-size: 0.8rem !important;
  color: rgba(136,136,170,0.7) !important;
  font-style: italic;
  margin-top: -0.25rem !important;
}

/* Contact Card */
.legal-contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}

.legal-contact-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
}

.legal-contact-row:last-child { border-bottom: none; }

.lc-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 140px;
  flex-shrink: 0;
}

.legal-contact-row span:last-child { color: var(--text); }
.legal-contact-row a { color: var(--primary); }

/* End note */
.legal-end-note {
  margin-top: 3rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: rgba(136,136,170,0.5);
  text-align: center;
}

/* =========================================
   SUPPORT PAGE
   ========================================= */
.support-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: rgba(79,142,247,0.35); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-chevron {
  font-size: 0.8rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  opacity: 0.6;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); opacity: 1; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p { font-size: 0.9rem; line-height: 1.7; }

/* Contact Form */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: 80px;
}

.contact-card h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-card > p { margin-bottom: 1.5rem; font-size: 0.9rem; }

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.1);
}

.form-group textarea { min-height: 100px; }

.form-group select option { background: var(--card2); }

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79,142,247,0.35);
}

.contact-email {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-email a { color: var(--primary); font-weight: 600; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }
.fade-up.delay-4 { animation-delay: 0.4s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .security-grid { grid-template-columns: 1fr; }
  .security-visual { order: -1; padding: 2rem 0 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .support-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}

@media (max-width: 700px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1rem; }
  .hero { padding: 3rem 1rem 2.5rem; min-height: auto; }
  .phone-frame { width: 180px; height: 340px; }
  .download-box { padding: 2.5rem 1.25rem; }
}

@media (max-width: 400px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-store { justify-content: center; }
  .download-cta { flex-direction: column; align-items: stretch; }
  .download-cta .btn-store { justify-content: center; }
}

/* =========================================
   LEGAL LANG BAR
   ========================================= */
.legal-lang-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
  margin-bottom: 1.5rem;
  background: rgba(79,142,247,0.06);
  border: 1px solid rgba(79,142,247,0.15);
  border-radius: 10px;
  font-size: 0.82rem;
}
.legal-lang-bar-label { opacity: 0.5; font-size: 1rem; }
.legal-lang-bar a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: 5px;
  transition: color 0.2s;
  white-space: nowrap;
}
.legal-lang-bar a:hover { color: #fff; }
