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

/* CSS Variables */
:root {
  /* Colors - Light Mode */
  --background: hsl(0 0% 98%);
  --foreground: hsl(222 15% 10%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(222 15% 10%);
  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(222 15% 10%);
  --primary: hsl(211 85% 55%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(210 40% 96%);
  --secondary-foreground: hsl(222 15% 10%);
  --muted: hsl(210 40% 96%);
  --muted-foreground: hsl(215 13% 45%);
  --accent: hsl(210 40% 96%);
  --accent-foreground: hsl(222 15% 10%);
  --destructive: hsl(0 84% 60%);
  --destructive-foreground: hsl(0 0% 100%);
  --border: hsl(214 32% 91%);
  --input: hsl(214 32% 91%);
  --ring: hsl(211 85% 55%);
  --gradient-start: hsl(211 85% 55%);
  --gradient-end: hsl(220 85% 45%);
  --radius: 8px;
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Georgia', serif;
  --font-mono: 'Menlo', monospace;
}

.dark {
  /* Colors - Dark Mode */
  --background: hsl(222 84% 4%);
  --foreground: hsl(210 40% 98%);
  --card: hsl(222 84% 5%);
  --card-foreground: hsl(210 40% 98%);
  --popover: hsl(222 84% 5%);
  --popover-foreground: hsl(210 40% 98%);
  --primary: hsl(211 85% 55%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(217 32% 17%);
  --secondary-foreground: hsl(210 40% 98%);
  --muted: hsl(217 32% 17%);
  --muted-foreground: hsl(215 20% 65%);
  --accent: hsl(217 32% 17%);
  --accent-foreground: hsl(210 40% 98%);
  --destructive: hsl(0 62% 30%);
  --destructive-foreground: hsl(0 0% 100%);
  --border: hsl(217 32% 17%);
  --input: hsl(217 32% 17%);
  --ring: hsl(211 85% 55%);
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

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

/* Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
}

.btn:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

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

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

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

.btn-white:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
}

.btn-ghost:hover {
  color: var(--foreground);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0.75rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0.75rem 2rem;
  }
}


.nav-brand img.custom-logo {
    max-height: 55px;   /* Adjust based on your header height */
    width: auto;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .nav-brand img.custom-logo {
        height: auto;
        width: auto;
        max-height: 40px;
    }
}


.footer-brand img.custom-logo {
    max-height: 50px;   /* Adjust based on your footer design */
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 12px; /* spacing between logo and description */
}

.nav-menu {
  display: none;
  gap: 2rem;
}

.nav-menu.active {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border: 1px solid var(--border);
  border-top: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 0;
  z-index: 1050;
  padding: 1rem 0;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu.active .nav-link {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.nav-menu.active .nav-link:last-child {
  border-bottom: none;
}

.nav-menu.active .nav-link:hover {
  background: var(--muted);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

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


.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: var(--muted);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--accent);
}

.theme-icon {
  font-size: 1rem;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ✅ CHANGE: Enhanced mobile menu toggle hiding with important flag */
@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-actions a {
    display: none;
  }
}


/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 6rem;
}

/*@media (max-width: 768px) {
  .hero-section {
    padding-top: 5rem;
  }
}*/

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent) 0%, transparent 50%, color-mix(in srgb, var(--accent) 5%, transparent) 100%);
}

.dark .hero-background {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent) 0%, transparent 50%, color-mix(in srgb, var(--accent) 10%, transparent) 100%);
}

.hero-content {
  text-align: center;
  margin-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-visual {
  text-align: center;
}

.hero-image {
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  max-width: 64rem;
  width: 100%;
  height: auto;
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Ecosystem Section */
.ecosystem-section {
  padding: 6rem 0;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.5rem;
  }
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.venture-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent) 0%, color-mix(in srgb, var(--gradient-end) 5%, transparent) 100%);
}

.venture-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent) 0%, color-mix(in srgb, var(--gradient-end) 10%, transparent) 100%);
}

.venture-card-featured {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .venture-card-featured {
    grid-column: span 2;
  }
}

.venture-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.venture-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.venture-icon.venture-icon-blue {
  background: hsl(211 85% 55% / 0.1);
  color: hsl(211 85% 55%);
}

.dark .venture-icon.venture-icon-blue {
  background: hsl(211 85% 55% / 0.2);
  color: hsl(211 85% 55%);
}

.venture-icon.venture-icon-yellow {
  background: hsl(45 93% 47% / 0.1);
  color: hsl(45 93% 47%);
}

.dark .venture-icon.venture-icon-yellow {
  background: hsl(45 93% 47% / 0.2);
  color: hsl(45 93% 47%);
}

.venture-icon.venture-icon-green {
  background: hsl(142 71% 45% / 0.1);
  color: hsl(142 71% 45%);
}

.dark .venture-icon.venture-icon-green {
  background: hsl(142 71% 45% / 0.2);
  color: hsl(142 71% 45%);
}

.venture-icon.venture-icon-purple {
  background: hsl(262 83% 58% / 0.1);
  color: hsl(262 83% 58%);
}

.dark .venture-icon.venture-icon-purple {
  background: hsl(262 83% 58% / 0.2);
  color: hsl(262 83% 58%);
}

.venture-icon svg,
.venture-icon .icon {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.venture-info {
  flex: 1;
}

.venture-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.venture-badge {
  font-size: 0.75rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

.venture-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.venture-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-item span.feature-title {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.875rem;
}

.feature-item p.feature-desc {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin: 0;
}

.venture-tags {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.venture-location {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.features-reverse {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .features-reverse .features-content {
    order: 2;
  }
  
  .features-reverse .features-image {
    order: 1;
  }
}

.features-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .features-title {
    font-size: 2rem;
  }
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.feature-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--muted-foreground);
  margin: 0;
}

.features-image {
  text-align: center;
}

.feature-img {
  border-radius: 1rem;
  box-shadow: 0 10px 25px -12px rgb(0 0 0 / 0.25);
  width: 100%;
  height: auto;
}

/* Vision Section */
.vision-section {
  padding: 6rem 0;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vision-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .vision-title {
    font-size: 2.5rem;
  }
}

.vision-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.vision-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vision-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vision-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.vision-point span {
  color: var(--foreground);
  font-weight: 500;
}

.vision-image {
  text-align: center;
}

.vision-img {
  border-radius: 1rem;
  box-shadow: 0 10px 25px -12px rgb(0 0 0 / 0.25);
  width: 100%;
  height: auto;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.2);
}

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

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 3.5rem;
  }
}

.cta-description {
  font-size: 1.25rem;
  color: rgb(255 255 255 / 0.9);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

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

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 3fr;
  }
}

.footer-brand {
  max-width: 24rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* Side Popup */
.side-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 20rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.side-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.popup-content {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.popup-close:hover {
  background: var(--muted);
}

.popup-close svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}

.popup-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.popup-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.popup-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.popup-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.popup-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.popup-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.popup-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: hsl(142 71% 45%);
  border-radius: 50%;
  flex-shrink: 0;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-dismiss {
  color: var(--muted-foreground);
}

.popup-dismiss:hover {
  color: var(--foreground);
}

/* Animations */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form Styles */
.form-container {
  max-width: 42rem;
  margin: 6rem auto;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -12px rgb(0 0 0 / 0.1);
}

.form-header {
  text-align: center;
  margin-top: 2rem;
}


.form-page-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 50px;
}

.form-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin: 0 auto 1.5rem;
}

.form-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* Card styling for consistent layout */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-info,
.contact-form-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.contact-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Contact methods section */
.contact-methods {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.contact-method:first-child {
  border-top: none;
  padding-top: 0;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-details h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--foreground);
}

.contact-details p {
  margin: 0;
  color: var(--foreground);
}

.contact-details small {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Quick actions section */
.quick-links {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.quick-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.quick-link-buttons {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .quick-link-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-link-buttons {
    grid-template-columns: 1fr;
  }
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 20%, transparent);
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-error {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-success {
  background: hsl(142 71% 45% / 0.1);
  border: 1px solid hsl(142 71% 45% / 0.2);
  color: hsl(142 71% 45%);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-benefits {
  margin: 2rem 0;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--muted) 50%, transparent);
  border-radius: var(--radius);
}

.benefits-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.benefit-content p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
}

.form-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.form-footer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Checkbox Styles */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.checkbox-item:hover {
  background: color-mix(in srgb, var(--muted) 50%, transparent);
}

.checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-item span:not(.checkmark) {
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 640px) {
  .side-popup {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
  
  .form-container {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .hero-section {
    padding-top: 10rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .venture-card {
    border: 2px solid var(--border);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .feature-card {
    border: 2px solid var(--border);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .scroll-fade-in,
  .feature-card,
  .venture-card,
  .btn,
  .nav-link,
  .theme-toggle,
  .side-popup {
    transition: none;
  }
  
  .floating,
  .pulse-dot {
    animation: none;
  }
}