/* Lite Licensing System website - built in the LEXIRA card language */
:root {
  --primary: #204b59;
  --primary-dark: #163640;
  --accent: #a3c452;
  --accent-ink: #6f8f2a;
  --ink: #243640;
  --muted: #5f727b;
  --surface: #fafcf6;
  --line: rgba(32, 75, 89, 0.1);
  --shadow: 0 2px 15px rgba(32, 75, 89, 0.08);
  --shadow-hover: 0 10px 30px rgba(32, 75, 89, 0.14);
}

body { font-family: "Open Sans", sans-serif; color: var(--ink); background: #fff; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: none; }
h1, h2, h3, h4 { font-family: "Raleway", sans-serif; color: var(--primary); }
section { padding: 80px 0; overflow: hidden; }
.section-bg { background: var(--surface); }
.eyebrow { display: block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.section-title { max-width: 70ch; margin-bottom: 44px; }
.section-title h2, .split h2 { font-size: 32px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.section-title p, .split p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.section-title p:last-child, .split p:last-child { margin-bottom: 0; }
.section-title.center { margin-inline: auto; text-align: center; }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.split li { display: flex; gap: 10px; font-size: 14px; line-height: 22px; }
.split li i { color: var(--accent-ink); font-size: 18px; flex: none; margin-top: 2px; }
.terms-list { grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.terms-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow); align-items: center; min-height: 64px; }
.terms-list li i { width: 18px; height: 18px; border-radius: 50%; background: rgba(163, 196, 82, 0.22); font-size: 14px; display: flex; align-items: center; justify-content: center; margin-top: 0; }
@media (max-width: 575px) { .terms-list { grid-template-columns: 1fr; } }

/* buttons */
.btn-primary-lx, .btn-ghost-lx { display: inline-block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 14px; padding: 12px 28px; border-radius: 50px; transition: 0.3s; }
.btn-primary-lx { background: var(--primary); color: #fff; }
.btn-primary-lx:hover { background: var(--accent); color: var(--primary-dark); }
.btn-ghost-lx { border: 2px solid var(--primary); color: var(--primary); }
.btn-ghost-lx:hover { background: var(--primary); color: #fff; }
.pill { display: inline-block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(163, 196, 82, 0.18); color: var(--accent-ink); }

/* header */
#header { height: 72px; transition: all 0.5s; z-index: 997; background: #fff; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06); }
#header.header-scrolled { box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12); }
#header .logo { display: flex; align-items: center; gap: 12px; }
#header .logo img { height: 40px; width: auto; }
#header .logo span { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 22px; color: var(--primary); letter-spacing: 0.02em; white-space: nowrap; }

/* navigation */
.navbar { padding: 0; }
.navbar ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
.navbar li { position: relative; }
.navbar a, .navbar a:focus { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 10px 26px; font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: 0.3s; }
.navbar a:hover, .navbar .active, .navbar li:hover > a { color: var(--accent-ink); }
.navbar .nav-cta { margin-left: 26px; padding: 9px 22px; border-radius: 50px; background: var(--primary); color: #fff; font-weight: 600; }
.navbar .nav-cta:hover { background: var(--accent); color: var(--primary-dark); }
.navbar .lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 22px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.navbar .lang-switch a { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.navbar .lang-switch a.active { background: var(--primary); color: #fff; }
.mobile-nav-toggle { color: var(--primary); font-size: 28px; cursor: pointer; display: none; line-height: 0; transition: 0.5s; }
@media (max-width: 1199px) { .mobile-nav-toggle { display: block; } .navbar ul { display: none; } }
.navbar-mobile { position: fixed; overflow: hidden; inset: 0; background: rgba(22, 54, 64, 0.9); transition: 0.3s; z-index: 999; }
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 15px; right: 15px; color: #fff; }
.navbar-mobile ul { display: block; position: absolute; top: 55px; right: 15px; bottom: 15px; left: 15px; padding: 10px 0; background: #fff; overflow-y: auto; transition: 0.3s; border-radius: 10px; }
.navbar-mobile a { padding: 10px 20px; font-size: 15px; }
.navbar-mobile .nav-cta { margin: 10px 20px; display: inline-block; }
.navbar-mobile .lang-switch { margin: 10px 20px; display: inline-flex; }

/* hero */
#hero { width: 100%; min-height: 80vh; display: flex; align-items: center; background: linear-gradient(135deg, #ffffff 0%, #f6faf0 60%, #eef5e4 100%); position: relative; padding: 110px 0 70px; }
#hero .eyebrow { margin-top: 18px; }
#hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.1; margin: 0 0 20px; color: var(--primary); }
#hero .lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 58ch; margin-bottom: 30px; font-weight: 400; }
#hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#hero .hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
#hero .hero-art { display: flex; align-items: center; justify-content: center; }
#hero .hero-art img { width: min(100%, 340px); height: auto; border-radius: 24px; background: #fff; padding: 24px; box-shadow: var(--shadow-hover); }

/* cards */
.card-lx { width: 100%; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 10px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-lx:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-lx .card-top { display: flex; align-items: center; gap: 14px; }
.card-lx .icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.card-lx .icon i { font-size: 22px; line-height: 1; }
.card-lx:hover .icon { background: var(--accent); color: var(--primary-dark); }
.card-lx h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0; }
.card-lx p { font-size: 14px; line-height: 24px; color: var(--muted); margin: 0; }
.card-lx ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.card-lx li { display: flex; gap: 10px; font-size: 14px; line-height: 22px; color: #444; }
.card-lx li i { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(163, 196, 82, 0.22); color: var(--accent-ink); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.card-lx .card-cta { margin-top: auto; align-self: flex-start; padding: 10px 22px; font-size: 13px; }
.card-lx .tag { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.step { position: relative; padding-top: 22px; }
.step::before { content: ""; position: absolute; left: 0; right: -24px; top: 22px; height: 2px; background: var(--line); }
.step:last-child::before { right: 0; }
.step .num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: "Raleway", sans-serif; font-weight: 800; font-size: 13px; color: var(--accent-ink); margin: -22px 0 16px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 24px; color: var(--muted); margin: 0; }
@media (max-width: 991px) { .steps { grid-template-columns: 1fr 1fr; } .step::before { display: none; } .step { padding-top: 0; } .step .num { margin-top: 0; } }
@media (max-width: 575px) { .steps { grid-template-columns: 1fr; } }

/* code block */
.code-lx { background: var(--primary-dark); color: #e6eef1; border-radius: 12px; padding: 22px 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; overflow-x: auto; margin: 0; box-shadow: var(--shadow-hover); }
.code-lx .c { color: #8fb3bf; }
.code-lx .k { color: var(--accent); }

/* tables */
.table-lx { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.table-lx th, .table-lx td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-lx th { font-family: "Raleway", sans-serif; font-weight: 700; color: var(--primary); background: var(--surface); }
.table-lx tr:last-child td { border-bottom: 0; }
.table-lx .ok { color: var(--accent-ink); font-weight: 600; }
.table-lx .no { color: #b3483a; font-weight: 600; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 16px; color: var(--primary); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent-ink); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 18px; font-size: 14px; line-height: 24px; color: var(--muted); }

/* dark call-to-action band */
.cta-band { background: var(--primary); color: #eef4f6; }
.cta-band h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: #b9ccd3; font-size: 16px; line-height: 1.7; max-width: 60ch; margin: 0 auto 26px; }
.cta-band .btn-primary-lx { background: var(--accent); color: var(--primary-dark); }
.cta-band .btn-primary-lx:hover { background: #fff; }

/* footer */
#footer { background: var(--surface); padding: 40px 0 24px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
#footer .brand { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 18px; color: var(--primary); }
#footer .brand span { font-weight: 500; color: var(--muted); font-size: 14px; }
#footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
#footer .copyright { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

/* back to top */
.back-to-top { position: fixed; visibility: hidden; opacity: 0; right: 15px; bottom: 15px; z-index: 996; background: var(--accent); width: 40px; height: 40px; border-radius: 50px; transition: all 0.4s; display: flex; align-items: center; justify-content: center; }
.back-to-top i { font-size: 28px; color: #fff; line-height: 0; }
.back-to-top:hover { background: var(--primary); }
.back-to-top.active { visibility: visible; opacity: 1; }

@media (max-width: 991px) { #hero { min-height: 0; padding: 100px 0 50px; } #hero .hero-art { margin-top: 36px; } section { padding: 60px 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
