:root {
  --primary: #5b5ef8;
  --secondary: #00c2ff;

  --bg: #08111f;
  --card: #111c31;
  --card2: #16233e;

  --white: #ffffff;
  --text: #c7d1e6;
  --border: rgba(255, 255, 255, 0.08);

  --radius: 22px;
}

* {
  /* margin: 0; */
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 90%);
  margin: auto;
}

section {
  padding: 100px 0;
}

/* ===========================
Background
=========================== */

body::before {
  content: "";

  position: fixed;

  width: 450px;

  height: 450px;

  background: #5b5ef830;

  border-radius: 50%;

  filter: blur(140px);

  left: -180px;

  top: -180px;

  z-index: -2;
}

body::after {
  content: "";

  position: fixed;

  width: 500px;

  height: 500px;

  background: #00c2ff20;

  border-radius: 50%;

  filter: blur(160px);

  right: -220px;

  bottom: -220px;

  z-index: -2;
}

/* ===========================
Header
=========================== */

header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  backdrop-filter: blur(16px);

  background: rgba(8, 17, 31, 0.75);

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

.navbar {
  height: 82px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

/* ===========================
Logo
=========================== */

.logo {
  display: flex;

  align-items: center;

  gap: 14px;

  font-size: 28px;

  font-weight: 800;
}

.logo-icon {
  width: 46px;
  height: 46px;

  border-radius: 16px;

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  box-shadow: 0 12px 30px rgba(91, 94, 248, 0.45);
}

/* ===========================
Buttons
=========================== */

.btn-primary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 15px 30px;

  border-radius: 14px;

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: #fff;

  font-weight: 700;

  transition: 0.35s;
}

.btn-primary:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(91, 94, 248, 0.45);
}

.btn-outline {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 15px 30px;

  border-radius: 14px;

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

  transition: 0.35s;
}

.btn-outline:hover {
  background: #fff;

  color: #111;
}

/* ===========================
Hero
=========================== */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  position: relative;

  padding-top: 100px;
}

.hero-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 70px;

  align-items: center;
}

.tag {
  display: inline-block;

  padding: 10px 18px;

  border-radius: 40px;

  background: rgba(255, 255, 255, 0.06);

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

  color: #8fe6ff;

  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.7rem);

  line-height: 1.05;

  font-weight: 900;

  margin-bottom: 25px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;

  color: var(--text);

  margin-bottom: 35px;

  max-width: 550px;
}

.hero-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-bottom: 45px;
}

/* ===========================
Hero Stats
=========================== */

.hero-stats {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.hero-stats div {
  background: var(--card);

  border: 1px solid var(--border);

  padding: 22px;

  border-radius: 18px;

  text-align: center;
}

.hero-stats h3 {
  font-size: 30px;

  margin-bottom: 6px;
}

.hero-stats p {
  margin: 0;

  font-size: 14px;
}

/* ===========================
Hero Card
=========================== */

.window {
  background: rgba(255, 255, 255, 0.05);

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

  backdrop-filter: blur(20px);

  border-radius: 26px;

  padding: 30px;

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.window-header {
  display: flex;

  gap: 10px;

  margin-bottom: 25px;
}

.window-header span {
  width: 14px;
  height: 14px;

  border-radius: 50%;
}

.window-header span:nth-child(1) {
  background: #ff5f56;
}

.window-header span:nth-child(2) {
  background: #ffbd2e;
}

.window-header span:nth-child(3) {
  background: #27c93f;
}

.flow {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 15px;

  flex-wrap: wrap;

  margin-bottom: 30px;
}

.company,
.bridge {
  flex: 1;

  min-width: 120px;

  background: var(--card2);

  border-radius: 20px;

  padding: 25px;

  text-align: center;
}

.company i,
.bridge i {
  font-size: 32px;

  color: #71daff;

  margin-bottom: 15px;
}

.arrow {
  color: #67d7ff;

  font-size: 22px;
}

.json-box {
  background: #061221;

  border-radius: 18px;

  padding: 22px;

  overflow: auto;
}

.json-box pre {
  color: #63ffc0;

  font-size: 14px;

  line-height: 1.7;
}

/* ===========================
Blur
=========================== */

.blur {
  position: absolute;

  border-radius: 50%;

  filter: blur(120px);

  z-index: -1;
}

.blur1 {
  width: 260px;
  height: 260px;

  background: #5b5ef8;

  left: -100px;

  top: 120px;

  opacity: 0.35;
}

.blur2 {
  width: 300px;
  height: 300px;

  background: #00c2ff;

  right: -120px;

  bottom: 50px;

  opacity: 0.22;
}

/* ===========================
Responsive
=========================== */

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-card {
    order: 2;

    max-width: 650px;

    margin: auto;
  }

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

  .hero p {
    margin: auto auto 35px;
  }

  .hero-stats {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .nav-buttons {
    display: none;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .flow {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================
   TRUSTED SECTION
========================================== */

.trusted {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trusted p {
  text-align: center;
  color: #8fa5c7;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 40px;
}

.brands {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
}

.brands span {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  font-weight: 600;
  transition: 0.3s;
}

.brands span:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* ==========================================
   SECTION TITLE
========================================== */

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.section-title span {
  color: #76dfff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin-top: 18px;
  line-height: 1.2;
}

/* ==========================================
   FEATURES
========================================== */

.features {
  background: #091220;
}

.feature-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 28px;
}

.feature-card {
  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 22px;

  padding: 35px;

  transition: 0.35s;
}

.feature-card:hover {
  transform: translateY(-8px);

  border-color: var(--primary);

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

.feature-card i {
  width: 70px;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 18px;

  margin-bottom: 25px;

  font-size: 30px;

  color: #fff;

  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.feature-card h3 {
  margin-bottom: 15px;

  font-size: 24px;
}

.feature-card p {
  color: var(--text);
}

/* ==========================================
   HOW IT WORKS
========================================== */

.how {
  background: #0b1527;
}

.steps {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;
}

.step {
  background: var(--card);

  border-radius: 22px;

  border: 1px solid var(--border);

  padding: 40px;

  text-align: center;

  transition: 0.35s;
}

.step:hover {
  transform: translateY(-8px);
}

.number {
  width: 75px;

  height: 75px;

  margin: auto auto 25px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  font-size: 26px;

  font-weight: 800;
}

.step h3 {
  margin-bottom: 18px;

  font-size: 24px;
}

.step p {
  color: var(--text);
}

/* ==========================================
   API SECTION
========================================== */

.api {
  background: #091220;
}

.api-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 70px;

  align-items: center;
}

.api h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);

  margin: 25px 0;
}

.api p {
  color: var(--text);

  margin-bottom: 35px;
}

.code-card {
  background: #06101d;

  border-radius: 22px;

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

  padding: 35px;

  overflow: auto;
}

.code-card pre {
  color: #67ffc3;

  line-height: 1.8;

  font-size: 15px;

  font-family: Consolas, monospace;
}

/* ==========================================
   STATS
========================================== */

.stats {
  background: #08111f;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 25px;
}

.stats-grid div {
  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 22px;

  text-align: center;

  padding: 45px 20px;

  transition: 0.35s;
}

.stats-grid div:hover {
  transform: translateY(-8px);

  border-color: var(--primary);
}

.stats-grid h2 {
  font-size: 46px;

  margin-bottom: 10px;

  background: linear-gradient(90deg, var(--primary), var(--secondary));

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stats-grid p {
  color: var(--text);
}

/*==================================
        Pricing Card
===================================*/

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 50px;
  background: #111827;
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 22px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: #6366f1;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.18);
}

/* Badge */

.pricing-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: #4f46e5;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Plan Title */

.pricing-card h3 {
  color: #fff;
  font-size: 30px;
  margin: 10px 0 25px;
  font-weight: 700;
}

/* Price */

.price {
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.currency {
  font-size: 34px;
  vertical-align: top;
}

.price small {
  display: block;
  margin-top: 15px;
  color: #818cf8;
  font-size: 18px;
  font-weight: 500;
}

/* Description */

.price-description {
  color: #9ca3af;
  line-height: 1.8;
  margin: 30px 0 35px;
  font-size: 16px;
}

/* Features */

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
}

.pricing-features li {
  color: #d1d5db;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Button */

.pricing-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: #6366f1;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.pricing-btn:hover {
  background: #4f46e5;
}

/* Mobile */

@media (max-width: 768px) {
  .pricing-card {
    padding: 35px 25px;
  }

  .pricing-card h3 {
    font-size: 24px;
  }

  .price {
    font-size: 46px;
  }

  .currency {
    font-size: 28px;
  }

  .price-description {
    font-size: 15px;
  }
}

/* ==========================================
   CTA
========================================== */

.cta {
  text-align: center;

  padding: 120px 0;
}

.cta h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);

  max-width: 820px;

  margin: auto;
}

.cta p {
  margin: 25px auto 0;

  max-width: 650px;

  color: var(--text);

  font-size: 18px;
}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-card {
  animation: float 5s ease-in-out infinite;
}

/* ==========================================
   RESPONSIVE
========================================== */

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

  .api p {
    margin: auto auto 30px;
  }

  .brands {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .feature-card,
  .step,
  .stats-grid div {
    padding: 30px;
  }

  .cta {
    padding: 80px 0;
  }
}

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

  .section-title {
    margin-bottom: 45px;
  }

  .section-title h2 {
    font-size: 30px;
  }

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

  .stats-grid h2 {
    font-size: 36px;
  }
}

/* =====================================================
   PART 3 - PREMIUM EFFECTS
===================================================== */

/* Smooth Scroll */

html {
  scroll-behavior: smooth;
}

/* Selection */

::selection {
  background: #5b5ef8;
  color: #fff;
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #08111f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#5b5ef8, #00c2ff);
  border-radius: 50px;
}

/* Card Glow */

.feature-card,
.step,
.stats-grid div,
.window,
.code-card {
  position: relative;

  overflow: hidden;
}

.feature-card::before,
.step::before,
.window::before,
.code-card::before {
  content: "";

  position: absolute;

  top: -50%;

  left: -50%;

  width: 220%;

  height: 220%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );

  transform: rotate(25deg);

  transition: 0.8s;

  opacity: 0;
}

.feature-card:hover::before,
.step:hover::before,
.window:hover::before,
.code-card:hover::before {
  left: 100%;

  opacity: 1;
}

/* Floating Animation */

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero-card {
  animation: floating 6s ease-in-out infinite;
}

/* Pulse */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 94, 248, 0.45);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(91, 94, 248, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(91, 94, 248, 0);
  }
}

.logo-icon {
  animation: pulse 3s infinite;
}

/* Gradient Border */

.window {
  border: 1px solid transparent;

  background:
    linear-gradient(#111c31, #111c31) padding-box,
    linear-gradient(135deg, #5b5ef8, #00c2ff) border-box;
}

/* Hover Effects */

.feature-card:hover,
.step:hover,
.stats-grid div:hover {
  transform: translateY(-10px) scale(1.02);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn-outline:hover {
  transform: translateY(-3px);
}

/* Fade Animation */

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(40px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.hero-content,
.hero-card,
.feature-card,
.step,
.stats-grid div,
.code-card {
  animation: fadeUp 0.8s ease both;
}

/* Utility Classes */

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}

.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}

.rounded {
  border-radius: 20px;
}

.shadow {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(90deg, #5b5ef8, #00c2ff);

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Large Screens */

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Extra Small Screens */

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 14px 18px;

    font-size: 15px;
  }

  .window {
    padding: 20px;
  }

  .company,
  .bridge {
    padding: 18px;
  }
}

/* =========================
   FOOTER
========================= */

.site-footer {
  position: relative;
  background: #070b14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 8% 25px;
  overflow: hidden;
}

/* Subtle glow */
.site-footer::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  left: -200px;
  top: -200px;
  background: rgba(79, 70, 229, 0.08);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

/* Brand */

.footer-description {
  max-width: 360px;
  color: #8b93a7;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* Footer Columns */

.footer-column h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #8b93a7;
  font-size: 14px;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Bottom Footer */

.footer-bottom {
  max-width: 1200px;
  margin: 55px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);

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

  color: #60697b;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-powered span {
  color: #8b93a7;
  font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 55px 24px 25px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-bottom {
    margin-top: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
