/* Synergy AI — shared styles (tokens + base + button + nav/footer/card/form states) */

:root {
  --color-primary: #0075de;
  --color-primary-active: #005bab;
  --color-accent-green: #1aae39;
  --shadow-soft: rgba(0,0,0,0.01) 0 0.175px 1.041px,
    rgba(0,0,0,0.02) 0 0.8px 2.925px,
    rgba(0,0,0,0.027) 0 2.025px 7.847px,
    rgba(0,0,0,0.04) 0 4px 18px;
  --font-sans: "Inter", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0a0b10;
  color: #f4f5f7;
  font-family: var(--font-sans);
  font-feature-settings: 'lnum' 1;
  overflow-x: hidden;
}

a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--color-primary); color: #fff; }

@keyframes syPulse { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: .8; transform: scale(1.06); } }
@keyframes syBlink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].sy-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Button (primary / secondary pill CTAs) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active { transform: scale(0.9); }
.btn-lg { padding: 13px 24px; }
.btn-md { padding: 10px 18px; }
.btn-full { width: 100%; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-active); }
.btn-secondary { background: #ffffff; color: rgba(0,0,0,0.95); box-shadow: var(--shadow-soft); }
.btn-secondary:hover { background: #f2f2f2; }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(10,11,16,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 15px; text-decoration: none; color: rgba(255,255,255,0.68); transition: color .12s ease; }
.nav-link:hover, .nav-link.is-active { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: rgba(255,255,255,0.3); }

/* Footer */
.footer-link { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .12s ease; }
.footer-link:hover { color: #fff; }
.footer-social {
  width: 36px; height: 36px; border-radius: 9px;
  background: #13151d; border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 15px;
  transition: border-color .12s ease, color .12s ease;
}
.footer-social:hover { border-color: rgba(0,117,222,0.5); color: #fff; }

/* Feature / info cards */
.feature-card { transition: border-color .12s ease; }
.feature-card:hover { border-color: rgba(0,117,222,0.45); }

.link-arrow { transition: color .12s ease; }
.link-arrow:hover { color: #fff; }

/* Form fields */
.form-input {
  width: 100%; box-sizing: border-box; font-family: var(--font-sans);
  font-size: 15px; color: #fff; background: #0c0e14;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  padding: 11px 13px; outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.form-input:focus { border-color: var(--color-primary); box-shadow: var(--shadow-soft); }
textarea.form-input { resize: vertical; line-height: 1.5; }

@media (max-width: 860px) {
  .site-nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .site-nav .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav .nav-links.is-open { display: flex; }
  .site-nav .nav-link { width: 100%; padding: 10px 4px; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-4 { grid-template-columns: 1fr 1fr !important; }
  .split-2 { grid-template-columns: 1fr !important; }
}
