
:root {
  --bg: #0b0c0f; --card: #0f1116; --text: #e6e7eb; --muted: #9aa0aa;
  --accent: #7c5cff; --border: #1c1f2a; --maxw: 980px; --radius: 16px; --pad: 22px;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; }
a { color: var(--text); text-underline-offset: 3px; }
.header { position: sticky; top: 0; z-index: 10; background: rgba(11,12,15,0.6); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad); }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:0.3px; }
.logo { width: 36px; height: 36px; border-radius: 10px; background: radial-gradient(100% 100% at 0% 0%, #9b8cff 0%, #6a4bff 40%, #2a2f8f 100%); box-shadow: 0 10px 30px rgba(124,92,255,0.35), inset 0 0 20px rgba(255,255,255,0.06); }
.nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-weight:600; }
.nav a:hover { color: var(--text); }

/* Launch App Button */
.launch-btn {
  margin-left: 24px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  color: white !important;
}

.launch-btn:hover {
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(124,92,255,0.45) !important;
}

/* Hero CTA */
.hero-cta {
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.cta-section {
  text-align: left;
}
.hero { padding: 70px var(--pad) 36px; display: grid; gap: 24px; grid-template-columns: 1.2fr 0.8fr; align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } }
.h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.05; margin: 0 0 10px; background: linear-gradient(180deg, #ffffff, #b9b9c5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtitle { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.badges { display:flex; gap:10px; flex-wrap: wrap; margin: 10px 0 16px; }
.badge { font-size:12px; border:1px solid var(--border); color: var(--muted); padding:6px 10px; border-radius:999px; }
.list { margin: 0; padding-left: 18px; color: var(--muted); }
.cta-row { display:flex; gap: 12px; align-items: center; margin-top: 16px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(180deg, #171924, #121420); color: var(--text); font-weight: 700; text-decoration: none; cursor: pointer; user-select: none; }
.button:hover { border-color: #2a2e3a; }
.button.primary { background: linear-gradient(180deg, #8f79ff, #6f57ff); border-color: rgba(255,255,255,0.15); color: #fff; box-shadow: 0 10px 30px rgba(124,92,255,0.35); }
.input { width: 100%; border-radius: 12px; border:1px solid var(--border); background: #0c0e14; color: var(--text); padding: 12px 14px; font-size: 16px; }
.small { font-size: 13px; color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.gallery { display:grid; gap:10px; grid-template-columns: repeat(3, 1fr); }
.gallery div { aspect-ratio: 1 / 1; border-radius: 12px; background: #151826; border:1px solid var(--border); }
footer { border-top: 1px solid var(--border); background: #0a0b0e; margin-top: 48px; }
.kyro-diagram { margin-top: 32px; display: flex; justify-content: center; }
.kyro-diagram svg { width: 100%; max-width: 400px; height: auto; }
@media (max-width: 900px) { .kyro-diagram { margin-top: 24px; } }
/* ----- Integrations panel (brand-accurate) ----- */
.integration-card{
  background: linear-gradient(180deg, #12141d, #0f1116);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  padding: 16px 16px 22px;
}
.integration-header{
  display: flex; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.integration-header .dot{
  width: 8px; height: 8px; border-radius: 999px; background: #2a2e3a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.integration-grid{
  position: relative;
  margin-top: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 90px;
}
@media (max-width: 900px){
  .integration-grid{ grid-template-columns: repeat(2, 1fr); }
}

.icon-card{
  border-radius: 16px;
  background: linear-gradient(180deg, #151826, #0f1116);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 8px 24px rgba(124,92,255,0.15);
}
.icon-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(124,92,255,0.25);
  border-color: #2a2e3a;
}
.icon-card img{
  width: 38px; height: 38px;
  filter: drop-shadow(0 0 8px rgba(124,92,255,0.25));
}

/* X/Twitter pill (keeps brand black/white while matching glow) */
.x-pill{
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: #000; color: #fff; font-size: 26px; font-weight: 800;
  box-shadow: 0 8px 24px rgba(124,92,255,0.15);
}

/* Center Kyro chip */
.kyro-chip{
  position: absolute; inset: 0; margin: auto;
  width: 140px; height: 90px;
  display: flex; align-items: center; justify-content: center;
}
.kyro-chip-glow{
  position: absolute; inset: -20px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(124,92,255,0.25) 0%, rgba(124,92,255,0.0) 70%);
  filter: blur(8px);
}
.kyro-chip-inner{
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #181b29, #121420);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 32px rgba(124,92,255,0.35);
}
.kyro-logo-mini{
  width: 26px; height: 26px; border-radius: 8px;
  background: radial-gradient(100% 100% at 0% 0%, #9b8cff 0%, #6a4bff 40%, #2a2f8f 100%);
  box-shadow: inset 0 0 16px rgba(255,255,255,0.08);
}
.kyro-chip-text{
  display: flex; align-items: baseline; gap: 6px; letter-spacing: .2px;
}
.kyro-chip-text strong{ font-weight: 800; }
.kyro-chip-text span{ font-size: 12px; color: var(--muted); }

/* 2x2 layout */
.integration-grid-2x2 {
  position: relative;
  margin-top: 16px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 90px);
  justify-items: center;
  align-items: center;
}

/* Light app cards */
.icon-card.light {
  background: #f9f9fb;
  border: 1px solid #e2e4ea;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.icon-card.light img {
  width: 40px;
  height: 40px;
  filter: none;
}

/* Center KyroAI chip */
.kyro-chip {
  position: absolute; inset: 0; margin: auto;
  width: 160px; height: 90px;
  display: flex; align-items: center; justify-content: center;
}
.kyro-chip-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #181b29, #121420);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 32px rgba(124,92,255,0.35);
}
.kyro-logo-mini {
  width: 30px; height: 30px; border-radius: 8px;
  background: radial-gradient(100% 100% at 0% 0%, #9b8cff 0%, #6a4bff 40%, #2a2f8f 100%);
  box-shadow: inset 0 0 16px rgba(255,255,255,0.08);
}
.kyro-chip-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: flex;
  gap: 6px;
}
.kyro-chip-text span {
  font-size: 18px; /* same size as Kyro */
  font-weight: 800;
  color: #fff;
}

.list {
  list-style: none;
  padding: 0;
}

.list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
}

.list .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}
/* Make the tiles light so logos pop */
.gallery .tile {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0ebeb !important;
  border: 1px solid #e6e9f2 !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery .tile img {
  width: 34px;
  height: 34px;
  display: block;
  filter: none !important;   /* neutralize any global filters */
}

.gallery .tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.tile {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;

  /* Light background so logos pop */
  background: #ffffff;
  border: 1px solid #e2e4ea;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.tile img {
  width: 34px;
  height: 34px;
  display: block;

  /* No filter, full color logos */
  filter: none;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

/* Feature Sections */
.feature-section {
  margin: 80px 0;
  padding: 0 var(--pad);
}

.feature-card {
  display: grid;
  gap: 40px;
  grid-template-columns: 0.6fr 1fr;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}

.feature-card.reverse {
  direction: rtl;
}

.feature-card.reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .feature-card {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .feature-card.reverse {
    direction: ltr;
  }
}

.feature-content h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: var(--text);
}

.feature-description {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}

.feature-list li:before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-image {
  position: relative;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-image:hover img {
  transform: scale(1.02);
}

/* Beta Badge */
.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b35, #f39c12);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 8px;
  position: relative;
  top: -2px;
  letter-spacing: 0.5px;
}

.beta-note {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 14px;
  color: #ff8c65;
}

/* Features Grid Section */
.features-grid-section {
  margin: 100px 0 80px 0;
  padding: 0 var(--pad);
}

.section-title {
  text-align: center;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 50px 0;
  background: linear-gradient(180deg, #ffffff, #b9b9c5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: var(--maxw);
  margin: 0 auto;
}

.feature-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(124, 92, 255, 0.15);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.feature-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--text);
}

.feature-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
