@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  /* Stripe + Enterprise Palette */
  --primary: #635BFF;
  /* Stripe Blurple */
  --primary-dark: #4B45C6;
  --primary-light: #E0E7FF;
  --primary-glow: rgba(99, 91, 255, 0.4);

  --bg-main: #f6f9fc;
  /* Stripe's signature off-white */
  --bg-white: #ffffff;
  --bg-dark: #0a2540;
  /* Stripe dark slate */

  --text-dark: #0a2540;
  --text-main: #425466;
  --text-light: #8792a2;

  --border-color: #e3e8ee;

  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1), 0 20px 48px rgba(0, 0, 0, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-dark);
  font-weight: 900;
  line-height: 1.2;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-alt {
  background-color: var(--bg-main);
}

.section-dark {
  background-color: var(--bg-dark);
  color: white;
  border-bottom: none;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: white;
}

.section-dark .text-muted {
  color: #a1b8d6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  /* Pill shape for Stripe feel */
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8A2BE2 100%);
  color: white;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-main);
  color: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: #040f24; /* Seamless with hero background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.nav-links .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-links .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  /* Removed duplicate nav-links media query */
}

/* Hero Section (Dark Image Background) */
.hero {
  padding: 8rem 0 0;
  background: linear-gradient(to right, rgba(4, 15, 36, 0.98) 0%, rgba(4, 15, 36, 0.85) 45%, rgba(4, 15, 36, 0) 75%), url('../images/hero_bg.png') center right / cover no-repeat;
  color: white;
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 4rem 0 4rem;
  width: 100%;
}

.hero-content {
  max-width: 1050px;
  margin-bottom: 4rem;
  margin-left: 0;
  text-align: left;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.1;
  font-weight: 900;
  background: none;
  -webkit-text-fill-color: white;
  /* reset stripe gradient */
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #8cb6ff;
  font-weight: 400;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-cta .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

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

.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  width: 100%;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature {
  flex: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1.5rem;
}

.hero-feature:first-child {
  border-left: none;
  padding-left: 0;
}

.hero-feature i {
  color: #fff;
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.hero-feature h5 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hero-feature span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: auto;
}

.hero-bar-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-bar-left {
  font-size: 1.25rem;
  color: #a8c7fa;
}

.hero-bar-left strong {
  color: white;
}

.hero-bar-right {
  display: flex;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.2);
}

.hero-stat {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 2rem;
}

.hero-stat:last-child {
  border-right: none;
  padding-right: 0;
}

.hero-stat i {
  color: #4fc3f7;
  margin-bottom: 0.5rem;
}

.hero-stat strong {
  display: block;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.hero-stat span {
  display: block;
  color: #8cb6ff;
  font-size: 0.8rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.75rem !important;
  color: var(--primary-dark) !important;
  font-weight: 900 !important;
  margin-bottom: 1rem !important;
  line-height: 1.15 !important;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 400;
}

.badge-enterprise {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(99, 91, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(99, 91, 255, 0.2);
  margin-bottom: 1rem;
}

/* Suite Brand Colors */
.badge-prime { background: #0047AB; color: white; border-color: #0047AB; }
.text-prime { color: #0047AB !important; font-weight: 700; }

.badge-connect { background: #00783B; color: white; border-color: #00783B; }
.text-connect { color: #00783B !important; font-weight: 700; }

.badge-delight { background: #FFD500; color: #1a1a1a; border-color: #FFD500; }
.text-delight { color: #ccaa00 !important; font-weight: 700; } /* Darker yellow for text readability */

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Stakeholders Marquee */
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 2rem 0;
  background: white;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.stakeholder-card {
  flex: 0 0 350px;
  height: 400px;
  margin: 0 1rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: none;
  background: black;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.stakeholder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99, 91, 255, 0.3);
  z-index: 10;
}

.sh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 1;
}

.stakeholder-card:hover .sh-bg {
  transform: scale(1.1);
}

.sh-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.4) 50%, rgba(10, 37, 64, 0) 100%);
  z-index: 2;
}

.sh-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.sh-content i {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.75rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  width: 48px;
  height: 48px;
  transition: all 0.3s;
}

.stakeholder-card:hover .sh-content i {
  transform: translateY(-5px) scale(1.1);
  background: var(--primary);
}

.sh-content span {
  display: block;
  font-weight: 800;
  color: white;
  font-size: 1.4rem;
  line-height: 1.2;
}

/* Unified Solution Radial Diagram */
.unified-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.unified-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.unified-content p {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

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

.unified-benefits {
  list-style: none;
}

.unified-benefits li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.benefit-text span {
  font-size: 0.9rem;
  color: var(--text-main);
}

.radial-diagram {
  position: relative;
  height: 650px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-orbit 40s linear infinite;
}

@keyframes spin-orbit {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

@keyframes counter-spin-orbit {
  from {
    rotate: 0deg;
  }

  to {
    rotate: -360deg;
  }
}

.radial-diagram:hover,
.radial-diagram:hover .radial-hub,
.radial-diagram:hover .radial-node {
  animation-play-state: paused;
}

/* Connecting Lines using simple circular dashed border */
.radial-diagram::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 2px dashed #cfd8dc;
  z-index: 0;
}

.radial-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 300px;
  height: 300px;
  background: white;
  border-radius: 50%;
  border: 6px solid var(--primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(10, 37, 64, 0.15);
  animation: counter-spin-orbit 40s linear infinite;
}

.hub-logo {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: -5px;
}

.hub-title {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.hub-desc {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

.radial-hub::after {
  content: '';
  position: absolute;
  bottom: 50px;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.radial-node {
  position: absolute;
  background: white;
  border-radius: 50px;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  z-index: 5;
  width: max-content;
  translate: -50% -50%;
  transition: scale 0.3s, translate 0.3s, box-shadow 0.3s;
  cursor: pointer;
  animation: counter-spin-orbit 40s linear infinite;
}

.radial-node:hover {
  scale: 1.05;
  translate: -50% calc(-50% - 5px);
  box-shadow: var(--shadow-hover);
  z-index: 20;
}

.radial-node .node-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-node .node-icon i {
  width: 20px;
  height: 20px;
}

.radial-node .node-text {
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-dark);
}

.radial-node .node-text strong {
  font-size: 1rem;
}

/* Position nodes exactly around the 280px radius circle */
.n-1 {
  top: calc(50% - 280px);
  left: 50%;
}

.n-2 {
  top: calc(50% - 198px);
  left: calc(50% + 198px);
}

.n-3 {
  top: 50%;
  left: calc(50% + 280px);
}

.n-4 {
  top: calc(50% + 198px);
  left: calc(50% + 198px);
}

.n-5 {
  top: calc(50% + 280px);
  left: 50%;
}

.n-6 {
  top: calc(50% + 198px);
  left: calc(50% - 198px);
}

.n-7 {
  top: 50%;
  left: calc(50% - 280px);
}

.n-8 {
  top: calc(50% - 198px);
  left: calc(50% - 198px);
}

/* Unified Footer */
.unified-footer {
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  margin-top: 2rem;
  box-shadow: 0 10px 25px rgba(75, 69, 198, 0.3);
}

.uf-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.uf-right {
  font-size: 1rem;
  color: #c7c5ff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .unified-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .radial-diagram {
    transform: scale(0.85);
    height: 550px;
  }
}

@media (max-width: 768px) {
  .radial-diagram {
    height: 650px; /* Keep original height so nodes calculate radius correctly */
    transform: scale(0.55);
    transform-origin: center center;
    /* 650 * 0.55 = 357.5px. Difference is ~292px. Half is 146px. */
    margin-top: -114px; /* -146px + 32px gap */
    margin-bottom: -130px; /* -146px + 16px gap */
  }
}

@media (max-width: 480px) {
  .radial-diagram {
    height: 650px;
    transform: scale(0.48);
    transform-origin: center center;
    /* 650 * 0.48 = 312px. Difference is 338px. Half is 169px. */
    margin-top: -145px; /* -169px + 24px gap */
    margin-bottom: -153px; /* -169px + 16px gap */
  }
}

@media (max-width: 768px) {
  .unified-footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Modern Bento Suite Grid */
.bento-suite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-card {
  background: white;
  border-radius: 32px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(10,37,64,0.05);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  display: flex;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(10,37,64,0.12);
}

.bento-content {
  padding: 3rem;
  z-index: 2;
  position: relative;
  flex: 1;
}

.bento-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  line-height: 1.1;
}

.bento-content p {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Venue is full width */
.bento-venue {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.bento-venue .bento-image {
  padding: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.bento-venue .bento-image img {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.bento-venue:hover .bento-image img {
  transform: scale(1.02);
}

/* Vendor and Couples are half width */
.bento-vendor, .bento-couples {
  flex-direction: column;
}

.bento-vendor {
  background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.bento-couples {
  background: linear-gradient(135deg, #fffde6 0%, #ffffff 100%);
}

.bento-vendor .bento-image,
.bento-couples .bento-image {
  padding: 0 2rem 2rem;
  margin-top: auto;
  text-align: center;
}

.bento-vendor .bento-image img,
.bento-couples .bento-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.bento-vendor:hover .bento-image img,
.bento-couples:hover .bento-image img {
  transform: scale(1.03);
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-checklist li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.feature-checklist i {
  color: var(--primary);
  flex-shrink: 0;
}

.bento-couples .feature-checklist i {
  color: #e83e8c;
}

.mt-3 {
  margin-top: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.feature-grid li {
  margin-bottom: 0;
}

/* Case Studies */
.case-study {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 3rem;
  border: 1px solid var(--border-color);
  position: relative;
}

.case-metric {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  position: relative;
  z-index: 1;
}

/* Customer Success Carousel */
.case-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  margin-bottom: -2rem; /* offset the padding visually */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.case-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-item {
  scroll-snap-align: start;
  flex: 0 0 calc(50% - 1rem); /* 2 per view on desktop */
  min-width: 400px;
}

/* Security Section */
.security-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}

.security-item {
  background: white;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.security-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.security-item h4 {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.security-item p {
  font-size: 0.85rem;
  color: var(--text-main);
}

.security-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  background: white;
  box-shadow: 0 4px 12px rgba(1, 118, 211, 0.08);
  transition: var(--transition);
}

.security-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(1, 118, 211, 0.15);
  border-color: var(--primary);
}

.security-banner {
  background: var(--primary-dark);
  color: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-hover);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 1rem;
  padding-bottom: 3rem;
  gap: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafd;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(47, 92, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col a:hover {
  color: white;
}

@media (max-width: 1366px) {
  .hero {
    min-height: 80vh;
    padding: 6rem 0 0;
  }
  .hero-inner {
    padding: 2rem 2rem 0 2rem;
  }
  .hero-content {
    margin-bottom: 2rem;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

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

  .modules-container {
    grid-template-columns: 1fr;
  }

  .module-tabs {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: row;
    overflow-x: auto;
  }

  .bento-venue .bento-content {
    padding: 2rem;
  }
  
  .bento-venue .bento-image {
    padding: 0 2rem;
  }

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

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .vs-header,
  .vs-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-content {
    padding: 0 1.5rem !important;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001; /* Ensure it stays above the menu */
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 70px; /* Right below the navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(4, 15, 36, 0.85); /* Premium dark transparency */
    backdrop-filter: blur(20px); /* Heavy Glassmorphism */
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 1.5rem;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a:not(.btn) {
    font-size: 1.8rem; /* Optimized for smaller mobile screens */
    font-weight: 800;
    margin: 0;
    color: white;
    letter-spacing: -0.01em;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .nav-links a:not(.btn):hover {
    color: var(--primary-light);
    transform: scale(1.05);
  }

  .nav-links .btn {
    margin-top: 1.5rem !important;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(99, 91, 255, 0.3);
  }

  .vs-header {
    display: none;
  }

  .vs-cell.bad {
    background: var(--bg-main);
    font-weight: 700;
  }

  .bento-suite-grid {
    grid-template-columns: 1fr;
  }
  .bento-venue {
    grid-template-columns: 1fr;
  }
  .bento-venue .bento-image {
    padding: 0 2rem;
    margin-top: 2rem;
  }
  .bento-venue .bento-image img {
    transform: translateY(20px);
  }
  .bento-venue:hover .bento-image img {
    transform: translateY(0);
  }
  .bento-vendor .bento-image,
  .bento-couples .bento-image {
    padding: 0 2rem;
  }
  
  .bento-content {
    padding: 2rem 1.5rem !important;
  }
  
  .bento-content h2 {
    font-size: 1.6rem !important;
  }

  .contact-form {
    padding: 2rem 1.5rem !important;
  }

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

  .carousel-item {
    flex: 0 0 85%;
    min-width: 280px;
  }

  /* Hero Mobile Fixes */
  .hero {
    padding: 6rem 0 0;
    background-position: center;
  }
  
  .hero-inner {
    padding: 2rem 1.5rem 0 1.5rem !important;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.15rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-feature {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  
  .hero-feature:first-child {
    border-top: none;
    padding-top: 0;
  }
  
  .hero-bar-grid {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .hero-bar-right {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-right: 0;
    padding-bottom: 1rem;
  }
  
  .hero-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem !important;
  }
}

/* Utility Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(99, 91, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(99, 91, 255, 0.4);
}