/* ─── LITCHEE360 — SHARED STYLESHEET v1.0 ─────────────────────────────────── */

/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #080F1F;
  color: #E8ECF0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── CSS VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --navy:          #0D1B3E;
  --navy-deep:     #080F1F;
  --navy-mid:      #0A1628;
  --navy-card:     #0C1526;
  --teal:          #00B5A3;
  --teal-light:    #00D4BF;
  --teal-dim:      rgba(0,181,163,0.12);
  --teal-border:   rgba(0,181,163,0.28);
  --white:         #FFFFFF;
  --grey-light:    #F2F4F7;
  --grey-mid:      #8A96A8;
  --grey-dark:     #444C5C;
  --text-body:     #C0CAD8;
  --text-muted:    rgba(255,255,255,0.45);
  --red:           #E05252;
  --amber:         #E6A817;
  --glass:         rgba(255,255,255,0.035);
  --glass-border:  rgba(255,255,255,0.07);
  --shadow-card:   0 4px 32px rgba(0,0,0,0.35);
  --shadow-glow:   0 0 48px rgba(0,181,163,0.1);
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --max-w:         1180px;
  --transition:    0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: 'Sora', sans-serif; line-height: 1.15; color: var(--white); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-body); }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-light); }
strong { color: var(--white); font-weight: 600; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section     { padding: 100px 0; }
.section-sm  { padding: 64px 0; }
.section-lg  { padding: 130px 0; }

.grid-2      { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3      { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4      { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-2-40   { display: grid; grid-template-columns: 40% 1fr; gap: 60px; align-items: center; }
.grid-2-60   { display: grid; grid-template-columns: 60% 1fr; gap: 60px; align-items: center; }

.text-center { text-align: center; }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

/* ─── LABELS ─────────────────────────────────────────────────────────────── */
.label {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary  { background: var(--teal); color: var(--navy-deep); }
.btn-primary:hover { background: var(--teal-light); color: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,181,163,0.3); }
.btn-ghost    { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-navy     { background: var(--navy); color: var(--white); border: 1px solid var(--glass-border); }
.btn-navy:hover { background: #1a2d5e; transform: translateY(-2px); }
.btn-outline-teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--navy-deep); transform: translateY(-2px); }
.btn-lg  { padding: 18px 40px; font-size: 17px; }
.btn-sm  { padding: 10px 20px; font-size: 14px; }
.btn-xl  { padding: 20px 52px; font-size: 18px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: 64px;
  background: rgba(8,15,31,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--teal-border);
  transition: all var(--transition);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--white); text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.72);
  text-decoration: none; transition: color var(--transition); position: relative;
}
.nav-links a.active,
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-login {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7);
  padding: 8px 16px; border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-login:hover { color: var(--white); border-color: rgba(255,255,255,0.45); }
.nav-cta { padding: 9px 20px; font-size: 14px; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--navy-deep); z-index: 999;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 28px; padding: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 700; color: var(--white); }
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--white); cursor: pointer; font-size: 32px;
}
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ─── BROWSER FRAME ──────────────────────────────────────────────────────── */
.browser-frame {
  background: #1a2540; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,181,163,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}
.browser-bar {
  background: #111827; padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot  { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FFBD2E; }
.browser-dot:nth-child(3) { background: #28CA41; }
.browser-url {
  flex: 1; background: rgba(255,255,255,0.06); border-radius: 4px;
  padding: 4px 12px; font-size: 12px; color: rgba(255,255,255,0.38);
  font-family: 'DM Sans', sans-serif;
}
.browser-frame img { width: 100%; display: block; }

/* ─── PLACEHOLDER SCREENSHOT ─────────────────────────────────────────────── */
.screenshot-placeholder {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0D1B3E 0%, #0C2040 50%, #091525 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  color: rgba(0,181,163,0.4);
  font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
}
.screenshot-placeholder i { width: 40px; height: 40px; opacity: 0.4; }

/* ─── PAGE HERO ──────────────────────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--navy-deep);
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,181,163,0.07) 0%, transparent 65%),
    linear-gradient(180deg, var(--navy-deep) 0%, #0C1526 100%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,181,163,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,181,163,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { max-width: 780px; margin: 0 auto 24px; }
.page-hero p  {
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.62);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--teal-border); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.card-icon {
  width: 52px; height: 52px; background: var(--teal-dim);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; color: var(--teal); margin-bottom: 20px;
  transition: background var(--transition);
}
.card:hover .card-icon { background: rgba(0,181,163,0.22); }

/* ─── SECTION DIVIDER ────────────────────────────────────────────────────── */
.divider {
  height: 1px; background: var(--glass-border);
  margin: 0; border: none;
}

/* ─── BADGE ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-dim); border: 1px solid var(--teal-border);
  border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 600; color: var(--teal);
}

/* ─── COMPARISON TABLE ───────────────────────────────────────────────────── */
.comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.comparison-table th {
  padding: 18px 24px; font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700;
  text-align: center; border-bottom: 2px solid var(--glass-border);
}
.comparison-table th:first-child { text-align: left; }
.col-litchee { background: rgba(0,181,163,0.06); }
.col-litchee-header { background: rgba(0,181,163,0.14) !important; color: var(--teal) !important; }
.comparison-table td {
  padding: 15px 24px; font-size: 14px; text-align: center;
  border-bottom: 1px solid var(--glass-border); color: var(--text-body);
}
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--white); }
.comparison-table tr:hover td { background: rgba(255,255,255,0.018); }
.tick    { color: var(--teal); font-weight: 700; font-size: 17px; }
.cross   { color: var(--red);  font-weight: 700; font-size: 17px; }
.partial { color: var(--amber);font-weight: 700; font-size: 17px; }

/* ─── SOCIAL PROOF BAR ───────────────────────────────────────────────────── */
.social-bar {
  background: rgba(0,181,163,0.055);
  border-top: 1px solid var(--teal-border);
  border-bottom: 1px solid var(--teal-border);
  padding: 20px 0; text-align: center;
}
.social-bar p { font-size: 14px; color: rgba(255,255,255,0.52); font-style: italic; }
.social-bar strong { color: var(--teal); font-style: normal; }

/* ─── FINAL CTA STRIP ────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--navy); padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,181,163,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip-inner { position: relative; z-index: 2; }
.cta-strip h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 16px; }
.cta-strip p  { font-size: 18px; color: rgba(255,255,255,0.58); margin-bottom: 44px; }
.cta-strip-sub { margin-top: 20px; font-size: 14px !important; color: rgba(255,255,255,0.38) !important; margin-bottom: 0 !important; }
.cta-strip-sub a { color: rgba(255,255,255,0.55); text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
#footer { background: #050B16; padding: 70px 0 0; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .nav-logo { font-size: 24px; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.42); line-height: 1.7; margin-bottom: 10px; }
.footer-location { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-col h4 {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.52); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--glass-border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.28); }

/* ─── FADE-IN ANIMATION ──────────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3  { grid-template-columns: repeat(2,1fr); }
  .grid-4  { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2-40, .grid-2-60 { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section    { padding: 72px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2  { grid-template-columns: 1fr; gap: 40px; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: repeat(2,1fr); }
  .nav-links  { display: none; }
  .nav-right .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { padding: 120px 0 60px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
