/* NIRYAT Marketing Site — Shared styles */
:root {
  --navy: #0B1F3A;
  --navy-light: #1A3358;
  --cyan: #00B4D8;
  --cyan-dark: #0098B8;
  --cyan-bg: rgba(0,180,216,0.08);
  --orange: #FF8C42;
  --orange-dark: #E87A30;
  --orange-bg: rgba(255,140,66,0.08);
  --cream: #FFF8E7;
  --white: #FFFFFF;
  --bg-soft: #F7F8FA;
  --text: #1A1A1A;
  --text-muted: #5C6470;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;
  --success: #10B981;
  --danger: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 12px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(11,31,58,0.12);
  --radius: 12px;
  --radius-lg: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { color: var(--cyan); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.15;
}
h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.section-eyebrow {
  color: var(--cyan-dark); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.lead {
  font-size: 19px; color: var(--text-muted); line-height: 1.55;
  max-width: 680px;
}

/* NAV */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.logo {
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 22px; color: var(--navy); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.logo svg { width: 32px; height: 32px; }
.logo:hover { color: var(--navy); }
.nav-links {
  display: flex; gap: 8px; align-items: center;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); background: var(--white); color: var(--navy);
  transition: all 0.15s; font-family: inherit; white-space: nowrap;
}
.btn:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary {
  background: var(--orange); color: white; border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: white; box-shadow: 0 8px 20px rgba(255,140,66,0.25); }
.btn-navy { background: var(--navy); color: white; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: white; }
.btn-cyan { background: var(--cyan); color: white; border-color: var(--cyan); }
.btn-cyan:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); color: white; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* HERO */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cyan-bg); color: var(--cyan-dark);
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--cyan); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { margin-bottom: 24px; }
.hero h1 .highlight { color: var(--orange); }
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; gap: 32px; flex-wrap: wrap;
}
.trust-stat { display: flex; flex-direction: column; }
.trust-num {
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 24px; color: var(--navy);
}
.trust-label { font-size: 13px; color: var(--text-muted); }

/* HERO VISUAL — dashboard preview */
.hero-visual {
  background: var(--navy);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-xl);
  color: white; position: relative; overflow: hidden;
}
.hero-visual::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,180,216,0.2), transparent);
}
.preview-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px; position: relative;
}
.preview-title { font-size: 14px; font-weight: 600; opacity: 0.7; }
.preview-status {
  background: rgba(239,68,68,0.15); color: #FCA5A5;
  padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 600;
}
.alert-card {
  background: rgba(239,68,68,0.08); border-left: 3px solid var(--danger);
  padding: 14px 16px; border-radius: 6px; margin-bottom: 12px;
}
.alert-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.alert-detail { font-size: 13px; opacity: 0.7; line-height: 1.5; }
.recon-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.recon-row:last-child { border-bottom: none; }
.r-label { opacity: 0.6; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.r-val { font-weight: 600; }
.r-val.mismatch { color: #FCA5A5; }
.r-val.match { color: #6EE7B7; }
.preview-footer {
  margin-top: 16px; padding: 12px; background: rgba(0,180,216,0.1); border-radius: 6px; font-size: 13px;
}

/* SECTIONS */
section { padding: 80px 0; }
section.alt { background: var(--bg-soft); }
section.dark { background: var(--navy); color: white; }
section.dark h2 { color: white; }
section.dark .lead { color: rgba(255,255,255,0.7); }
section.dark .section-eyebrow { color: var(--cyan); }
section.cream { background: var(--cream); }
.section-head {
  text-align: center; margin-bottom: 56px; max-width: 760px; margin-left: auto; margin-right: auto;
}
.section-head h2 { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* FEATURE / MODULE CARD */
.feature-card {
  background: white; border: 1px solid var(--border);
  padding: 28px; border-radius: var(--radius);
  transition: all 0.2s ease;
}
.feature-card:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--navy));
  border-radius: 10px; color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; margin-bottom: 16px;
  font-family: 'Manrope';
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* PAIN CARD */
.pain-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  padding: 24px; border-radius: var(--radius); color: white;
}
.pain-amount {
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 32px; color: var(--orange); margin-bottom: 8px;
}
.pain-text { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.55; }

/* TRIGGER CARD */
.trigger-card {
  background: var(--cream); border-radius: var(--radius); padding: 28px;
  border: 1px solid #F0E5C4;
}
.trigger-date {
  display: inline-block; background: var(--orange); color: white;
  padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700;
  margin-bottom: 12px;
}
.trigger-card h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.3; }
.trigger-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* PRICING */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column;
  transition: all 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--orange); border-width: 2px;
  position: relative;
  box-shadow: 0 12px 32px rgba(255,140,66,0.18);
}
.pricing-card.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: white;
  padding: 4px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
}
.pricing-tier { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.pricing-name { font-family: 'Manrope'; font-weight: 800; font-size: 28px; color: var(--navy); margin: 4px 0 12px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.pricing-price .amount { font-family: 'Manrope'; font-weight: 800; font-size: 40px; color: var(--navy); }
.pricing-price .period { font-size: 14px; color: var(--text-muted); }
.pricing-billed { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pricing-features li { padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-features li.muted { color: var(--text-muted); }
.pricing-features li.muted::before { content: '○'; color: var(--text-muted); }
.pricing-cta { width: 100%; }

/* COMPARISON TABLE */
.compare-table {
  width: 100%; border-collapse: collapse; background: white;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare-table th {
  background: var(--bg-soft); font-weight: 600;
  text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; color: var(--text-muted);
}
.compare-table th.tier {
  text-align: center; color: var(--navy);
  font-family: 'Manrope'; font-weight: 700; font-size: 14px;
}
.compare-table td.center { text-align: center; }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .dash { color: var(--text-muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-item {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--navy); transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-soft); }
.faq-toggle { font-size: 14px; transition: transform 0.2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-toggle { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s, padding 0.3s; color: var(--text-muted); font-size: 15px; line-height: 1.65;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 24px 22px; }

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white; padding: 80px 24px; text-align: center;
  border-radius: 0;
}
.cta-section h2 { color: white; max-width: 720px; margin: 0 auto 16px; }
.cta-section .lead { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer.site-footer {
  padding: 56px 24px 32px; border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 32px;
}
.footer-col h5 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); font-weight: 600; margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text); font-size: 14px; }
.footer-col a:hover { color: var(--cyan-dark); }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--text-muted);
}

/* FORMS */
.form-card {
  background: white; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600; color: var(--navy);
  margin-bottom: 8px;
}
.form-label .req { color: var(--danger); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: inherit; outline: none;
  transition: all 0.15s; background: white; color: var(--text);
}
.form-control:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-bg); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-help { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-success {
  background: #D1FAE5; border: 1px solid #6EE7B7; color: #065F46;
  padding: 16px 20px; border-radius: 10px; margin-bottom: 16px;
  display: none;
}
.form-success.show { display: block; }
.form-error {
  background: #FEE2E2; border: 1px solid #FCA5A5; color: #991B1B;
  padding: 16px 20px; border-radius: 10px; margin-bottom: 16px;
  display: none;
}
.form-error.show { display: block; }

/* CONTACT INFO CARDS */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.contact-card {
  background: white; border: 1px solid var(--border); padding: 20px;
  border-radius: var(--radius); text-align: left;
}
.contact-card-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--cyan-bg); color: var(--cyan-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 12px;
}
.contact-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-card p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.contact-card a { color: var(--navy); font-weight: 600; font-size: 14px; }

/* FOUNDER CARD */
.founder-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; max-width: 560px;
  display: flex; gap: 20px; align-items: center;
}
.founder-avatar {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 28px; font-family: 'Manrope';
}
.founder-name { font-family: 'Manrope'; font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.founder-role { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.founder-bio { font-size: 14px; color: var(--text); line-height: 1.55; }

/* INTEGRATION GRID */
.integration-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.integration-tile {
  background: white; border: 1px solid var(--border);
  padding: 16px 20px; border-radius: var(--radius);
  text-align: center; transition: all 0.15s;
}
.integration-tile:hover { border-color: var(--cyan); transform: translateY(-1px); }
.integration-mark {
  font-family: 'Manrope'; font-weight: 800; font-size: 16px;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-bg), var(--orange-bg));
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.integration-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.integration-status {
  display: inline-block; font-size: 10px; padding: 2px 6px; border-radius: 100px;
  background: #D1FAE5; color: #065F46; font-weight: 700; margin-top: 4px;
}

/* SUBTLE ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); animation: reveal 0.6s ease forwards; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .hero { padding: 56px 0 72px; }
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .grid-4, .pricing-grid, .integration-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .nav-links a:not(.btn) { display: none; }
  .grid-3, .grid-4, .pricing-grid, .integration-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
  .form-card { padding: 24px; }
}
