/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Theme: Modern FinTech (Indigo/Purple) */
  --primary-indigo: #4f46e5;
  --primary-purple: #7e22ce;
  --accent-pink: #ec4899;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --text-dark: #1f2937;
  --text-gray: #6b7280;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1500px, 92%);
  margin-inline: auto;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.2rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  max-height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 2rem;
  background: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 1px solid #e5e7eb;
}

.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary-indigo);
}

/* Buttons */
.btn-primary {
  background: var(--text-dark);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: var(--primary-indigo);
  color: var(--primary-indigo);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: white;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 0 0 550px;
  /* Reduced specific width to allow visual to grow */
  max-width: 100%;
  z-index: 2;
}

.hero-visual {
  flex: 1;
  /* Take remaining space */
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.fintech-shape {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  position: absolute;
  right: -100px;
  top: -100px;
  z-index: 1;
}

.curve-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--bg-light);
  clip-path: ellipse(50% 100% at 50% 100%);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.section-alt {
  background: white;
  border-radius: var(--radius-lg);
  margin: 2rem;
  width: auto;
}

/* Cards */
.feature-grid,
.teaser-grid,
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card,
.teaser-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.feature-card:hover,
.teaser-card:hover {
  transform: translateY(-5px);
  border-color: #e5e7eb;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--primary-indigo);
  font-weight: 600;
}

.link-arrow:hover {
  gap: 5px;
}

/* Page Specifics */
.page-hero {
  background: white;
  padding: 6rem 0;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.cta-section {
  background: var(--primary-indigo);
  margin: 2rem;
  border-radius: 2rem;
  width: auto;
  color: white;
}

.cta-section h2 {
  color: white;
  -webkit-text-fill-color: initial;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary-indigo);
}

/* Footer */
.footer {
  background: var(--bg-light);
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.footer-nav a {
  color: var(--text-gray);
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--primary-indigo);
}

@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    flex: auto;
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.8rem;
    background: transparent;
    border: none;
  }

  .nav-link {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .section-alt,
  .cta-section {
    margin: 1rem;
    border-radius: 1rem;
    width: auto;
  }
}

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

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field-full {
  grid-column: span 2;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: white;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.checkbox-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-gray);
  cursor: pointer;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
  box-shadow: none;
}

.btn-full {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}