/* =========================
   SECTION
========================= */
.hero-v2 {
  padding: 100px 60px;
  background: radial-gradient(circle at 20% 10%, #0b1f3a, #071326 70%);
  font-family: Inter, system-ui;
}

/* =========================
   LAYOUT
========================= */
.hero-v2-wrap {
  max-width: 1300px;
  margin: auto;

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

/* =========================
   LEFT
========================= */
.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 1px;

  color: #6aa3ff;
  background: rgba(80,140,255,0.12);
  border: 1px solid rgba(80,140,255,0.25);

  margin-bottom: 24px;
}

.hero-v2-left h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
}

/* gradient text */
.hero-v2-left h1 span {
  background: linear-gradient(90deg, #4f7cff, #6aa3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-v2-left p {
  color: #8fa2c4;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

/* =========================
   BUTTONS
========================= */
.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 16px 26px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* primary */
.btn.primary {
  background: linear-gradient(90deg, #ff7a2f, #ff5a00);
  color: #fff;

  box-shadow: 0 12px 30px rgba(255,122,47,0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255,122,47,0.5);
}

/* secondary */
.btn.secondary {
  color: #c7d2e6;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* =========================
   RIGHT
========================= */
.hero-v2-right {
  position: relative;
  max-width: 600px;
  margin-left: auto;
}

/* IMAGE CONTAINER (STRICT CONTROL) */
.hero-img-wrap {
  width: 100%;
  height: 420px;

  border-radius: 20px;
  overflow: hidden;

  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

/* image ALWAYS fits */
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* subtle glow */
.hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,0,80,0.15), transparent 60%);
}

/* hover zoom */
.hero-v2-right:hover img {
  transform: scale(1.05);
}

/* =========================
   FLOAT CARD
========================= */
.latency-card {
  position: absolute;
  top: 30px;
  right: -40px;

  padding: 14px 18px;
  border-radius: 14px;

  background: rgba(20,40,70,0.9);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 20px 40px rgba(0,0,0,0.4);

  animation: float 4s ease-in-out infinite;
}

.latency-card span {
  display: block;
  font-size: 11px;
  color: #6aa3ff;
  margin-bottom: 4px;
}

.latency-card strong {
  font-size: 20px;
  color: #ffffff;
}

/* floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .hero-v2-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-v2-left {
    margin: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-v2-right {
    margin: auto;
  }

  .latency-card {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .hero-v2 {
    padding: 70px 20px;
  }

  .hero-img-wrap {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-img-wrap {
    height: 240px;
  }
}

/* =========================
   SECTION
========================= */
.complexity {
  padding: 100px 60px;
  background: #f4f5f7;
  font-family: Inter, system-ui;
}

/* =========================
   LAYOUT
========================= */
.complexity-wrap {
  max-width: 1300px;
  margin: auto;

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

/* =========================
   IMAGE (STRICT CONTROL)
========================= */
.complexity-img {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.complexity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   RIGHT TEXT
========================= */
.complexity-right h2 {
  font-size: 40px;
  color: #0b1b34;
  margin-bottom: 14px;
}

.complexity-right p {
  color: #6b7a90;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

/* =========================
   GRID
========================= */
.complexity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* =========================
   CARD
========================= */
.c-card {
  background: #2c4568;
  color: #fff;

  padding: 24px;
  border-radius: 14px;

  border-left: 3px solid #4f7cff;

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  transition: all 0.3s ease;
}

/* hover */
.c-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* TEXT */
.c-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.c-card p {
  font-size: 14px;
  color: #c3d2e8;
  line-height: 1.6;
}

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

  .complexity-left,
  .complexity-right {
    margin: auto;
    text-align: center;
  }

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

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

  .complexity-img {
    height: 300px;
  }

  .complexity-right h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .complexity-img {
    height: 240px;
  }
}

/* =========================
   SECTION
========================= */
.solutions {
  padding: 100px 60px;
  background: radial-gradient(circle at 20% 10%, #0b1f3a, #071326 70%);
  font-family: Inter, system-ui;
}

/* =========================
   CONTAINER
========================= */
.solutions-container {
  max-width: 1300px;
  margin: auto;
}

/* =========================
   HEADER
========================= */
.solutions-header {
  text-align: center;
  margin-bottom: 70px;
}

.solutions-header h2 {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 10px;
}

/* underline accent */
.underline {
  width: 60px;
  height: 3px;
  background: #4f7cff;
  margin: 10px auto 20px;
  border-radius: 2px;
}

.solutions-header p {
  color: #8fa2c4;
  max-width: 600px;
  margin: auto;
  line-height: 1.6;
}

/* =========================
   GRID
========================= */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* =========================
   CARD
========================= */
.s-card {
  background: #0f2a4a;
  padding: 24px;
  border-radius: 16px;
  color: #fff;

  display: flex;
  flex-direction: column;
  gap: 14px;

  border: 1px solid rgba(255,255,255,0.05);

  transition: all 0.3s ease;
}

/* hover */
.s-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* =========================
   IMAGE (STRICT CONTROL)
========================= */
.s-img {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
}

.s-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   TEXT
========================= */
.s-card h3 {
  font-size: 18px;
  margin-top: 8px;
}

.s-card p {
  font-size: 14px;
  color: #9fb0c7;
  line-height: 1.6;
}

/* divider */
.divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: 10px;
}   

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

  .solutions-header h2 {
    font-size: 30px;
  }
}

/* GLOBAL SOLTUION  */

/* =========================
   SECTION
========================= */
.global {
  padding: 100px 60px;
  background: #f4f5f7;
  font-family: Inter, system-ui;
}

/* =========================
   LAYOUT
========================= */
.global-wrap {
  max-width: 1300px;
  margin: auto;

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

/* =========================
   LEFT
========================= */
.global-left h2 {
  font-size: 42px;
  color: #0b1b34;
  line-height: 1.2;
  margin-bottom: 20px;
}

.global-left p {
  color: #6b7a90;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* REGION GRID */
.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 60px;
}

.global-grid h4 {
  font-size: 18px;
  color: #0b1b34;
  margin-bottom: 6px;
}

.global-grid span {
  font-size: 14px;
  color: #6b7a90;
}

/* =========================
   IMAGE (STRICT CONTROL)
========================= */
.global-img {
  width: 100%;
  height: 420px;

  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.global-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .global-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .global-left {
    margin: auto;
  }

  .global-grid {
    justify-content: center;
  }

  .global-right {
    margin: auto;
  }
}

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

  .global-img {
    height: 300px;
  }

  .global-left h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .global-img {
    height: 240px;
  }
}

/* FORM  */

/* =========================
   SECTION
========================= */
.cta {
  padding: 100px 60px;
  background: radial-gradient(circle at 20% 10%, #0b1f3a, #071326 70%);
  font-family: Inter, system-ui;
}

/* =========================
   CONTAINER
========================= */
.cta-wrap {
  max-width: 1300px;
  margin: auto;

  background: linear-gradient(145deg, #0f2a4a, #0a1a30);
  border-radius: 20px;

  padding: 60px;

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;

  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* =========================
   LEFT
========================= */
.cta-left h2 {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-left p {
  color: #9fb0c7;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 420px;
}

/* LIST (FIXED alignment) */
.cta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-list li {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 14px;
  color: #cbd6e6;
  font-size: 15px;
}

/* check icon */
.cta-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;

  background: #ff7a2f;
  color: #fff;

  border-radius: 50%;
  font-size: 12px;

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

  flex-shrink: 0;
}

/* =========================
   FORM CARD
========================= */
.cta-card {
  background: #f4f5f7;
  border-radius: 16px;
  padding: 30px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* FORM */
.cta-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ROW */
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* GROUP */
.cta-group {
  display: flex;
  flex-direction: column;
}

.cta-group label {
  font-size: 13px;
  color: #5f6c80;
  margin-bottom: 6px;
}

/* INPUT */
.cta-group input,
.cta-group textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d6dbe4;

  font-size: 14px;
  outline: none;

  background: #fff;
}

/* textarea */
.cta-group textarea {
  min-height: 120px;
  resize: none;
}

/* focus */
.cta-group input:focus,
.cta-group textarea:focus {
  border-color: #4f7cff;
  box-shadow: 0 0 0 2px rgba(79,124,255,0.2);
}

/* =========================
   BUTTON
========================= */
.cta-btn {
  margin-top: 10px;

  padding: 16px;
  border-radius: 10px;
  border: none;

  background: #0b1f3a;
  color: #fff;

  font-weight: 600;
  font-size: 15px;
  cursor: pointer;

  transition: all 0.3s ease;
}

/* hover */
.cta-btn:hover {
  background: #0f2a4a;
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .cta-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-left {
    margin: auto;
  }

  .cta-list {
    align-items: center;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }
}

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

  .cta-wrap {
    padding: 30px 20px;
  }

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

/* ANIMATIONS  */

/* =========================
   HERO LIGHT SWEEP
========================= */
.hero-img-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.8s ease;
  z-index: 2;
}

.hero-v2-right:hover .hero-img-wrap::before {
  left: 140%;
}

/* =========================
   HERO TAG GLOW
========================= */
.hero-tag {
  position: relative;
  overflow: hidden;
}

.hero-tag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(79,124,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-tag:hover::after {
  opacity: 1;
}

/* =========================
   COMPLEXITY CARDS PRO
========================= */
.c-card {
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* glowing edge */
.c-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(79,124,255,0.25), transparent);
  opacity: 0;
  transition: 0.4s;
}

.c-card:hover::before {
  opacity: 1;
}

/* 3D lift */
.c-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.25),
    0 0 0 1px rgba(79,124,255,0.15);
}

/* =========================
   SOLUTION CARDS PREMIUM
========================= */
.s-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* animated gradient border */
.s-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, #4f7cff, transparent, #00d4ff);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s;
}

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

/* depth + tilt */
.s-card:hover {
  transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) translateY(-10px);
}

/* =========================
   GLOBAL GRID HOVER
========================= */
.global-grid div {
  transition: 0.3s ease;
  padding: 10px;
  border-radius: 10px;
}

.global-grid div:hover {
  background: rgba(79,124,255,0.08);
  transform: translateX(6px);
}

/* =========================
   CTA CARD PREMIUM
========================= */
.cta-wrap {
  position: relative;
  overflow: hidden;
}

.cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #4f7cff, transparent, #ff7a2f);
  opacity: 0.08;
  pointer-events: none;
}

/* subtle hover lift */
.cta-wrap:hover {
  transform: translateY(-6px);
  transition: 0.4s ease;
}

/* =========================
   INPUT MICRO INTERACTION
========================= */
.cta-group input,
.cta-group textarea {
  transition: all 0.25s ease;
}

.cta-group input:focus,
.cta-group textarea:focus {
  transform: scale(1.02);
  background: #ffffff;
}

/* =========================
   CTA BUTTON ULTRA
========================= */
.cta-btn {
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.6s;
}

.cta-btn:hover::before {
  left: 140%;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
}



/* =========================
   FLOAT SYSTEM
========================= */
@keyframes floatSoft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.latency-card {
  animation: floatSoft 4s ease-in-out infinite;
}

.s-card:nth-child(odd) {
  animation: floatSoft 6s ease-in-out infinite;
}