@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800&display=swap');

:root {
  --bg: #0b1220;
  --bg2: #0b1a2e;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.58);
  --border: rgba(255, 255, 255, 0.12);
  --brand: #FFB100;
  --accent: #36c96b;
  --link: #8bd3ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fb;
    --bg2: #ffffff;
    --card: rgba(10, 18, 32, 0.04);
    --card2: rgba(10, 18, 32, 0.06);
    --text: rgba(10, 18, 32, 0.92);
    --muted: rgba(10, 18, 32, 0.72);
    --muted2: rgba(10, 18, 32, 0.58);
    --border: rgba(10, 18, 32, 0.12);
    --shadow: 0 16px 50px rgba(10, 18, 32, 0.12);
    --link: #005bbb;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(255, 177, 0, 0.22), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(54, 201, 107, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: #000000;
  border-bottom: 1px solid var(--border);
}

@media (prefers-color-scheme: light) {
  .nav {
    background: rgba(255, 255, 255, 0.75);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  cursor: default;
}

.brand:hover {
  text-decoration: none !important;
}

.brand-logo {
  display: none;
}

.brand-logo-css {
  display: flex;
  align-items: stretch;
  border: 3.5px solid var(--text);
  border-radius: 13px;
  font-size: 24px;
  letter-spacing: -0.02em;
  overflow: hidden;
  background: var(--text);
  /* Force hardware acceleration and fix clipping bugs */
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: -webkit-radial-gradient(white, black);
  height: 48px;
}

.brand-part-rec {
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
  font-weight: 600;
  padding: 0 0 0 10px;
}

.brand-part-alli {
  display: flex;
  align-items: center;
  background: var(--brand);
  color: #000;
  font-weight: 700;
  padding: 0 10px 0 0;
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
}

.pill:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
}

.cta {
  background: linear-gradient(135deg, var(--brand), #fbbf24);
  border: 0;
  box-shadow: 0 16px 35px rgba(255, 177, 0, 0.22);
}

.cta:hover {
  filter: brightness(1.02);
}

.hero {
  padding: 62px 0 28px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

h1 {
  margin: 0 0 12px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 18px 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 650;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(54, 201, 107, 0.18);
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-inner {
  padding: 18px;
}

.kicker {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 30px 0;
}

@media (max-width: 920px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  border: 1px solid var(--border);
  background: var(--card2);
  border-radius: 16px;
  padding: 16px;
}

.feature h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-title {
  font-size: 22px;
  margin: 0 0 10px 0;
}

.section-subtitle {
  margin: 0 0 16px 0;
  color: var(--muted);
  max-width: 70ch;
}

.list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.list li {
  margin: 6px 0;
}

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding: 20px 0 36px 0;
  color: var(--muted2);
  font-size: 13px;
}

.footer a {
  color: var(--muted);
}

/* Pricing Page Specifics */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted2);
}

.compare-table .feature-name {
  width: 50%;
  color: var(--text);
  font-weight: 600;
}

.compare-table .val-free,
.compare-table .val-premium {
  width: 25%;
  text-align: center;
}

.compare-table .val-premium {
  color: var(--accent);
  font-weight: 800;
}

.locked {
  color: #ff4d4d;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
}

.included {
  color: var(--muted2);
}

.trial-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 920px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.callout {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
}

.callout strong {
  color: var(--text);
}

.meta {
  color: var(--muted2);
  font-size: 13px;
}

/* Gallery & Lightbox Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  aspect-ratio: 9 / 19.5; /* iPhone aspect ratio */
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 177, 0, 0.3), var(--shadow);
  border-color: var(--brand);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox Overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--brand);
}