/* ============================================
   NOZARO.COM — SHARED STYLESHEET
   ============================================ */

/* ============ VARIABLES ============ */
:root {
  --primary: #2563EB;
  --primary-light: #0EA5E9;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --primary-gradient: linear-gradient(135deg, #2563EB, #0EA5E9);
  --white: #FAFBFC;
  --navy: #0A1628;
  --navy-light: #111D32;
  --gray-50: #F6F8FA;
  --gray-100: #E8ECF1;
  --gray-200: #D1D9E4;
  --gray-300: #B0BCCC;
  --text-dark: #1A2332;
  --text-mid: #4A5568;
  --text-light: #6B7A8D;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --section-pad: 120px;
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; font-weight: 600; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(250, 251, 252, 0.95);
  border-bottom-color: rgba(37, 99, 235, 0.12);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary-gradient) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 2px 16px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-graphic {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  opacity: 0.9;
  animation: floatArch 8s ease-in-out infinite;
}
@keyframes floatArch {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-52%) translateX(-8px); }
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: calc(72px + 80px) 0 80px;
  background: var(--gray-50);
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 19px;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

/* ============ SECTIONS ============ */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  z-index: 1;
}
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--navy); color: white; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-dark .section-title { color: white; }
.section-desc {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}
.section-dark .section-desc { color: var(--gray-300); }
.section-header { margin-bottom: 64px; }

/* ============ CARDS ============ */
.pillar-card, .tech-card, .product-card, .license-card, .family-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
}
.pillars-grid, .tech-grid, .license-grid {
  display: grid;
  gap: 24px;
}
.pillars-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tech-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.license-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.pillar-card {
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}
.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pillar-icon svg { width: 28px; height: 28px; color: var(--primary); }
.pillar-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--navy); }
.pillar-card p { color: var(--text-mid); font-size: 15px; line-height: 1.7; }

.tech-card { padding: 36px; position: relative; }
.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}
.tech-card-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 16px;
}
.tech-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.tech-card p { color: var(--text-mid); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.tech-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.tech-status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* Product cards */
.product-card { overflow: hidden; }
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}
.product-img {
  width: 100%;
  height: 220px;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img svg { width: 80px; height: 80px; opacity: 0.3; }
.product-body { padding: 32px; }
.product-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-body h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.product-body p { color: var(--text-mid); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.product-features { list-style: none; margin-bottom: 24px; }
.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 0;
}
.product-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}
.product-link:hover { gap: 10px; }

/* License cards */
.license-card { padding: 40px; text-align: center; }
.license-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}
.license-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03), white);
}
.license-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.license-card p { color: var(--text-mid); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

/* Family cards */
.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.family-card {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--gray-50);
}
.family-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}
.family-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.family-card h4 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.family-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 48px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.section-dark .stat-number { color: var(--primary-light); }
.stat-label { font-size: 15px; color: var(--text-mid); }
.section-dark .stat-label { color: var(--gray-300); }

/* Timeline */
.timeline { position: relative; padding-left: 48px; max-width: 800px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--gray-200));
}
.timeline-item { position: relative; margin-bottom: 56px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -53px; top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 500;
}
.timeline-item h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.timeline-item p { color: var(--text-mid); font-size: 15px; line-height: 1.7; }

/* ============ FORMS ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 24px; color: var(--navy); margin-bottom: 20px; }
.contact-info p { color: var(--text-mid); margin-bottom: 32px; line-height: 1.7; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
  color: var(--text-mid);
}
.contact-detail svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.contact-form {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Honeypot anti-spam */
.ohnohoney { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; }

/* ============ CTA SECTION ============ */
.cta-section { background: var(--navy); position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 { font-size: clamp(32px, 4vw, 44px); color: white; margin-bottom: 20px; }
.cta-inner p { font-size: 18px; color: var(--gray-300); margin-bottom: 40px; line-height: 1.7; }

/* ============ PROSE CONTENT ============ */
.prose { max-width: 760px; }
.prose p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.prose h2 {
  font-size: 28px;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
}
.prose h3 {
  font-size: 22px;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
}
.prose ul, .prose ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-mid);
}
.prose li { margin-bottom: 8px; font-size: 16px; }

/* Leadership card */
.leader-card {
  display: flex;
  gap: 32px;
  align-items: center;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px 0;
}
.leader-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: white;
}
.leader-info h3 { font-size: 24px; color: var(--navy); margin-bottom: 4px; }
.leader-info .leader-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}
.leader-info p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--gray-300);
  max-width: 300px;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: var(--gray-300); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}
.footer-family { display: flex; gap: 24px; }
.footer-family a { color: var(--gray-300); font-size: 13px; transition: color 0.2s; }
.footer-family a:hover { color: var(--primary-light); }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
  .hero-graphic { display: none; }
  .hero-content { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .leader-card { flex-direction: column; text-align: center; }
  .pillars-grid { grid-template-columns: 1fr !important; }
  .tech-grid { grid-template-columns: 1fr !important; }
  .license-grid { grid-template-columns: 1fr !important; }
  .products-grid { grid-template-columns: 1fr !important; }
  :root { --section-pad: 64px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  :root { --section-pad: 48px; }
  .container { padding: 0 20px; }
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 60px; }
  .page-hero { padding: calc(72px + 40px) 0 40px; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(26px, 6vw, 36px); }
  .page-hero h1 { font-size: clamp(30px, 7vw, 44px); }
  .page-hero p { font-size: 16px; }
  .hero h1 { font-size: clamp(34px, 8vw, 52px); }
  .hero-sub { font-size: 16px; }
  .pillar-card { padding: 28px 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lexarc-teaser-grid { grid-template-columns: 1fr !important; }
}
