/*
Theme Name: Grafiqo AI
Theme URI: https://grafiqo.ai
Author: Grafiqo AI
Author URI: https://grafiqo.ai
Description: Premium mini-SaaS marketing theme with portal + dashboard foundation.
Version: 1.7
License: GNU General Public License v2 or later
Text Domain: grafiqo-ai
*/

:root {
  --gq-blue: #2C2CA9;
  --gq-purple: #9911AD;
  --gq-pink: #9D10AD;

  --gq-white: #FFFFFF;
  --gq-ink: #0b0f19;
  --gq-text: #111827;
  --gq-muted: #6b7280;
  --gq-border: rgba(17,24,39,.10);
  --gq-card: #ffffff;

  --gq-radius: 20px;
  --gq-shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  color: var(--gq-text);
  background: #fff;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.gq-header {
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gq-border);
}
.gq-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.gq-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.gq-nav a {
  text-decoration: none;
  font-weight: 600;
  margin-left: 14px;
  color: #111;
  opacity: .92;
}
.gq-nav a:hover { color: var(--gq-purple); opacity: 1; }

.gq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gq-blue), var(--gq-purple), var(--gq-pink));
  color: var(--gq-white);
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 10px 25px rgba(157,16,173,.22);
}
.gq-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(157,16,173,.35);
}
.gq-btn--sm { padding: 10px 18px; font-size: 14px; }
.gq-btn--ghost {
  background: transparent;
  color: var(--gq-white);
  border: 2px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.gq-btn--ghost:hover { box-shadow: 0 16px 35px rgba(255,255,255,.16); }

.gq-hero {
  background: linear-gradient(135deg, var(--gq-blue) 0%, var(--gq-purple) 55%, var(--gq-pink) 100%);
  color: var(--gq-white);
  padding: 110px 24px 92px;
  text-align: center;
  overflow: hidden;
}
.gq-hero-inner { max-width: 980px; margin: 0 auto; }
.gq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  opacity: .95;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
}
.gq-hero h1 {
  font-size: 54px;
  margin: 18px 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.gq-hero p {
  font-size: 20px;
  max-width: 820px;
  margin: 0 auto 26px;
  opacity: .96;
  line-height: 1.55;
}
.gq-hero-ctas { margin-top: 18px; }
.gq-hero-fineprint {
  margin-top: 18px;
  font-size: 14px;
  opacity: .90;
}

.gq-section { padding: 96px 24px; }
.gq-wrap { max-width: 1200px; margin: 0 auto; }
.gq-section h2 {
  font-size: 34px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.gq-lead {
  margin: 0 0 28px;
  color: var(--gq-muted);
  font-size: 18px;
  max-width: 860px;
  line-height: 1.7;
}
.gq-surface {
  background: linear-gradient(180deg, rgba(44,44,169,.06), rgba(255,255,255,0));
  border-top: 1px solid rgba(17,24,39,.06);
  border-bottom: 1px solid rgba(17,24,39,.06);
}

.gq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .gq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gq-grid { grid-template-columns: 1fr; } }

.gq-card {
  background: var(--gq-card);
  border-radius: var(--gq-radius);
  padding: 26px;
  border: 1px solid var(--gq-border);
  box-shadow: var(--gq-shadow);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.gq-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.gq-card p { margin: 0; color: var(--gq-muted); line-height: 1.65; }
.gq-price { margin-top: 12px; font-weight: 800; color: var(--gq-purple); }

.gq-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(153,17,173,.18);
  background: rgba(153,17,173,.06);
  font-weight: 700;
  font-size: 13px;
  color: #3b0764;
  margin-bottom: 12px;
}

.gq-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .gq-steps { grid-template-columns: 1fr; } }
.gq-step { padding: 24px; border-radius: var(--gq-radius); border: 1px solid var(--gq-border); background: #fff; box-shadow: var(--gq-shadow); }
.gq-step strong { display:block; margin-bottom: 8px; font-size: 16px; }
.gq-step span { color: var(--gq-muted); line-height: 1.65; }

.gq-faq details {
  border: 1px solid var(--gq-border);
  border-radius: 16px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.gq-faq details + details { margin-top: 14px; }
.gq-faq summary { cursor: pointer; font-weight: 800; }
.gq-faq p { margin: 10px 0 0; color: var(--gq-muted); line-height: 1.7; }

.gq-form-note {
  margin-top: 10px;
  color: var(--gq-muted);
  font-size: 14px;
}
.ff-el-group label { font-weight: 700 !important; }
.ff-btn-submit { border-radius: 999px !important; padding: 12px 22px !important; font-weight: 800 !important; }

.gq-auth-card { max-width: 680px; margin: 0 auto; }
.gq-banner {
  border-radius: var(--gq-radius);
  padding: 18px 20px;
  border: 1px solid rgba(153,17,173,.22);
  background: rgba(153,17,173,.06);
  color: #3b0764;
  font-weight: 650;
}
.gq-dashboard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 980px) { .gq-dashboard-grid { grid-template-columns: 1fr; } }
.gq-stat {
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--gq-border);
  background: #fff;
  box-shadow: var(--gq-shadow);
}
.gq-stat strong { display:block; font-size: 14px; color: var(--gq-muted); }
.gq-stat span { display:block; margin-top: 8px; font-weight: 900; font-size: 22px; }

.gq-footer{
  background: linear-gradient(135deg, var(--gq-blue) 0%, var(--gq-purple) 55%, var(--gq-pink) 100%);
  color:#fff;
  padding:56px 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.gq-footer a { color: #fff; text-decoration: none; opacity: .9; }
.gq-footer a:hover { opacity: 1; }
.gq-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 22px;
}
@media (max-width: 760px) { .gq-footer-grid { grid-template-columns: 1fr; } }
.gq-small { opacity: .86; font-size: 14px; line-height: 1.55; }

.gq-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.gq-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .gq-reveal, .gq-card, .gq-btn { transition: none !important; }
  .gq-reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  .gq-hero h1 { font-size: 36px; }
  .gq-hero p { font-size: 18px; }
}

/* ====== Webflow-like section under hero ====== */
.gq-hero + .gq-feature-band { margin-top: -56px; }
.gq-feature-band { padding: 0 24px 80px; }
.gq-feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px) { .gq-feature-inner { grid-template-columns: 1fr; } }

.gq-side-card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
  padding: 18px;
  backdrop-filter: blur(8px);
}
.gq-pill-btn {
  display:flex; align-items:center; gap:12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(153,17,173,.18);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  text-decoration:none;
  font-weight: 800;
  margin-top: 12px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gq-pill-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.gq-pill-btn img { width: 26px; height: 26px; }

/* ====== Carousel ====== */
.gq-carousel {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 10% 10%, rgba(255,255,255,.18), rgba(255,255,255,0)) ,
              linear-gradient(135deg, rgba(44,44,169,.95), rgba(153,17,173,.95), rgba(157,16,173,.95));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
  padding: 22px;
  color: #fff;
}
.gq-carousel-track { display:flex; transition: transform .5s ease; will-change: transform; }
.gq-slide { min-width: 100%; display:grid; grid-template-columns: 120px 1fr; gap: 18px; align-items:center; }
@media (max-width: 640px){ .gq-slide { grid-template-columns: 1fr; text-align:center; } .gq-slide .gq-slide-icon { margin: 0 auto; } }
.gq-slide-icon {
  width: 120px; height: 120px;
  border-radius: 26px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
}
.gq-slide-icon img { width: 80px; height: 80px; }
.gq-slide h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; color:#fff; }
.gq-slide p { margin: 0 0 10px; opacity: .92; }
.gq-slide .gq-slide-price { font-weight: 900; font-size: 18px; }

.gq-carousel-controls { display:flex; justify-content: space-between; align-items:center; margin-top: 14px; }
.gq-dots { display:flex; gap: 8px; justify-content:center; flex:1; }
.gq-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.25);
  cursor:pointer;
}
.gq-dot.is-active { background: #fff; }
.gq-arrow {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.gq-arrow:hover { background: rgba(255,255,255,.18); }

.gq-glow {
  position:absolute; inset:-120px -120px auto auto;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 60%);
  filter: blur(2px);
  pointer-events:none;
}

/* Hero glow uplift */
.gq-hero { position: relative; }
.gq-hero::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(900px 420px at 20% 10%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  pointer-events:none;
}
.gq-hero::after{
  content:"";
  position:absolute; inset:auto -120px -220px auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), rgba(255,255,255,0) 62%);
  pointer-events:none;
}

.gq-footer .gq-small { opacity: .92; }
.gq-footer a { color:#fff; opacity:.95; }
.gq-footer a:hover { opacity:1; }


/* Fix hero background artifact (right-side box/glow) */
.gq-hero{ overflow:hidden; }
.gq-hero::before,
.gq-hero::after{
  border-radius: 9999px;
  opacity: .75;
}
