/* flagle.css – project-specific accent overrides */


/* ── Hero ── */
.case-hero {
  background: linear-gradient(135deg, #1D1D1D 0%, #252525 100%);
}

/* Image fades in from right – white area becomes transparent against dark bg */
.case-hero .case-hero-img img {
  object-position: right center;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 5%,
    rgba(0, 0, 0, 0.6) 35%,
    black 58%
  );
  mask-image: linear-gradient(
    to right,
    transparent 5%,
    rgba(0, 0, 0, 0.6) 35%,
    black 58%
  );
  opacity: 0.3;
    filter: blur(6px);
    -webkit-filter: blur(6px);
}

/* Adjusted overlay for dark hero */
.case-hero .case-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.10) 0%,
    transparent        30%,
    transparent        50%,
    rgba(0, 0, 0, 0.70) 100%
  );
}

/* ── App Store CTA ── */
.flagle-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.flagle-appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #0a0a0a;
  color: #fafaf8;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.flagle-appstore-btn:hover {
  background: #d63b2f;
}

.flagle-platform {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Prinzip: steps + video side by side ── */

.prinzip-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

/* Phone mockup frame */

.phone-frame {
  position: relative;
  width: 220px;
  background: #1c1c1e;
  border-radius: 32px;
  padding: 6px 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 80px rgba(0, 0, 0, 0.35);
}

/* Volume buttons (left) */
.phone-frame::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 72px;
  width: 3px;
  height: 26px;
  background: #2c2c2e;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 38px 0 #2c2c2e;
}

/* Power button (right) */
.phone-frame::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 96px;
  width: 3px;
  height: 48px;
  background: #2c2c2e;
  border-radius: 0 3px 3px 0;
}

.phone-notch {
  width: 76px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 20px;
  margin: 0 auto 8px;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.phone-screen video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 700px) {
  .prinzip-layout {
    grid-template-columns: 1fr;
  }

  .prinzip-video {
    display: flex;
    justify-content: center;
  }

  .phone-frame {
    width: 200px;
  }
}

/* ── App Screens ── */

.flagle-screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.flagle-screen {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.flagle-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.flagle-screen figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-align: center;
}

@media (max-width: 600px) {
  .flagle-screens {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
}

/* ── Comparison table ── */

.comparison-table {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.8fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-header {
  background: var(--card-bg);
}

.comparison-header span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--border);
}

.comparison-header span:last-child,
.comparison-row span:last-child {
  border-right: none;
}

.comparison-cell--label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--border);
}

.comparison-cell {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--border);
  line-height: 1.5;
}

.comparison-cell--highlight {
  font-size: 0.85rem;
  color: var(--fg);
  padding: 0.85rem 1rem;
  line-height: 1.5;
}
