/* ------------------------------------------------------------------ */
/* OwnersRest — base styles                                            */
/* ------------------------------------------------------------------ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --ink: #12121a;
  --ink-soft: #4b4d5c;
  --border: #e6e7ee;

  --hero-bg-1: #0b0f1e;
  --hero-bg-2: #141a33;

  --accent: #6c5ce7;
  --accent-2: #00d2d3;
  --accent-ink: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(18, 18, 26, 0.06);
  --shadow-lg: 0 20px 60px rgba(18, 18, 26, 0.12);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--ink-soft); }

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8a7bff);
  color: white;
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(108, 92, 231, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--accent); }
.nav-cta,
.nav-contact { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  background: radial-gradient(120% 120% at 20% 0%, var(--hero-bg-2), var(--hero-bg-1) 60%);
  color: white;
  overflow: hidden;
  padding: 96px 0 0;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.35), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: white;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.hero .btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.hero-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Hero mock window */

.hero-mock {
  position: relative;
  margin: 56px auto 0;
  max-width: 720px;
  padding-bottom: 90px;
}

.mock-window {
  background: #10142a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mock-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.mock-title {
  margin-left: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.mock-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.mock-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
}
.mock-msg-in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
}
.mock-msg-out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), #8a7bff);
  color: white;
}
.mock-msg-sys {
  align-self: center;
  background: transparent;
  color: var(--accent-2);
  font-size: 0.78rem;
  max-width: 100%;
  text-align: center;
}

/* ---------------- Strip ---------------- */

.strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.strip-inner { padding: 20px 24px; text-align: center; }
.strip-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------------- Sections ---------------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .lead { margin: 0 auto; }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(108, 92, 231, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tag-alt {
  color: #0aa3a4;
  background: rgba(0, 210, 211, 0.12);
}

.lead { font-size: 1.05rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fdeceb;
  color: #e0554f;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list-alt li::before {
  content: "✓";
  background: rgba(108, 92, 231, 0.12);
  color: var(--accent);
}

/* ---------------- Steps ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.step p { margin: 0; font-size: 0.92rem; }

/* ---------------- Cards / Capabilities ---------------- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.card-icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card p { margin: 0; font-size: 0.93rem; }

.quote-card { display: flex; flex-direction: column; }
.quote {
  font-size: 1.02rem;
  color: var(--ink);
  font-style: italic;
}
.quote-author {
  margin: auto 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------------- Integrations ---------------- */

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.integration-pill {
  padding: 14px 26px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

/* ---------------- Compare table ---------------- */

.compare-table {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.compare-head {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-head > div:first-child { color: transparent; }
.highlight { color: var(--accent); font-weight: 700; }

/* ---------------- Pricing ---------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card ul li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-card .btn { margin-top: auto; }
.price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.price span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-desc { font-size: 0.92rem; margin-bottom: 20px; }

.price-featured {
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.2);
  transform: scale(1.03);
}
.price-badge {
  align-self: flex-start;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------------- FAQ ---------------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 22px;
}
.faq-a p { margin: 0 0 18px; font-size: 0.93rem; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---------------- CTA banner ---------------- */

.cta-banner {
  background: linear-gradient(135deg, var(--hero-bg-1), var(--hero-bg-2));
  color: white;
  padding: 80px 0;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { color: white; }
.cta-inner p { color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; }

/* ---------------- Contact ---------------- */

.contact-detail {
  font-size: 0.98rem;
  margin-bottom: 10px;
}
.contact-detail a:hover { color: var(--accent); }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
}
.form-note {
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 1.2em;
  margin: 0;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--hero-bg-1);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: white;
  font-family: var(--font-head);
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.footer-nav a:hover { color: white; }
.footer-copy { font-size: 0.82rem; margin: 0; width: 100%; text-align: center; }

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-featured { transform: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .site-header.nav-open .main-nav .nav-contact {
    display: inline-flex;
  }

  .site-header.nav-open .main-nav .nav-cta {
    display: inline-flex;
    margin-top: 8px;
  }

  .steps { grid-template-columns: 1fr; }
  .grid-cards { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1.4fr 1fr 1fr; font-size: 0.82rem; padding: 12px; }
  .lg-only { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
