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

:root {
  --primary: #4C1D95;
  /* Deep purple */
  --primary-dark: #3b1480;
  --primary-light: #f5f3ff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --border-color: #f1f5f9;
  --font-sans: 'Inter', sans-serif;
  --container-width: 1280px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

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

/* Top Banner */
.top-banner {
  background: #2e1065;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.top-banner .badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.top-banner a {
  text-decoration: underline;
  margin-left: 4px;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.nav-logo i {
  color: var(--primary);
}

.policy-section {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.policy-section h2 {
  font-size: 28px;
  margin-top: 24px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.policy-section p {
  margin: 12px 0;
  line-height: 1.6;
  color: var(--text-main);
}

.policy-section ul {
  margin: 12px 0 12px 20px;
  list-style-type: disc;
  color: var(--text-main);
}

.policy-section li {
  margin-bottom: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .sign-in {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  background: radial-gradient(circle at 80% 20%, #f5f3ff 0%, #ffffff 50%);
  overflow: visible;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-checks {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-checks i {
  color: var(--primary);
  margin-right: 6px;
}

.hero-visual {
  position: relative;
  overflow: visible;
  padding-bottom: 60px;
  padding-right: 40px;
}

.hero-visual .desktop-mockup {
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  background: white;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  display: block;
}

.hero-visual .mobile-mockup {
  position: absolute;
  right: 100px;
  bottom: -20px;
  width: 180px;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 4px solid white;
  object-fit: cover;
  object-position: top;
}

/* Trusted By */
.trusted-by {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #fafafa;
  text-align: center;
}

.trusted-by p {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.trusted-logos img {
  height: 26px;
  max-height: 26px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(45%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trusted-logos img:hover {
  filter: grayscale(0%) opacity(100%);
  transform: translateY(-2px) scale(1.05);
}

/* Features */
.features {
  padding: 100px 0;
  text-align: center;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.feature-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: white;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Showcase (Transactions) */
.showcase {
  padding: 100px 0;
  background: var(--bg-alt);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.showcase-text .subtitle {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.showcase-text h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.showcase-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Industries */
.industries {
  padding: 100px 0;
  text-align: center;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: left;
}

.industry-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.industry-card:hover {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.industry-card .icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.industry-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.industry-card a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.industry-card a:hover {
  text-decoration: underline;
}

/* Why Us */
.why-us {
  padding: 100px 0;
  background: var(--bg-alt);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 32px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
}

.why-item i {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.why-us-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-img {
  width: 100%;
  max-width: 400px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 3;
  line-height: 1.4;
}

.floating-card i {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
}

.fc-1 {
  top: 10%;
  left: 0;
}

.fc-2 {
  top: 15%;
  right: 0;
}

.fc-3 {
  bottom: 15%;
  left: 10%;
}

.fc-4 {
  bottom: 20%;
  right: 10%;
}

/* CTA Banner */
.cta-banner {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(90deg, #0b0b1a 0%, #2f1073 40%, #7c3aed 100%);
  border-radius: 12px;
  padding: 40px 48px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  bottom: -50%;
  left: 50%;
  background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-left {
  flex: 0 0 42%;
  position: relative;
  z-index: 2;
}

.cta-left h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-left p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cta-right {
  display: flex;
  gap: 24px;
  flex: 1;
  position: relative;
  z-index: 2;
  justify-content: space-between;
}

.cta-feature {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.cta-feature i {
  font-size: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-feature>div {
  display: flex;
  flex-direction: column;
}

.cta-feature h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
}

.cta-feature p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.btn-white {
  background: white;
  color: #7c3aed;
  border: 1px solid white;
}

.btn-white:hover {
  background: #f8fafc;
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: white;
  border-top: 1px solid var(--border-color);
}

.newsletter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 48px;
}

.newsletter-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-text p {
  font-size: 14px;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 300px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 250px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-muted);
  font-size: 16px;
}

.social-links a:hover {
  color: var(--primary);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {

  .showcase-grid,
  .why-us-grid,
  .cta-box {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .features,
  .industries,
  .section-header,
  .trusted-by {
    text-align: left;
  }

  .trusted-logos {
    justify-content: flex-start;
    gap: 32px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-text p {
    margin: 0 0 32px 0;
  }

  .hero-btns,
  .hero-checks {
    justify-content: flex-start;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .newsletter-row {
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual .desktop-mockup {
    display: none;
  }

  .hero-visual .mobile-mockup {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
    border-radius: 32px;
    border: 4px solid white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  }

  .cta-box {
    flex-direction: column;
    text-align: left;
    padding: 48px 32px;
    background: linear-gradient(180deg, #0b0b1a 0%, #2f1073 60%, #7c3aed 100%);
  }

  .cta-left {
    flex: none;
    width: 100%;
  }

  .cta-btns {
    justify-content: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .cta-right {
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .cta-feature {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
  }

  .cta-feature>div {
    align-items: flex-start;
  }

  .contact-content .container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {

  .features-grid,
  .industries-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .cta-box {
    padding: 40px 24px;
    border-radius: 16px;
  }

  .cta-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-btns .btn-white,
  .cta-btns .btn-outline-white {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-checks {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
  }
  .hero-btns .btn {
    width: auto;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 10px;
  transition: transform 0.2s;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  z-index: 200;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main) !important;
}

.dropdown-content a:hover {
  background: var(--bg-alt);
  color: var(--primary) !important;
}

.nav-link-direct {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link-direct:hover {
  color: var(--text-main);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block !important;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    display: flex !important;
  }

  .dropdown {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link-direct {
    width: 100%;
    padding: 16px 0;
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
  }

  .dropdown-toggle {
    width: 100%;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
  }

  .dropdown-toggle i {
    transition: transform 0.2s;
    color: var(--text-muted);
  }

  .dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }

  .dropdown-content {
    position: static;
    display: none;
    flex-direction: column;
    padding: 0 0 16px 16px;
    background: transparent;
    box-shadow: none;
    border: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .dropdown.active .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-muted) !important;
  }

  .dropdown-content a:hover {
    color: var(--primary) !important;
    background: transparent;
  }

  .nav-actions {
    margin-top: 24px;
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .nav-actions .sign-in,
  .nav-actions .btn {
    width: 100%;
    text-align: center;
  }

  .nav-actions .btn {
    padding: 12px;
  }
}