/* ============================================================
   MarketIQ Landing Page — CSS v1.0.0
   andrewhansen.au theme palette
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---- Variables — andrewhansen.au brand palette ---- */
:root {
  --miq-navy-deep:  #212D45;
  --miq-navy:       #212D45;
  --miq-blue:       #2d3f60;
  --miq-gold:       #FFC03D;
  --miq-gold-deep:  #FFAE00;
  --miq-white:      #ffffff;
  --miq-bg:         #f4f7fb;
  --miq-text:       #212D45;
  --miq-muted:      #4B4F58;
  --miq-border:     #e2e8f0;
  --miq-shadow:     rgba(33,45,69,0.12);
}

/* ---- Reset ---- */
.miq-page *,
.miq-page *::before,
.miq-page *::after {
  box-sizing: border-box;
}
.miq-page {
  font-family: 'Inter', sans-serif;
  color: var(--miq-text);
  background: var(--miq-bg);
  /* Break out of theme content wrapper */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
}

.miq-wrap {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

/* ============================================================
   HERO
   ============================================================ */
.miq-hero {
  width: 100%;
  min-height: 92vh;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,192,61,0.08), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255,174,0,0.06), transparent 35%),
    linear-gradient(135deg, #1a2438 0%, #212D45 50%, #2d3f60 100%);
  display: flex;
  align-items: center;
  padding: 50px 0 50px;
  position: relative;
  overflow: hidden;
}

/* Dot-grid texture */
.miq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow bottom-left */
.miq-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(29,117,189,0.35), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: miq-blob 9s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes miq-blob {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,-30px) scale(1.12); }
}

.miq-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge */
.miq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #e8f3ff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
  letter-spacing: .02em;
}
.miq-badge-dot {
  width: 7px; height: 7px;
  background: var(--miq-gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: miq-pulse 1.9s ease-in-out infinite;
}
@keyframes miq-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.65); }
}

/* Headline */
.miq-hero h1 {
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -2.5px;
  color: var(--miq-white);
  margin: 0 0 22px;
  animation: miq-fade-up .7s ease both;
}
.miq-hero h1 span {
  color: var(--miq-gold);
  display: block;
}
@keyframes miq-fade-up {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

.miq-hero-lead {
  font-size: 18px;
  line-height: 1.72;
  color: #cce0f5;
  max-width: 580px;
  margin-bottom: 34px;
  animation: miq-fade-up .7s ease .1s both;
}

/* Stat pills */
.miq-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: miq-fade-up .7s ease .2s both;
}
.miq-stat-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 90px;
}
.miq-stat-pill strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--miq-white);
  line-height: 1;
  display: block;
}
.miq-stat-pill span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  display: block;
}

/* Buttons */
.miq-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: miq-fade-up .7s ease .3s both;
}

.miq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px 26px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.miq-btn:hover { transform: translateY(-2px); }

.miq-btn-primary {
  background: var(--miq-white);
  color: #212D45;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.miq-btn-primary:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.26); }

.miq-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--miq-white);
}
.miq-btn-outline:hover { background: rgba(255,255,255,0.08); }

.miq-btn-gold {
  background: var(--miq-gold);
  color: #212D45;
  box-shadow: 0 4px 20px rgba(255,192,61,0.28);
}
.miq-btn-gold:hover {
  background: var(--miq-gold-deep);
  box-shadow: 0 8px 28px rgba(255,192,61,0.42);
}

.miq-btn-navy {
  background: var(--miq-navy);
  color: var(--miq-white);
  width: 100%;
  font-size: 15px;
  padding: 16px;
  border-radius: 12px;
  letter-spacing: .03em;
}
.miq-btn-navy:hover { background: var(--miq-navy-deep); }

/* Signup card */
.miq-signup-card {
  background: var(--miq-white);
  border-radius: 16px;
  padding: 26px 24px 22px;
  box-shadow: 0 20px 60px rgba(6,47,87,0.38);
  animation: miq-card-in .75s ease .15s both;
}
@keyframes miq-card-in {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.miq-signup-card h2 {
  color: #212D45;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -.4px;
}
.miq-signup-card > p {
  color: var(--miq-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.miq-signup-card input,
.miq-signup-card select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--miq-border);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--miq-text);
  background: #f8fafc;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  line-height: 1.5;
  height: auto;
  min-height: 48px;
}
.miq-signup-card select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B4F58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.miq-signup-card input:focus,
.miq-signup-card select:focus {
  border-color: #212D45;
  box-shadow: 0 0 0 3px rgba(15,76,129,0.1);
  background: var(--miq-white);
}
.miq-disclaimer {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 10px;
  line-height: 1.55;
  text-align: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.miq-section { padding: 88px 0; }
.miq-section-alt  { background: var(--miq-white); }
.miq-section-dark {
  background: #212D45;
}

.miq-section-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--miq-gold);
  margin-bottom: 10px;
}
.miq-section h2 {
  text-align: center;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  color: #212D45;
  letter-spacing: -1px;
  margin: 0 0 14px;
}
.miq-section-intro {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
  color: var(--miq-muted);
  font-size: 17px;
  line-height: 1.75;
}

/* ============================================================
   PROOF BAR
   ============================================================ */
.miq-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--miq-white);
  border-top: 1px solid var(--miq-border);
  border-bottom: 1px solid var(--miq-border);
  flex-wrap: wrap;
}
.miq-proof-item {
  text-align: center;
  padding: 28px 36px;
  border-right: 1px solid var(--miq-border);
  flex: 1 1 140px;
}
.miq-proof-item:last-child { border-right: none; }
.miq-proof-item strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #212D45;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.miq-proof-item span {
  font-size: 13px;
  color: var(--miq-muted);
}

/* ============================================================
   FEATURES
   ============================================================ */
.miq-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.miq-feature {
  background: var(--miq-white);
  border: 1px solid var(--miq-border);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 6px 24px var(--miq-shadow);
  transition: transform .2s, box-shadow .2s;
}
.miq-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(15,76,129,0.15);
}
.miq-feature-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 14px;
}
.miq-feature h3 {
  color: #212D45;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 9px;
}
.miq-feature p {
  color: var(--miq-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.miq-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.miq-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
}
.miq-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  background: var(--miq-gold);
  color: #212D45;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 18px;
}
.miq-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--miq-white);
  margin: 0 0 10px;
}
.miq-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.68;
  margin: 0;
}

/* ============================================================
   PREVIEW
   ============================================================ */
.miq-preview {
  background: var(--miq-white);
  border: 1px solid var(--miq-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(15,76,129,0.1);
  max-width: 840px;
  margin: 0 auto;
}
.miq-preview-header {
  background: #212D45;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.miq-preview-header span { color: rgba(255,255,255,0.55); font-size: 13px; }
.miq-preview-logo {
  font-size: 13px;
  font-weight: 800;
  color: var(--miq-gold);
  letter-spacing: .08em;
}
.miq-preview-body { padding: 26px; }
.miq-preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.miq-preview-block,
.miq-preview-full {
  background: #f8fafc;
  border: 1px solid var(--miq-border);
  border-radius: 12px;
  padding: 16px;
}
.miq-preview-block h4,
.miq-preview-full h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #212D45;
  margin: 0 0 9px;
}
.miq-preview-block p,
.miq-preview-full p {
  font-size: 13px;
  color: #4B4F58;
  line-height: 1.62;
  margin: 0;
}
.miq-preview-blur {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  opacity: .55;
}
.miq-preview-overlay {
  text-align: center;
  padding: 20px 0 6px;
}

/* ============================================================
   PRICING
   ============================================================ */
.miq-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}
.miq-plan {
  background: var(--miq-white);
  border: 1px solid var(--miq-border);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px var(--miq-shadow);
  text-align: center;
}
.miq-plan-premium {
  background: #212D45;
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(6,47,87,0.4);
  position: relative;
  overflow: hidden;
}
.miq-plan-premium::before {
  content: 'POPULAR';
  position: absolute;
  top: 18px; right: -26px;
  background: var(--miq-gold);
  color: #212D45;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 5px 38px;
  transform: rotate(45deg);
}
.miq-plan h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #212D45;
}
.miq-plan-premium h3 { color: #e8f3ff; }

.miq-plan-price {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #212D45;
  margin: 16px 0 6px;
  line-height: 1;
}
.miq-plan-price span {
  font-size: 18px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0;
}
.miq-plan-premium .miq-plan-price { color: var(--miq-gold); }
.miq-plan-premium .miq-plan-price span { color: rgba(255,255,255,0.55); }

.miq-plan-desc {
  font-size: 14px;
  color: var(--miq-muted);
  margin-bottom: 26px;
  line-height: 1.65;
}
.miq-plan-premium .miq-plan-desc { color: rgba(255,255,255,0.55); }

.miq-plan-features {
  list-style: none;
  text-align: left;
  margin: 0 0 28px;
  padding: 0;
}
.miq-plan-features li {
  font-size: 14px;
  color: #4B4F58;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 9px;
}
.miq-plan-premium .miq-plan-features li {
  color: #e8f3ff;
  border-color: rgba(255,255,255,0.1);
}
.miq-check {
  color: #FFC03D;
  font-size: 14px;
  flex-shrink: 0;
  font-weight: 700;
}
.miq-plan-premium .miq-check { color: var(--miq-gold); }

/* ============================================================
   FOOTER CTA
   ============================================================ */
.miq-footer-cta {
  background: #212D45;
  padding: 80px 28px;
  text-align: center;
  color: var(--miq-white);
}
.miq-footer-cta h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--miq-white) !important;
  margin-bottom: 16px;
}
.miq-footer-cta > p {
  color: #cce0f5;
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 34px;
  line-height: 1.68;
}
.miq-footer-legal {
  margin-top: 20px !important;
  font-size: 13px !important;
  color: rgba(200,220,240,0.6) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .miq-hero-inner  { grid-template-columns: 1fr; gap: 0; }
  .miq-hero        { min-height: auto; padding: 48px 0 0; }
  .miq-features    { grid-template-columns: repeat(2, 1fr); }
  .miq-steps       { grid-template-columns: 1fr; }
  .miq-preview-row { grid-template-columns: 1fr; }
  .miq-pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .miq-plan-premium::before { display: none; }
  .miq-proof-item  { border-right: none; border-bottom: 1px solid var(--miq-border); }
  .miq-proof-item:last-child { border-bottom: none; }

  /* Hero wrap: remove ALL side padding so card can go truly edge-to-edge */
  .miq-hero .miq-wrap {
    padding: 0;
  }
  .miq-hero-copy {
    padding: 0 20px;
  }

  /* Card: fully flush, no radius, no gap */
  .miq-signup-card {
    border-radius: 0 !important;
    margin: 28px 0 0 0 !important;
    padding: 28px 20px 30px !important;
    box-shadow: 0 -6px 30px rgba(33,45,69,0.2) !important;
    width: 100%;
  }
}
@media (max-width: 580px) {
  .miq-features  { grid-template-columns: 1fr; }
  .miq-hero h1   { letter-spacing: -1.5px; }
  .miq-btn-navy  { font-size: 14px; }
}
