/* ================================================
   AI.CSS — AI Analysis landing + Form pages
   ================================================ */

/* ===== LANDING (ai_analysis.html) ===== */

.ai-hero{
  min-height: calc(100vh - 80px);
  padding: 110px 64px 48px;
  overflow: hidden;

  background-color: #10231f;
  background-image: url("../images/ai-hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center -30px;
}

.ai-hero-content{
  padding-top: 1px;
  max-width: 1280px;
  margin: 0 auto;
  transform: translate(-60px, -60px);
}

.ai-hero h1{
  display: flex;
  flex-direction: column;

  margin: 0 0 24px;
  font-size: 64px;
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.03em;
}

.ai-hero h1 span{
  display: block;
  color: rgba(255,255,255,.92);
}

.ai-hero h1 span:last-child{
  margin-top: 18px;
  color: #00a86b;
}

.ai-hero p{
  max-width: 470px;
  margin: 0 0 60px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
}

.ai-actions{
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
}

.ai-main-btn{
  width: fit-content;
  min-width: 0;
  height: 64px;
  padding: 0 26px;

  display: inline-flex;
  align-items: center;
  gap: 14px;

  border: none;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #00b97a 0%,
    #00a56c 50%,
    #008f60 100%
  );

  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;

  box-shadow:
    0 12px 35px rgba(0,185,122,.35),
    0 0 35px rgba(0,185,122,.18);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.ai-main-btn:hover{
  transform: translateY(-2px);
  box-shadow:
    0 18px 45px rgba(0,185,122,.45),
    0 0 45px rgba(0,185,122,.25);
}

.ai-main-btn:active{
  transform: scale(.98);
}

.ai-main-icon{
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.18);
  border-radius: 50%;
}

.ai-main-icon svg{
  width: 20px;
  height: 20px;

  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-example-btn{
  display: inline-flex;
  align-items: center;
  gap: 14px;

  color: #fff;
  text-decoration: none;
}

.ai-play{
  width: 58px;
  height: 58px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 22px rgba(255,255,255,.08);
}

.ai-play svg{
  width: 22px;
  height: 22px;
  fill: #fff;
}

.ai-example-btn strong{
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.ai-example-btn small{
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}

.ai-hero-features{
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;

  max-width: 1180px;
  width: 100%;
}

.ai-hero-feature{
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.10);
}

.ai-hero-feature:first-child{
  padding-left: 0;
}

.ai-hero-feature:last-child{
  border-right: none;
}

.ai-hero-feature-icon{
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(0,168,107,.55);
  box-shadow: 0 0 22px rgba(0,168,107,.25);
  background: rgba(0,168,107,.08);
}

.ai-hero-feature-icon svg{
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #00a86b;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-hero-feature h3{
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.25;
  color: rgba(255,255,255,.92);
}

.ai-hero-feature p{
  margin: 0;
  max-width: 230px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.60);
}



/* =========================
   AI INFO SECTION
========================= */

.ai-info-section{
  padding: 78px 64px 90px;
  background: #111820;
  color: #fff;
}

.ai-info-inner{
  max-width: 1180px;
  margin: 0 auto;
}

.ai-steps{
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ai-steps h2,
.ai-benefits h2{
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.15;
  color: #f4f1ec;
}

.ai-steps > p{
  margin: 0 auto 36px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.58);
}

.ai-steps-row{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 34px;
  position: relative;
}

.ai-step{
  position: relative;
  text-align: center;
}

.ai-step:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 38px;
  right: -40px;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,185,122,.45), rgba(0,185,122,.08));
}

.ai-step-icon{
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,185,122,.28);
  box-shadow: 0 0 28px rgba(0,185,122,.12);
}

.ai-step-icon svg{
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #00b97a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-step-num{
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.48);
}

.ai-step h3{
  margin: 0 0 8px;
  font-size: 19px;
  color: #f4f1ec;
}

.ai-step p{
  margin: 0 auto;
  max-width: 230px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.55);
}

.ai-benefits{
  padding-top: 44px;
  text-align: center;
}

.ai-benefits h2::after{
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 16px auto 0;
  background: #00b97a;
}

.ai-benefit-cards{
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.ai-benefit-card{
  min-height: 190px;
  padding: 30px 24px;
  border-radius: 18px;

  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.ai-benefit-icon{
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(0,185,122,.55);
  box-shadow: 0 0 22px rgba(0,185,122,.20);
}

.ai-benefit-icon svg{
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #00b97a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-benefit-card h3{
  margin: 0 0 12px;
  font-size: 19px;
  color: #f4f1ec;
}

.ai-benefit-card p{
  margin: 0 auto;
  max-width: 250px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.58);
}

.ai-info-stats{
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 18px;

  display: grid;
  grid-template-columns: 1.6fr repeat(3,1fr);
  align-items: center;
  gap: 20px;

  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.ai-info-brand{
  display: flex;
  align-items: center;
  gap: 18px;
}

.ai-info-shield{
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}

.ai-info-shield svg{
  width: 58px;
  height: 58px;
  fill: none;
  stroke: #00b97a;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(0,185,122,.25));
}

.ai-info-brand p{
  margin: 0;
  max-width: 260px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
}

.ai-stat-box{
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.08);
}

.ai-stat-box strong{
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
  color: #f4f1ec;
}

.ai-stat-box span{
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.55);
}

/* MOBILE */
@media (max-width:859px){

  .ai-info-section{
    padding: 56px 18px 70px;
  }

  .ai-steps h2,
  .ai-benefits h2{
    font-size: 28px;
  }

  .ai-steps-row,
  .ai-benefit-cards,
  .ai-info-stats{
    grid-template-columns: 1fr;
  }

  .ai-step:not(:last-child)::after{
    display: none;
  }

  .ai-step{
    padding-bottom: 22px;
  }

  .ai-info-stats{
    gap: 22px;
  }

  .ai-stat-box{
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 18px;
  }
}


@media (max-width:859px){

  .ai-hero{
    min-height: calc(100svh - 72px);
    padding: 0 !important;

    background-image: url("../images/ai-hero-mobile.jpg") !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: 58% top !important;
  }

  .ai-hero-content{
    min-height: calc(100svh - 72px);
    max-width: 100%;
    padding: 0 22px 40px !important;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    transform: none !important;
  }

 .ai-hero h1{
  max-width: 310px;
  margin: 0 0 28px;

  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -.03em;
}

.ai-hero h1 span:last-child{
  margin-top: 10px;
}

  .ai-hero p{
    display: none !important;
  }

  .ai-actions{
    margin-top: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    transform: none !important;
  }

  .ai-main-btn{
    width: fit-content;
    min-width: 0;
    height: 54px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    border: none;
    border-radius: 999px;

    background: linear-gradient(
      135deg,
      #00b97a 0%,
      #00a56c 50%,
      #008f60 100%
    );

    color: #fff;
    font-size: 15px;
    font-weight: 600;

    box-shadow:
      0 10px 30px rgba(0,185,122,.35),
      0 0 30px rgba(0,185,122,.20);

    transition:
      transform .25s ease,
      box-shadow .25s ease;
  }

  .ai-main-btn:active{
    transform: scale(.98);
  }

  .ai-main-icon{
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.16);
    border-radius: 50%;
  }

  .ai-main-icon svg{
    width: 18px;
    height: 18px;
    color: #fff;
  }

  .ai-example-btn{
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;

    opacity: .95;
  }

  .ai-play{
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .ai-example-btn strong{
    display: block;
    font-size: 15px;
    font-weight: 600;
  }

  .ai-example-btn small{
    display: block;
    font-size: 13px;
    opacity: .8;
  }

  .ai-hero-features{
    display: none;
  }
}