/* FluxWorks — Web Design & Google Maps Growth Agency */

:root {
  --bg: #0c0d0d;
  --bg-alt: #15151e;
  --card: #15151e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #9ca3af;
  --purple: #a855f7;
  --pink: #ec4899;
  --gradient: linear-gradient(90deg, var(--purple), var(--pink));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

@media (max-width: 639px) {
  html {
    scroll-padding-top: 82px;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Matches the blue/purple colors of the FluxWorks logo icon */
.logo-text {
  background: linear-gradient(90deg, #00a0e9, #b3179e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(236, 72, 153, 0.65);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(12, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: #d1d5db;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(12, 13, 13, 0.97);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 14px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--purple);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

@media (min-width: 880px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.25), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.2), transparent 45%),
    var(--bg);
}

.hero-inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(236, 72, 153, 0.35);
  background: rgba(236, 72, 153, 0.08);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: #d1d5db;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.hero-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Sections ---------- */
section {
  padding: 20px 0 48px;
}

@media (max-width: 639px) {
  section {
    padding: 16px 0 36px;
  }

  .section-head h2 {
    font-size: clamp(1.3rem, 5.5vw, 3rem);
  }

  .section-head {
    margin-bottom: 28px;
  }
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.alt-bg {
  background: linear-gradient(to bottom, var(--bg), #16171a);
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-4px);
}

.stat-card .num {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Cards / Grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-4px);
}

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: var(--gradient);
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
}

/* ---------- Why it matters ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  text-align: center;
  padding: 32px 24px;
}

.why-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.process-step {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.process-step:hover {
  border-color: rgba(168, 85, 247, 0.35);
  transform: translateY(-4px);
}

.process-step .number {
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(168, 85, 247, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px 24px;
  cursor: pointer;
}

@media (max-width: 639px) {
  .faq-question {
    font-size: 0.97rem;
    padding: 18px 18px;
    gap: 12px;
  }

  .faq-answer-inner {
    padding: 0 18px 18px;
  }
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}

.faq-item.open .faq-icon {
  background: var(--gradient);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #2a1a40, #0c0d0d 55%, #3a1530);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 28px;
  padding: 64px 24px;
  margin: 0 auto;
  max-width: 1100px;
}

.cta-section h2 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cta-section p {
  color: #d1d5db;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-ctas {
    flex-direction: row;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #d1d5db;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #0c0d0d;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  color-scheme: dark;
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-muted);
}

.contact-info-item a:hover {
  color: #fff;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.guarantee-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 32px auto 0;
}

.guarantee-disclaimer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 24px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---------- Simple legal pages ---------- */
.legal-page {
  padding: 160px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.legal-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-block h2::before {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 4px;
  background: var(--gradient);
  display: inline-block;
}

.legal-block p {
  color: #d1d5db;
  margin-bottom: 10px;
}

.legal-block ul {
  color: #d1d5db;
  padding-left: 20px;
  margin-bottom: 10px;
}

.legal-block li {
  margin-bottom: 6px;
}

.legal-contact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 12px;
}

.legal-contact p {
  margin: 0;
}

.back-home {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--purple);
  font-weight: 600;
}
