/* EarsivGo landing — Cleopatra dashboard language */

.eg-subnav {
  background: #f4f5f7;
  border-bottom: 1px solid var(--cleo-border, #e5e7eb);
}

.eg-subnav-inner {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 0.65rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.eg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--cleo-fg, #111827);
  text-decoration: none;
}

.eg-brand-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #111827, #1e3a8a);
  color: #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eg-brand-mark svg {
  width: 1rem;
  height: 1rem;
}

.eg-links {
  display: none;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin-left: auto;
}

@media (min-width: 900px) {
  .eg-links {
    display: flex;
  }
}

.eg-links a {
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cleo-muted, #6b7280);
  text-decoration: none;
}

.eg-links a:hover {
  color: var(--cleo-fg, #111827);
  background: #fff;
}

.eg-subnav-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}

@media (min-width: 900px) {
  .eg-subnav-cta {
    margin-left: 0;
  }
}

.eg-store {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.6rem;
  text-decoration: none;
  border: 1px solid var(--cleo-border, #e5e7eb);
  background: #fff;
  color: var(--cleo-fg, #111827);
  transition: transform 0.15s, border-color 0.15s;
}

.eg-store:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.eg-store svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.eg-store small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--cleo-muted, #6b7280);
  line-height: 1.1;
}

.eg-store strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.15;
}

.eg-store.dark {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.eg-store.dark small {
  color: #9ca3af;
}

.eg-store.lg {
  min-height: 3rem;
  padding: 0.5rem 1rem;
}

.eg-store.lg svg {
  width: 1.4rem;
  height: 1.4rem;
}

.eg-store.lg small {
  font-size: 0.65rem;
}

.eg-store.lg strong {
  font-size: 0.9rem;
}

/* Hero */
.eg-hero {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  animation: cleo-in 0.5s ease both;
}

@media (min-width: 960px) {
  .eg-hero {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: stretch;
  }
}

.eg-hero-copy h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.eg-hero-copy h1 span {
  color: var(--cleo-accent, #2563eb);
}

.eg-hero-lead {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
}

.eg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.eg-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

@media (min-width: 560px) {
  .eg-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.eg-meta-item {
  background: #f9fafb;
  border: 1px solid var(--cleo-border, #e5e7eb);
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
}

.eg-meta-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.eg-meta-item span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--cleo-muted, #6b7280);
}

.eg-credit {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--cleo-muted, #6b7280);
}

.eg-credit a {
  color: var(--cleo-accent, #2563eb);
  font-weight: 600;
  text-decoration: none;
}

.eg-credit a:hover {
  text-decoration: underline;
}

/* Phone mock */
.eg-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
}

.eg-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  background: #fff;
  border: 1px solid var(--cleo-border, #e5e7eb);
  box-shadow: var(--cleo-shadow, 0 4px 16px rgba(17, 24, 39, 0.06));
  font-size: 0.75rem;
  font-weight: 600;
}

.eg-float.one {
  top: 8%;
  left: 0;
}

.eg-float.two {
  bottom: 14%;
  right: 0;
}

.eg-float-dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}

.eg-float-dot.ok {
  background: var(--cleo-teal, #0d9488);
}

.eg-float-dot.warn {
  background: var(--cleo-amber, #d97706);
}

.eg-phone {
  width: min(100%, 260px);
  background: #111827;
  border-radius: 1.6rem;
  padding: 0.65rem;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.22);
}

.eg-phone-bezel {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.1rem 1rem 1.2rem;
}

.eg-phone-brand {
  text-align: center;
  margin-bottom: 1rem;
}

.eg-phone-logo {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.5rem;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, #111827, #1e3a8a);
  color: #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eg-phone-logo svg {
  width: 1.2rem;
  height: 1.2rem;
}

.eg-phone-brand h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.eg-phone-brand p {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  color: var(--cleo-muted, #6b7280);
}

.eg-phone-field {
  margin-bottom: 0.65rem;
}

.eg-phone-field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--cleo-muted, #6b7280);
  margin-bottom: 0.25rem;
}

.eg-fake-input {
  border: 1px solid var(--cleo-border, #e5e7eb);
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.75rem;
  color: #9ca3af;
  background: #f9fafb;
}

.eg-phone-login {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 0.55rem;
  background: #111827;
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.7rem;
  cursor: default;
}

.eg-phone-info {
  margin-top: 0.85rem;
  padding: 0.65rem;
  border-radius: 0.55rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.68rem;
  color: #92400e;
  line-height: 1.4;
}

.eg-phone-info strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* Sections */
.eg-section {
  margin-bottom: 1.5rem;
}

.eg-section-head {
  margin-bottom: 0.95rem;
  max-width: 36rem;
}

.eg-section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eg-section-head h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.eg-section-head p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--cleo-muted, #6b7280);
  line-height: 1.55;
}

.eg-features {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .eg-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .eg-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.eg-feature {
  padding: 1.15rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.eg-feature:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
  transform: translateY(-2px);
}

.eg-feature-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--cleo-accent, #2563eb);
  margin-bottom: 0.75rem;
}

.eg-feature-ico.amber { background: #fffbeb; color: var(--cleo-amber, #d97706); }
.eg-feature-ico.teal { background: #f0fdfa; color: var(--cleo-teal, #0d9488); }
.eg-feature-ico.rose { background: #fff1f2; color: var(--cleo-rose, #e11d48); }
.eg-feature-ico.slate { background: #f3f4f6; color: #374151; }
.eg-feature-ico.indigo { background: #eef2ff; color: #4f46e5; }

.eg-feature-ico svg {
  width: 1.2rem;
  height: 1.2rem;
}

.eg-feature h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.eg-feature p {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.55;
}

/* Split */
.eg-split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .eg-split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .eg-split.reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .eg-split.reverse > :first-child {
    order: 2;
  }
}

.eg-split-copy {
  padding: 1.35rem;
}

.eg-split-copy h2 {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.eg-split-copy > p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.eg-list {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.eg-list-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.eg-num {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: #111827;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eg-list-item h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.eg-list-item p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--cleo-muted, #6b7280);
  line-height: 1.45;
}

.eg-warn {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.8rem;
  color: #92400e;
  line-height: 1.5;
}

.eg-mock {
  padding: 1.15rem;
  background: #f9fafb;
  border-left: 1px solid var(--cleo-border, #e5e7eb);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (max-width: 899px) {
  .eg-mock {
    border-left: none;
    border-top: 1px solid var(--cleo-border, #e5e7eb);
  }
}

.eg-mock-bar {
  height: 0.55rem;
  border-radius: 999px;
  background: #e5e7eb;
}

.eg-mock-bar.mid { width: 55%; }
.eg-mock-bar.short { width: 35%; margin-bottom: 0.35rem; }

.eg-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border: 1px solid var(--cleo-border, #e5e7eb);
  border-radius: 0.6rem;
  font-size: 0.8rem;
}

.eg-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.eg-badge.ok {
  background: #f0fdfa;
  color: #0f766e;
}

.eg-badge.wait {
  background: #fffbeb;
  color: #b45309;
}

/* Steps */
.eg-steps {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .eg-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.eg-step {
  padding: 1.25rem;
  text-align: center;
}

.eg-step-num {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.85rem;
  border-radius: 0.7rem;
  background: #111827;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eg-step h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.eg-step p {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.5;
}

/* Rules */
.eg-rules {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .eg-rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.eg-rule {
  padding: 1.25rem;
}

.eg-rule-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.eg-rule-top h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.eg-rule p {
  margin: 0;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Screens */
.eg-screens {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .eg-screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.eg-screen {
  padding: 1.15rem;
  background: linear-gradient(160deg, #111827 0%, #1e3a8a 100%);
  color: #fff;
  min-height: 9rem;
}

.eg-screen.alt {
  background: linear-gradient(160deg, #0f172a 0%, #0d9488 100%);
}

.eg-screen.alt2 {
  background: linear-gradient(160deg, #111827 0%, #b45309 100%);
}

.eg-screen h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.eg-screen p {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.eg-screen-lines {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.eg-screen-lines span {
  display: block;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.eg-screen-lines span:nth-child(1) { width: 70%; }
.eg-screen-lines span:nth-child(2) { width: 90%; }
.eg-screen-lines span:nth-child(3) { width: 50%; }

/* CTA */
.eg-cta {
  padding: 1.75rem 1.35rem;
  background: #111827;
  color: #fff;
  border-color: #111827;
  text-align: center;
}

.eg-cta h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.eg-cta p {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.55;
}

.eg-cta a {
  color: #93c5fd;
  font-weight: 600;
}

.eg-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.eg-cta .eg-store.light {
  background: #fff;
  border-color: #fff;
  color: #111827;
}

.eg-cta .eg-store.light small {
  color: #6b7280;
}

/* FAQ */
.eg-faq {
  display: grid;
  gap: 0.55rem;
}

.eg-faq details {
  background: var(--cleo-card, #fff);
  border: 1px solid var(--cleo-border, #e5e7eb);
  border-radius: var(--cleo-radius, 0.875rem);
  box-shadow: var(--cleo-shadow);
  padding: 0.85rem 1rem;
}

.eg-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  list-style: none;
}

.eg-faq summary::-webkit-details-marker {
  display: none;
}

.eg-faq summary::after {
  content: "+";
  float: right;
  color: var(--cleo-muted, #6b7280);
  font-weight: 600;
}

.eg-faq details[open] summary::after {
  content: "–";
}

.eg-faq p {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
}

.eg-faq a {
  color: var(--cleo-accent, #2563eb);
  font-weight: 600;
  text-decoration: none;
}

.eg-faq a:hover {
  text-decoration: underline;
}

.eg-faq code {
  font-size: 0.8em;
  background: #f3f4f6;
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
}

/* Product footer */
.eg-foot {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--cleo-card, #fff);
  border: 1px solid var(--cleo-border, #e5e7eb);
  border-radius: var(--cleo-radius, 0.875rem);
}

.eg-foot-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .eg-foot-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.eg-foot-brand p {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--cleo-muted, #6b7280);
  line-height: 1.55;
}

.eg-foot h4 {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cleo-muted, #6b7280);
}

.eg-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.eg-foot a {
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.eg-foot a:hover {
  color: var(--cleo-accent, #2563eb);
}

.eg-foot-bottom {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cleo-border, #e5e7eb);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--cleo-muted, #6b7280);
}

@media (max-width: 559px) {
  .eg-float {
    display: none;
  }
}
