:root {
  --bg: #080c09;
  --panel: #0e1410;
  --panel-2: #111912;
  --line: #263027;
  --line-soft: #1b241c;
  --text: #f0f4ee;
  --muted: #8b998f;
  --muted-2: #66736a;
  --accent: #d9ff58;
  --accent-2: #b6ef35;
  --ink: #071006;
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 68% 12%, rgba(125, 178, 71, .09), transparent 28rem),
    radial-gradient(circle at 10% 32%, rgba(217, 255, 88, .035), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  width: min(calc(var(--max) + 36px), calc(100% - 24px));
  margin: 12px auto 0; padding: 11px 12px 11px 16px;
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid rgba(93, 111, 96, .32); border-radius: 15px;
  background: rgba(8, 12, 9, .78); backdrop-filter: blur(18px);
  box-shadow: 0 12px 50px rgba(0,0,0,.26);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand > span:last-child { display: flex; align-items: center; gap: 7px; }
.brand strong { font-size: 13px; letter-spacing: -.01em; }
.brand small {
  padding: 2px 5px; border: 1px solid #5c7631; border-radius: 5px;
  color: var(--accent); font: 800 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em;
}
.brand-mark { width: 24px; height: 24px; display: flex !important; align-items: end !important; gap: 2px !important; padding: 4px; border-radius: 6px; background: var(--accent); }
.brand-mark i { width: 3px; border-radius: 2px; background: var(--ink); animation: eq 1.4s ease-in-out infinite alternate; }
.brand-mark i:nth-child(1) { height: 42%; }
.brand-mark i:nth-child(2) { height: 82%; animation-delay: -.5s; }
.brand-mark i:nth-child(3) { height: 58%; animation-delay: -.9s; }
.brand-mark i:nth-child(4) { height: 100%; animation-delay: -.2s; }
@keyframes eq { to { height: 25%; } }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 10px; color: #a8b3aa; font-size: 12px; font-weight: 700; border-radius: 8px; }
.nav-links a:hover { color: var(--text); background: #121914; }
.nav-links .nav-download { margin-left: 4px; padding-inline: 14px; background: var(--accent); color: var(--ink); }

.hero { min-height: 760px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 52px; padding-block: 94px 76px; }
.eyebrow {
  width: max-content; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 9px; border: 1px solid #32402e; border-radius: 999px;
  color: #b2c4a1; background: rgba(16, 24, 16, .65);
  font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(217,255,88,.65); }
.hero h1, .section-heading h2, .download-cta h2 {
  margin: 22px 0 0; font-size: clamp(46px, 5.8vw, 84px); line-height: .96; letter-spacing: -.065em; font-weight: 760;
}
.hero h1 em { color: var(--accent); font-style: normal; font-weight: inherit; }
.mobile-break { display: none; }
.hero-lead { max-width: 600px; margin: 24px 0 0; color: #a2aea5; font-size: 18px; line-height: 1.7; letter-spacing: -.015em; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button {
  min-height: 58px; padding: 10px 16px; border: 1px solid #344034; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 800; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button.primary:hover { background: #e3ff7c; box-shadow: 0 8px 28px rgba(217,255,88,.13); }
.button.secondary { color: #bdc8c0; background: #0c120e; }
.button.secondary:hover { border-color: #536253; color: var(--text); }
.button span:has(b) { display: grid; text-align: left; gap: 2px; }
.button b { font-size: 13px; }
.button small { color: rgba(7,16,6,.65); font-size: 9px; font-weight: 800; }
.button-icon { font-size: 20px; line-height: 1; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; color: #718077; font-size: 11px; font-weight: 700; }
.hero-notes span::first-letter { color: var(--accent); }

.hero-visual { position: relative; min-width: 0; perspective: 1200px; }
.app-window {
  position: relative; z-index: 3; overflow: hidden;
  border: 1px solid #39443b; border-radius: 16px; background: #0b0f0c;
  box-shadow: 0 40px 100px rgba(0,0,0,.56), 0 0 0 8px rgba(18,25,19,.18);
  transform: rotateY(-4deg) rotateX(1.5deg);
}
.app-window img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center top; background: #0b100c; }
.window-bar { height: 34px; padding: 0 10px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #252c27; background: #0c110e; color: #7b887f; font: 700 7px ui-monospace, monospace; letter-spacing: .08em; }
.window-bar b { justify-self: end; color: #a6bd76; font-weight: 800; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #364038; }
.window-dots i:first-child { background: #688737; }
.orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.orbit-a { inset: -15% -10% auto auto; width: 72%; aspect-ratio: 1; background: radial-gradient(circle, rgba(217,255,88,.19), transparent 65%); filter: blur(8px); }
.orbit-b { left: 0; bottom: -24%; width: 54%; aspect-ratio: 1; border: 1px solid rgba(217,255,88,.12); box-shadow: inset 0 0 90px rgba(217,255,88,.035); }
.floating-chip { position: absolute; z-index: 5; padding: 8px 10px; border: 1px solid #415044; border-radius: 8px; background: rgba(9,14,10,.91); color: #b9c4bb; box-shadow: 0 14px 34px rgba(0,0,0,.35); backdrop-filter: blur(12px); font: 800 9px ui-monospace, monospace; letter-spacing: .04em; }
.floating-chip span { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(217,255,88,.65); }
.chip-style { left: -24px; bottom: 16%; }
.chip-export { right: -20px; top: 20%; color: #c8dc95; }

.trust-strip {
  width: 100%; padding: 18px 24px; display: flex; align-items: center; justify-content: center; gap: 24px;
  border-block: 1px solid var(--line-soft); background: #0a0f0b; color: #79867d;
  font: 800 10px ui-monospace, monospace; letter-spacing: .07em; white-space: nowrap; overflow: hidden;
}
.trust-strip span { color: #425047; }

.intro { padding-block: 130px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 40px; align-items: end; margin-bottom: 52px; }
.section-heading > span, .row-heading > div > span, .pricing-heading > div > span {
  color: var(--accent); font: 800 10px ui-monospace, monospace; letter-spacing: .1em;
}
.section-heading h2 { grid-column: 1; max-width: 760px; margin-top: 10px; font-size: clamp(40px, 5vw, 70px); }
.section-heading > p, .row-heading > p, .pricing-heading > p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: #829087; font-size: 14px; line-height: 1.7; }
.row-heading > div h2, .pricing-heading > div h2 { margin-top: 10px; }
.row-heading > div, .pricing-heading > div { min-width: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.feature-card {
  position: relative; min-height: 230px; padding: 26px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #101612, #0b100d);
}
.feature-card::after { content: ""; position: absolute; inset: auto -18% -55% auto; width: 180px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(217,255,88,.08), transparent 68%); }
.feature-card:hover { border-color: #3c4a3d; }
.feature-index { display: block; margin-bottom: 64px; color: #627068; font: 800 9px ui-monospace, monospace; }
.feature-card h3 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.feature-card p { max-width: 480px; margin: 8px 0 0; color: #79867e; font-size: 13px; line-height: 1.65; }
.feature-wide { grid-column: 1 / -1; min-height: 270px; display: grid; grid-template-columns: 72px minmax(260px, .85fr) 1.15fr; align-items: end; gap: 26px; }
.feature-wide .feature-index { align-self: start; margin: 0; }
.mini-wave { height: 120px; display: flex; align-items: center; justify-content: end; gap: 6px; }
.mini-wave i { width: 10px; min-height: 12px; border-radius: 3px; background: linear-gradient(to top, #5c7f2c, var(--accent)); animation: wave 1.2s ease-in-out infinite alternate; opacity: .88; }
.mini-wave i:nth-child(1) { height: 18%; }.mini-wave i:nth-child(2) { height: 44%; }.mini-wave i:nth-child(3) { height: 76%; }.mini-wave i:nth-child(4) { height: 35%; }.mini-wave i:nth-child(5) { height: 92%; }.mini-wave i:nth-child(6) { height: 56%; }.mini-wave i:nth-child(7) { height: 28%; }.mini-wave i:nth-child(8) { height: 68%; }.mini-wave i:nth-child(9) { height: 86%; }.mini-wave i:nth-child(10) { height: 50%; }.mini-wave i:nth-child(11) { height: 72%; }.mini-wave i:nth-child(12) { height: 32%; }
.mini-wave i:nth-child(2n) { animation-delay: -.55s; } .mini-wave i:nth-child(3n) { animation-delay: -.9s; }
@keyframes wave { to { transform: scaleY(.45); opacity: .55; } }

.styles-section { padding-block: 120px; border-block: 1px solid var(--line-soft); background: #0a0f0b; }
.style-showcase { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.style-card { position: relative; min-height: 260px; margin: 0; overflow: hidden; border: 1px solid #2c362e; border-radius: 14px; background: #0c110e; }
.style-card-main { grid-row: 1 / span 2; min-height: 540px; }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.style-card:hover img { transform: scale(1.02); filter: saturate(1.06); }
.style-card figcaption { position: absolute; inset: auto 12px 12px; padding: 10px 12px; border: 1px solid rgba(123,142,126,.28); border-radius: 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(5,9,6,.72); backdrop-filter: blur(12px); }
.style-card figcaption b { font-size: 11px; }
.style-card figcaption span { color: #97a49c; font: 700 8px ui-monospace, monospace; }

.use-cases { padding-block: 130px; }
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.use-grid > div { min-height: 250px; padding: 26px 22px; border-right: 1px solid var(--line); }
.use-grid > div:first-child { border-left: 1px solid var(--line); }
.use-grid b { color: #5f6c63; font: 800 9px ui-monospace, monospace; }
.use-grid h3 { margin: 90px 0 6px; font-size: 19px; letter-spacing: -.03em; }
.use-grid p { margin: 0; color: #76837b; font-size: 12px; line-height: 1.6; }

.pricing-section { padding-block: 120px; border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, #0a0f0b, #090d0a); }
.beta-banner { margin-bottom: 12px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid #53652d; border-radius: 12px; background: linear-gradient(90deg, rgba(217,255,88,.11), rgba(217,255,88,.025)); }
.beta-banner > span { color: var(--accent); text-shadow: 0 0 12px rgba(217,255,88,.9); }
.beta-banner div { display: grid; gap: 1px; }
.beta-banner b { font: 900 11px ui-monospace, monospace; letter-spacing: .06em; }
.beta-banner small { color: #819079; font-size: 10px; }
.beta-banner strong { color: var(--accent); font-size: 27px; letter-spacing: -.04em; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.price-card { position: relative; min-height: 500px; padding: 26px; display: flex; flex-direction: column; border: 1px solid #2a342c; border-radius: 14px; background: #0d130f; }
.price-card.featured { border-color: #677a38; box-shadow: inset 0 0 0 1px rgba(217,255,88,.06); background: linear-gradient(180deg, #11190f, #0d130f); }
.popular { position: absolute; top: 15px; right: 15px; padding: 4px 6px; border-radius: 5px; background: var(--accent); color: var(--ink); font: 900 7px ui-monospace, monospace; letter-spacing: .08em; }
.price-top { display: grid; gap: 3px; margin-bottom: 52px; }
.price-top span { color: #8b9a90; font: 900 9px ui-monospace, monospace; letter-spacing: .11em; }
.price-top small { color: #56635b; font-size: 10px; }
.price-card h3 { margin: 0; font-size: 24px; letter-spacing: -.04em; }
.price-card > p { min-height: 48px; margin: 8px 0 22px; color: #76837b; font-size: 12px; line-height: 1.6; }
.price { display: grid; gap: 2px; min-height: 90px; }
.price del { width: max-content; color: #69756e; text-decoration-color: #a55f5f; text-decoration-thickness: 2px; font-size: 12px; }
.price strong { color: var(--accent); font-size: 34px; line-height: 1.05; letter-spacing: -.05em; }
.price em { color: #93a187; font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.price-card ul { padding: 20px 0 0; margin: 0 0 26px; list-style: none; border-top: 1px solid #232c25; display: grid; gap: 10px; }
.price-card li { color: #91a097; font-size: 11px; }
.price-card li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.price-button { margin-top: auto; min-height: 43px; display: grid; place-items: center; border: 1px solid #3a483b; border-radius: 8px; color: #c5cec7; background: #111813; font-size: 11px; font-weight: 900; }
.price-button:hover { border-color: var(--accent); color: var(--ink); background: var(--accent); }
.pricing-note { margin: 12px 0 0; color: #56625a; font-size: 9px; }

.download-cta { margin-block: 100px; padding: 54px; display: flex; align-items: end; justify-content: space-between; gap: 50px; border: 1px solid #435231; border-radius: 18px; background: radial-gradient(circle at 86% 10%, rgba(217,255,88,.16), transparent 34%), linear-gradient(145deg, #111a11, #0b110d); }
.download-cta h2 { max-width: 740px; font-size: clamp(38px, 5vw, 64px); }
.download-cta p { margin: 18px 0 0; color: #829087; }
.cta-side { display: grid; justify-items: stretch; gap: 8px; min-width: 300px; }
.cta-side .large { width: 100%; min-height: 66px; }
.cta-side > small { color: #66736a; font-size: 9px; text-align: center; }

.site-footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 26px 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-soft); }
.footer-brand > span:last-child { display: grid; gap: 0; }
.footer-brand small { padding: 0; border: 0; color: #647168; letter-spacing: 0; font-family: inherit; font-size: 9px; }
.footer-meta { display: flex; gap: 18px; color: #5b675f; font-size: 9px; }

.download-toast { position: fixed; z-index: 90; left: 50%; bottom: 22px; width: min(420px, calc(100% - 28px)); padding: 12px 14px; border: 1px solid #516033; border-radius: 10px; display: grid; gap: 2px; background: #101810; box-shadow: 0 20px 60px rgba(0,0,0,.45); transform: translate(-50%, 160%); transition: transform .3s ease; }
.download-toast.show { transform: translate(-50%, 0); }
.download-toast b { color: #d6e2d8; font-size: 11px; }
.download-toast span { color: #79877e; font-size: 9px; }

@media (max-width: 980px) {
  .nav-links a:not(.nav-download) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 74px; }
  .hero-copy { max-width: 740px; }
  .hero-visual { margin: 16px 20px 0; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p, .row-heading > p, .pricing-heading > p { grid-column: 1; grid-row: auto; max-width: 640px; }
  .style-showcase { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .style-card-main { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .use-grid { grid-template-columns: 1fr 1fr; }
  .use-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .use-grid > div { border-bottom: 1px solid var(--line); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .price-card > p { min-height: 0; }
  .download-cta { align-items: start; flex-direction: column; }
}

@media (max-width: 680px) {
  .section-shell, .site-footer { width: min(100% - 28px, var(--max)); }
  .site-header { width: calc(100% - 16px); margin-top: 8px; padding-left: 12px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 10px; }
  .brand small { font-size: 7px; }
  .nav-links .nav-download { padding: 8px 10px; font-size: 0 !important; }
  .nav-links .nav-download::after { content: "Tải"; font-size: 10px; }
  .hero { gap: 42px; padding-block: 62px 58px; }
  .hero h1 { font-size: clamp(40px, 11vw, 48px); }
  .mobile-break { display: inline; }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-visual { margin-inline: 0; }
  .app-window { transform: none; border-radius: 10px; }
  .floating-chip { display: none; }
  .trust-strip { justify-content: flex-start; overflow-x: auto; }
  .intro, .styles-section, .use-cases, .pricing-section { padding-block: 84px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; min-height: 330px; grid-template-columns: 1fr; }
  .feature-wide .mini-wave { position: absolute; right: 20px; top: 20px; width: 44%; height: 70px; opacity: .45; }
  .feature-index { margin-bottom: 50px; }
  .style-showcase { grid-template-columns: 1fr; }
  .style-card-main { grid-column: auto; min-height: 360px; }
  .style-card { min-height: 260px; }
  .style-card figcaption { display: grid; justify-content: start; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid > div, .use-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .use-grid h3 { margin-top: 46px; }
  .beta-banner { grid-template-columns: auto 1fr; }
  .beta-banner strong { grid-column: 2; }
  .download-cta { margin-block: 64px; padding: 30px 22px; }
  .cta-side { width: 100%; min-width: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
