:root {
  --bg-color: #0f172a;
  --section-bg: #1e293b;
  --text-color: #ffffff;
  --heading-color: #e2e8f0;
  --link-hover: #60a5fa;
  --cta-glow: #60a5fa;
  --btn-primary-bg: #3b82f6;
  --btn-primary-hover: #2563eb;
  --btn-primary-focus: #1e40af;
  --modal-bg: var(--section-bg);
}


html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

/* Container for better responsive layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Header with improved mobile menu */
header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background-color: rgba(15, 23, 42, 0.85);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(8px);
border-bottom: 2px solid rgba(96, 165, 250, 0.4);
}
header h2 {
margin-right: auto;
}
/* Add this new rule to fix the site title link style */
header h2 a 
{
color: inherit; /* This makes it take the color of the h2 tag */
text-decoration: none; /* This removes the underline */
}
/* Desktop navigation - hidden on mobile */
  header nav {
  display: none;
}
/* Style the desktop navigation links */
header nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
gap: 1.5rem;
}
header nav a {
color: var(--text-color) !important; /* White color */
text-decoration: none !important; /* Remove underline */
padding: 0.5rem 0.75rem;
transition: color 0.3s ease;
}
header nav a:hover {
color: var(--link-hover) !important; /* Hover color */
}
/* Desktop Get Early Access button - hidden on mobile */
#openModalBtn {
display: none;
}
/* Mobile menu button - shown on mobile */
.mobile-menu-btn {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.375rem;
color: var(--text-color);
background-color: transparent;
border: none;
padding: 0.5rem;
cursor: pointer;
margin-left: 1rem;
}
/* Mobile menu */
.mobile-menu {
position: fixed;
top: 4rem;
right: 0;
width: 80%;
max-width: 300px;
background-color: var(--section-bg);
padding: 1rem;
z-index: 999;
transform: translateX(100%);
opacity: 0;
transition: all 0.3s ease-out;
pointer-events: none;
border-radius: 0 0 0 0.5rem;
box-shadow: -2px 4px 6px rgba(0,0,0,0.1);
border-left: 1px solid rgba(96, 165, 250, 0.3);
border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}
.mobile-menu.active {
transform: translateX(0);
opacity: 1;
pointer-events: auto;
}
.mobile-menu ul {
list-style: none;
margin: 0;
padding: 0;
}
.mobile-menu a {
display: block;
color: var(--text-color);
padding: 0.75rem 1rem;
text-decoration: none;
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.mobile-menu a:hover {
color: var(--link-hover);
background-color: rgba(96, 165, 250, 0.1);
}
.mobile-menu .btn-primary {
display: block;
width: calc(100% - 2rem);
margin: 1rem auto 0;
text-align: center;
animation: none;
}
/* Show desktop nav and hide mobile button on larger screens */
@media (min-width: 768px) {
header h2 {
margin-right: 0;
}
.mobile-menu-btn {
display: none;
}
header nav {
display: flex;
align-items: center;
gap: 1.5rem;
}
#openModalBtn {
display: inline-block;
}
}
/* Buttons */
.btn-primary {
background-color: var(--btn-primary-bg);
color: #fff;
padding: 0.625rem 1rem;
border: none;
border-radius: 0.5rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
transform: translateY(0);
box-shadow: 0 0 10px var(--btn-primary-bg);
font-size: 0.875rem;
white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 0 20px var(--btn-primary-hover);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:focus {
  outline: none;
  background-color: var(--btn-primary-focus);
  box-shadow: 0 0 25px var(--btn-primary-focus);
}

.btn-secondary {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary:active {
  transform: translateY(1px);
}

@keyframes pulseButton {
  0%, 100% {
    box-shadow: 0 0 10px var(--btn-primary-bg);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 20px var(--btn-primary-hover);
    transform: translateY(-3px);
  }
}

/* Main content */
main {
  padding-top: 5rem;
}

@media (min-width: 768px) {
  main {
    padding-top: 6rem;
  }
}

/* Hero section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--bg-color);
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 1rem;
  }
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

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

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

.hero p {
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

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

.cta-message {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cta-glow);
  margin-bottom: 0.625rem;
  text-shadow: 0 0 5px var(--cta-glow), 0 0 10px var(--cta-glow), 0 0 15px var(--cta-glow);
  animation: pulseNeon 1.8s infinite;
}

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

@keyframes pulseNeon {
  0% {
    transform: scale(1);
    text-shadow: 0 0 5px var(--cta-glow), 0 0 10px var(--cta-glow), 0 0 15px var(--cta-glow);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 10px var(--cta-glow), 0 0 20px var(--cta-glow), 0 0 30px var(--cta-glow);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 5px var(--cta-glow), 0 0 10px var(--cta-glow), 0 0 15px var(--cta-glow);
  }
}

.email-form {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.email-form input[type="email"] {
  padding: 0.625rem;
  width: 100%;
  border-radius: 0.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .email-form input[type="email"] {
    width: 300px;
  }
}

/* Sections */
section {
  padding: 3rem 1rem;
  text-align: center;
  background-color: var(--section-bg);
}

@media (min-width: 768px) {
  section {
    padding: 4rem 1rem;
  }
}

section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (min-width: 768px) {
  section h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  section h2 {
    font-size: 2.25rem;
  }
}

/* Grid and cards */
.grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.card {
  background-color: var(--bg-color);
  padding: 1.25rem;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(96, 165, 250, 0.2);
}

.card.red:hover {
  box-shadow: 0 10px 15px rgba(239, 68, 68, 0.2);
}

.card i {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
}

.blue i {
  color: #3b82f6;
}

.red i {
  color: #ef4444;
}

/* Built section */
.built-section {
  background-color: var(--bg-color);
  padding: 3rem 1rem;
  color: var(--text-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.built-section p {
  margin-bottom: 1.25rem;
}

.built-section a {
  color: var(--btn-primary-bg);
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: color 0.3s;
}

.built-section a:hover {
  color: var(--link-hover);
}

/* Footer */
footer {
  background-color: var(--section-bg);
  padding: 2rem 1rem 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

footer h4 {
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--heading-color);
  font-size: 1rem;
}

footer a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.3125rem;
  transition: color 0.3s;
}

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

footer .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer .menu li {
    margin-bottom: 0.3125rem;
}
footer .menu a {
    margin-bottom: 0;
}


.connect-icons {
  display: flex;
  gap: 0.9375rem;
  margin-top: 0.625rem;
}

.connect-icons a {
  font-size: 1.25rem;
  color: #94a3b8;
  transition: color 0.3s;
}

.connect-icons a:hover {
  color: var(--link-hover);
}

.footer-section {
  padding: 1.25rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.disclaimer-text {
  font-size: 0.875rem;
  color: #94a3b8;
  text-align: justify;
  line-height: 1.6;
}

.copyright-text {
  text-align: center;
  margin-top: 0.625rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--modal-bg);
  padding: 1.5rem 1.25rem;
  border-radius: 0.75rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 15px rgba(96,165,250,0.5);
  position: relative;
  color: var(--text-color);
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

.modal-overlay.active .modal {
  transform: translateY(0);
  opacity: 1;
}

.modal h3 {
  margin-bottom: 1.25rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--heading-color);
  text-align: center;
}

.modal p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-color);
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.modal input[type="text"],
.modal input[type="email"] {
  padding: 0.625rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 1rem;
  outline: none;
}

.modal button {
  background-color: var(--btn-primary-bg);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal button:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-2px);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9375rem;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--link-hover);
}

/* Welcome popup specific styles */
#welcomePopup .modal {
  max-width: 500px;
  background: linear-gradient(135deg, var(--section-bg) 0%, var(--bg-color) 100%);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

#welcomePopup h3 {
  color: var(--cta-glow);
  margin-bottom: 1rem;
}

#welcomePopup p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

#welcomePopup form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#welcomePopup form input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-color);
  font-size: 1rem;
  transition: border-color 0.3s;
}

#welcomePopup form input[type="email"]:focus {
  outline: none;
  border-color: var(--btn-primary-bg);
}

#welcomePopup form div {
  display: flex;
  justify-content: space-between;
  gap: 0.625rem;
}

#welcomePopup form div button {
  flex: 1;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

/* Success message animation */
#earlyAccessMessage {
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* CTA Highlight Section */
.cta-highlight {
  padding: 2.5rem 1rem;
  background: linear-gradient(135deg, var(--section-bg) 0%, var(--bg-color) 100%);
  border-top: 1px solid rgba(96, 165, 250, 0.3);
  border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.cta-highlight-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-highlight h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--cta-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.3;
}

.cta-highlight p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-highlight .btn-cta {
  animation: pulseButton 2s infinite;
}

@media (min-width: 768px) {
  .cta-highlight {
    padding: 3.5rem 1rem;
  }
  
  .cta-highlight h2 {
    font-size: 2rem;
  }
  
  .cta-highlight p {
    font-size: 1.25rem;
  }
}
/* Hero form success message */
#heroSuccessMessage {
  animation: fadeIn 0.5s ease-out forwards;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* --- WordPress Menu Fixes --- */

footer .menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer .menu li {
  margin-bottom: 0.3125rem;
}

footer .menu a {
    margin-bottom: 0;
}

