:root {
  /* Premium Fintech Palette */
  --primary: #4f46e5;
  /* Indigo 600 */
  --primary-dark: #4338ca;
  /* Indigo 700 */
  --secondary: #ec4899;
  /* Pink 500 */
  --accent: #06b6d4;
  /* Cyan 500 */

  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --text-main: #0f172a;
  /* Slate 900 */
  --text-muted: #64748b;
  /* Slate 500 */

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  --gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
  --gradient-text: linear-gradient(to right, #4f46e5, #ec4899);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

  --font-main: 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-code: 'Fira Code', monospace;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
  border-radius: 50px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid #e2e8f0;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn-sm) {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:not(.btn-sm):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero-bg-glow-2 {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.badge-new {
  display: inline-block;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-micro {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}

.trust-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0f172a;
}

/* Hero Visuals (CSS Only 3D) */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  position: absolute;
  transition: transform 0.3s ease;
}

.card-main {
  width: 320px;
  height: 240px;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  transform: rotateY(-10deg) rotateX(5deg);
  z-index: 2;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
}

.card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ef4444;
}

.dot.yellow {
  background: #f59e0b;
}

.dot.green {
  background: #22c55e;
}

.balance-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 4px;
}

.balance-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.graph-placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 60px;
  gap: 8px;
}

.bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 4px;
  opacity: 0.8;
}

.card-float-1 {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  top: 10%;
  right: 5%;
  transform: translateZ(50px);
  animation: float 6s infinite ease-in-out;
  z-index: 3;
}

.card-float-2 {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  bottom: 20%;
  left: 0;
  transform: translateZ(30px);
  animation: float 8s infinite ease-in-out reverse;
  z-index: 3;
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-blue {
  background: #dbeafe;
  color: #2563eb;
}

.text-group {
  display: flex;
  flex-direction: column;
}

.text-group .muted {
  font-size: 0.7rem;
  color: #64748b;
}

.text-group .bold {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--bg-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
  border-color: #e2e8f0;
}

.feature-card .icon-box {
  width: 50px;
  height: 50px;
  background: var(--bg-subtle);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .icon-box {
  background: var(--primary);
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Developers Section */
.developers {
  padding: 100px 0;
  background: #0f172a;
  color: white;
  overflow: hidden;
  position: relative;
}

.dev-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dev-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.dev-text p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.check-list li i {
  color: var(--accent);
}

.code-window {
  background: #1e293b;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid #334155;
  font-family: var(--font-code);
}

.window-header {
  background: #0f172a;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #334155;
}

.window-dot {
  width: 10px;
  height: 10px;
  background: #475569;
  border-radius: 50%;
}

.lang-tag {
  margin-left: auto;
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
}

.code-content {
  padding: 24px;
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.keyword {
  color: #c084fc;
}

/* Purple */
.function {
  color: #38bdf8;
}

/* Blue */
.string {
  color: #4ade80;
}

/* Green */
.number {
  color: #fbbf24;
}

/* Amber */
.key {
  color: #94a3b8;
}

/* Slate */

/* CTA Banner */
.cta-banner {
  padding: 100px 0;
  background: var(--bg-page);
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta-box p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Footer */
footer {
  padding-top: 80px;
  padding-bottom: 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
  margin-top: 16px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links h4 {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #e2e8f0;
  padding-top: 32px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.legal {
  text-align: right;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-micro {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .hero-visual {
    margin-top: 40px;
    height: 400px;
  }

  .dev-content {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .legal {
    text-align: center;
  }

  /* Mobile Menu */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }
}