/*
Theme Name: Stock Market Insiders Landing
Theme URI: https://stockmarketinsiders.com
Author: Stock Market Insiders
Description: High-conversion landing page theme for Stock Market Insiders
Version: 1.1
*/

/* =========================
   ROOT VARIABLES (REQUIRED)
========================= */
:root {
  --bg-dark: #020617;
  --primary: #22c55e;
  --accent: #38bdf8;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

/* =========================
   CF7 HARD RESET (CRITICAL)
========================= */
/* =========================
   CF7 SAFE RESET (FIXED)
========================= */

.wpcf7,
.wpcf7 form {
  margin: 0 !important;
  padding: 0 !important;
}

.wpcf7 form p {
  margin: 0 !important;
  padding: 0 !important;
}

.wpcf7 form br {
  display: none;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}


/* =========================
   CTA LAYOUT HELPERS
========================= */
.cta-copy {
  max-width: 520px;
}

.cta-bullets {
  margin: 1rem 0 0.5rem;
  padding-left: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-bullets li {
  margin-bottom: 0.35rem;
}

.cta-form-wrap {
  display: flex;
  justify-content: flex-end;
}

/* =========================
   PREMIUM FORM CARD
========================= */
.smi-form-card {
  width: 100%;
  max-width: 420px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(148,163,184,0.35);
  backdrop-filter: blur(16px);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(34,197,94,0.12) inset;
}

/* Header */
.smi-form-header {
  margin-bottom: 14px;
}

.smi-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.smi-form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.smi-form-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =========================
   INPUTS
========================= */
.smi-input {
  width: 100%;
  margin-top: 10px;
  border-radius: 999px;
  padding: 12px 14px;
  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--text-main);
  font-size: 14px;
}

.smi-input::placeholder {
  color: rgba(156,163,175,0.55);
}

.smi-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
}

/* =========================
   BUTTON
========================= */
.smi-button {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  color: #022c22;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  box-shadow: 0 18px 40px rgba(34,197,94,0.4);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.smi-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(34,197,94,0.55);
}

/* =========================
   TRUST + MESSAGES
========================= */
.smi-trust {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #fca5a5;
  margin-top: 6px;
}

.wpcf7-response-output {
  margin-top: 12px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(34,197,94,0.35) !important;
  background: rgba(34,197,94,0.08) !important;
  color: #bbf7d0 !important;
}

/* =========================
   HERO TRADE PLAN IMAGE
========================= */

.trade-plan-image-wrap {
  margin-top: 0.75rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.35);
  background: rgba(2,6,23,0.95);
}

.trade-plan-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.55);
}
/* =========================
   FORM BACKGROUND IMAGE
========================= */

/* =========================
   FORM BACKGROUND FIX
========================= */

.cta-bg-wrap {
  position: relative;
  width: 100%;
  min-height: 420px;           /* creates background canvas */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image layer */
.cta-bg-image {
  position: absolute;
  inset: -20%;
  background-image: url("https://stockmarketinsiders.io/wp-content/uploads/2025/12/black_girl_2024_jan.png");
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  opacity: 0.25;
  transform: scale(1.15);
  pointer-events: none;
  z-index: 0;
}

/* Form stays above background */
.smi-form-card {
  position: relative;
  z-index: 1;
}


/* Ensure form stays above background */
.smi-form-card {
  position: relative;
  z-index: 1;
}
/* =========================
   HERO INLINE FORM
========================= */

.hero-inline-form {
  margin-top: 1.25rem;
  max-width: 420px;
}

.hero-inline-form .smi-form-card {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

/* Inputs */
.hero-inline-form .smi-input {
  background: rgba(15,23,42,0.85);
}

/* Button */
.hero-inline-form .smi-button {
  margin-top: 10px;
  box-shadow: 0 14px 32px rgba(34,197,94,0.35);
}
.hero-inline-form .smi-button {
  font-size: 13px;
  padding: 11px;
}
/* =========================
   CTA BACKGROUND IMAGE FIX
========================= */

.cta-bg-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 420px;
}

/* Background image layer */
.cta-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("https://stockmarketinsiders.io/wp-content/uploads/2025/12/trade-plan-scaled.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  opacity: 0.35;              /* controls visibility */
  filter: blur(0.3px);        /* optional: premium look */
}

/* Form card ABOVE background */
.smi-form-card {
  position: relative;
  z-index: 2;
  background: rgba(2, 6, 23, 0.55);  /* THIS is the key change */
  backdrop-filter: blur(12px);
}

