/* LexiFlow Island Modern Responsive Styles */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --accent-orange: #ea580c;
  --success: #10b981;
  --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #eff6ff 100%);
  --card-bg: rgba(255, 255, 255, 0.92);
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #cbd5e1;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-gradient);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  padding: 14px 0;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
}

.brand-icon {
  font-size: 26px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 60px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-text .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid #fde68a;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 44px;
  font-weight: 950;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}

.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.play-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.25);
  transition: transform 0.15s, background-color 0.15s;
}

.play-badge-btn:hover {
  transform: translateY(-2px);
  background: #1e293b;
}

.play-badge-btn img {
  width: 24px;
  height: 24px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0f172a;
  border: 2px solid #cbd5e1;
  padding: 12px 20px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.feature-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

/* Device Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: 280px;
  background: #0f172a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 4px solid #334155;
}

.device-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
}

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

/* Feature Grid */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Screenshot Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid #fff;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-caption {
  padding: 10px;
  background: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  color: #1e293b;
}

/* Legal Card Styles */
.legal-card {
  padding: 40px;
  margin: 30px 0 60px;
}

.legal-header {
  text-align: center;
  padding: 40px 0 10px;
}

.legal-header h1 {
  font-size: 38px;
  font-weight: 950;
  margin: 12px 0 8px;
}

.effective-date {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
}

.legal-card section {
  margin-bottom: 32px;
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 6px;
}

.legal-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 14px 0 6px;
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.code-box {
  background: #0f172a;
  color: #38bdf8;
  padding: 16px 20px;
  border-radius: 12px;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0;
  overflow-x: auto;
}

.contact-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  padding: 18px 24px;
  border-radius: 16px;
  margin-top: 14px;
}

.contact-box p {
  margin-bottom: 6px;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand .brand-icon {
  font-size: 28px;
}

.footer-brand .brand-title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-left: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-group,
  .feature-pills {
    justify-content: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 32px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

