.flutter-hero{
  position: relative;
  overflow: hidden;
  padding: 105px 40px 90px;
  background:
    radial-gradient(circle at 78% 20%, rgba(58,94,255,.10), transparent 24%),
    radial-gradient(circle at 64% 72%, rgba(26,82,255,.08), transparent 22%),
    linear-gradient(90deg, #020916 0%, #04102a 52%, #020916 100%);
  font-family: Inter, system-ui, sans-serif;
}

.flutter-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 25%),
    radial-gradient(circle at 50% 50%, rgba(27,77,255,.07), transparent 32%);
  pointer-events: none;
}

.flutter-hero__container{
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 72px;
  align-items: center;
}

.flutter-hero__content{
  max-width: 620px;
}

.flutter-hero__badge{
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(77,97,140,.22);
  border: 1px solid rgba(120,145,210,.10);
  color: #ff8a3d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 28px;
}

.flutter-hero__title{
  margin: 0 0 28px;
  font-size: 76px;
  line-height: .96;
  font-weight: 800;
  letter-spacing: -.06em;
  color: #ecf2ff;
}

.flutter-hero__title{
  background: linear-gradient(180deg, #edf2ff 0%, #c8d6ff 58%, #6f95ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flutter-hero__desc{
  margin: 0 0 38px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.65;
  color: #9aa7c3;
}

.flutter-hero__actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.flutter-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 34px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  transition: transform .28s ease, box-shadow .28s ease, background .35s ease, color .35s ease, border-color .35s ease;
  overflow: hidden;
}

.flutter-btn::after{
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-18deg);
  transition: left .7s ease;
}

.flutter-btn:hover::after{
  left: 140%;
}

.flutter-btn--primary{
  background: #ff7b32;
  border: 2px solid #ff7b32;
  color: #fff;
  box-shadow: 0 14px 34px rgba(255,123,50,.22);
}

.flutter-btn--primary:hover{
  background: transparent;
  color: #ff7b32;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255,123,50,.10);
}

.flutter-btn--secondary{
  background: rgba(22,36,68,.78);
  border: 2px solid rgba(76,96,136,.38);
  color: #dce6ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.flutter-btn--secondary::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  transform: translateX(-101%);
  transition: transform .55s cubic-bezier(.22,1,.36,1);
  z-index: 0;
}

.flutter-btn--secondary:hover::before{
  transform: translateX(0);
}

.flutter-btn--secondary:hover{
  color: #ffffff;
  border-color: rgba(122,146,201,.52);
  transform: translateY(-2px);
}

.flutter-btn > *{
  position: relative;
  z-index: 1;
}

.flutter-hero__media{
  display: flex;
  justify-content: flex-end;
}

.flutter-hero__image-wrap{
  width: 100%;
  max-width: 640px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 34px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.04);
}

.flutter-hero__image-wrap img{
  display: block;
  width: 100%;
  aspect-ratio: 640 / 610;
  object-fit: cover;
}

@media (max-width: 1100px){
  .flutter-hero{
    padding: 90px 24px 76px;
  }

  .flutter-hero__container{
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .flutter-hero__content{
    max-width: 100%;
  }

  .flutter-hero__media{
    justify-content: center;
  }

  .flutter-hero__title{
    font-size: 58px;
  }
}

@media (max-width: 640px){
  .flutter-hero{
    padding: 72px 18px 64px;
  }

  .flutter-hero__title{
    font-size: 42px;
    line-height: 1.02;
  }

  .flutter-hero__desc{
    font-size: 16px;
  }

  .flutter-hero__actions{
    flex-direction: column;
  }

  .flutter-btn{
    width: 100%;
    min-height: 58px;
  }

  .flutter-hero__image-wrap{
    border-radius: 18px;
  }
}

/* cards  */

.features {
  background: #f4f5f7;
  padding: 120px 40px;
}

.features-wrap {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */
.feature-card {
  position: relative;
  background: #0f2742;
  padding: 50px 40px;
  border-radius: 24px;

  color: #cbd5e1;

  transition: all 0.35s ease;
  transform-style: preserve-3d;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 20px 50px rgba(0,0,0,0.2);

  overflow: hidden;
}

/* ✨ gradient sweep */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.08),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.feature-card:hover::before {
  transform: translateX(100%);
}

/* 🔥 ORANGE GLOW */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x,50%) var(--y,50%),
    rgba(255,122,48,0.25),
    transparent 40%
  );
  opacity: 0;
  transition: 0.3s;
}

.feature-card:hover::after,
.feature-card.active::after {
  opacity: 1;
}

/* ICON */
.feature-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #1c3554;

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

  font-size: 22px;
  color: #9fb4d9;

  margin-bottom: 25px;

  transition: all 0.3s ease;
}

/* ORANGE ICON ACTIVE */
.feature-card.active .icon,
.feature-card:hover .icon {
  background: rgba(255,122,48,0.15);
  color: #ff7a30;
  box-shadow: 0 0 25px rgba(255,122,48,0.4);
}

/* TEXT */
.feature-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #e2e8f0;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #94a3b8;
}

/* HOVER LIFT */
.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.4);
}

/* ACTIVE CARD */
.feature-card.active {
  transform: translateY(-10px) scale(1.03);
  border: 1px solid rgba(255,122,48,0.4);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .features-wrap {
    grid-template-columns: 1fr;
  }
}

/* arch  */

.premium-ui {
  padding: 120px 60px;
  background: radial-gradient(circle at top left, #06142a, #020b18);
}

.premium-wrap {
  max-width: 1400px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* IMAGE */
.premium-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;

  transform-style: preserve-3d;
  transition: 0.4s ease;

  box-shadow:
    0 40px 80px rgba(0,0,0,0.6);
}

.premium-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* glow */
.premium-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x,50%) var(--y,50%),
    rgba(255,122,48,0.2),
    transparent 40%);
  opacity: 0;
  transition: 0.3s;
}

.premium-image:hover::after {
  opacity: 1;
}

/* CONTENT */
.premium-content .tag {
  color: #ff7a30;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

.premium-content h2 {
  font-size: 56px;
  line-height: 1.1;
  color: #e5ecf7;
  margin-bottom: 25px;
}

.premium-content .desc {
  font-size: 18px;
  color: #9fb0c9;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* LIST */
.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 18px;
  color: #cbd5e1;
  position: relative;
  padding-left: 35px;
}

/* check icon */
.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #8bb4ff;
  font-size: 16px;
}

/* hover lift */
.premium-wrap:hover .premium-image {
  transform: translateY(-5px);
}

/* responsive */
@media (max-width: 1000px) {
  .premium-wrap {
    grid-template-columns: 1fr;
  }

  .premium-content h2 {
    font-size: 38px;
  }
}

/* cards 2 */

.services {
  background: #f4f5f7;
  padding: 120px 40px;
}

.services-wrap {
  max-width: 1400px;
  margin: auto;
}

.services-head {
  text-align: center;
  margin-bottom: 80px;
}

.services-head h2 {
  font-size: 56px;
  font-weight: 800;
  color: #0f172a;
}

.services-head p {
  color: #64748b;
  margin-top: 10px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */
.service-card {
  position: relative;
  background: #2a3f5f;
  padding: 40px;
  border-radius: 20px;

  color: #cbd5e1;
  transition: all 0.35s ease;

  overflow: hidden;
  transform-style: preserve-3d;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 20px 40px rgba(0,0,0,0.15);
}

/* wide card */
.service-card.wide {
  grid-column: span 2;
}

/* ICON */
.service-card i {
  font-size: 22px;
  margin-bottom: 20px;
  color: #9fb4d9;
  transition: 0.3s;
}

/* TITLE */
.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #e2e8f0;
}

/* TEXT */
.service-card p {
  font-size: 14px;
  color: #94a3b8;
}

/* 🔥 HOVER GLOW */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x,50%) var(--y,50%),
    rgba(255,122,48,0.25),
    transparent 40%
  );
  opacity: 0;
  transition: 0.3s;
}

.service-card:hover::after {
  opacity: 1;
}

/* ✨ gradient sweep */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.08),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.service-card:hover::before {
  transform: translateX(100%);
}

/* hover lift */
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

/* icon glow */
.service-card:hover i {
  color: #ff7a30;
  text-shadow: 0 0 20px rgba(255,122,48,0.6);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: span 1;
  }
}

.service-card {
  position: relative;
  background: #2a3f5f;
  padding: 40px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  border: 1px solid rgba(255,255,255,0.04);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff7a30, transparent);
  transition: left .45s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,122,48,0.18), transparent 38%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.26);
  border-color: rgba(255,122,48,0.18);
}

.service-card:hover::before {
  left: 70%;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover i {
  color: #ff7a30;
}

.service-card i {
  transition: color .25s ease, transform .25s ease;
}

.service-card:hover i {
  transform: translateY(-2px);
}



/* cta section */

/* SECTION */
.cta-dark {
  background: #020b18;
  padding: 120px 20px;
  display: flex;
  justify-content: center;
}

/* CARD CONTAINER */
.cta-box {
  position: relative;
  width: 100%;
  max-width: 1300px;
  padding: 100px 40px;
  border-radius: 20px;
  overflow: hidden;

  background: rgba(20, 30, 45, 0.4);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 40px 100px rgba(0,0,0,0.6);
}

/* 🔥 GRADIENT LAYER (MAIN MAGIC) */
.cta-gradient {
  position: absolute;
  inset: -40%;
  z-index: 0;

  background:
    radial-gradient(circle at 30% 50%, rgba(255,120,50,0.25), transparent 40%),
    radial-gradient(circle at 70% 40%, rgba(120,200,255,0.2), transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(180,120,255,0.2), transparent 45%);

  filter: blur(80px);
  opacity: 0.8;

  transition: all 0.6s ease;
}

/* 🧲 MASSIVE HOVER ANIMATION */
.cta-box:hover .cta-gradient {
  transform: scale(1.3) rotate(8deg);
  filter: blur(100px);
  opacity: 1;
}

/* ✨ subtle animated movement */
.cta-gradient {
  animation: floatGradient 12s ease-in-out infinite alternate;
}

@keyframes floatGradient {
  0% {
    transform: translate(0,0) scale(1);
  }
  50% {
    transform: translate(40px,-30px) scale(1.1);
  }
  100% {
    transform: translate(-30px,30px) scale(1.05);
  }
}

/* CONTENT */
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* TITLE */
.cta-content h2 {
  font-size: 64px;
  font-weight: 800;
  color: #dbe7ff;
  line-height: 1.1;
  margin-bottom: 40px;
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  background: #ff7a30;
  color: #fff;
  padding: 18px 36px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.25s ease;

  box-shadow: 0 10px 30px rgba(255,122,48,0.4);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255,122,48,0.6);
}

/* SUBTEXT */
.cta-content p {
  margin-top: 30px;
  color: #8fa3c3;
  font-size: 15px;
}

@media (max-width: 1200px){
  .flutter-hero__container{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flutter-hero__content{
    margin: 0 auto;
  }

  .flutter-hero__actions{
    justify-content: center;
  }

  .flutter-hero__media{
    justify-content: center;
  }
}

@media (max-width: 900px){
  .flutter-hero__title{
    font-size: 52px;
  }
}

@media (max-width: 768px){
  .flutter-hero__title{
    font-size: 40px;
  }

  .flutter-hero__desc{
    font-size: 15px;
  }
}

@media (max-width: 1200px){
  .features-wrap{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .features{
    padding: 80px 20px;
  }

  .features-wrap{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card{
    padding: 30px 24px;
  }

  .feature-card h3{
    font-size: 22px;
  }
}

@media (max-width: 1200px){
  .premium-wrap{
    gap: 50px;
  }

  .premium-content h2{
    font-size: 44px;
  }
}

@media (max-width: 900px){
  .premium-wrap{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .premium-content{
    max-width: 600px;
    margin: 0 auto;
  }

  .features-list li{
    padding-left: 0;
  }

  .features-list li::before{
    display: none;
  }
}

@media (max-width: 768px){
  .premium-ui{
    padding: 80px 20px;
  }

  .premium-content h2{
    font-size: 32px;
  }

  .premium-content .desc{
    font-size: 16px;
  }
}

@media (max-width: 1200px){
  .services-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.wide{
    grid-column: span 2;
  }
}

@media (max-width: 600px){
  .services{
    padding: 80px 20px;
  }

  .services-head h2{
    font-size: 32px;
  }

  .services-grid{
    grid-template-columns: 1fr;
  }

  .service-card.wide{
    grid-column: span 1;
  }
}

@media (max-width: 900px){
  .cta-content h2{
    font-size: 42px;
  }
}

@media (max-width: 768px){
  .cta-dark{
    padding: 80px 16px;
  }

  .cta-box{
    padding: 60px 20px;
  }

  .cta-content h2{
    font-size: 30px;
  }

  .cta-btn{
    width: 100%;
  }
}

html, body{
  overflow-x: hidden;
}

img{
  max-width: 100%;
  height: auto;
}

*{
  box-sizing: border-box;
}

section{
  scroll-margin-top: 100px;
}

@media (max-width: 768px){
  section{
    scroll-margin-top: 70px;
  }
}

/* premium lift */
.feature-card,
.service-card {
  transition: all 0.35s ease;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}

/* image zoom */
.flutter-hero__image-wrap img,
.premium-image img {
  transition: transform 0.5s ease;
}

.fx-3d:hover img {
  transform: scale(1.05);
}

/* =========================
   FLUTTER BUTTON SYSTEM
========================= */

/* shared */
.flutter-btn,
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    background-color .35s ease,
    border-color .35s ease,
    color .35s ease;
}

/* keep text above layers */
.flutter-btn span,
.cta-btn span,
.flutter-btn,
.cta-btn {
  z-index: 1;
}

/* sliding fill layer */
.flutter-btn::before,
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateX(-102%);
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}

/* gloss sweep */
.flutter-btn::after,
.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,.08) 35%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,.08) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left .7s ease;
  pointer-events: none;
}

.flutter-btn:hover,
.cta-btn:hover {
  transform: translateY(-3px);
}

.flutter-btn:hover::after,
.cta-btn:hover::after {
  left: 140%;
}

.flutter-btn:active,
.cta-btn:active {
  transform: translateY(-1px);
}

/* =========================
   PRIMARY
   orange -> transparent orange
========================= */
.flutter-btn--primary {
  min-height: 64px;
  padding: 0 34px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;

  background: #ff7b32;
  border: 2.5px solid #ff7b32;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(255,123,50,.22);
}

.flutter-btn--primary::before {
  background: transparent;
}

.flutter-btn--primary:hover {
  background: transparent;
  border-color: #ff7b32;
  color: #ff7b32 !important;
  box-shadow:
    0 14px 34px rgba(255,123,50,.10),
    0 0 0 1px rgba(255,123,50,.10) inset;
}

/* =========================
   SECONDARY
   dark glass -> lighter slide fill
========================= */
.flutter-btn--secondary {
  min-height: 64px;
  padding: 0 34px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;

  background: rgba(22,36,68,.78);
  border: 2.5px solid rgba(76,96,136,.42);
  color: #dce6ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 24px rgba(0,0,0,.10);
}

.flutter-btn--secondary::before {
  background: rgba(255,255,255,.10);
}

.flutter-btn--secondary:hover::before {
  transform: translateX(0);
}

.flutter-btn--secondary:hover {
  background: rgba(22,36,68,.78);
  color: #ffffff !important;
  border-color: rgba(122,146,201,.58);
  box-shadow:
    0 14px 30px rgba(0,0,0,.16),
    0 0 0 1px rgba(255,255,255,.04) inset;
}

/* =========================
   CTA BUTTON
   orange -> transparent orange
========================= */
.cta-btn {
  min-height: 64px;
  padding: 0 34px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;

  background: #ff7a30;
  border: 2.5px solid #ff7a30;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(255,122,48,0.40);
}

.cta-btn::before {
  background: transparent;
}

.cta-btn:hover {
  background: transparent;
  color: #ff7a30 !important;
  border-color: #ff7a30;
  box-shadow:
    0 16px 32px rgba(255,122,48,.14),
    0 0 0 1px rgba(255,122,48,.10) inset;
}

/* optional: thicker buttons on mobile stay full width */
@media (max-width: 768px) {
  .flutter-btn,
  .cta-btn {
    width: 100%;
  }

  .flutter-btn--primary,
  .flutter-btn--secondary,
  .cta-btn {
    min-height: 58px;
  }
}