/* =========================================
   BYALL AUTOMATION — FIELD PARTNER PAGE
   Clean isolated CSS
========================================= */

.fp-hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding:0 24px;
  background:#020b1a;
}

.fp-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(
      105deg,
      rgba(2,11,26,.92) 0%,
      rgba(10,22,40,.86) 45%,
      rgba(13,27,62,.76) 100%
    ),
    url('/assets/images/byallpartner.png') center/cover no-repeat;
}

.fp-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background-image:
    linear-gradient(rgba(26,159,224,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,159,224,.07) 1px, transparent 1px);
  background-size:48px 48px;
  pointer-events:none;
}

.fp-hero-content{
  position:relative;
  z-index:2;
  max-width:920px;
  margin:0 auto;
  padding:180px 0 110px;
}

.fp-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-display);
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--blue);
  text-transform:uppercase;
  border:1px solid rgba(26,159,224,.35);
  padding:7px 17px;
  border-radius:999px;
  margin-bottom:28px;
  background:rgba(2,11,26,.50);
  backdrop-filter:blur(14px);
}

.fp-eyebrow::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--blue);
}

.fp-hero h1{
  font-family:var(--font-display);
  font-size:clamp(44px,7vw,76px);
  font-weight:800;
  line-height:1.03;
  color:var(--gold);
  margin:0 0 16px;
  letter-spacing:-1.5px;
  text-shadow:0 4px 28px rgba(245,197,24,.30);
}

.fp-hero p{
  max-width:740px;
  margin:22px auto 38px;
  font-size:18px;
  line-height:1.72;
  color:rgba(255,255,255,.82);
  font-weight:300;
  text-shadow:0 2px 12px rgba(0,0,0,.5);
}

.fp-btn,
.fp-submit-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--blue),var(--blue-mid));
  color:#fff;
  padding:17px 36px;
  border-radius:var(--r-md);
  font-family:var(--font-display);
  font-weight:700;
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  border:none;
  cursor:pointer;
  box-shadow:var(--shadow-blue);
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.fp-btn:hover,
.fp-submit-btn:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-gold);
  background:linear-gradient(135deg,var(--gold),#d4a010);
  color:#020b1a;
}

.fp-section{
  background:#f8fafc;
  padding:90px 24px;
  color:#0f172a;
}

.fp-dark{
  background:
    radial-gradient(ellipse at 30% 60%,rgba(26,159,224,.12),transparent 50%),
    linear-gradient(145deg,#020b1a 0%,#0d1b3e 60%,#0a2a50 100%);
  color:#fff;
}

.fp-section-title{
  text-align:center;
  margin:0 auto 56px;
  max-width:780px;
}

.fp-section-title h2{
  font-family:var(--font-display);
  font-size:clamp(34px,4vw,52px);
  font-weight:800;
  margin:0 0 12px;
  letter-spacing:-1px;
  color:#0f172a;
}

.fp-section-title p{
  color:#64748b;
  font-size:17px;
  font-weight:300;
  max-width:700px;
  margin:0 auto;
  line-height:1.72;
}

.fp-dark .fp-section-title h2{
  color:var(--gold);
  text-shadow:0 4px 20px rgba(245,197,24,.22);
}

.fp-dark .fp-section-title p{
  color:rgba(255,255,255,.72);
}

.fp-grid{
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:26px;
}

.fp-card{
  background:#fff;
  border-radius:26px;
  border:1px solid rgba(26,159,224,.16);
  box-shadow:0 4px 20px rgba(15,23,42,.06);
  padding:28px;
  min-height:220px;
  position:relative;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;
}

.fp-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,var(--blue),var(--gold));
  opacity:0;
  transition:opacity .25s ease;
}

.fp-card:hover{
  transform:translateY(-8px);
  box-shadow:0 26px 56px rgba(15,23,42,.14),0 0 0 1px rgba(26,159,224,.2);
}

.fp-card:hover::before{
  opacity:1;
}

.fp-icon{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  border-radius:16px;
  background:rgba(26,159,224,.08);
  border:1px solid rgba(26,159,224,.18);
  transition:all .25s ease;
}

.fp-icon i{
  font-size:28px;
  color:var(--blue);
}

.fp-card:hover .fp-icon{
  background:rgba(245,197,24,.10);
  border-color:rgba(245,197,24,.35);
}

.fp-card:hover .fp-icon i{
  color:var(--gold);
}

.fp-card h3{
  font-family:var(--font-display);
  font-size:21px;
  font-weight:700;
  line-height:1.25;
  margin:0 0 12px;
  color:#0f172a;
}

.fp-card p{
  color:#64748b;
  font-size:14px;
  line-height:1.72;
  margin:0;
  font-weight:300;
}

.fp-dark-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:none;
}

.fp-dark-card h3{
  color:#fff;
}

.fp-dark-card p{
  color:rgba(255,255,255,.68);
}

.fp-form-box{
  max-width:940px;
  margin:0 auto;
  background:#fff;
  border-radius:28px;
  border:1px solid rgba(26,159,224,.16);
  box-shadow:0 20px 52px rgba(15,23,42,.10);
  padding:36px;
}

.fp-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.fp-form-group{
  margin-bottom:18px;
}

.fp-form-group label{
  display:block;
  margin-bottom:8px;
  font-family:var(--font-display);
  font-size:13px;
  font-weight:700;
  color:#0f172a;
}

.fp-form-group input,
.fp-form-group select,
.fp-form-group textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(15,23,42,.16);
  background:#f8fafc;
  color:#0f172a;
  border-radius:16px;
  padding:15px 16px;
  font-size:15px;
  outline:none;
}

.fp-form-group input:focus,
.fp-form-group select:focus,
.fp-form-group textarea:focus{
  border-color:rgba(26,159,224,.75);
  box-shadow:0 0 0 3px rgba(26,159,224,.12);
  background:#fff;
}

.fp-form-group textarea{
  min-height:130px;
  resize:vertical;
}

.fp-check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:8px;
}

.fp-check-grid label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:12px 14px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.10);
  color:#334155;
  font-weight:500;
  font-family:var(--font-body);
}

.fp-check-grid input{
  width:auto;
}

.fp-submit-btn{
  width:100%;
  margin-top:8px;
}

.fp-note{
  margin-top:16px;
  color:#64748b;
  font-size:13px;
  line-height:1.6;
  text-align:center;
}

@media(max-width:1000px){
  .fp-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:768px){

  .fp-hero{
    min-height:auto;
    padding:0 18px;
  }

  .fp-hero-content{
    padding:125px 0 62px;
  }

  .fp-eyebrow{
    font-size:9px;
    letter-spacing:1px;
    padding:7px 13px;
    margin-bottom:18px;
  }

  .fp-hero h1{
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.6px;
  }

  .fp-hero p{
    font-size:15px;
    line-height:1.6;
    margin:18px auto 28px;
  }

  .fp-section{
    padding:62px 18px;
  }

  .fp-section-title{
    margin-bottom:34px;
  }

  .fp-section-title h2{
    font-size:28px;
    line-height:1.15;
  }

  .fp-section-title p{
    font-size:15px;
    line-height:1.65;
  }

  .fp-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .fp-card{
    min-height:auto;
    padding:22px;
    border-radius:22px;
  }

  .fp-card h3{
    font-size:18px;
  }

  .fp-card p{
    font-size:14px;
    line-height:1.6;
  }

  .fp-icon{
    width:54px;
    height:54px;
    border-radius:14px;
    margin-bottom:14px;
  }

  .fp-icon i{
    font-size:23px;
  }

  .fp-form-box{
    padding:22px 18px;
    border-radius:22px;
  }

  .fp-form-row,
  .fp-check-grid{
    grid-template-columns:1fr;
  }

  .fp-btn,
  .fp-submit-btn{
    width:100%;
    max-width:none;
  }
}

@media(max-width:480px){

  .fp-hero-content{
    padding:115px 0 55px;
  }

  .fp-hero h1{
    font-size:30px;
  }

  .fp-hero p{
    font-size:14px;
  }

  .fp-section{
    padding:54px 16px;
  }
}