/* ============================================================
   Vyb Global Solutions — Global Styles
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --bg: #050816;
  --bg-card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --text: #ffffff;
  --text-secondary: #b8c0d4;
  --text-muted: #7f8aa3;
  --accent-cyan: #22d3ee;
  --accent-blue: #6366f1;
  --accent-violet: #a855f7;
  --grad: linear-gradient(135deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);
  --grad-btn: linear-gradient(135deg, #22d3ee, #6366f1);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.25);
  --radius-card: 24px;
  --radius-btn: 999px;
  --container: 1140px;
  --header-h: 68px;
}

/* ── Focus Styles ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility ──────────────────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99,102,241,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5,8,22,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5,8,22,0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5,8,22,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

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

.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: #fff; }

.mobile-nav .btn {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.blob-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #6366f1, transparent);
  top: -180px;
  left: -120px;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #22d3ee, transparent);
  top: 60px;
  right: -80px;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #a855f7, transparent);
  bottom: -60px;
  left: 40%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 28px;
  padding: 28px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 0 60px rgba(99,102,241,0.2), 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.mockup-app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.mockup-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.mockup-app-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.mockup-app-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
}

.row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-cyan { background: var(--accent-cyan); }
.dot-blue { background: var(--accent-blue); }
.dot-violet { background: var(--accent-violet); }
.dot-green { background: #22c55e; }
.dot-orange { background: #f97316; }
.dot-pink { background: #ec4899; }

.row-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Floating chips */
.float-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chip {
  position: absolute;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.chip-1 { top: 10%; left: -18%; }
.chip-2 { top: 30%; right: -14%; }
.chip-3 { bottom: 30%; left: -14%; }
.chip-4 { bottom: 10%; right: -16%; }
.chip-5 { top: 62%; left: -12%; }

/* ── Sections shared ──────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Products Section ─────────────────────────────────────── */
#products { background: rgba(255,255,255,0.015); }

.product-card-wrap {
  display: flex;
  justify-content: center;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: var(--radius-card);
  padding: 40px;
  max-width: 720px;
  width: 100%;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 60px rgba(99,102,241,0.35), 0 28px 80px rgba(0,0,0,0.5);
}

.pc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.pc-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.pc-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pc-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.fchip {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.2s, border-color 0.2s;
}

.fchip:hover {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.45);
  color: #fff;
}

.pc-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Principles Section ───────────────────────────────────── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.35);
}

.principle-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.principle-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.principle-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Highlight Section ────────────────────────────────────── */
.highlight-section {
  background: rgba(99,102,241,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.highlight-inner {
  max-width: 720px;
  margin: 0 auto;
}

.highlight-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight-inner p {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.75;
}

.highlight-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact Section ──────────────────────────────────────── */
#contact {
  text-align: center;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 56px 40px;
  max-width: 560px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.75;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-btn);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-email-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99,102,241,0.55);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-bottom a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #fff; }

/* ── Feature Grid (Product Page) ──────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.35);
}

.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.feat-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.feat-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Dashboard Mockup (Product Page) ─────────────────────── */
.dashboard-mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 28px;
  padding: 28px;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 0 60px rgba(99,102,241,0.2), 0 24px 64px rgba(0,0,0,0.4);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dash-module {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-module-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-module span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Privacy Highlight Section ────────────────────────────── */
.privacy-highlight {
  background: rgba(34,211,238,0.04);
  border-top: 1px solid rgba(34,211,238,0.15);
  border-bottom: 1px solid rgba(34,211,238,0.15);
  text-align: center;
}

.privacy-highlight .highlight-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* ── Privacy Policy Page ──────────────────────────────────── */
.policy-page {
  padding: 80px 0 100px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.policy-toc h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.policy-toc ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-toc ul a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}

.policy-toc ul a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.policy-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
}

.policy-hero-meta {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.policy-hero-meta h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.policy-dates {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.policy-dates span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.policy-dates strong {
  color: var(--text-secondary);
}

.policy-content section {
  margin-bottom: 36px;
}

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

.policy-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.policy-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-content ul {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

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

.policy-contact-box {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 12px;
}

.policy-contact-box a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: color 0.2s;
}

.policy-contact-box a:hover { color: #fff; }

.policy-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ── Product Page Hero ────────────────────────────────────── */
.product-hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}

.product-hero .hero-badge {
  background: rgba(34,211,238,0.12);
  border-color: rgba(34,211,238,0.3);
}

/* ── Reduced Motion ───────────────────────────────────────── */
@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; }
}

/* ── Responsive: Tablet ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content { order: 1; }
  .hero-visual { order: 2; }

  .hero-sub { margin: 0 auto 36px; }
  .hero-btns { justify-content: center; }

  .chip-1, .chip-3, .chip-5 { left: -6%; }
  .chip-2, .chip-4 { right: -6%; }

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    position: static;
  }
}

/* ── Responsive: Mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 70px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .mockup-card {
    max-width: 300px;
  }

  .chip {
    display: none;
  }

  .principles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .product-card {
    padding: 28px 22px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .policy-content-card {
    padding: 28px 20px;
  }

  .contact-card {
    padding: 36px 22px;
  }

  .highlight-inner h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns,
  .highlight-btns,
  .pc-btns,
  .policy-btns {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    text-align: center;
  }

  .policy-dates {
    flex-direction: column;
    gap: 6px;
  }
}

/* ============================================================
   v2 — Company site additions
   ============================================================ */

/* ── Page Inner Hero ──────────────────────────────────────── */
.page-hero {
  padding: 88px 0 78px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero .hero-bg { z-index: 0; }

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Tech Visual (Hero) ───────────────────────────────────── */
.tech-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 360px;
  width: 100%;
}

.tv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease;
}

.tv-card:hover { border-color: rgba(99,102,241,0.4); }

.tv-card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; }

.tv-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.tv-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tv-bar {
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  width: 55%;
  opacity: 0.65;
}

/* ── Services Grid ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.35);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── About Section (homepage) ─────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-text .btn { margin-top: 10px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-visual-card {
  background: var(--bg-card);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-card);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}

.avc-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.avc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avc-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Products Listing Page ────────────────────────────────── */
.products-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.product-listing-card {
  background: var(--bg-card);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-card);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-listing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}

.product-listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 60px rgba(99,102,241,0.25), 0 24px 60px rgba(0,0,0,0.4);
}

.plc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.plc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.plc-name { font-size: 1.3rem; font-weight: 800; color: #fff; }
.plc-type { font-size: 0.78rem; color: var(--text-muted); }

.plc-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.plc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.plc-tag {
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.22);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.plc-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-col h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-info-col p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text { font-size: 0.93rem; color: var(--text-secondary); }
.contact-detail-text strong { color: #fff; display: block; margin-bottom: 2px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.contact-detail-text a { color: var(--accent-cyan); font-weight: 600; transition: color 0.2s; }
.contact-detail-text a:hover { color: #fff; }

.contact-right-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
}

.contact-right-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-right-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-topics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.contact-topic-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.contact-topic-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-topic-row span { font-size: 0.88rem; color: var(--text-secondary); }

/* ── Homepage services teaser ─────────────────────────────── */
.services-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.st-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.st-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99,102,241,0.35);
}

.st-icon { font-size: 1.4rem; margin-bottom: 10px; }
.st-name { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.st-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Responsive additions ─────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-page-layout { grid-template-columns: 1fr; gap: 36px; }
  .services-teaser-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding: 64px 0 56px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .products-listing-grid { grid-template-columns: 1fr; }
  .services-teaser-grid { grid-template-columns: 1fr 1fr; }
  .logo-img { height: 30px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-teaser-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-layout,
  .plc-btns { flex-direction: column; }
}
