/* Color Variables */
:root {
  --bg-dark: #0D0D0D;
  --bg-primary: #0A1D56;
  --text-primary: #F0F9FF; /* Brighter text for better contrast */
  --text-heading: #80F5FF; /* More vibrant headings */
  --accent-color: #00F5FF;
  --accent-secondary: #FF5EAF; /* Secondary accent for contrast */
  --glass-border: rgba(255, 255, 255, 0.2); /* Stronger border contrast */
  --glass-shadow: rgba(0, 245, 255, 0.2);
}

/* Base Styles */
body {
  font-family: 'Poppins', 'SF Pro Display', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0A1D56 0%, #0D0D0D 100%);
  position: relative;
  margin-top: 1rem;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><circle cx="10" cy="10" r="1" fill="rgba(0,245,255,0.08)"/></svg>');
  background-repeat: repeat;
  background-size: 20px 20px;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Hero Section - Simplified for Mobile */
.hero-container {
  min-height: auto;
  padding: 1rem 0 2rem;
  display: flex;
  align-items: center;
}

.feature-card-hero {
  padding: 1rem !important;
  margin: 0;
  width: 100%;
}

/* Image styles - centered on mobile, right on desktop */
.font-page-hero-section-image {
  display: block;
  max-width: 100%;
  max-height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 0.5rem;
  width: auto;
  height: auto;
}

/* Desktop styles for image */
@media (min-width: 768px) {
  .font-page-hero-section-image {
    float: right;
    max-width: 40%;
    max-height: 250px;
    margin: 0 0 1.5rem 2rem;
  }
}

/* Text and Button Container */
.hero-content {
  overflow: hidden; /* Clear the float */
}

.card-title {
  font-size: 1.75rem !important;
  margin: 0 0 0.75rem 0 !important;
  line-height: 1.2;
}

.card-description {
  font-size: 1rem !important;
  line-height: 1.4 !important;
  margin: 0 0 1rem 0 !important;
}

/* Buttons - Ensure they're always visible */
.flex-wrap {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem !important;
  margin: 1.5rem 0 0.5rem 0 !important;
  position: relative;
  z-index: 10;
}

.btn {
  flex: 1 0 auto;
  min-width: 140px;
  text-align: center;
  padding: 0.75rem 0.5rem !important;
  font-size: 0.95rem !important;
  white-space: nowrap;
}

/* Desktop styles */
@media (min-width: 768px) {
  .hero-container {
    padding: 0;
  }
  
  .feature-card-hero {
    padding: 2.5rem !important;
  }
  
  /* Desktop image styles are now in the main image selector */
  
  .card-title {
    font-size: 2.8rem !important;
  }
  
  .btn {
    flex: 0 1 auto;
    padding: 0.75rem 1.5rem !important;
  }
}

.logo-image.no-border {
  padding-top: 1em;
}

.bg-dark {
  background-color: var(--bg-dark);
}

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

.bg-accent {
  background-color: var(--accent-color);
}

/* Typography */
.poppins {
  font-family: 'Poppins', sans-serif;
}

.orbitron {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
}

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

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

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

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

/* Hide elements with the .hidden class */
.hidden {
  display: none !important;
}

/* UI Components */
.center-content-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-preview-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.preview-img {
  float: left;
  margin-right: 1.5rem;
  max-width: 180px;
  height: auto;
  border-radius: 0.5rem;
  max-width: 180px;
}


.glassmorphic {
  background: linear-gradient(
    135deg, 
    rgba(173, 216, 230, 0.15), 
    rgba(100, 149, 237, 0.10)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(173, 216, 230, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  border-radius: 12px;
  opacity: 0.92;
  position: relative;
  overflow: hidden;
}

.glassmorphic::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.glassmorphic-fallback {
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(0, 245, 255, 0.3);
}

/* Container Styles */
.section-container {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark);
  padding: 2rem 0;
}

.hero-container .content-grid {
  gap: 1.5rem;
  padding-top: 1rem;
}

.content-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: box-shadow 0.3s ease;
}

.feature-card {
  background: rgba(13, 13, 13, 0.25);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px var(--glass-shadow);
}

.card-content {
  text-align: center;
  padding: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-description {
  color: var(--text-primary);
  opacity: 0.9;
}

/* Background Patterns */
.holographic-hex {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="none"><polygon points="50,15 85,35 85,65 50,85 15,65 15,35" stroke="rgba(0,245,255,0.12)" stroke-width="1" fill="rgba(0,245,255,0.02)"/></svg>') repeat;
  opacity: 0.25;
  z-index: -1;
}

.circuit-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="none" stroke="rgba(0,245,255,0.08)" stroke-width="1"><path d="M0 50h25v50h50V50h25"/><path d="M50 0v25H0v50h25"/><path d="M75 25h25v50H50"/></svg>') repeat;
  opacity: 0.2;
  z-index: -1;
}

.binary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="20" fill="none"><text x="0" y="15" font-family="Orbitron" font-size="12" fill="rgba(0,245,255,0.1)">101010</text></svg>') repeat;
  opacity: 0.15;
}

/* Interactive Elements */
.hover-highlight {
  transition: background-color 0.2s ease;
}

.hover-highlight:hover {
  background-color: rgba(0, 245, 255, 0.1);
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Buttons */
button, 
[type='button'], 
[type='submit'], 
[type='reset'] {
  cursor: pointer !important;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  font-weight: bold;
  cursor: pointer !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-primary {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.15);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--bg-dark);
  transform: none;
  box-shadow: 0 8px 25px rgba(0, 245, 255, 0.3);
  cursor: pointer !important;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
  color: var(--bg-dark);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.2);
}

.btn-secondary:hover {
  transform: none;
  box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

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

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

/* Layout Helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.relative {
  position: relative;
}

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

/* SVG Icon Styles */
.icon {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--accent-color);
}

/* Hero section icons */
header .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Feature section icons */
section .icon {
  width: 1rem;
  height: 1rem;
}

/* Animations */
@keyframes hexRotate {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Specific Components */
h1, h2, h3 {
  color: #66E6FF;
  position: relative;
  display: inline-block;
}

h1 {
  animation: glow 3s ease-in-out infinite;
}

h1::after, h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.founder-callout {
  margin-left: auto;
  position: sticky;
  top: 100px;
}

@media (max-width: 768px) {
  .founder-callout {
    max-width: 100%;
    position: static;
    margin: 0 auto;
  }
}

.header-content {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 768px) {
  .header-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.logo {
  transition: all 0.3s ease;
}

/* Logo border override */
.logo-image.no-border {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

#mobile-menu{
  margin-top: 1.5rem;
}

#mobile-menu a {
  color: var(--text-primary) !important;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: 500;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer !important;
}

#mobile-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-item{
  display: inline-flex !important;
  cursor: pointer !important;
}

.nav-link-active {
  color: var(--accent-color) !important;
  font-weight: 600 !important;
}

* {
  cursor: default !important;
}

/* Force hide hamburger on desktop */
@media (min-width: 1024px) {
  #hamburger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Company Header - Precise Alignment */
.company-header {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  font-family: 'Poppins', sans-serif !important;
  color: white !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  letter-spacing: -0.5px !important;
  text-decoration: none !important;
  border-bottom: none !important;
  background: none !important;
  margin: 0 !important;
  margin-bottom: 21px !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  position: relative;
  top: 0.25em;
  margin-left: 1rem !important;
}

.logo-image {
  vertical-align: bottom !important;
  display: inline-block !important;
  object-fit: contain !important;
}

@media (min-width: 768px) {
  .company-header {
    font-size: 3rem !important;
    margin-left: 1rem !important;
  }
}

/* Footer Styles */
.footer-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-section {
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  display: inline-flex !important;
}

.footer-link {
  color: #F3F4F6 !important; /* gray-100 - lighter gray */
  opacity: 0.9;
  cursor: pointer !important;
}

.footer-link:hover {
  color: #60A5FA !important; /* blue-400 */
  opacity: 1;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-heading);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  border-radius: 3px;
}

.footer-heading:hover::after {
  width: 100%;
  transition: width 0.3s ease;
}

.footer-links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-link {
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-weight: 500;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  cursor: pointer !important;
}

.footer-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Footer Icon Styles */
.footer-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* Navigation Styles */
/* Desktop Navigation */
nav {
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

/* Desktop Menu Items */
nav a {
  color: #F3F4F6; /* gray-100 */
  transition: color 0.2s ease;
  cursor: pointer !important;
}

nav a:hover {
  color: #60A5FA; /* blue-400 */
}

main {
  opacity: 1 !important;
  animation: none !important;
}

/* Newsletter Form Styles */
.social-links a {
  color: #D1D5DB; /* gray-300 - lighter gray */
  transition: all 0.2s;
  cursor: pointer !important;
}

.social-links a:hover {
  color: #60A5FA; /* blue-400 */
  transform: translateY(-2px);
}

/* Newsletter Form - High Contrast */
.newsletter-input {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid #64748B; /* slate-500 */
  background: rgba(255,255,255,0.1);
  color: #F8FAFC; /* slate-50 */
  font-size: 0.9rem;
}

.newsletter-input:focus {
  border-color: #3B82F6; /* blue-500 */
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
  outline: none;
}

.newsletter-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  background: #3B82F6; /* blue-500 */
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: all 0.2s;
  cursor: pointer !important;
}

.newsletter-btn:hover {
  background: #2563EB; /* blue-600 */
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

/* High Contrast Links - Lighter */
a {
  color: #60A5FA; /* blue-400 - lighter blue */
  transition: color 0.2s;
  cursor: pointer !important;
}

a:hover {
  color: #3B82F6; /* blue-500 */
}

/* Navigation Links */
.nav-link {
  color: #F3F4F6 !important; /* gray-100 */
  cursor: pointer !important;
}

.nav-link:hover {
  color: #60A5FA !important; /* blue-400 */
}

/* Social Links */
.social-links a {
  color: #D1D5DB; /* gray-300 - lighter gray */
  cursor: pointer !important;
}

.social-links a:hover {
  color: #60A5FA; /* blue-400 */
}

/* Navigation Header */
.nav-header {
  background: rgba(0, 15, 30, 0.9); /* Dark blue background */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
#mobile-menu {
  background: rgba(0, 15, 30, 0.95); /* Even darker for mobile */
}

.intro-container{
  margin-top: 0px !important;
  padding-top: 0px !important;
}

.faq-section{
  margin-bottom: 1rem;
}

.founder-page-image-container{
  float: right;
  background: transparent;
}

.founder-page-image{
  float: right;
  background: transparent;
}