:root {
  /* Color Palette - ZenCrypto Theme */
  --color-burgundy-dark: #191314; /* Using the dark color from theme */
  --color-burgundy-mid: #191314;
  --color-burgundy-light: #191314;
  --color-burgundy-card: #f4f4f4;

  --color-cream: #f4f4f4;
  --color-cream-dark: #e8e8e8;
  --color-cream-border: #dddddd;
  --color-cream-border-dark: rgba(0, 0, 0, 0.1);

  --color-crimson: #009ea9; /* Logo Blue */
  --color-crimson-hover: #008791;

  --color-text-dark: #000000;
  --color-text-muted: #000000;
  --color-text-light: #000000;
  --color-text-light-muted: #000000;

  /* Fonts */
  --font-heading: 'Martian Mono', monospace;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout Options */
  --max-width: 1800px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: #000000 !important;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
}

.text-editorial {
  letter-spacing: -0.02em;
}

/* Grid & Border Layout Helpers */
.grid-lines {
  border-top: 1px solid var(--color-cream-border);
  border-bottom: 1px solid var(--color-cream-border);
}

.border-grid-x {
  border-left: 1px solid var(--color-cream-border);
  border-right: 1px solid var(--color-cream-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-crimson {
  background-color: var(--color-crimson);
  color: white;
}

.btn-crimson:hover {
  background-color: var(--color-crimson-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  border-color: var(--color-text-light);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  background-color: var(--color-text-dark);
  color: var(--color-cream);
  transform: translateY(-2px);
}

/* Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Replace backdrop-filter blur with a solid color — blur forces full GPU re-composite every frame */
  background-color: rgba(244, 244, 244, 0.97);
  border-bottom: 1px solid var(--color-cream-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-burgundy-dark);
  letter-spacing: -0.01em;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-crimson);
  border-radius: 50%;
}

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

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

.nav-link:hover {
  color: var(--color-burgundy-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1004; /* Keep toggle button on top of everything */
}

.nav-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    border-bottom: 2px solid rgba(217, 4, 41, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0.5rem 0 !important;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 1.25rem 1.25rem !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    display: block !important;
    width: 100% !important;
  }

  .nav-link:last-child {
    border-bottom: none !important;
  }

  .nav-link::after {
    display: none !important;
  }

  /* Hamburger Active Animation */
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  padding: 2.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 4.8fr 7.2fr;
  gap: 1.5rem;
}

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

/* Left Hero Burgundy Card */
.hero-card-left {
  background-color: var(--color-burgundy-card);
  color: var(--color-text-light);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
}

.badge-certified {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light-muted);
  margin-bottom: 2rem;
}

.certified-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.certified-logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: #fff;
  opacity: 0.85;
}

.certified-logo svg {
  width: 14px;
  height: 14px;
  fill: var(--color-crimson);
}

.hero-card-left h1 {
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 3.5rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  border-top: 1px solid var(--color-cream-border-dark);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--color-text-light-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Right Hero Image Card */
.hero-card-right {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 520px;
  background-color: var(--color-cream-dark);
}

.hero-card-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 6s ease;
}

.hero-card-right:hover img {
  transform: scale(1.05);
}

.hero-card-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.right-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem 3rem;
  color: #fff;
}

.right-card-content h2 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2rem;
  max-width: 550px;
}

.right-card-content .logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  align-self: flex-start;
  margin-bottom: 2rem;
}

.right-card-content .logo-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}

.right-card-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {

  .hero-card-left,
  .right-card-content {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .hero-card-left h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .right-card-content h2 {
    font-size: 1.8rem;
  }

  .hero-stats-grid {
    gap: 1.5rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .right-card-actions {
    flex-direction: column;
  }
}

/* Venn Diagram & Interactive Feature Section */
.feature-venn-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-cream-border);
}

.feature-venn-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 4rem;
  align-items: center;
}

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

/* Venn SVG Styles */
.venn-container {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.venn-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Venn interactives */
.venn-circle {
  fill: #FAF6F0;
  stroke: var(--color-cream-border);
  stroke-width: 1.5;
  transition: all 0.4s ease;
  cursor: pointer;
}

.venn-circle-active,
.venn-circle:hover {
  fill: rgba(92, 6, 23, 0.04);
  stroke: var(--color-burgundy-light);
  stroke-width: 2.5;
}

.venn-center-circle {
  fill: var(--color-crimson);
  stroke: none;
  filter: drop-shadow(0 4px 10px rgba(217, 4, 41, 0.3));
  transition: all 0.3s ease;
  cursor: pointer;
}

.venn-center-circle:hover {
  fill: var(--color-burgundy-mid);
  transform: scale(1.05);
  transform-origin: center;
}

.venn-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  fill: var(--color-text-dark);
  text-anchor: middle;
  pointer-events: none;
  transition: fill 0.3s ease;
}

.venn-circle:hover+.venn-text,
.venn-circle-active+.venn-text {
  fill: var(--color-burgundy-mid);
}

.venn-center-text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  fill: #fff;
  text-anchor: middle;
  pointer-events: none;
}

.venn-icon {
  fill: #fff;
  pointer-events: none;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3.5rem;
  border-top: 1px solid var(--color-cream-border);
  padding-top: 1.5rem;
  opacity: 0.65;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Feature detail copy column */
.feature-info {
  display: flex;
  flex-direction: column;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-cream-border);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.step-total {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.feature-info h2 {
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.15;
  margin: 1.5rem 0 2rem 0;
  color: var(--color-burgundy-dark);
}

.feature-info p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.link-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-crimson);
  font-weight: 700;
  font-size: 0.95rem;
}

.link-learn-more:hover {
  color: var(--color-burgundy-dark);
}

.link-learn-more svg {
  transition: transform 0.2s ease;
}

.link-learn-more:hover svg {
  transform: translateX(4px);
}

/* Product Showcase / Interactive Dashboard Section */
.product-showcase {
  padding: 4rem 0;
}

.showcase-card {
  background-color: var(--color-burgundy-card);
  color: var(--color-text-light);
  border-radius: var(--border-radius-lg);
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.showcase-header {
  max-width: 680px;
  margin: 0 auto 5rem auto;
}

.showcase-badge {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-light-muted);
  display: inline-block;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-header h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.showcase-header p {
  color: var(--color-text-light-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.showcase-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Mockup Interface Element CSS */
.mockup-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 540px;
  margin-top: 2rem;
}

/* Mobile Phone Frame */
.phone-frame {
  width: 290px;
  height: 520px;
  background-color: #0b0708;
  border: 8px solid #241d20;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;
  z-index: 10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.phone-notch {
  width: 120px;
  height: 18px;
  background-color: #241d20;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.phone-screen {
  flex: 1;
  background-color: #FAF6F0;
  color: #1F1A17;
  padding: 1.5rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.phone-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-burgundy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
}

.phone-greeting {
  font-size: 11px;
  font-weight: 600;
}

.phone-balance-card {
  background-color: var(--color-burgundy-card);
  color: #fff;
  padding: 1rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-balance-label {
  font-size: 9px;
  color: var(--color-text-light-muted);
}

.phone-balance-val {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-top: 0.2rem;
}

.phone-active-call {
  background-color: var(--color-crimson);
  color: #fff;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.phone-active-pulse {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.phone-list-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.phone-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border: 1px solid var(--color-cream-border);
  padding: 0.5rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.phone-list-item-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-item-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: rgba(92, 6, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy-light);
  font-size: 10px;
}

.phone-item-name {
  font-weight: 600;
  font-size: 10px;
}

.phone-item-role {
  font-size: 8px;
  color: var(--color-text-muted);
}

.phone-item-val {
  font-weight: 700;
  font-size: 10px;
}

/* Floating Mockup Widgets */
.floating-widget {
  position: absolute;
  z-index: 12;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: left;
  min-width: 190px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.widget-1 {
  left: 10%;
  top: 10%;
  animation-delay: 0s;
}

.widget-2 {
  left: 8%;
  bottom: 25%;
  animation-delay: 1.5s;
}

.widget-3 {
  right: 10%;
  top: 15%;
  animation-delay: 0.7s;
}

.widget-4 {
  right: 8%;
  bottom: 20%;
  animation-delay: 2.2s;
}

.widget-label {
  font-size: 0.75rem;
  color: var(--color-text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.widget-arrow-up {
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 700;
}

.widget-chart-placeholder {
  height: 40px;
  margin-top: 0.75rem;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.chart-bar {
  flex: 1;
  background-color: var(--color-crimson);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.chart-bar:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.4);
}

.widget-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.widget-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 11px;
}

.widget-user-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.widget-user-info p {
  font-size: 0.7rem;
  color: var(--color-text-light-muted);
  margin: 0;
}

.widget-user-tag {
  background-color: rgba(217, 4, 41, 0.2);
  color: var(--color-crimson);
  border: 1px solid rgba(217, 4, 41, 0.3);
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  margin-left: auto;
}

@media (max-width: 850px) {
  .floating-widget {
    display: none;
    /* Hide floating widgets on tablets/mobile to avoid overlapping issues */
  }

  .mockup-container {
    height: 420px;
  }

  .phone-frame {
    bottom: -60px;
  }
}

@media (max-width: 768px) {
  .showcase-card {
    padding: 3rem 1rem;
  }

  .showcase-header h2 {
    font-size: 2.2rem;
  }

  .showcase-actions {
    flex-direction: column;
    padding: 0 1rem;
  }
}

/* Feature 02 Split Block */
.feature-split-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-cream-border);
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
}

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

.split-image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 440px;
  position: relative;
  background-color: var(--color-cream-dark);
}

.split-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.split-image-container:hover img {
  transform: scale(1.05);
}

.split-image-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  max-width: 260px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 2;
  border: 1px solid var(--color-cream-border);
}

.split-overlay-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-burgundy-dark);
  margin-bottom: 0.5rem;
}

.split-overlay-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-crimson);
}

.split-overlay-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.split-overlay-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.split-overlay-socials svg {
  width: 14px;
  height: 14px;
  fill: var(--color-text-muted);
}

/* Timeline & Stats Growth Section */
.growth-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-cream-border);
}

.growth-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.growth-info h2 {
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-burgundy-dark);
  margin-bottom: 1.5rem;
}

.growth-info p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 480px;
}

.growth-stat-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.growth-stat-highlight span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.growth-stat-highlight h3 {
  font-size: 6.5rem;
  line-height: 1;
  font-weight: 500;
  color: var(--color-text-dark);
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .growth-stat-highlight h3 {
    font-size: 4.5rem;
  }
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-cream-border);
  border-bottom: 1px solid var(--color-cream-border);
}

.timeline-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--color-cream-border);
}

.timeline-item:last-child {
  border-right: none;
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 3.5rem;
}

.timeline-val {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.1;
}

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

  .timeline-item {
    border-bottom: 1px solid var(--color-cream-border);
  }

  .timeline-item:nth-child(even) {
    border-right: none;
  }

  .timeline-item:nth-child(3),
  .timeline-item:nth-child(4) {
    border-bottom: none;
  }
}

/* Security CTA Section */
.security-cta {
  padding: 6rem 0;
  border-top: 1px solid var(--color-cream-border);
  background-color: var(--color-cream-dark);
  position: relative;
  overflow: hidden;
}

/* Background circular lines pattern matching mockup details */
.security-pattern {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border: 1px solid rgba(92, 6, 23, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.security-pattern::after {
  content: '';
  position: absolute;
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(92, 6, 23, 0.03);
  border-radius: 50%;
}

.security-grid {
  display: grid;
  grid-template-columns: 6.5fr 5.5fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.security-info h2 {
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-burgundy-dark);
  margin-bottom: 1.5rem;
}

.security-info p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.security-item {
  background-color: #fff;
  border: 1px solid var(--color-cream-border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.security-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: rgba(92, 6, 23, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy-light);
  flex-shrink: 0;
}

.security-item-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.security-item-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.security-item-content p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

/* Footer Section */
.footer {
  background-color: var(--color-burgundy-card);
  color: var(--color-text-light);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid var(--color-cream-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr repeat(4, 2fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

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

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--color-text-light-muted);
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-crimson);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--color-text-light-muted);
}

.footer-link:hover {
  color: #fff;
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--color-cream-border-dark);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-light-muted);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-link:hover {
  color: #fff;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
}

:root {
  --color-cream: transparent;
  --color-cream-dark: rgba(14, 8, 12, 0.4);
  --color-cream-border: rgba(255, 255, 255, 0.08);
  --color-cream-border-dark: rgba(255, 255, 255, 0.15);

  --color-text-dark: #FAF6F0;
  --color-text-muted: #B3ABA3;

  --color-burgundy-dark: #FFFFFF;
  --color-burgundy-mid: #FCA5A5;
  --color-burgundy-light: #F43F5E;
  --color-burgundy-card: rgba(20, 10, 15, 0.5);

  /* Cosmic Glows */
  --glow-crimson: 0 0 15px rgba(217, 4, 41, 0.4);
  --glow-crimson-strong: 0 0 25px rgba(217, 4, 41, 0.4);
  --glow-white: 0 0 10px rgba(255, 255, 255, 0.8);
}

body {
  background-color: var(--color-cream);
  position: relative;
}

/* Hide Scrollbar */
::-webkit-scrollbar {
  display: none;
}
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -100;
  overflow: hidden;
  pointer-events: none;
  background: #f8f8f7; /* Very light pale sage green */
}

/* Particle canvas fills the scene */
.bg-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Translucent Glassmorphic containers for Light Theme */
.hero-card-left, 
.showcase-card, 
.footer,
.split-image-overlay,
.security-item,
.phone-list-item {
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.25)) !important;
  border: 1px solid rgba(217, 4, 41, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  transition: var(--transition-smooth);
}

.hero-card-left:hover, 
.showcase-card:hover {
  border-color: rgba(217, 4, 41, 0.3) !important;
  box-shadow: 0 15px 40px rgba(217, 4, 41, 0.08) !important;
}

.security-cta {
  background-color: rgba(217, 4, 41, 0.05) !important;
  backdrop-filter: blur(8px);
}

.split-image-overlay {
  background-color: rgba(255, 255, 255, 0.6) !important;
}

.security-item {
  color: var(--color-text-dark);
}

.security-item:hover {
  background-color: rgba(217, 4, 41, 0.04) !important;
  transform: translateY(-2px);
}

.phone-screen {
  background-color: var(--color-cream) !important;
  color: var(--color-text-dark) !important;
  border: 1px solid rgba(217, 4, 41, 0.1);
  position: relative;
}

/* Glass glare reflection on phone mockup screen */
.phone-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 15;
}

.phone-frame {
  box-shadow: 0 0 35px rgba(217, 4, 41, 0.08), 0 25px 50px -12px rgba(0, 0, 0, 0.1) !important;
}

.phone-list-item {
  background-color: rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(217, 4, 41, 0.05) !important;
  color: var(--color-text-dark) !important;
}

.phone-list-item:hover {
  background-color: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(217, 4, 41, 0.15) !important;
}

.phone-item-role {
  color: var(--color-text-muted) !important;
}

.phone-item-icon {
  background-color: rgba(217, 4, 41, 0.1) !important;
  color: var(--color-crimson) !important;
}

/* Navigation Overrides for Maximum Visibility */
.header {
  background-color: #ffffff !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 2px solid rgba(217, 4, 41, 0.1) !important;
  padding: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1003 !important;
}

.logo {
  color: var(--color-burgundy-dark) !important;
  text-decoration: none !important;
}

.nav-link {
  position: relative !important;
  font-family: var(--font-heading) !important;
  font-size: 0.95rem !important; /* Normal, highly readable size */
  font-weight: 600 !important;
  text-transform: none !important; /* Normal sentence case */
  letter-spacing: normal !important;
  color: #000000 !important; /* True black */
  text-decoration: none !important;
  transition: opacity 0.2s ease !important;
  display: inline-block;
  padding: 0.5rem 0;
}

@media (max-width: 992px) {
  .nav-link {
    display: block !important;
    padding: 1.25rem 1.25rem !important;
    text-align: left !important;
  }
}

.nav-link:hover {
  color: #000000 !important;
  opacity: 0.7 !important; /* Subtle fade instead of color change */
}

/* Clear bottom underline indicator on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #000000;
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100% !important;
}

.btn-outline-dark {
  font-family: var(--font-heading) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #ffffff !important;
  background-color: var(--color-crimson) !important; /* Neon Yellow */
  border: none !important;
  border-radius: 50px !important; /* Pill shape from mockup */
  padding: 0.6rem 1.5rem !important;
  box-shadow: 0 4px 12px rgba(0, 158, 169, 0.25) !important;
  transition: all 0.2s ease !important;
}

.btn-outline-dark:hover {
  background-color: var(--color-crimson-hover) !important; /* Darker green/yellow */
  color: #ffffff !important; /* Text must remain white */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(213, 225, 77, 0.4) !important;
}

/* Venn Diagram circles with glowing shadow and high-contrast styling */
.venn-circle {
  fill: rgba(217, 4, 41, 0.03) !important;
  stroke: rgba(217, 4, 41, 0.15) !important;
}

.venn-circle-active, .venn-circle:hover {
  fill: rgba(217, 4, 41, 0.1) !important;
  stroke: var(--color-crimson) !important;
  filter: drop-shadow(0 0 10px rgba(217, 4, 41, 0.15)) !important;
  stroke-width: 2.5 !important;
}

.venn-text {
  fill: var(--color-text-dark) !important;
  text-shadow: none;
}

.brand-logo {
  color: var(--color-text-muted) !important;
  opacity: 0.8;
}

/* Text glow titles */
.text-editorial {
  text-shadow: none;
}

/* Timeline decorations */
.timeline-item {
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 4px;
  background-color: var(--color-crimson);
  border-radius: 50%;
  opacity: 0.8;
}

.timeline-year {
  color: var(--color-text-muted) !important;
}

.timeline-val {
  text-shadow: none;
}

/* Floating Contact Widget */
.floating-chat-container {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .floating-chat-container {
    top: auto;
    bottom: 30px;
    right: 15px;
    transform: none;
  }
}

.floating-form {
  display: none;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 0.4rem;
  width: 280px;
  transform: translateX(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: right center;
}

@media (max-width: 768px) {
  .floating-form {
    width: 220px;
  }
}

.floating-form.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transform: translateX(0) scale(1);
  opacity: 1;
}

.floating-form input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1.2rem;
  border: none;
  background: transparent;
  color: #000000;
  font-family: var(--font-body);
  outline: none;
  font-size: 0.95rem;
}

.floating-form button {
  background: var(--color-crimson);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.floating-form button:hover {
  background: var(--color-crimson-hover);
  transform: scale(1.05);
}

@keyframes pulse-float {
  0% {
    translate: 0 0px;
    box-shadow: 0 0 10px rgba(0, 158, 169, 1),
                0 0 20px rgba(0, 158, 169, 0.8),
                0 0 40px rgba(0, 158, 169, 0.6),
                0 10px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    translate: 0 -10px;
    box-shadow: 0 0 15px rgba(0, 158, 169, 1),
                0 0 30px rgba(0, 158, 169, 0.9),
                0 0 60px rgba(0, 158, 169, 0.7),
                0 0 100px rgba(0, 158, 169, 0.5),
                0 15px 30px rgba(0, 0, 0, 0.3);
  }
  100% {
    translate: 0 0px;
    box-shadow: 0 0 10px rgba(0, 158, 169, 1),
                0 0 20px rgba(0, 158, 169, 0.8),
                0 0 40px rgba(0, 158, 169, 0.6),
                0 10px 20px rgba(0, 0, 0, 0.2);
  }
}

.floating-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-crimson);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 158, 169, 0.4);
  transition: all 0.3s ease;
  border: none;
  font-size: 1.5rem;
  animation: pulse-float 3s infinite ease-in-out;
}

.floating-bubble:hover {
  scale: 1.1;
  background: var(--color-crimson-hover);
}

/* Hero Image Floating Animation */
@keyframes float-up-down {
  0% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
  100% { transform: translateY(0); }
}

.floating-hero-img {
  animation: float-up-down 5s ease-in-out infinite;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,0.1));
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.floating-hero-img:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 50px 60px rgba(0,0,0,0.15));
}

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

/* =============================================================
   UI GOODIES FOOTER
   ============================================================= */
.ui-goodies-footer {
  position: relative;
  background-color: rgba(255, 255, 255, 0.9);
  color: #111111;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
  overflow: hidden;
  z-index: 2;
}

.footer-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-heart-logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.footer-brand-name {
  font-family: 'Caveat', cursive;
  font-size: 2.4rem;
  font-weight: 700;
  color: #000000;
  line-height: 1;
}

.footer-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-desc {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #888888;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-list li a {
  font-size: 0.95rem;
  color: #000000;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-list li a:hover {
  color: #ff6f3c;
  transform: translateX(3px);
}

/* Bullet list style for Goodies column */
.footer-list-bullets li {
  display: flex;
  align-items: center;
}

.footer-list-bullets li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #ffa4a4; 
  margin-right: 12px;
  flex-shrink: 0;
  border-radius: 1px;
}

.instagram-link {
  display: flex;
  align-items: center;
}

/* Watermark background text */
.footer-watermark {
  position: absolute;
  bottom: 0;
  left: 2%;
  font-size: 16vw;
  font-weight: 1000;
  color: rgba(0, 0, 0, 0.08);
  line-height: 1;
  font-family: var(--font-body);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
  transform: translateY(10%);
}

@media (max-width: 768px) {
  .footer-watermark {
    font-size: 20vw;
    bottom: 0;
    margin: 0;
  }
}

.what-we-do-section {
  padding: 5rem 0;
  background-color: var(--color-cream);
}

.keyword-container-edge {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Reduced padding between lines */
  padding: 2rem 2rem 4rem 2rem;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.keyword-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap; /* On smaller screens they wrap */
  gap: 0.5rem;
}

.keyword-item {
  font-family: var(--font-heading);
  font-size: 1.5rem; /* Larger and impactful */
  font-weight: 800;
  color: #000000;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, border-color 0.3s ease;
  padding: 0.75rem 1.5rem;
  text-align: center;
  border: 2px solid transparent; /* Invisible border to prevent layout jump */
  border-radius: 50px; 
}

/* Spotlight Effect: dim all items when hovering the container */
.keyword-container-edge:hover .keyword-item {
  opacity: 0.1;
}

/* Highlight the hovered item */
.keyword-container-edge .keyword-item:hover {
  opacity: 1;
  color: #000000;
  border-color: #000000;
  transform: scale(1.1) translateY(-2px);
  text-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
  .keyword-container-edge {
    padding: 4rem 1rem;
    gap: 1.5rem;
  }
  .keyword-row {
    justify-content: center;
  }
  .keyword-item {
    font-size: 1.2rem;
    padding: 0.5rem;
  }
}