/*
Theme Name: Framehawk
Theme URI: https://framehawk.tech
Author: Framehawk
Author URI: https://framehawk.tech
Description: Single-page authority landing theme for infinite topical ownership.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: framehawk
*/

/* ===== FRAMEHAWK BRAND VARIABLES ===== */
:root {
  --fh-green: #4fb548;
  --fh-purple: #d95da1;
  --fh-black: #0b0b0b;
}

/* ===== GLOBAL BASE ===== */
html,
body {
  margin: 0;
  padding: 0;
  background: var(--fh-black);
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

/* ===== FRAMEHAWK LANDING ===== */

/* Header logo */
.framehawk-header {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 10;
}

.framehawk-header img {
  height: 70px;
}

/* Hero layout */
.framehawk-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  text-align: center;
}

.framehawk-content {
  max-width: 760px;
}

/* Title */
.framehawk-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.framehawk-title span {
  background: linear-gradient(
    90deg,
    #d03331,
    #ffce44,
    var(--fh-green),
    var(--fh-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Text */
.framehawk-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #d0d0d0;
  margin-bottom: 1.2rem;
}

/* Points */
.framehawk-points {
  margin: 2rem 0;
}

.framehawk-points p {
  font-weight: 600;
  color: #ffffff;
}

/* Divider */
.framehawk-divider {
  width: 80px;
  height: 3px;
  margin: 3rem auto;
  background: linear-gradient(
    90deg,
    #d03331,
    #ffce44,
    var(--fh-green),
    var(--fh-purple)
  );
}

/* ===== FORM BRANDING (WPForms) ===== */

.framehawk-form {
  margin-top: 3rem;
}

/* Labels */
.framehawk-form label,
.framehawk-form .wpforms-field-label {
  color: var(--fh-purple) !important;
  font-weight: 600;
}

/* Inputs */
.framehawk-form input,
.framehawk-form textarea,
.framehawk-form select {
  background: #000000 !important;
  border: 2px solid var(--fh-green) !important;
  color: var(--fh-purple) !important;
  border-radius: 6px !important;
  padding: 12px !important;
}

/* Placeholder */
.framehawk-form input::placeholder,
.framehawk-form textarea::placeholder {
  color: rgba(217, 93, 161, 0.6) !important;
}

/* Focus */
.framehawk-form input:focus,
.framehawk-form textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(79, 181, 72, 0.35) !important;
}

/* Submit button */
.framehawk-form .wpforms-submit {
  background: var(--fh-green) !important;
  color: var(--fh-purple) !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

.framehawk-form .wpforms-submit:hover {
  background: #5fd160 !important;
  transform: translateY(-1px);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .framehawk-title {
    font-size: 2.2rem;
  }

  .framehawk-header {
    left: 20px;
  }
}
/* =============================
   FRAMEHAWK FINAL POLISH
============================= */

/* Headline: thin + white */
.framehawk-title {
  font-weight: 300; /* thinner */
  color: #ffffff;
}

.framehawk-title span {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Center all statement blocks */
.framehawk-points,
.framehawk-points p {
  text-align: center;
}

/* Even spacing + white text */
.framehawk-points p,
.framehawk-content > p {
  color: #ffffff;
  margin: 1.2rem 0;
}

/* Keep "We build systems..." gray */
.framehawk-content > p:first-of-type {
  color: #d0d0d0;
}

/* Divider above Apply — brand red */
.framehawk-divider {
  background: #d03331;
}

/* Apply line stays gray */
.framehawk-content > p:last-of-type {
  color: #d0d0d0;
}

/* =============================
   FORM CENTERING
============================= */

/* Center all form text */
.framehawk-form {
  text-align: center;
}

/* Center labels */
.framehawk-form label,
.framehawk-form .wpforms-field-label {
  text-align: center !important;
  display: block;
}

/* Center inputs */
.framehawk-form input,
.framehawk-form textarea,
.framehawk-form select {
  text-align: center !important;
}

/* Center submit button */
.framehawk-form .wpforms-submit {
  display: inline-block !important;
  margin: 2rem auto 0 !important;
}
.framehawk-statements {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem; /* EVEN spacing */
  align-items: center;
}

.framehawk-statements p {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}
/* ===============================
   GLOBAL CENTERING GUARANTEE
================================ */
.framehawk-hero,
.framehawk-content,
.framehawk-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Lock content width */
.framehawk-content,
.framehawk-form {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   STATEMENT SPACING (EVEN)
================================ */
.framehawk-points,
.framehawk-points p {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.framehawk-points p,
.framehawk-content > p {
  text-align: center;
}

/* ===============================
   FORM CONTAINER CENTERING
================================ */
.framehawk-form .wpforms-container {
  max-width: 760px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* ===============================
   FORM FIELD GROUPS
================================ */
.framehawk-form .wpforms-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 2.2rem !important;
}

/* Field labels (Company Name, Email, etc.) */
.framehawk-form .wpforms-field-label {
  text-align: center !important;
  margin-bottom: 0.6rem !important;
}

/* ===============================
   INPUTS & TEXTAREAS
================================ */
.framehawk-form input,
.framehawk-form textarea,
.framehawk-form select {
  width: 100% !important;
  max-width: 640px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* First / Last name row */
.framehawk-form .wpforms-field-name .wpforms-field-row {
  display: flex !important;
  justify-content: center !important;
  gap: 1.2rem;
}

/* First / Last inputs */
.framehawk-form .wpforms-field-name input {
  max-width: 310px !important;
  text-align: center !important;
}

/* ===============================
   TEXTAREA CENTERING
================================ */
.framehawk-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===============================
   SUBMIT BUTTON CENTERING
================================ */
.framehawk-form .wpforms-submit-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
/* ===== FRAMEHAWK FORM CENTERING FIX ===== */

/* Center entire form */
.framehawk-form .wpforms-container {
  display: flex;
  justify-content: center;
}

.framehawk-form form {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

/* Center all field labels */
.framehawk-form .wpforms-field-label {
  text-align: center !important;
  width: 100%;
}

/* --- Name field layout (First / Last) --- */
.framehawk-form .wpforms-field-name .wpforms-field-row {
  display: flex !important;
  justify-content: center !important;
  gap: 24px;
}

/* Make name inputs larger */
.framehawk-form .wpforms-field-name input {
  width: 260px !important;      /* ⬅️ larger boxes */
  height: 52px !important;
  font-size: 1rem !important;
  text-align: center !important;
}

/* Center sub-labels (First / Last) */
.framehawk-form .wpforms-field-sublabel {
  text-align: center !important;
  color: var(--fh-purple) !important;
}

/* --- All other inputs centered & consistent --- */
.framehawk-form input,
.framehawk-form textarea {
  width: 100% !important;
  max-width: 620px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Textareas */
.framehawk-form textarea {
  min-height: 140px;
}

/* Submit button perfectly centered */
.framehawk-form .wpforms-submit-container {
  text-align: center !important;
}
/* === FRAMEHAWK FORM COLOR SWAP === */

/* Center everything in the form */
.framehawk-form,
.framehawk-form .wpforms-container {
  text-align: center;
}

/* Form field titles (labels) → BRAND GREEN */
.framehawk-form label,
.framehawk-form .wpforms-field-label {
  color: var(--fh-green) !important;
  font-weight: 600;
  text-align: center;
  display: block;
  margin-bottom: 0.5rem;
}

/* Inputs & textareas */
.framehawk-form input,
.framehawk-form textarea,
.framehawk-form select {
  background: #000 !important;
  border: 2px solid var(--fh-purple) !important; /* outline → PURPLE */
  color: var(--fh-green) !important;             /* typed text → GREEN */
  border-radius: 8px !important;
  padding: 14px !important;
  width: 100% !important;
  max-width: 640px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

/* Placeholder text */
.framehawk-form input::placeholder,
.framehawk-form textarea::placeholder {
  color: rgba(79, 181, 72, 0.55) !important;
}

/* Focus state */
.framehawk-form input:focus,
.framehawk-form textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(217, 93, 161, 0.35) !important;
}

/* Submit button (unchanged, but included for clarity) */
.framehawk-form .wpforms-submit {
  background: var(--fh-green) !important;
  color: var(--fh-purple) !important;
  font-weight: 900 !important;
  letter-spacing: 0.6px;
  border-radius: 10px !important;
  padding: 14px 36px !important;
  border: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.framehawk-form .wpforms-submit:hover {
  background: #5fd160 !important;
  transform: translateY(-1px);
}
