/* Base */
:root {
  --bg: #1a1a1a;
  --bg-soft: #2a2a2a;
  --card: #333333;
  --text: #e5edf6;
  --muted: #99a7b5;
  --brand: #A9FB00;
  --brand-2: #7ed321;
  --ring: rgba(169, 251, 0, 0.25);
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --glass-bg: rgba(42, 42, 42, 0.45);
  --glass-bg-2: rgba(42, 42, 42, 0.25);
  --glass-border: rgba(255,255,255,0.18);
  --glass-highlight: rgba(255,255,255,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% -10%, rgba(169,251,0,.08), transparent 60%),
              radial-gradient(1200px 600px at 85% -20%, rgba(126,211,33,.12), transparent 60%),
              var(--bg);
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Background FX */
.bg-effects { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; width: 480px; height: 480px; filter: blur(60px); opacity: .35; mix-blend-mode: screen; border-radius: 50%; animation: float 14s ease-in-out infinite; }
.blob-1 { background: radial-gradient(circle at 30% 30%, var(--brand), transparent 60%); top: -120px; left: -80px; }
.blob-2 { background: radial-gradient(circle at 60% 60%, var(--brand-2), transparent 60%); top: -160px; right: -120px; animation-delay: -5s; }
.grid-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0/ 24px 24px,
                                              linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0/ 24px 24px; -webkit-mask-image: radial-gradient(60% 50% at 50% 20%, #000 20%, transparent 70%);
                                              mask-image: radial-gradient(60% 50% at 50% 20%, #000 20%, transparent 70%); }
/* Subtle animated caustics for liquid feel */
.bg-effects::after { content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: radial-gradient(60% 40% at 20% 30%, rgba(255,255,255,.06), transparent 60%),
              radial-gradient(50% 35% at 80% 10%, rgba(255,255,255,.04), transparent 60%),
              radial-gradient(40% 30% at 60% 70%, rgba(169,251,0,.05), transparent 60%);
  filter: blur(30px) saturate(140%);
  animation: drift 18s ease-in-out infinite alternate;
  mix-blend-mode: overlay;
}

@keyframes float { 0%,100%{ transform: translateY(0px) } 50%{ transform: translateY(18px) } }
@keyframes drift { 0% { transform: translate3d(0,0,0) rotate(0deg); } 100% { transform: translate3d(-2%,3%,0) rotate(4deg); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    color-mix(in oklab, var(--bg-soft) 70%, transparent);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; gap: 12px; align-items: center; }
.logo-img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.app-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; font-weight: 800; color: white; box-shadow: var(--shadow); }
.brand-text h1 { font-size: 18px; margin: 0; }
.brand-text .muted { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-ghost { position: relative; border: 1px solid transparent; color: #000 !important; border-radius: 12px; padding: 12px 16px; font-weight: 700; letter-spacing: .2px; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 20px rgba(34, 211, 238, .25); overflow: hidden; }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-primary[disabled] { filter: grayscale(.5) brightness(.8); cursor: not-allowed; }
.btn-secondary { background:
  linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
  color-mix(in oklab, var(--bg-soft) 70%, transparent);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
}
.btn-secondary:hover { border-color: rgba(255,255,255,.14); background: color-mix(in oklab, var(--bg-soft) 70%, transparent); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.08); }
.btn-ghost:hover { border-color: rgba(255,255,255,.16); }
.btn-primary .btn-shine { position: absolute; inset: 0; background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(255,255,255,.5), transparent 30%); mix-blend-mode: overlay; animation: shine 2.4s linear infinite; opacity: .6; }
.btn-primary .btn-sub { font-size: 12px; font-weight: 600; opacity: .9; margin-left: 8px; }
@keyframes shine { to { transform: rotate(1turn); } }
/* Liquid highlight ripple */
.btn-primary::after { content:""; position:absolute; inset:-40% -20%; background: radial-gradient(120px 60px at var(--mx, 20%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%); opacity:.25; transition: opacity .2s ease; }
.btn-primary:hover::after { opacity:.45; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: 42px 0 28px; }
.headline { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; line-height: 1.08; }
.subhead { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.actions { display: flex; gap: 12px; align-items: center; margin: 16px 0 10px; }
.meta { color: var(--muted); display: flex; gap: 10px; align-items: center; }
.pill { padding: 6px 10px; border-radius: 100px; background: rgba(169,251,0,.08); border: 1px solid rgba(169,251,0,.25); color: #d4ff7a; font-weight: 700; letter-spacing: .3px; }
.bullet { opacity: .35; }

.hero-card { display: grid; place-items: center; }
.device { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--glass-border); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), #0b0f14; box-shadow: 0 20px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.05); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }
.device img { width: 100%; max-width: 440px; display: block; aspect-ratio: 9/19.5; object-fit: cover; }
.device .glow { position: absolute; inset: -30%; background: radial-gradient(600px 600px at 50% 20%, rgba(169,251,0,.2), transparent 60%); pointer-events: none; animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity:.6 } 50%{ opacity:.85 } }

/* Sections */
.section { padding: 40px 0; }
.section h3 { margin: 0 0 16px; font-size: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    linear-gradient( to bottom right, var(--glass-bg), var(--glass-bg-2) 60%);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
/* Gradient border sheen */
.card::before { content:""; position:absolute; inset:0; border-radius: inherit; padding:1px; background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.06)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; opacity:.6; }
.list { margin: 10px 0 0; padding-left: 18px; color: var(--text); opacity: .9; }

/* Carousel */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); }
.carousel img { width: 100%; height: 360px; object-fit: cover; }

/* FAQ */
.faq details { border-radius: 12px; padding: 12px 14px; margin: 8px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient( to bottom right, var(--glass-bg), var(--glass-bg-2) 60%);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
.faq summary { cursor: pointer; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0 40px; margin-top: 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.muted { color: var(--muted); }

/* Screenshot */
.screenshot-container {
  position: relative;
  width: 100%;
  max-width: 400px; /* Adjust max-width as needed */
  margin: 0 auto;
  aspect-ratio: 9/16; /* Standard portrait aspect ratio (9:16) */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 10px 0; }
  .logo-img { width: 36px; height: 36px; }
  .brand-text h1 { font-size: 15px; }
  .brand-text .muted { font-size: 10px; }
  .header-actions { gap: 4px; }
  .btn-ghost { padding: 6px 10px; font-size: 13px; }
  .hero { padding: 24px 0 20px; }
  .headline { font-size: clamp(22px, 5.5vw, 32px); }
  .section { padding: 24px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .logo-img { width: 32px; height: 32px; }
  .brand-text h1 { font-size: 14px; }
  .brand-text .muted { font-size: 9px; }
  .header-actions { gap: 3px; }
  .btn-ghost { padding: 5px 8px; font-size: 12px; }
  .actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; padding: 10px 14px; font-size: 14px; color: #000 !important; }
  .hero { padding: 20px 0 16px; }
  .section { padding: 20px 0; }
  .section h3 { font-size: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 10px; }
  .logo-img { width: 28px; height: 28px; }
  .brand-text h1 { font-size: 13px; }
  .brand-text .muted { font-size: 8px; }
  .header-actions { gap: 2px; }
  .btn-ghost { padding: 4px 6px; font-size: 11px; color: #000 !important; }
  .btn-primary, .btn-secondary { color: #000 !important; }
  .hero { padding: 16px 0 12px; }
  .headline { font-size: clamp(18px, 4.5vw, 24px); }
  .subhead { font-size: 13px; }
  .section { padding: 16px 0; }
  .section h3 { font-size: 15px; }
  .bg-effects { display: none; }
}

/* Aspect Ratio Utilities */
.aspect-9-16 { aspect-ratio: 9/16; }
.aspect-16-9 { aspect-ratio: 16/9; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.product-card { position: relative; border-radius: 16px; padding: 24px; box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    linear-gradient( to bottom right, var(--glass-bg), var(--glass-bg-2) 60%);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.product-card::before { content:""; position:absolute; inset:0; border-radius: inherit; padding:1px; background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.06)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; opacity:.6; }
.product-icon { width: 80px; height: 80px; border-radius: 16px; margin: 0 auto 16px; object-fit: contain; }
.product-card h4 { margin: 0 0 8px; font-size: 20px; }
.product-card p { color: var(--muted); margin: 0 0 16px; font-size: 14px; line-height: 1.5; }

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { padding: 16px; }
  .product-icon { width: 56px; height: 56px; }
  .product-card h4 { font-size: 16px; }
  .product-card p { font-size: 12px; }
}

@media (max-width: 600px) {
  .products-grid { gap: 12px; }
  .product-card { padding: 14px; }
  .product-icon { width: 48px; height: 48px; }
  .product-card h4 { font-size: 15px; }
  .product-card p { font-size: 11px; }
}

@media (max-width: 480px) {
  .products-grid { gap: 10px; }
  .product-card { padding: 12px; }
  .product-icon { width: 44px; height: 44px; }
  .product-card h4 { font-size: 14px; }
  .product-card p { font-size: 11px; }
}

/* Contact Card */
.contact-card { position: relative; border-radius: 16px; padding: 32px; box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
    linear-gradient( to bottom right, var(--glass-bg), var(--glass-bg-2) 60%);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  text-align: center;
}
.contact-card p { color: var(--muted); margin: 0 0 20px; font-size: 16px; }

@media (max-width: 768px) {
  .contact-card { padding: 20px; }
  .contact-card p { font-size: 13px; }
}

@media (max-width: 600px) {
  .contact-card { padding: 16px; }
  .contact-card p { font-size: 12px; }
}

@media (max-width: 480px) {
  .contact-card { padding: 14px; }
  .contact-card p { font-size: 11px; }
}
