/* �NTHR Website Styles - Zero-Value Cryptocurrency Theme */

:root {
  /* Color variables */
  --primary: #2a0066;
  --primary-dark: #1a0044;
  --secondary: #5300c7;
  --accent: #9900ff;
  --void-black: #000000;
  --void-gray-dark: #111111;
  --void-gray: #333333;
  --void-gray-light: #555555;
  --text-light: #f2f2f2;
  --text-gray: #cccccc;
  --text-white: #ffffff;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  
  /* Layout */
  --container-width: 1400px;
  --content-width: 1000px;
  --header-height: 80px; 
  --section-padding: 100px 0;
  --content-padding: 60px 0;
}

/* Base Styles */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--void-black) 0%, var(--void-gray-dark) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin-top: 0;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Header Styles */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 20px;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo a {
  display: block;
  padding: 5px;
}

.logo a img {
  display: block;
  width: 120px;
  height: auto;
}

/* Main Navigation */
.main-nav {
  display: flex;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  padding: 5px 10px;
  position: relative;
  display: block;
  line-height: 44px;
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover:after, 
.main-nav a.active:after {
  width: 100%;
}

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

.price-ticker {
  display: flex;
  align-items: center;
  margin-right: 20px;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
  font-size: 12px;
  color: var(--text-gray);
  margin-right: 5px;
}

.price-value {
  font-weight: 700;
  font-size: 14px;
  margin-right: 5px;
}

.price-change {
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 3px;
}

.price-change.stable {
  background: rgba(153, 0, 255, 0.2);
  color: var(--accent);
}

.connect-wallet {
  background: var(--primary);
  color: var(--text-white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.connect-wallet:hover,
.connect-wallet:active {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 5px;
  margin-left: 15px;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background: white;
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 0.3s;
}

/* Hamburger Animation */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

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

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

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(153, 0, 255, 0.15), transparent 60%);
  z-index: -1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.hero-content {
  flex: 0 1 600px;
  min-width: 450px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  margin-bottom: 40px;
}

.button {
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin-right: 15px;
}

.button.primary {
  background: var(--accent);
  color: var(--text-white);
}

.button.primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(153, 0, 255, 0.3);
}

.button.secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--accent);
}

.button.secondary:hover {
  background: rgba(153, 0, 255, 0.1);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: space-between;
}

.stat {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  flex: 1;
  margin-right: 15px;
}

.stat:last-child {
  margin-right: 0;
}

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-gray);
}

.hero-image {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background: var(--void-black);
}

.section-heading {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(145deg, var(--void-gray-dark) 0%, var(--void-black) 100%);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-gray);
  font-size: 16px;
}

/* Technology Section */
.technology {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.technology:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at bottom left, rgba(153, 0, 255, 0.15), transparent 60%);
  z-index: -1;
}

.technology .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.technology-content {
  flex: 0 1 550px;
  min-width: 450px;
}

.technology-content h2 {
  text-align: left;
  margin-bottom: 30px;
}

.technology-content p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.technology-points {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.technology-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.technology-points li:before {
  content: '�';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.technology-image {
  flex: 1;
  max-width: 450px;
  text-align: center;
}

/* Roadmap Preview Section */
.roadmap-preview {
  padding: var(--section-padding);
  background: var(--void-black);
}

.roadmap-timeline {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-item {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--void-gray-dark);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Roadmap Full Page Styles */
.roadmap-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.roadmap-phase {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.roadmap-phase:hover {
  transform: translateY(-5px);
}

.roadmap-phase.current {
  border-color: var(--accent);
}

.phase-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phase-quarter {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}

.phase-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.phase-content {
  padding: 30px;
}

.phase-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phase-content li {
  margin-bottom: 25px;
  position: relative;
}

.phase-content li:last-child {
  margin-bottom: 0;
}

.milestone-title {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.roadmap-disclaimer {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.roadmap-disclaimer p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.roadmap-item:last-child {
  margin-right: 0;
}

.roadmap-item:hover {
  transform: translateY(-10px);
}

.roadmap-quarter {
  background: var(--accent);
  color: var(--text-white);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.roadmap-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.roadmap-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roadmap-item li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-gray);
}

.roadmap-item li:before {
  content: '"';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.roadmap-cta {
  text-align: center;
}

/* Team Preview Section */
.team-preview {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.team-preview:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at top center, rgba(153, 0, 255, 0.15), transparent 70%);
  z-index: -1;
}

.team-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  flex: 1 1 300px;
  background: var(--void-gray-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.team-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--accent);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-title {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-desc {
  color: var(--text-gray);
  font-size: 14px;
}

.team-institute {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.team-institute p {
  margin: 0;
  font-size: 14px;
  color: var(--text-gray);
}

/* CTA Section */
.cta {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--void-black) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  color: var(--text-gray);
  margin-bottom: 30px;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.cta-buttons a {
  flex: 0 1 auto;
  min-width: 200px;
}

/* Content Page Styles */
main {
  padding-top: var(--header-height);
}

.content-container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.content-page {
  padding: var(--content-padding);
}

.content-title {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  text-align: center;
}

.content-meta {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.content-body {
  margin-bottom: 2rem;
}

.content-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.content-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.content-body p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.content-body ul, 
.content-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

.content-body a {
  text-decoration: underline;
}

.content-body blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin-left: 0;
  color: var(--text-gray);
}

.content-body pre {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.content-body code {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.content-body pre code {
  background: transparent;
  padding: 0;
}

.content-list {
  margin-top: 3rem;
}

.content-list-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-list-item:last-child {
  border-bottom: none;
}

.content-summary {
  color: var(--text-gray);
}

@media (max-width: 768px) {
  .content-title {
    font-size: 2rem;
  }
  
  .content-body h2 {
    font-size: 1.5rem;
  }
  
  .content-body h3 {
    font-size: 1.3rem;
  }
  
  .contact-grid,
  .community-section {
    grid-template-columns: 1fr;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .form-group input {
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  .form-group button {
    border-radius: 4px;
    width: 100%;
  }
}

/* Footer Styles */
/* Note: These styles are overridden by footer-fix.css, kept for reference */
.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 60px 20px 30px;
}

.footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 0 0 250px;
  max-width: 300px;
}

.footer-logo img {
  margin-bottom: 15px;
}

.footer-logo .tagline {
  color: var(--text-gray);
  font-size: 14px;
}

.footer-links {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-menu {
  flex: 1;
  padding: 0 15px;
}

.footer-menu:last-child {
  margin-right: 0;
}

.footer-menu h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent);
}

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

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: var(--text-gray);
  font-size: 14px;
  transition: color 0.3s ease;
}

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

/* Style for old footer-section class for backwards compatibility */
.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-gray);
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.copyright {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 15px;
}

.disclaimer {
  color: var(--text-gray);
  font-size: 12px;
  max-width: 700px;
  margin: 0 auto 15px;
}

.april-fools-hint {
  color: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  transition: color 0.3s ease;
}

.april-fools-hint:hover {
  color: var(--accent);
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.contact-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-card h3 {
  margin-bottom: 15px;
  color: var(--text-light);
}

.contact-card p {
  color: var(--text-gray);
  margin-bottom: 5px;
}

.contact-card a {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--accent);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  padding: 8px 15px;
  background: rgba(153, 0, 255, 0.1);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: rgba(153, 0, 255, 0.2);
  text-decoration: none;
}

.community-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.community-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.community-card:hover {
  transform: translateY(-5px);
}

.community-card img {
  margin-bottom: 20px;
}

.community-card h3 {
  margin-bottom: 15px;
  color: var(--text-light);
}

.community-card p {
  color: var(--text-gray);
  margin-bottom: 25px;
}

.newsletter-section {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.newsletter-section h3 {
  margin-bottom: 15px;
  color: var(--text-light);
}

.newsletter-section p {
  color: var(--text-gray);
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  margin-bottom: 15px;
}

.form-group input {
  flex: 1;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px 0 0 4px;
  color: var(--text-light);
  font-family: var(--font-main);
}

.form-group button {
  border-radius: 0 4px 4px 0;
  margin: 0;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.media-section {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.press-kit {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-section {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.location-section address {
  font-style: normal;
  margin: 20px 0;
  color: var(--text-light);
}

.location-section em {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  :root {
    --container-width: 1000px;
    --section-padding: 70px 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
  
  .team-cards {
    max-width: 800px;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-width: 800px;
    --section-padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .hero-tagline {
    font-size: 18px;
  }
  
  .roadmap-timeline {
    flex-direction: column;
    max-width: 500px;
  }
  
  .roadmap-item {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 30px;
  }
  
  .team-cards {
    flex-wrap: wrap;
    max-width: 700px;
  }
  
  .technology .container,
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content,
  .technology-content {
    flex: 0 0 auto;
    min-width: auto;
    max-width: 100%;
    text-align: center;
  }
  
  .hero-image,
  .technology-image {
    margin-top: 40px;
    max-width: 100%;
  }
  
  .technology-points li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 600px;
    --header-height: 70px;
    --section-padding: 50px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  /* Show the mobile toggle button */
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hide the navigation by default on mobile */
  .main-nav {
    display: none;
    width: 100%;
    background-color: #000;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Ensure it's on top of everything */
  }
  
  /* Make mobile menu visible when toggled */
  .main-nav.visible {
    display: block !important;
  }
  
  /* Stack the menu items vertically */
  .main-nav ul {
    flex-direction: column;
    padding: 0;
  }
  
  .main-nav li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav li:last-child {
    border-bottom: none;
  }
  
  .main-nav a {
    padding: 15px;
    width: 100%;
    display: block;
    line-height: normal;
  }
  
  /* Remove the underline animation on mobile */
  .main-nav a:after {
    display: none;
  }
  
  /* Hamburger icon animation */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .price-ticker {
    display: none;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .hero-stats {
    flex-direction: column;
  }
  
  .stat {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .team-cards {
    flex-direction: column;
    max-width: 350px;
  }
  
  .team-card {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 30px;
  }
  
  .team-institute {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    width: 100%;
  }
  
  .team-institute img {
    margin-bottom: 15px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--text-white);
}

.contact-card p {
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.contact-card a {
  margin-bottom: 1rem;
  display: inline-block;
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-links a {
  padding: 0.5rem 1rem;
  background-color: rgba(153, 0, 255, 0.1);
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

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

.community-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.community-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: var(--accent);
}

.community-card img {
  margin-bottom: 1.5rem;
}

.community-card h3 {
  margin-bottom: 1rem;
  color: var(--text-white);
}

.community-card p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  flex-grow: 1;
}

.newsletter-section {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.newsletter-section h3 {
  margin-bottom: 1rem;
  color: var(--text-white);
}

.newsletter-form {
  max-width: 600px;
  margin: 1.5rem auto 0;
}

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

.form-group input {
  width: 70%;
  padding: 0.75rem 1rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--text-white);
  margin-right: 0.5rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-top: 0.5rem;
}

.media-section {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.press-kit {
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
}

.press-kit h3 {
  margin-bottom: 0.75rem;
}

.location-section {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.location-section address {
  margin: 1rem 0;
  font-style: normal;
  color: var(--text-gray);
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.button.primary {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--text-white);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(153, 0, 255, 0.4);
}

.button.secondary {
  background: rgba(153, 0, 255, 0.1);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.button.secondary:hover {
  background: rgba(153, 0, 255, 0.2);
  transform: translateY(-2px);
}

/* Media Queries for Contact Page */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .community-section {
    grid-template-columns: 1fr;
  }
  
  .form-group input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .newsletter-form {
    display: flex;
    flex-direction: column;
  }
}

/* Whitepaper download button styles */
.whitepaper-download {
  margin: 2rem 0;
  text-align: center;
}

.whitepaper-download .button {
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: 600;
}

.download-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.3rem;
}

/* Site Table of Contents styles */
.site-toc {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  max-width: 400px;
}

.site-toc h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.3rem;
  text-align: center;
}

.site-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-toc li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.site-toc li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.site-toc a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-toc a:hover {
  color: var(--accent);
}

/* Additional iOS-specific fixes */
@media (max-width: 768px) {
  /* Fix for menu toggle button on iOS */
  .mobile-menu-toggle {
    outline: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    touch-action: manipulation;
  }
  
  /* Fix for active state of hamburger icon */
  .mobile-menu-toggle span.active:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-menu-toggle span.active:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle span.active:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Make menu items easier to tap on iOS */
  .main-nav a {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: 8px 0;
  }
}