/* First, let's import our fonts */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
  --neon-blue: #0ff;
  --neon-pulse: #0ff8;
  --deep-void: #111;
  --edge-gradient: linear-gradient(45deg, #0ff, #80f);
  --text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  --glow: 0 0 10px var(--neon-blue),
    0 0 20px var(--neon-blue),
    0 0 30px var(--neon-blue);
  --section-padding: clamp(1rem, 5vw, 4rem);
  --container-padding: clamp(1rem, 3vw, 2rem);
  --bg-color-1: #0a0a14;
  --bg-color-2: #1a1a2e;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', system-ui, -apple-system, sans-serif;

  color-scheme: dark; /* should prevent dark reader from kicking in */
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes gridPulse {
  0% {
    opacity: 0.05;
  }

  50% {
    opacity: 0.15;
  }

  100% {
    opacity: 0.05;
  }
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  /* Unified background styles */
  background: linear-gradient(
    45deg,
    var(--bg-color-1) 0%,
    color-mix(in srgb, var(--bg-color-1) 95%, var(--neon-blue)) 25%,
    color-mix(in srgb, var(--bg-color-2) 95%, var(--neon-blue)) 75%,
    var(--bg-color-2) 100%
  );
  background-size: 400% 400%;
  animation: gradientMove 4s ease-in-out infinite;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%2300f7ff22"/></svg>');
  opacity: 0.1;
  pointer-events: none;
  animation: gridPulse 4s ease-in-out infinite;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 255, 0.03) 0px,
    rgba(0, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 0;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-content {
  text-align: center;
  z-index: 1;
}

/* Logo */
.logo {
  width: min(600px, 90vw);
  margin: 0 auto 2rem;
  animation: pulse 2s infinite;
  filter: drop-shadow(0 0 4px #0ff) 
         drop-shadow(0 0 10px rgba(0, 255, 255, 0.4));
  -webkit-filter: drop-shadow(0 0 4px #0ff) 
                 drop-shadow(0 0 10px rgba(0, 255, 255, 0.4));
}

@supports (-webkit-backdrop-filter: none) {
  /* Safari-specific adjustments */
  .logo {
    filter: drop-shadow(0 0 4px #0ff) 
           drop-shadow(0 0 8px rgba(64, 224, 255, 0.5));
    -webkit-filter: drop-shadow(0 0 4px #0ff) 
                   drop-shadow(0 0 8px rgba(64, 224, 255, 0.5));
  }
}

/* Typography */
h1,
h2,
h3,
.button {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body,
p,
.tagline,
.subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
  background: linear-gradient(120deg, #fff, var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--glow);
}

h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

h3 {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  margin-bottom: 1rem;
}

.tagline {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.15em;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  color: #a0a0a0;
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 2rem;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.button {
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border: 2px solid var(--neon-blue);
  border-radius: 30px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 180px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button:hover {
  background: var(--neon-blue);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.button:hover::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  text-shadow: 2px 0 var(--neon-blue);
  top: 0;
  color: var(--neon-blue);
  overflow: hidden;
  animation: noise-anim 0.3s infinite linear alternate-reverse;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    padding: 0 2rem;
  }

  .button {
    text-align: center;
  }
}

/* Card Styles */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

.platform-grid,
.privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

.feature,
.platform-card,
.privacy-card {
  padding: clamp(1.5rem, 4vw, 2rem);
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover,
.platform-card:hover,
.privacy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--neon-pulse);
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Content Sections */
.content-section {
  padding: var(--section-padding) 0;
  margin: clamp(1rem, 3vw, 2rem) 0;
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.milestone {
  text-align: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  margin: clamp(0.5rem, 2vw, 1rem);
  min-width: 200px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.milestone:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--neon-pulse);
}

/* Consciousness Levels */
.consciousness-levels {
  margin-top: 2rem;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

/* Principles */
.principles {
  margin-top: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principles:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--neon-pulse);
}

.principles ul {
  list-style-position: inside;
  padding: 0 clamp(1rem, 3vw, 2rem);
  margin: 1rem 0;
}

.principles li {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  margin: clamp(0.3rem, 1vw, 0.5rem) 0;
}

/* Footer */
.footer-section {
  margin-top: 2rem;
  padding: var(--section-padding) clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.edge-quote {
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--neon-blue);
  text-shadow: var(--text-shadow);
  font-size: clamp(1rem, 3vw, 1.2rem);
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

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

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

  .timeline {
    flex-direction: column;
  }

  .milestone {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Features Showcase */
.features-showcase {
  position: relative;
  margin: 4rem 0;
  padding: 2rem 0;
  overflow: visible;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.showcase-container {
  position: relative;
  width: 100%;
  max-width: min(95vw, 1200px);
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem;
}

.showcase-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 800%;
}

.showcase-page {
  flex: 0 0 12.5%;
  padding: 0 1.5rem;
}

.showcase-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: min(95vw, 1200px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.showcase-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--neon-pulse);
}

.showcase-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9/13;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.showcase-image img:hover {
  transform: scale(1.05);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--neon-blue);
  text-shadow: var(--text-shadow);
  border: 2px solid var(--neon-blue);
  border-radius: 10px;
  background: rgba(0, 255, 255, 0.05);
}

.showcase-text {
  text-align: center;
  padding: clamp(0.5rem, 2vw, 2rem);
}

.showcase-text p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.showcase-text h3 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-bottom: 1rem;
  background: var(--edge-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.3rem, 1.5vw, 0.8rem);
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding: 0 1rem;
  flex-wrap: wrap;
}

.nav-dot {
  width: clamp(4px, 1vw, 5px);
  height: clamp(4px, 1vw, 5px);
  border-radius: 50%;
  border: 2px solid var(--neon-blue);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  opacity: 0.5;
}

.nav-dot.active {
  opacity: 1;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
}

/* Ensure buttons are easily tappable on mobile */
.nav-dot,
.button {
  min-height: 44px;
  min-width: 44px;
}

/* Fix for mobile Safari's 100vh issue */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .container {
    padding: var(--container-padding);
  }

  .hero-content {
    padding: clamp(2rem, 5vh, 4rem) var(--container-padding);
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 1rem;
  }

  .button {
    width: 100%;
    text-align: center;
    display: block;
  }

  .showcase-content {
    flex-direction: column;
    padding: clamp(1rem, 3vw, 2rem);
    gap: clamp(1rem, 3vw, 2rem);
  }

  .showcase-image {
    max-width: 250px;
    margin: 0 auto;
  }

  .showcase-page {
    padding: 0 clamp(0.5rem, 2vw, 1rem);
  }

  .showcase-text {
    text-align: center;
    padding: 1rem 0;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .milestone {
    width: 100%;
    max-width: 100%;
  }

  .principles ul {
    text-align: left;
    padding: 0 2rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --section-padding: 2rem;
  }

  .hero-content {
    padding-top: 3rem;
  }

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

  .feature,
  .platform-card,
  .privacy-card {
    padding: 1.5rem;
  }

  .showcase-page {
    padding: 0 0.5rem;
  }

  .showcase-content {
    padding: 1rem;
  }

  .edge-quote {
    padding: 0 1rem;
  }
}

/* Prevent text scaling in landscape */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }
}

/* High pixel density screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .hero::before {
    background-size: 40px 40px;
  }
}

/* Ensure proper touch targets */
@media (hover: none) and (pointer: coarse) {

  .button,
  .nav-dot,
  .platform-card,
  .privacy-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Add new keyframes for glitch and noise effects */
@keyframes glitch {
  0% {
    transform: translate(0)
  }

  20% {
    transform: translate(-2px, 2px)
  }

  40% {
    transform: translate(-2px, -2px)
  }

  60% {
    transform: translate(2px, 2px)
  }

  80% {
    transform: translate(2px, -2px)
  }

  100% {
    transform: translate(0)
  }
}

@keyframes noise-anim {
  0% {
    clip-path: inset(40% 0 61% 0);
  }

  20% {
    clip-path: inset(92% 0 1% 0);
  }

  40% {
    clip-path: inset(43% 0 1% 0);
  }

  60% {
    clip-path: inset(25% 0 58% 0);
  }

  80% {
    clip-path: inset(54% 0 7% 0);
  }

  100% {
    clip-path: inset(58% 0 43% 0);
  }
}

/* Typography - Add glitch effect on hover */
h1:hover,
h2:hover,
h3:hover {
  animation: glitch 0.3s infinite;
}

/* Buttons - Add data corruption effect */
.button {
  padding: 1rem 2rem;
  border: 2px solid var(--neon-blue);
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button:hover {
  background: var(--neon-blue);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.button:hover::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  text-shadow: 2px 0 var(--neon-blue);
  top: 0;
  color: var(--neon-blue);
  overflow: hidden;
  animation: noise-anim 0.3s infinite linear alternate-reverse;
}

/* Feature headings */
.feature h3,
.platform-card h3,
.privacy-card h3 {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  margin-bottom: 1rem;
}

/* Manifesto text */
.edge-text {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Brand styling */
.logo-text,
h1,
.tagline {
  text-transform: lowercase !important;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-name {
  text-transform: lowercase;
  font-style: normal;
  font-family: var(--font-display);
}

/* Add styles for new grid layouts */
.integration-grid,
.consciousness-levels,
.server-features,
.privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

/* Unified card styles */
.integration-card,
.consciousness-card,
.server-card,
.privacy-card {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.integration-card:hover,
.consciousness-card:hover,
.server-card:hover,
.privacy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--neon-pulse);
  border-color: var(--neon-blue);
}

/* Enhanced principles section */
.principles {
  margin-top: 2rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.principles:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--neon-pulse);
  border-color: var(--neon-blue);
}

.principles ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.principles li {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  margin: clamp(0.8rem, 1.5vw, 1rem) 0;
  padding-left: 1.5rem;
  position: relative;
}

.principles li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--neon-blue);
  font-family: var(--font-display);
}

/* Section headers */
.content-section h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  color: var(--neon-blue);
  text-shadow: var(--text-shadow);
}

/* Card headers */
.integration-card h3,
.consciousness-card h3,
.server-card h3,
.privacy-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--neon-blue);
}

/* Card content */
.integration-card p,
.consciousness-card p,
.server-card p,
.privacy-card p {
  font-family: var(--font-body);
  line-height: 1.6;
  opacity: 0.9;
}

/* Mobile adjustments */
@media (max-width: 768px) {

  .integration-grid,
  .consciousness-levels,
  .server-features,
  .privacy-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .integration-card,
  .consciousness-card,
  .server-card,
  .privacy-card {
    padding: 1.5rem;
  }
}

/* Update the JavaScript animation calculation */
@keyframes showcaseAutoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-87.5%);
  }
}

/* Inline Links */
.inline-link {
  color: var(--neon-blue);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9em;
  white-space: nowrap;
  transition: all 0.3s ease;
  opacity: 0.8;
  display: inline-block;
  margin-top: 0.5rem;
}

.inline-link:hover {
  opacity: 1;
  transform: translateX(5px);
}

.inline-link::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.inline-link:hover::after {
  width: 100%;
}

/* Update card hover states to handle links */
.feature:hover .inline-link,
.consciousness-card:hover .inline-link,
.server-card:hover .inline-link,
.platform-card:hover .inline-link {
  opacity: 1;
}

/* Top Navigation */
.top-nav {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--container-padding);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--neon-blue);
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon-blue);
}

/* Adjust hero section to account for fixed nav */
.hero {
  padding-top: 4rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .top-nav {
    padding: 0.8rem 0;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  /* Adjust hero content for mobile */
  .hero {
    padding-top: 3.5rem;
  }

  .hero-content {
    padding-top: 2rem;
  }

  /* Ensure logo doesn't overlap with nav */
  .logo {
    margin-top: 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .nav-links {
    gap: 0.8rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }
}

/* Landscape mode adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero {
    padding-top: 4rem;
  }

  .logo {
    margin-top: 0.5rem;
  }
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.platform-cta {
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  clear: both;
}

.platform-card {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Privacy Policy Styles */
.privacy-policy {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  color: #e0e0e0;
}

.privacy-policy h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.privacy-policy .effective-date {
  color: #888;
  margin-bottom: 2rem;
}

.privacy-policy section {
  margin-bottom: 3rem;
}

.privacy-policy h2 {
  font-size: 1.8rem;
  color: #fff;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #333;
}

.privacy-policy h3 {
  font-size: 1.4rem;
  color: #fff;
  margin: 1.5rem 0 1rem;
}

.privacy-policy h4 {
  font-size: 1.2rem;
  color: #fff;
  margin: 1.2rem 0 0.8rem;
}

.privacy-policy p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-policy ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

.privacy-policy li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.privacy-policy ul ul {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
}

.footer-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 255, 0.05);
  min-width: 200px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 4px;
  will-change: transform;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--neon-blue);
  background: rgba(0, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Special style for icon-only links */
.footer-links a:has(svg:only-child) {
  min-width: unset;
  width: auto;
  padding: 0.5rem;
}

/* Prevent any unwanted transitions */
.footer-links a svg {
  pointer-events: none;
}
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(0, 255, 255, 0.05);
  min-width: 200px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Special style for icon-only links */
.footer-links a:has(svg:only-child) {
  min-width: unset;
  padding: 0.5rem;
  border-radius: 50%;
  aspect-ratio: 1;
}

.footer-links a:hover {
  color: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-pulse);
  transform: translateY(-2px);
}

.footer-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.footer-links a:hover::before {
  transform: translateX(100%);
}

.card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9/13;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.card-image img:hover {
  transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .card-image {
    max-width: 250px;
  }
}

/* Proof Section Styles */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

.proof-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.proof-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.proof-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.proof-item h3 {
  color: var(--neon-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.proof-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Power Features Section Styles */
.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  font-family: 'Rajdhani', sans-serif;
}

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

.power-feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.power-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

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

.power-feature-card h3 {
  color: var(--neon-blue);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.power-feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-link {
  color: var(--neon-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--neon-blue);
  transform: translateX(5px);
}

/* Audience Section Styles */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.audience-card h3 {
  color: var(--neon-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.audience-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.audience-value {
  color: rgba(0, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.audience-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
}

.audience-cta .edge-text {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.audience-cta strong {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Privacy Architecture Section */
.privacy-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 900px) {
  .privacy-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.privacy-model {
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.privacy-model.bad {
  background: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.privacy-model.warning {
  background: rgba(255, 165, 0, 0.05);
  border: 1px solid rgba(255, 165, 0, 0.2);
}

.privacy-model.good {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.privacy-model:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.model-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.privacy-model h3 {
  color: var(--neon-blue);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.model-label {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.model-details ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.model-details li {
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.privacy-score {
  text-align: center;
  font-weight: 600;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  color: var(--neon-blue);
}

/* Architecture Diagram */
.architecture-diagram {
  margin-top: 4rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
}

.architecture-diagram h3 {
  color: var(--neon-blue);
  text-align: center;
  margin-bottom: 2rem;
}

.traffic-diagram {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 2rem auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.diagram-labels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.diagram-label {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.diagram-label.good {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.diagram-label.bad {
  background: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.diagram-label strong {
  color: var(--neon-blue);
  font-weight: 600;
}

@media (max-width: 768px) {
  .traffic-diagram {
    max-width: 100%;
  }

  .diagram-labels {
    gap: 0.8rem;
  }

  .diagram-label {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

.architecture-explanation {
  margin-top: 2rem;
}

.highlight-text {
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 2.5rem 0;
  line-height: 1.8;
  padding: 0 1rem;
}

.highlight-text strong {
  color: var(--neon-blue);
}

/* Comparison Examples */
.comparison-example {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .comparison-example {
    grid-template-columns: 1fr;
  }
}

.example-item {
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid;
}

.example-item.bad-example {
  background: rgba(255, 0, 0, 0.05);
  border-color: rgba(255, 0, 0, 0.3);
}

.example-item.good-example {
  background: rgba(0, 255, 0, 0.05);
  border-color: rgba(0, 255, 255, 0.3);
}

.example-item h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.example-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0.5rem 0;
  font-family: 'Courier New', monospace;
}

.example-result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-weight: 600;
}

.disclaimer {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.disclaimer strong {
  color: rgba(255, 165, 0, 0.9);
}