/* ========================================
   LogicLine Labs — Global Styles
   ======================================== */

:root {
  --bg-primary: #FAFBFC;
  --bg-white: #FFFFFF;
  --text-primary: #0A1628;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --accent-deep: #1E3A5F;
  --accent-bright: #2563EB;
  --accent-light: #EEF2FF;
  --border: #F0F0F0;
  --border-input: #E5E7EB;
  --surface: #F8F9FA;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

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

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--text-primary); }

.nav__links a.btn--primary { color: #fff; }
.nav__links a.btn--primary:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn--primary {
  background: var(--accent-deep);
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
}

.btn--primary:hover { background: #16304F; }

.btn--hero {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 10px;
}

.btn--secondary {
  background: #fff;
  color: var(--accent-deep);
  border: 1.5px solid var(--border-input);
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 10px;
}

.btn--secondary:hover { border-color: var(--accent-deep); }

.btn--dark {
  background: var(--text-primary);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
}

.btn--ghost {
  background: #F4F5F7;
  color: var(--accent-deep);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
}

.btn--white {
  background: #fff;
  color: var(--accent-deep);
  padding: 18px 40px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 10px;
}

.btn--white:hover { background: #F0F4F8; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav__inner { padding: 0 24px; }
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .nav__links.active { display: flex; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--bg-white);
  padding: 80px 0;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: 20px;
  width: fit-content;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-bright);
  border-radius: 50%;
}

.hero__badge-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  letter-spacing: -3px;
  line-height: 0.95;
  color: var(--text-primary);
}

.hero__subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero__visual {
  position: relative;
  width: 500px;
  height: 480px;
  flex-shrink: 0;
}

.hero__phone {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,22,40,0.15);
}

.hero__phone--1 {
  width: 220px;
  height: 440px;
  background: var(--accent-deep);
  left: 0;
  top: 40px;
  transform: rotate(-6deg);
}

.hero__phone--2 {
  width: 220px;
  height: 440px;
  background: var(--text-primary);
  left: 180px;
  top: 0;
  transform: rotate(4deg);
}

.hero__phone--3 {
  width: 180px;
  height: 360px;
  background: #EC4899;
  left: 320px;
  top: 80px;
  transform: rotate(8deg);
}

.hero__phone-screen {
  margin: 12px;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100% - 24px);
}

.hero__phone--1 .hero__phone-screen { background: #fff; }
.hero__phone--2 .hero__phone-screen { background: #111827; }
.hero__phone--3 .hero__phone-screen { background: #BE185D; border-radius: 22px; margin: 10px; padding: 16px; height: calc(100% - 20px); }

.hero__phone-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}

.hero__phone-sub { font-size: 11px; }

.hero__phone-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  letter-spacing: -3px;
}

.hero__phone-metric {
  font-size: 13px;
  font-weight: 500;
}

.hero__phone--1 .hero__phone-label { color: var(--accent-deep); }
.hero__phone--1 .hero__phone-sub { color: var(--text-secondary); }
.hero__phone--1 .hero__phone-number { color: var(--accent-deep); }
.hero__phone--1 .hero__phone-metric { color: var(--text-secondary); }

.hero__phone--2 .hero__phone-label { color: #fff; }
.hero__phone--2 .hero__phone-sub { color: #9CA3AF; }
.hero__phone--2 .hero__phone-number { color: var(--accent-bright); }
.hero__phone--2 .hero__phone-metric { color: #9CA3AF; }

.hero__phone--3 .hero__phone-label { color: #fff; font-size: 15px; }
.hero__phone--3 .hero__phone-sub { color: #F9A8D4; }
.hero__phone--3 .hero__phone-number { color: #fff; font-size: 56px; letter-spacing: -2px; }
.hero__phone--3 .hero__phone-metric { color: #F9A8D4; }

@media (max-width: 1024px) {
  .hero__inner { flex-direction: column; text-align: center; }
  .hero__ctas { justify-content: center; }
  .hero__badge { margin: 0 auto; }
  .hero__visual { display: none; }
  .hero__title { font-size: 48px; letter-spacing: -2px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0; }
  .hero__title { font-size: 36px; }
  .hero__subtitle { font-size: 16px; }
  .hero__ctas { flex-direction: column; }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ========================================
   APPS SHOWCASE
   ======================================== */
.apps {
  padding: 80px 0;
  background: var(--bg-primary);
}

.apps__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}

.apps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .apps__grid { grid-template-columns: 1fr; }
  .section-title { font-size: 36px; }
}

/* App Card */
.app-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  position: relative;
}

.app-card:hover {
  box-shadow: 0 8px 32px rgba(10,22,40,0.08);
  transform: translateY(-2px);
}

.app-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.app-card__actions { position: relative; z-index: 2; }
.app-card__actions a, .app-card__actions button { position: relative; z-index: 2; }

.app-card::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D1D5DB' stroke-width='2'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E");
  background-size: contain;
  transition: opacity 0.2s;
  opacity: 0.6;
  z-index: 0;
}

.app-card:hover::after {
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E");
}

.app-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.app-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.app-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__info { flex: 1; min-width: 0; }

.app-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.app-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.app-card__category {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-deep);
  white-space: nowrap;
}

.app-card__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-card__body { padding: 0 24px 24px; }

.app-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.app-card__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.app-card__downloads {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  margin-left: auto;
}

/* ========================================
   SERVICES BANNER
   ======================================== */
.services-banner {
  background: var(--accent-deep);
  padding: 80px 0;
}

.services-banner__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.services-banner__content { flex: 1; }

.services-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.services-banner__desc {
  font-size: 18px;
  color: #94A3B8;
  line-height: 1.6;
}

.services-banner__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.services-banner__services {
  display: flex;
  gap: 24px;
}

.services-banner__service {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748B;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .services-banner__inner { flex-direction: column; text-align: center; }
  .services-banner__right { width: 100%; }
  .services-banner__title { font-size: 32px; }
}

/* ========================================
   TECH STACK
   ======================================== */
.tech {
  background: var(--bg-white);
  padding: 60px 0;
  text-align: center;
}

.tech__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.tech__row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.tech__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech__item img {
  height: 40px;
  width: auto;
  filter: grayscale(100%) opacity(0.4);
  transition: filter 0.3s;
}

.tech__item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--bg-primary);
  padding: 80px 0;
  text-align: center;
}

.about__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.about__text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 48px;
}

.about__stats {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.about__stat { text-align: center; }

.about__stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--accent-deep);
  letter-spacing: -1px;
}

.about__stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .about__stats { flex-direction: column; gap: 32px; }
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: var(--bg-white);
  padding: 80px 0;
}

.contact__inner {
  display: flex;
  gap: 80px;
}

.contact__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact__info-item svg { color: var(--accent-deep); flex-shrink: 0; }

.contact__form-wrap {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent-bright); }

.form-group textarea { min-height: 120px; resize: vertical; }

.btn--submit {
  width: 100%;
  justify-content: center;
  background: var(--accent-deep);
  color: #fff;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
}

.btn--submit:hover { background: #16304F; }

@media (max-width: 768px) {
  .contact__inner { flex-direction: column; gap: 40px; }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--text-primary);
  padding: 60px 0 40px;
  color: #64748B;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-deep);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.5;
}

.footer__nav {
  display: flex;
  gap: 80px;
}

.footer__col { display: flex; flex-direction: column; gap: 16px; }

.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 1px;
}

.footer__col a {
  font-size: 14px;
  color: #64748B;
  transition: color 0.2s;
}

.footer__col a:hover { color: #94A3B8; }

.footer__legal a { font-size: 13px; color: #475569; }

.footer__divider {
  height: 1px;
  background: #1E293B;
  margin-bottom: 24px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy { font-size: 13px; color: #475569; }

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  color: #475569;
  transition: color 0.2s;
}

.footer__social a:hover { color: #94A3B8; }

@media (max-width: 768px) {
  .footer__top { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 16px; }
}

/* ========================================
   APP DETAIL PAGE
   ======================================== */
.app-detail-hero {
  background: var(--bg-white);
  padding: 60px 0;
}

.app-detail-hero__inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.app-detail-hero__top {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.app-detail__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
}

.app-detail__icon img { width: 100%; height: 100%; object-fit: cover; }

.app-detail__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.app-detail__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.app-detail__cat-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.app-detail__rating {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.app-detail__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.app-detail__desc {
  font-size: 16px;
  color: #4B5563;
  line-height: 1.7;
  max-width: 580px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.app-detail__desc.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.app-detail__read-more {
  background: none;
  color: var(--accent-bright);
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  margin-bottom: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .app-detail-hero__inner { flex-direction: column; }
  .app-detail__name { font-size: 28px; }
}

/* Screenshots carousel */
.screenshots {
  background: var(--surface);
  padding: 40px 0;
}

.screenshots__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.screenshots__row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: thin;
}

.screenshots__row::-webkit-scrollbar { height: 6px; }
.screenshots__row::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }

.screenshots__item {
  width: 230px;
  height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #E5E7EB;
}

.screenshots__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features grid */
.features {
  background: var(--bg-white);
  padding: 60px 0;
}

.features__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card__icon {
  width: 28px;
  height: 28px;
}

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

/* Legal & Blog */
.legal-blog {
  background: var(--bg-primary);
  padding: 60px 0;
}

.legal-blog__inner {
  display: flex;
  gap: 60px;
}

.legal-blog__legal { width: 320px; flex-shrink: 0; }
.legal-blog__blog { flex: 1; }

.legal-blog__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
}

.legal-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-bright);
  transition: opacity 0.2s;
}

.legal-link:hover { opacity: 0.8; }

.legal-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 16px;
}

.blog-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.blog-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.blog-card__date {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .legal-blog__inner { flex-direction: column; }
  .legal-blog__legal { width: 100%; }
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
  background: var(--bg-white);
  padding: 60px 0 80px;
  min-height: 100vh;
}

.legal-page__content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent-bright);
  font-weight: 500;
  margin-bottom: 32px;
}

.legal-page__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-page__date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page__body {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
}

.legal-page__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.legal-page__body h3 {
  font-weight: 600;
  font-size: 17px;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.legal-page__body p { margin-bottom: 16px; }

.legal-page__body ul, .legal-page__body ol {
  margin: 12px 0 16px 24px;
}

.legal-page__body li { margin-bottom: 6px; }

.legal-page__body strong { color: var(--text-primary); }

/* ========================================
   UTILITIES
   ======================================== */
/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.app-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.app-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.app-card.reveal:nth-child(4) { transition-delay: 0.24s; }

.feature-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.2s; }

.tech__item.reveal:nth-child(2) { transition-delay: 0.05s; }
.tech__item.reveal:nth-child(3) { transition-delay: 0.1s; }
.tech__item.reveal:nth-child(4) { transition-delay: 0.15s; }
.tech__item.reveal:nth-child(5) { transition-delay: 0.2s; }
.tech__item.reveal:nth-child(6) { transition-delay: 0.25s; }
.tech__item.reveal:nth-child(7) { transition-delay: 0.3s; }
.tech__item.reveal:nth-child(8) { transition-delay: 0.35s; }

.about__stat.reveal:nth-child(2) { transition-delay: 0.15s; }
.about__stat.reveal:nth-child(3) { transition-delay: 0.3s; }

.hero__phone.reveal { transition-delay: 0.2s; }
.hero__phone.reveal:nth-child(2) { transition-delay: 0.35s; }
.hero__phone.reveal:nth-child(3) { transition-delay: 0.5s; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========================================
   LEGAL OVERLAY / MODAL
   ======================================== */
.legal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: flex-start;
  padding: 40px 24px;
  overflow-y: auto;
}

.legal-overlay.active { display: flex; }

.legal-overlay__content {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 48px;
  position: relative;
  box-shadow: 0 24px 80px rgba(10,22,40,0.2);
  animation: overlayIn 0.25s ease-out;
}

@keyframes overlayIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-overlay__close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--surface);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s;
}

.legal-overlay__close:hover { background: #E5E7EB; }

.legal-overlay__body { clear: both; }

.legal-overlay__body h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.legal-overlay__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.legal-overlay__body h3 {
  font-weight: 600;
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--text-primary);
}

.legal-overlay__body p {
  font-size: 14px;
  line-height: 1.7;
  color: #4B5563;
  margin-bottom: 12px;
}

.legal-overlay__body ul, .legal-overlay__body ol {
  margin: 8px 0 12px 20px;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.7;
}

.legal-overlay__body li { margin-bottom: 4px; }

@media (max-width: 768px) {
  .legal-overlay { padding: 16px; }
  .legal-overlay__content { padding: 24px; }
}
