/*
Theme Name: FastWP.info Child
Theme URI: https://fastwp.info/
Description: A performance-first GeneratePress child theme for FastWP.info.
Author: FastWP.info
Template: generatepress
Version: 1.0.1
Text Domain: fastwp-info
*/

:root {
  --fwp-bg: #08131f;
  --fwp-panel: #0f2031;
  --fwp-panel-2: #13293d;
  --fwp-text: #eaf3f9;
  --fwp-muted: #a9bfd0;
  --fwp-paper: #f5f8fb;
  --fwp-ink: #14202b;
  --fwp-blue: #21b8f6;
  --fwp-lime: #9ee85c;
  --fwp-line: rgba(255,255,255,.11);
  --fwp-radius: 18px;
  --fwp-shadow: 0 18px 55px rgba(1,12,22,.15);
}

html { scroll-behavior: smooth; }
body {
  color: var(--fwp-ink);
  background: var(--fwp-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
}
a { color: #0879b2; text-underline-offset: 3px; }
a:hover { color: #045f8d; }
.site-header { border-bottom: 1px solid #e1e8ee; }
.site-branding .main-title a { font-weight: 800; letter-spacing: -.035em; }
.main-navigation .main-nav ul li a { font-weight: 700; }

.fwp-home { background: var(--fwp-paper); }
.fwp-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.fwp-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 68px;
  color: var(--fwp-text);
  background:
    radial-gradient(circle at 78% 18%, rgba(33,184,246,.22), transparent 28%),
    radial-gradient(circle at 92% 72%, rgba(158,232,92,.12), transparent 24%),
    linear-gradient(145deg, #07121d 0%, #0b1a28 56%, #0f2637 100%);
}
.fwp-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.fwp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 58px; align-items: center; }
.fwp-kicker { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 18px; color: var(--fwp-lime); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fwp-kicker:before { content: ""; width: 34px; height: 3px; border-radius: 9px; background: var(--fwp-lime); }
.fwp-hero h1 { margin: 0 0 18px; max-width: 790px; color: #fff; font-size: clamp(2.8rem, 6.3vw, 5.9rem); line-height: .98; letter-spacing: -.055em; }
.fwp-hero h1 span { color: var(--fwp-blue); }
.fwp-hero p { max-width: 730px; margin: 0 0 28px; color: #c9dbe7; font-size: clamp(1.05rem, 2vw, 1.27rem); }
.fwp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fwp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 800; }
.fwp-btn-primary { color: #05131c; background: var(--fwp-lime); }
.fwp-btn-primary:hover { color: #05131c; background: #b2f579; }
.fwp-btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.fwp-btn-secondary:hover { color: #fff; border-color: rgba(255,255,255,.55); }

.fwp-meter { position: relative; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: radial-gradient(circle, rgba(255,255,255,.09) 0 37%, transparent 38%), conic-gradient(from 225deg, var(--fwp-lime) 0 20%, var(--fwp-blue) 20% 61%, rgba(255,255,255,.13) 61% 75%, transparent 75%); box-shadow: inset 0 0 70px rgba(33,184,246,.07), 0 24px 60px rgba(0,0,0,.28); }
.fwp-meter:before { content: ""; position: absolute; width: 38%; height: 4px; left: 50%; top: 50%; transform-origin: 0 50%; transform: rotate(-34deg); border-radius: 99px; background: #fff; box-shadow: 0 0 15px rgba(255,255,255,.55); }
.fwp-meter:after { content: "FAST"; position: absolute; inset: auto 0 21%; text-align: center; color: #fff; font-size: clamp(1rem,2.2vw,1.7rem); font-weight: 900; letter-spacing: .22em; }

.fwp-proof { background: #fff; border-bottom: 1px solid #e4ebf0; }
.fwp-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fwp-proof-item { padding: 22px 24px; border-right: 1px solid #e6edf2; }
.fwp-proof-item:last-child { border-right: 0; }
.fwp-proof strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #557084; }
.fwp-proof span { display: block; margin-top: 4px; font-weight: 800; color: #172b3b; }

.fwp-section { padding: 72px 0; }
.fwp-section--dark { color: var(--fwp-text); background: var(--fwp-bg); }
.fwp-section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.fwp-section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.fwp-section-head p { max-width: 620px; margin: 0; color: #61798b; }
.fwp-section--dark .fwp-section-head p { color: var(--fwp-muted); }

.fwp-path { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.fwp-path-card { position: relative; padding: 26px; border: 1px solid #dde7ee; border-radius: var(--fwp-radius); background: #fff; box-shadow: 0 10px 30px rgba(17,37,53,.05); }
.fwp-path-card b { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 12px; color: #04263b; background: #dff6ff; }
.fwp-path-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.fwp-path-card p { margin: 0; color: #647a8a; font-size: .95rem; }

.fwp-category { margin-top: 52px; }
.fwp-category:first-child { margin-top: 0; }
.fwp-category-head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 18px; }
.fwp-category-head h3 { margin: 0; color: #fff; font-size: 1.55rem; }
.fwp-category-head span { color: var(--fwp-muted); font-size: .9rem; }
.fwp-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.fwp-card { display: block; padding: 24px 25px; color: var(--fwp-text); text-decoration: none; border: 1px solid var(--fwp-line); border-radius: var(--fwp-radius); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.fwp-card:hover { color: #fff; transform: translateY(-2px); border-color: rgba(33,184,246,.55); background: rgba(33,184,246,.07); }
.fwp-card small { display: block; margin-bottom: 9px; color: var(--fwp-lime); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.fwp-card h4 { margin: 0 0 10px; color: #fff; font-size: 1.18rem; line-height: 1.3; }
.fwp-card p { margin: 0; color: #b7cad7; font-size: .94rem; }

.fwp-principles { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.fwp-principles-copy h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.fwp-principles-copy p { color: #5d7485; }
.fwp-checklist { display: grid; gap: 12px; }
.fwp-check { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: 15px; border: 1px solid #dce6ec; background: #fff; }
.fwp-check b { color: #0a8ec9; }
.fwp-check p { margin: 2px 0 0; color: #667b89; }

.fwp-cta { padding: 38px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0b2030, #10354a); box-shadow: var(--fwp-shadow); }
.fwp-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.9rem,4vw,3rem); }
.fwp-cta p { max-width: 760px; margin: 0 0 22px; color: #c7dae6; }

.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 2.1em; letter-spacing: -.025em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content p { max-width: 76ch; }
.entry-content li { margin-bottom: .45em; }
.entry-content code { padding: .12em .35em; border-radius: 5px; background: #eef3f6; }
.entry-content pre { overflow: auto; padding: 18px; border-radius: 12px; color: #eaf4fa; background: #0b1722; }
.entry-content blockquote { margin-left: 0; padding: 12px 18px; border-left: 4px solid var(--fwp-blue); background: #edf8fd; }

.fastwp-contact-form { display: grid; gap: 16px; max-width: 760px; }
.fastwp-contact-form label { font-weight: 800; }
.fastwp-contact-form input, .fastwp-contact-form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cbd9e2; border-radius: 10px; background: #fff; }
.fastwp-contact-form button { justify-self: start; padding: 12px 20px; border: 0; border-radius: 999px; color: #061822; background: var(--fwp-lime); font-weight: 900; cursor: pointer; }
.fastwp-notice { margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; background: #e9f9df; }
.fastwp-notice--error { background: #fff0ed; }
.fastwp-hp { position: absolute !important; left: -9999px !important; }

@media (max-width: 900px) {
  .fwp-hero-grid, .fwp-principles { grid-template-columns: 1fr; }
  .fwp-meter { width: min(360px, 82vw); margin-inline: auto; }
  .fwp-proof-grid, .fwp-path { grid-template-columns: repeat(2,1fr); }
  .fwp-proof-item:nth-child(2) { border-right: 0; }
  .fwp-section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 620px) {
  .fwp-wrap { width: min(100% - 26px, 1180px); }
  .fwp-hero { padding-top: 58px; }
  .fwp-proof-grid, .fwp-path, .fwp-grid { grid-template-columns: 1fr; }
  .fwp-proof-item { border-right: 0; border-bottom: 1px solid #e6edf2; }
  .fwp-category-head { align-items: start; flex-direction: column; }
  .fwp-cta { padding: 26px; }
}

.fastwp-core-links {
  border-top: 1px solid #dfe7ed;
  background: #fff;
}
.fastwp-core-links .fwp-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.fastwp-core-links a {
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
