@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(../fonts/Poppins-Light.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/Poppins-Regular.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/Poppins-Medium.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/Poppins-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/Poppins-Bold.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(../fonts/Poppins-ExtraBold.woff2) format("woff2"); }

:root {
  --bg: #0a0c11;
  --text: #abadb3;
  --heading: #fff;
  --border: #323438;
  --primary: #2292b1;
  --blue: #1b3385;
  --cyan: #25c5c9;
  --green: #0f9d58;
  --gradient: linear-gradient(to right, var(--blue), var(--cyan));
  --wrap: 1296px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 1.125rem/1.75 Poppins, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); line-height: 1.25; margin: 0 0 .75em; }
strong { font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10, 12, 17, .92); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 28px; }
.brand .mark { width: 52px; }
.brand .text { width: 201px; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 400; }
.nav a:hover, .nav a[aria-current] { color: var(--primary); }
.btn { display: inline-block; padding: .6em 1.6em; border-radius: 999px; background: var(--gradient); color: #fff; font-weight: 600; text-decoration: none; transition: filter .2s; }
.btn:hover { filter: brightness(1.15); }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 4px 8px; }

/* Hero */
.hero { min-height: 986px; display: grid; place-items: center; text-align: center; padding: 120px 0; background: linear-gradient(rgba(10, 12, 17, .35), rgba(10, 12, 17, .35)), url(../img/hero-bg.jpg) center / cover; }
.hero h1 { font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 800; max-width: 700px; margin-inline: auto; }
.hero p { font-size: clamp(1.25rem, 2vw, 1.75rem); max-width: 740px; margin: 0 auto; }

/* Features */
.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }
.features { padding: 140px 0 60px; display: grid; gap: 120px; }
.feature { display: grid; grid-template-columns: 58% 1fr; align-items: center; gap: 64px; }
.feature.reverse { grid-template-columns: 1fr 58%; }
.feature.reverse img { order: 2; }
.feature img { border: 3px solid #000; }
.feature h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 60px 0 20px; border-bottom: 1px solid var(--border); }
.stats strong { display: block; color: #fff; font-size: 2.6rem; font-weight: 700; line-height: 1.3; }

/* Why cards */
.why { padding: 100px 0 0; }
.why > h2, .section-title { text-align: center; font-size: 2.6rem; font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 80px; border-bottom: 1px solid var(--border); }
.card { border: 2px solid var(--border); padding: 40px; }
.card img { width: 240px; margin: 0 auto 24px; }
.card h3 { font-size: 1.4rem; font-weight: 600; }
.more { display: inline-block; margin-top: 12px; color: #fff; font-weight: 400; text-decoration: none; border-bottom: 2px solid var(--primary); }

/* Pricing */
.pricing { padding: 140px 0 60px; scroll-margin-top: 96px; }
.pricing .section-title { font-weight: 700; border-top: 1px solid var(--border); padding-top: .4em; width: min(760px, 100%); margin: 0 auto 80px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; gap: 40px 20px; }
.plan { --c: var(--primary); position: relative; background: #fff; border-radius: 16px; padding: 40px 32px 32px; text-align: center; box-shadow: 0 0 24px rgba(37, 197, 201, .25); margin: 22px 0; }
.plan::before, .plan::after { content: ""; position: absolute; left: 16px; right: 16px; height: 22px; background: var(--c); z-index: -1; }
.plan::before { top: -22px; border-radius: 16px 16px 0 0; }
.plan::after { bottom: -22px; border-radius: 0 0 16px 16px; }
.plan.standard { --c: var(--blue); }
.plan.enterprise { --c: var(--green); }
.plan h3 { color: var(--c); font-size: 2.6rem; font-weight: 700; margin-bottom: .3em; }
.plan .price { color: var(--c); font-size: 1.4rem; font-weight: 400; margin: 0 0 1em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; min-height: 190px; color: #999; font-size: .95rem; line-height: 2.1; }
.plan a { display: inline-block; background: var(--c); color: #fff; padding: .45em 1.6em; border-radius: 4px; text-decoration: none; font-size: 1.15rem; font-weight: 400; }
.plan a:hover { filter: brightness(1.1); }

/* FAQ */
.faq { padding: 60px 0 40px; }
.faq h2 { text-align: center; font-size: 2.6rem; font-weight: 700; margin-bottom: .3em; }
.faq details { margin: 0 0 12px; }
.faq summary { cursor: pointer; font-size: 1.15rem; font-weight: 400; color: #d6d7da; }
.faq details p { margin: .5em 0 0 1.4em; }

/* CTA */
.cta { min-height: 449px; display: grid; place-items: center; text-align: center; background: #000 url(../img/cta-bg.jpg) center / cover; }
.cta .eyebrow { font-size: .9rem; font-weight: 600; text-transform: uppercase; margin: 0; }
.cta h2 { font-size: 2.6rem; font-weight: 400; margin-bottom: .6em; }
.cta .btn { padding: .8em 1.8em; }

/* Footer */
.site-footer { padding: 72px 0; font-size: 1.05rem; color: #999; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center; }
.site-footer .brand .mark { width: 76px; }
.site-footer .brand .text { width: 294px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 1.6; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current] { color: var(--primary); }
.site-footer .links { font-size: .95rem; }
.site-footer .mail { color: #ccc; font-weight: 600; }

/* Content pages */
.page { background: linear-gradient(rgba(10, 12, 17, .35), rgba(10, 12, 17, .35)), url(../img/hero-bg.jpg) center top / cover; padding: 24px 0 96px; }
.article { background: rgba(34, 34, 34, .92); padding: 32px 32px 40px; }
.article h1 { font-size: 1.25rem; font-weight: 600; text-transform: uppercase; }
.article p, .article li { word-wrap: break-word; }
.article a { color: #fff; }
.article em { font-style: italic; }
.article [id] { scroll-margin-top: 110px; }
.legal h1 { font-size: 2.6rem; font-weight: 700; }
.legal a { color: #fff; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal td, .legal th { border: 1px solid var(--border); padding: 8px; vertical-align: top; }
.legal [id] { scroll-margin-top: 110px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px 24px 28px; background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav ul { flex-direction: column; gap: 16px; }
  .site-header.open .nav { display: flex; }
  .brand { gap: 16px; }
  .brand .mark { width: 44px; }
  .brand .text { width: 170px; }
  .hero { min-height: 720px; padding: 80px 0; }
  .features { padding-top: 80px; gap: 80px; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse img { order: 0; }
  .stats, .cards { grid-template-columns: 1fr; gap: 32px; }
  .plans { grid-template-columns: minmax(0, 360px); }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer .brand .mark { width: 56px; }
  .site-footer .brand .text { width: 220px; }
}
