/* BidaBunch Main Stylesheet */

/* ============================================
   CSS VARIABLES - COLOR PALETTE
   ============================================ */
:root {
  /* Brand Colors */
  --color-blue-primary: #037cc1;
  --color-blue-light: #40caee;
  --color-purple: #9333ea;

  /* Background Colors */
  --color-white: #ffffff;
  --color-gray-lightest: #f9fafb;
  --color-navy-dark: #0a1525;
  --color-navy-medium: #0f1e33;
  --color-navy-darker: #0a0e27;
  --color-navy-medium-alt: #1a1f3a;
  --color-navy-alt: #0f1729;
  --color-navy-section: #1a2332;
  --color-navy-header: #0a1929;

  /* Text Colors */
  --color-text-dark: rgb(43, 42, 42);
  --color-text-gray: rgb(107, 114, 128);
  --color-text-gray-medium: rgb(75, 85, 99);
  --color-text-gray-dark: rgb(55, 65, 81);
  --color-text-darker: rgb(17, 24, 39);
  --color-text-light: rgb(209, 213, 219);
  --color-text-lighter: rgb(229, 231, 235);
  --color-text-lightest: rgb(156, 163, 175);

  /* Border Colors */
  --color-border-light: rgb(229, 231, 235);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.05);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation classes for scroll reveal */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-on-scroll.animate-slide-right {
  animation: slideInRight 0.8s ease-out forwards;
}

/* ============================================
   HEADER / NAVIGATION - BASE STYLES
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(10, 25, 41, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(10, 25, 41, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-header .logo img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  font-size: 1rem;
  margin:0 .75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.main-nav a:hover {
  color: var(--color-blue-light);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.btn-sign-in {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.btn-sign-in:hover {
  color: var(--color-blue-light);
}

.btn-primary {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--color-blue-light);
  color: var(--color-white);
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: rgba(64, 202, 238, 0.9);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: block;
  background: transparent;
  color: var(--color-white);
  padding: 0.5rem;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80vw;
  max-width: 400px;
  height: 100vh;
  background-color: rgba(10, 25, 41, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 2000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: var(--color-white);
  font-size: 2rem;
  padding: 0.5rem;
  line-height: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.mobile-menu nav a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 0.5rem 0;
}

.mobile-menu .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-weight: 600;
  border-radius: 0.5rem;
}

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

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
}

.mobile-overlay.active {
  display: block;
}

/* ============================================
   HERO SECTION - BASE STYLES
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-navy-darker) 0%,
    var(--color-navy-medium-alt) 50%,
    var(--color-navy-alt) 100%
  );
}

/* Glowing orbs */
.hero-orb-1,
.hero-orb-2,
.hero-orb-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse 4s ease-in-out infinite;
}

.hero-orb-1 {
  top: 25%;
  left: 25%;
  width: 300px;
  height: 300px;
  background-color: var(--color-blue-primary);
  opacity: 0.2;
}

.hero-orb-2 {
  bottom: 33%;
  right: 25%;
  width: 400px;
  height: 400px;
  background-color: var(--color-blue-light);
  opacity: 0.15;
  animation-delay: 1s;
}

.hero-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background-color: var(--color-purple);
  opacity: 0.1;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  animation: fadeIn 0.8s ease-out;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-blue-light);
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, var(--color-blue-light), var(--color-blue-primary), var(--color-blue-light));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 3s ease infinite;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-lighter);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: 0.3s ease;
}

.btn-white{
  background: white;
  color: var(--color-navy-medium);
  border:2px solid white;
}

.btn-white:hover{
  background: var(--color-navy-medium);
  color: white;
}

.btn-outline-cta{
  border:2px solid white;
  color:white;
}

.btn-outline-cta:hover{
  background-color: var(--color-navy-medium);
  color: white;
}

.btn-gradient {
  background: linear-gradient(90deg, var(--color-blue-primary), var(--color-blue-light));
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(3, 124, 193, 0.5);
}

.btn-gradient:hover {
  opacity: 0.9;
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  color: var(--color-white);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  transition: background-color 0.3s ease;
}

.stat-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue-light);
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-lightest);
}

/* ============================================
   HOW IT WORKS SECTION - BASE STYLES
   ============================================ */
.how-it-works {
  position: relative;
  padding: 4rem 0;
  background-color: var(--color-white);
  overflow: hidden;
}

/* Enhanced section-orb to ensure visibility with pointer-events: none and proper z-index */
.section-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.how-it-works-header {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
  opacity: 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-blue-primary);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-gray);
  line-height: 1.75;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

.step-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
}

.step-card:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.5);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-blue-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(3, 124, 193, 0.3);
  transition: transform 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

.step-content {
  padding-top: 0.5rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-title svg {
  width: 20px;
  height: 20px;
  color: var(--color-blue-primary);
}

.step-description {
  color: rgba(43, 42, 42, 0.8);
  line-height: 1.75;
  font-size: 0.9rem;
}

.section-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-gray);
  opacity: 0;
}

.section-footer .highlight {
  color: var(--color-blue-primary);
  font-weight: 700;
}

/* ============================================
   DASHBOARD SHOWCASE SECTION - BASE STYLES
   ============================================ */
.dashboard-showcase {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(
    180deg,
    var(--color-navy-dark) 0%,
    var(--color-navy-medium) 50%,
    var(--color-navy-dark) 100%
  );
  overflow: hidden;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.dashboard-header p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.75;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto 2rem;
}

.tab-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  cursor: pointer;
}

.tab-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.tab-button.active {
  background: linear-gradient(90deg, var(--color-blue-primary), var(--color-blue-light));
  box-shadow: 0 10px 25px rgba(64, 202, 238, 0.5);
}

.dashboard-content {
  max-width: 72rem;
  margin: 0 auto;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.dashboard-preview {
  position: relative;
}

.preview-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(135deg, rgba(3, 124, 193, 0.4), rgba(64, 202, 238, 0.3), rgba(3, 124, 193, 0.4));
  border-radius: 1.5rem;
  filter: blur(60px);
  opacity: 0.75;
  transition: opacity 0.5s ease;
}

.dashboard-preview:hover .preview-glow {
  opacity: 1;
}

.preview-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.preview-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FEATURES SECTION - BASE STYLES
   ============================================ */
.features-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-navy-section), var(--color-blue-primary), var(--color-blue-light));
  overflow: hidden;
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
}

.features-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.features-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
}

.features-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
}

.feature-icon-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.feature-icon-glow {
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  border-radius: 1.5rem;
  filter: blur(30px);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.feature-item:hover .feature-icon-glow {
  opacity: 0.5;
}

.feature-icon {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.05);
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--color-white);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.feature-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

/* ============================================
   WHY BIDABUNCH SECTION - BASE STYLES
   ============================================ */
.why-bidabunch {
  position: relative;
  padding: 4rem 0;
  background-color: var(--color-gray-lightest);
  overflow: hidden;
}

.why-header {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
}

.why-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-darker);
  margin-bottom: 1rem;
}

.why-header p {
  font-size: 1.125rem;
  color: var(--color-text-gray-medium);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.75;
}

.why-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto 3rem;
}

.why-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 0;
}

.why-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.why-icon.blue {
  background-color: rgba(3, 124, 193, 0.1);
}

.why-icon.cyan {
  background-color: rgba(64, 202, 238, 0.1);
}

.why-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.why-icon.blue svg {
  color: var(--color-blue-primary);
}

.why-icon.cyan svg {
  color: var(--color-blue-light);
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-darker);
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--color-text-gray-medium);
  line-height: 1.75;
  font-size: 0.95rem;
}

.why-card .highlight {
  color: var(--color-blue-primary);
  font-weight: 600;
}

.why-footer {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
}

.why-footer h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-darker);
  margin-bottom: 1.5rem;
}

.why-footer p {
  font-size: 1.125rem;
  color: var(--color-text-gray-medium);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.why-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.why-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-gray-dark);
  font-size: 0.9rem;
}

.why-feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.why-feature-dot.blue {
  background-color: var(--color-blue-primary);
}

.why-feature-dot.cyan {
  background-color: var(--color-blue-light);
}

.why-feature-item span {
  font-weight: 500;
}

/* ============================================
   CTA SECTION - BASE STYLES
   ============================================ */
.cta-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-navy-section), var(--color-blue-primary), var(--color-blue-light));
  overflow: hidden;
}

.cta-orb-1,
.cta-orb-2,
.cta-orb-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse 5s ease-in-out infinite;
}

.cta-orb-1 {
  top: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background-color: var(--color-blue-light);
  opacity: 0.2;
}

.cta-orb-2 {
  bottom: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background-color: var(--color-blue-primary);
  opacity: 0.2;
  animation-delay: 1s;
}

.cta-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-color: var(--color-purple);
  opacity: 0.15;
  animation-delay: 2s;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   FOOTER - BASE STYLES
   ============================================ */
.site-footer {
  position: relative;
  padding: 4rem 0 2rem;
  background: linear-gradient(
    180deg,
    var(--color-navy-dark) 0%,
    var(--color-navy-medium) 50%,
    var(--color-navy-dark) 100%
  );
  overflow: hidden;
}

.footer-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(3, 124, 193, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(64, 202, 238, 0.2) 0%, transparent 50%);
  opacity: 0.2;
}

.footer-content {
  position: relative;
  z-index: 10;
}

/* Updated footer structure to match footer.php HTML */
.footer-main {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 0.5rem;
}

.footer-brand > p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background-color: var(--color-blue-light);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
  width: fit-content;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.footer-cta-button:hover {
  background-color: rgba(64, 202, 238, 0.9);
}

.footer-newsletter {
  margin-top: 0.5rem;
}

.footer-newsletter a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-newsletter a:hover {
  color: var(--color-white);
}

.footer-newsletter svg {
  width: 16px;
  height: 16px;
  color: var(--color-blue-light);
}

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

.footer-column h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  background-color: rgba(255,255,255, .1);
  padding:4px 8px;
  border-left:3px solid var(--color-blue-light);
}

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

.footer-column a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-white);
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-links svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-content p {
  text-align: center;
}

.bdg-link {
  color: var(--color-white);
  border-bottom: 1px solid var(--color-blue-light);
  transition: 0.3s ease;
}

.bdg-link:hover {
  color: var(--color-blue-light);
}

.footer-links-group {
  display: flex;
  gap: 1.5rem;
}

.footer-links-group a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-links-group a:hover {
  color: var(--color-white);
}

/* ============================================
   MEDIA QUERIES - SMALL MOBILE (< 500px)
   ============================================ */
@media (max-width: 499px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-large {
    font-size: 0.9rem;
    padding: 0.875rem 1.25rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .dashboard-header h2 {
    font-size: 1.75rem;
  }

  .tab-button {
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MEDIA QUERIES - MOBILE/TABLET (< 768px)
   ============================================ */
@media (max-width: 767px) {
  .hero-cta {
    align-items: stretch;
  }

  .btn-large {
    width: 100%;
  }

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

  .dashboard-tabs {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
  }

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

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

  .cta-buttons {
    align-items: stretch;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    text-align: center;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ============================================
   MEDIA QUERIES - TABLET (768px - 1099px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1099px) {
  /* Tablet-specific navigation sizing */
  .main-nav {
    display: block;
  }

  .main-nav ul {
    gap: 1rem;
  }

  .main-nav a {
    font-size: 0.75rem;
    margin: 0 .5rem;
  }

  .header-cta {
    display: flex;
    gap: 0.5rem;
  }

  .btn-sign-in {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .btn-primary {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

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

  .stat-value {
    font-size: 2rem;
  }

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

  .dashboard-tabs {
    flex-direction: row;
  }

  .tab-button {
    width: auto;
  }

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

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

  .cta-buttons {
    flex-direction: row;
  }

  .footer-main {
    grid-template-columns: 1fr 2fr;
  }

  .footer-bottom-content {
    flex-direction: row;
  }
}

/* ============================================
   MEDIA QUERIES - DESKTOP (>= 1100px)
   ============================================ */
@media (min-width: 1100px) {
  .container {
    padding: 0 2rem;
  }

  /* Desktop navigation with full sizing */
  .main-nav {
    display: block;
  }

  .header-cta {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-description {
    font-size: 1.25rem;
  }

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

  .step-card {
    padding: 2rem;
  }

  .dashboard-header h2 {
    font-size: 2.5rem;
  }

  .dashboard-tabs {
    flex-direction: row;
  }

  .tab-button {
    width: auto;
  }

  .preview-card {
    padding: 2rem;
  }

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

  .features-header h2 {
    font-size: 2.5rem;
  }

  .why-header h2 {
    font-size: 2.5rem;
  }

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

  .cta-content h2 {
    font-size: 3rem;
  }

  .cta-content p {
    font-size: 1.25rem;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .footer-main {
    grid-template-columns: 1fr 2fr;
  }

  .footer-bottom-content {
    flex-direction: row;
  }
}
