@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Inter:wght@400;500;700&display=swap');

:root {
  --primary: #0A84FF;
  --secondary: #181A2A;
  --accent: #23234B;
  --background: #F5F7FA;
  --surface: #FFFFFF;
  --shadow: 0 8px 32px 0 rgba(31,38,135,0.07);
  --border: 1px solid #E0E6ED;
  --radius: 20px;
  --text-main: #181A2A;
  --text-secondary: #23234B;
  --text-light: #BFC9D1;
}

html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--background);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.5s;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .logo, .cta, .showcase-link, .feature-icon {
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 1px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4vw;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: fadeInDown 1s;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-shadow: none;
  user-select: none;
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -4px;
}
nav a:hover {
  color: var(--primary);
}
nav a:hover::after {
  width: 100%;
}

.hero-content h1, .gradient-text {
  font-size: 3rem;
  font-family: 'Orbitron', Arial, sans-serif;
  color: var(--primary);
  text-shadow: none;
}
.hero-sub {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-family: 'Inter', Arial, sans-serif;
}
.cta, .animated-cta {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 24px #0A84FF22;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  animation: popIn 1.5s;
  font-family: 'Orbitron', Arial, sans-serif;
  border: none;
}
.cta:hover, .animated-cta:hover {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  transform: scale(1.05);
}

main {
  padding: 3rem 4vw;
  flex: 1 0 auto;
}

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.app-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1.2s;
  color: var(--text-main);
}
.app-card:hover {
  transform: translateY(-8px) scale(1.03) rotateY(2deg);
  box-shadow: 0 12px 48px #0A84FF22;
}
.app-card h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', Arial, sans-serif;
}
.screenshots {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}
.screenshots img {
  width: 80px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0A84FF22;
  transition: transform 0.3s;
}
.screenshots img:hover {
  transform: scale(1.1) rotateY(8deg);
}
.download-links a {
  display: inline-block;
  margin-right: 1rem;
  margin-top: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px #0A84FF22;
  transition: background 0.3s, color 0.3s;
  font-family: 'Orbitron', Arial, sans-serif;
  border: none;
}
.download-links a:hover {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.about, .legal {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2rem 2.5rem;
  animation: fadeInUp 1.2s;
  color: var(--text-main);
  font-family: 'Inter', Arial, sans-serif;
}
.about h1, .legal h1 {
  color: var(--primary);
}

/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0055a4 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  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" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="rgba(255,255,255,0.1)" width="50" height="50"/><rect fill="rgba(255,255,255,0.1)" x="50" y="50" width="50" height="50"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Orbitron', Arial, sans-serif;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.contact-form-container {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2rem;
}

.contact-form-container h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-family: 'Orbitron', Arial, sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #E0E6ED;
  font-family: 'Inter', Arial, sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.1);
}

.submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-family: 'Orbitron', Arial, sans-serif;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: #0055a4;
  transform: translateY(-2px);
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: #e7f7ed;
  color: #0c6b39;
  border: 1px solid #a8e6c1;
}

.form-status.error {
  display: block;
  background: #fde8e8;
  color: #c81e1e;
  border: 1px solid #f5c2c2;
}

.contact-info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .contact-info-container {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info-card h3 {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  font-family: 'Orbitron', Arial, sans-serif;
}

.contact-info-card p {
  margin: 0.5rem 0;
}

.contact-info-card a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-card a:hover {
  color: #0055a4;
  text-decoration: underline;
}

.social-media-container {
  grid-column: span 2;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 1.5rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .social-media-container {
    grid-column: span 1;
  }
}

.social-media-container h3 {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-family: 'Orbitron', Arial, sans-serif;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  color: var(--text-secondary);
  transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.map-section {
  margin-bottom: 3rem;
}

.map-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Orbitron', Arial, sans-serif;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: var(--border);
}

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

.faq-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Orbitron', Arial, sans-serif;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(10, 132, 255, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}
  margin-bottom: 1rem;
  font-family: 'Orbitron', Arial, sans-serif;
}

.social-media a {
  margin-right: 1.5rem;
  color: var(--primary);
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.3s;
}
.social-media a:hover {
  color: var(--accent);
}

footer {
  text-align: center;
  padding: 2rem 0 1rem 0;
  background: var(--surface);
  border-top: var(--border);
  box-shadow: var(--shadow);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 3rem;
  font-family: 'Inter', Arial, sans-serif;
  flex-shrink: 0;
}

/* Features Section */
.features {
  margin: 4rem auto 0 auto;
  max-width: 1100px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2.5rem 2rem 2rem 2rem;
  animation: fadeInUp 1.2s;
  text-align: center;
  color: var(--text-main);
}
.features h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2rem;
  letter-spacing: 1px;
  font-family: 'Orbitron', Arial, sans-serif;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.feature {
  background: #F0F4F8;
  border-radius: 16px;
  box-shadow: 0 4px 24px #0A84FF11;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: var(--border);
  margin-bottom: 1rem;
  color: var(--text-main);
}
.feature:hover {
  transform: translateY(-8px) scale(1.04) rotateY(2deg);
  box-shadow: 0 12px 48px #0A84FF22;
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-shadow: none;
  font-family: 'Orbitron', Arial, sans-serif;
}
.feature h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-size: 1.2rem;
  font-family: 'Orbitron', Arial, sans-serif;
}
.feature p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-family: 'Inter', Arial, sans-serif;
}

/* Animated Hero Section */
.animated-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
}
.hero-bg {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.gradient-text {
  background: linear-gradient(90deg, #0A84FF, #23234B, #0A84FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: shine 3s linear infinite;
  font-family: 'Orbitron', Arial, sans-serif;
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-family: 'Inter', Arial, sans-serif;
}
.animated-cta {
  animation: popIn 1.5s;
}

/* App Showcase Carousel */
.app-showcase {
  margin: 4rem auto 0 auto;
  max-width: 1100px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2.5rem 2rem 2rem 2rem;
  animation: fadeInUp 1.2s;
  text-align: center;
  color: var(--text-main);
}
.app-showcase h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2rem;
  letter-spacing: 1px;
  font-family: 'Orbitron', Arial, sans-serif;
}
.carousel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.carousel-track {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.carousel-item {
  background: #F0F4F8;
  border-radius: 16px;
  box-shadow: 0 4px 24px #0A84FF11;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: var(--border);
  margin-bottom: 1rem;
  color: var(--text-main);
}
.carousel-item:hover {
  transform: translateY(-8px) scale(1.04) rotateY(2deg);
  box-shadow: 0 12px 48px #0A84FF22;
}
.carousel-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0A84FF11;
  margin-bottom: 1rem;
}
.showcase-link {
  display: inline-block;
  margin-top: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px #0A84FF22;
  transition: background 0.3s, color 0.3s;
  font-family: 'Orbitron', Arial, sans-serif;
  border: none;
}
.showcase-link:hover {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

/* About Blurb */
.about-blurb {
  margin: 4rem auto 0 auto;
  max-width: 900px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2rem 2rem 1.5rem 2rem;
  animation: fadeInUp 1.2s;
  text-align: center;
  color: var(--text-main);
  font-family: 'Inter', Arial, sans-serif;
}
.about-blurb h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: 'Orbitron', Arial, sans-serif;
}
.about-blurb p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-family: 'Inter', Arial, sans-serif;
}

/* Settings Page */
.settings {
  max-width: 500px;
  margin: 3rem auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2.5rem 2rem 2rem 2rem;
  animation: fadeInUp 1.2s;
  text-align: left;
}
.settings h1 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: 'Orbitron', Arial, sans-serif;
}
.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E0E6ED;
  border-radius: 34px;
  transition: background 0.3s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #0A84FF22;
  transition: transform 0.3s, background 0.3s;
}
input:checked + .slider {
  background: var(--primary);
}
input:checked + .slider:before {
  transform: translateX(24px);
  background: #fff;
}
.slider:active:before {
  width: 26px;
}

@media (max-width: 900px) {
  .carousel-track {
    flex-direction: column;
    gap: 1.5rem;
  }
  .carousel-item {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  nav {
    display: none;
    flex-direction: column;
    background: var(--surface);
    position: absolute;
    top: 70px;
    right: 0;
    width: 70vw;
    box-shadow: var(--shadow);
    border-radius: 0 0 0 var(--radius);
    z-index: 200;
    padding: 1rem 0;
    transition: max-height 0.3s, opacity 0.3s;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }
  nav.open {
    display: flex;
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.3s, opacity 0.3s;
  }
  .hamburger {
    display: block;
    position: absolute;
    right: 2vw;
    top: 2.2rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 201;
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 6px;
    background: var(--primary);
    margin: 7px 0;
    border-radius: 3px;
    transition: 0.3s;
  }
}

@media (max-width: 600px) {
  html, body {
    font-size: 16px;
  }
  header, main {
    padding: 1rem 2vw;
  }
  .about, .contact, .legal, .settings, .features, .app-showcase, .about-blurb {
    padding: 1rem 1vw;
    border-radius: 12px;
  }
  .hero-content h1, .gradient-text {
    font-size: 1.5rem;
  }
  .hero-sub {
    font-size: 1.1rem;
  }
  .cta, .animated-cta {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 0;
    margin-bottom: 1rem;
  }
  nav a {
    margin: 1rem 0;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    display: block;
  }
  .app-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .screenshots {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .screenshots img {
    width: 90vw;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
  }
  .app-card, .carousel-item, .feature {
    padding: 1rem;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .carousel-track {
    flex-direction: column;
    gap: 1rem;
  }
  .showcase-link, .download-links a {
    width: 100%;
    font-size: 1rem;
    padding: 0.7rem 0;
    margin-bottom: 0.5rem;
  }
  .setting-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1rem;
  }
  .switch {
    width: 48px;
    height: 26px;
  }
  .slider:before {
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
  }
  footer {
    font-size: 0.95rem;
    padding: 1.2rem 0 0.7rem 0;
    border-radius: 0;
  }
}

/* Hamburger menu always visible */
.hamburger {
  display: block;
  position: absolute;
  right: 2vw;
  top: 2.2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 6px;
  background: var(--primary);
  margin: 7px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* Lightbox Modal Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.lightbox-modal.open {
  display: flex;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px #0ff1ce55;
  background: #23234b;
  object-fit: contain;
  animation: popIn 0.4s;
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  text-shadow: 0 2px 16px #0ff1ce99;
  transition: color 0.2s;
}
.lightbox-close:hover {
  color: var(--primary);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: none; }
}
@keyframes popIn {
  0% { transform: scale(0.7); opacity: 0; }
  80% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
} 

/* Dark Mode */
body.dark-mode {
  background: #181A2A;
  color: #F5F7FA;
}
body.dark-mode header,
body.dark-mode .about, body.dark-mode .contact, body.dark-mode .legal, body.dark-mode .settings, body.dark-mode .features, body.dark-mode .app-showcase, body.dark-mode .about-blurb, body.dark-mode .app-card, body.dark-mode .feature, body.dark-mode .carousel-item, body.dark-mode footer {
  background: #23234B;
  color: #F5F7FA;
  border-color: #23234B;
  box-shadow: 0 8px 32px 0 rgba(10, 132, 255, 0.10);
}
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6, body.dark-mode .logo, body.dark-mode .feature-icon {
  color: #fff !important;
}
body.dark-mode nav a {
  color: #F5F7FA;
}
body.dark-mode nav a:hover {
  color: #0A84FF;
}
body.dark-mode .logo {
  color: #0A84FF;
}
body.dark-mode .cta, body.dark-mode .showcase-link, body.dark-mode .download-links a {
  background: #0A84FF;
  color: #fff;
  border: none;
}
body.dark-mode .cta:hover, body.dark-mode .showcase-link:hover, body.dark-mode .download-links a:hover {
  background: #fff;
  color: #0A84FF;
  border: 1.5px solid #0A84FF;
}
body.dark-mode .feature {
  background: #23234B;
  color: #F5F7FA;
}
body.dark-mode .carousel-item {
  background: #23234B;
  color: #F5F7FA;
}
body.dark-mode .settings {
  background: #23234B;
  color: #F5F7FA;
}
body.dark-mode .about-blurb p,
body.dark-mode .feature p,
body.dark-mode .app-card p,
body.dark-mode .settings p,
body.dark-mode .contact-details li,
body.dark-mode .legal p,
body.dark-mode .download-links span {
  color: #E0E6ED !important;
}
body.dark-mode .switch .slider {
  background: #23234B;
}
body.dark-mode .switch input:checked + .slider {
  background: #0A84FF;
}
body.dark-mode .slider:before {
  background: #fff;
} 
body.dark-mode .setting-item span,
body.dark-mode .settings label,
body.dark-mode .settings h1 {
  color: #fff !important;
} 

/* 3D Animations Page */
.animations-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem;
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.animations-hero-content {
  flex: 1;
  text-align: left;
  max-width: 600px;
  z-index: 2;
}

.animations-hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

#hero-canvas-container {
  width: 100%;
  height: 300px;
  position: relative;
}

.animations-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
  font-family: 'Orbitron', Arial, sans-serif;
}

.animations-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out;
}

.animations-cta {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1.2s ease-out;
}

.animations-cta .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.animations-cta .primary-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.animations-cta .secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.animations-cta .secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.animation-showcase {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  animation: fadeInUp 1.2s;
}

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

.section-header h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Orbitron', Arial, sans-serif;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

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

.animation-card {
  background: #F0F4F8;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: var(--border);
}

.animation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.animation-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
  position: relative;
  overflow: hidden;
}

.animation-card-content {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.animation-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-size: 1.5rem;
}

.animation-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1;
}

.animation-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.control-btn {
  background: var(--background);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-main);
}

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

.animation-showcase-cta {
  text-align: center;
  background: var(--background);
  padding: 3rem 2rem;
  border-radius: 15px;
  margin-top: 2rem;
}

.animation-showcase-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.animation-showcase-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
}

.animation-showcase-cta .btn {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
}
.animation-card h3 {
  color: var(--primary);
  margin: 1rem 0 0.5rem 0;
  font-family: 'Orbitron', Arial, sans-serif;
}
.animation-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Rotating Cube */
.cube {
  width: 150px;
  height: 150px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(-15deg);
  animation: rotateCube 20s infinite linear;
  margin: 0 auto;
}

@keyframes rotateCube {
  0% { transform: rotateX(-15deg) rotateY(0deg); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}

.animation-card:hover .cube {
  animation-play-state: paused;
}

.face {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(10, 132, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  font-family: 'Orbitron', Arial, sans-serif;
}

.front { transform: translateZ(75px); background: rgba(10, 132, 255, 0.9); }
.back { transform: translateZ(-75px) rotateY(180deg); background: rgba(88, 86, 214, 0.9); }
.right { transform: translateX(75px) rotateY(90deg); background: rgba(52, 199, 89, 0.9); }
.left { transform: translateX(-75px) rotateY(-90deg); background: rgba(255, 69, 58, 0.9); }
.top { transform: translateY(-75px) rotateX(90deg); background: rgba(255, 159, 10, 0.9); }
.bottom { transform: translateY(75px) rotateX(-90deg); background: rgba(175, 82, 222, 0.9); }

/* Floating Sphere */
.sphere {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 30% 30%, var(--primary), #0A84FF);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.5);
  animation: float 3s ease-in-out infinite alternate, glow 5s ease-in-out infinite alternate;
  position: relative;
}

.sphere-particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
  z-index: 1;
}

.sphere::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  filter: blur(5px);
}

.sphere::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  filter: blur(3px);
}

@keyframes float {
  from { transform: translateY(-10px) rotate(0deg); }
  to { transform: translateY(10px) rotate(10deg); }
}

@keyframes glow {
  0% { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 10px rgba(10, 132, 255, 0.3); }
  50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 0 30px rgba(255, 255, 255, 0.6), 0 0 20px rgba(10, 132, 255, 0.5); }
  100% { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 10px rgba(10, 132, 255, 0.3); }
}

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

/* Pulse Rings */
.pulse-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.8;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--primary);
}

.pulse-ring:nth-child(2) {
  animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
  animation-delay: 1s;
}

@keyframes pulse {
  0% {
    width: 50px;
    height: 50px;
    opacity: 0.8;
    box-shadow: 0 0 10px var(--primary);
  }
  100% {
    width: 150px;
    height: 150px;
    opacity: 0;
    box-shadow: 0 0 30px var(--primary);
  }
}

/* Particle System */
.particles-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  overflow: hidden;
  border-radius: 8px;
}

.particles-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0.5;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.3s ease-out;
}

.particle:hover {
  transform: scale(2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

/* Animation Tech Section */
.animation-tech {
  padding: 4rem 2rem;
  background: var(--background);
  margin-top: 4rem;
}

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

.tech-card {
  background: var(--surface);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-10px);
}

.tech-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.tech-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.tech-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CEO Section */
.ceo-section {
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border);
  padding: 2.5rem 2rem;
  animation: fadeInUp 1.2s;
}
.ceo-section h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Orbitron', Arial, sans-serif;
}

.ceo-card {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.ceo-photo {
  flex-shrink: 0;
}
#ceo-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 8px 32px #0A84FF22;
  transition: transform 0.3s;
}
#ceo-image:hover {
  transform: scale(1.05);
}

.ceo-info {
  flex: 1;
}
.ceo-info h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', Arial, sans-serif;
}
.ceo-info h4 {
  color: var(--text-main);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: 'Orbitron', Arial, sans-serif;
}
.ceo-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.ceo-stats {
  display: flex;
  gap: 2rem;
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  font-family: 'Orbitron', Arial, sans-serif;
}
.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Dark Mode for Animations */
body.dark-mode .animation-card {
  background: #23234B;
  color: #F5F7FA;
}
body.dark-mode .ceo-section {
  background: #23234B;
  color: #F5F7FA;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .ceo-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .ceo-stats {
    justify-content: center;
  }
  .animation-grid {
    grid-template-columns: 1fr;
  }
  .animation-card {
    padding: 1.5rem;
  }
} 

/* Premium CEO Section */
.ceo-premium {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 4rem auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px #0A84FF22;
  border: var(--border);
  padding: 3rem 2rem 2.5rem 2rem;
  overflow: hidden;
  z-index: 1;
}
.ceo-bg-anim {
  position: absolute;
  top: -40px; left: -40px; right: -40px; bottom: -40px;
  background: radial-gradient(circle at 70% 30%, #0A84FF33 0%, transparent 70%),
              radial-gradient(circle at 20% 80%, #0A84FF22 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: ceo-bg-move 8s ease-in-out infinite alternate;
}
@keyframes ceo-bg-move {
  0% { background-position: 70% 30%, 20% 80%; }
  100% { background-position: 60% 40%, 30% 70%; }
}
.ceo-premium-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.ceo-premium-photo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ceo-image-premium {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 0 0 8px #0A84FF55, 0 8px 32px #0A84FF22;
  transition: box-shadow 0.3s, transform 0.3s;
  background: #fff;
}
#ceo-image-premium:hover {
  box-shadow: 0 0 0 16px #0A84FF99, 0 8px 32px #0A84FF44;
  transform: scale(1.04);
}
.ceo-premium-info {
  flex: 1;
  min-width: 0;
}
.ceo-title {
  font-size: 2.2rem;
  font-family: 'Orbitron', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.ceo-role {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-family: 'Inter', Arial, sans-serif;
}
.ceo-vision {
  font-size: 1.2rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.ceo-signature {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.3rem;
  color: #0A84FF;
  margin-bottom: 1.5rem;
  font-style: italic;
  letter-spacing: 2px;
}
.ceo-social {
  margin-bottom: 1.5rem;
}
.ceo-social a {
  color: #0A84FF;
  transition: color 0.2s;
  margin-right: 0.5rem;
}
.ceo-social a:hover {
  color: #23234B;
}
.ceo-premium-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
}
.ceo-premium-stats .stat {
  text-align: center;
}
.ceo-premium-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  font-family: 'Orbitron', Arial, sans-serif;
}
.ceo-premium-stats .stat-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

body.dark-mode .ceo-premium {
  background: #23234B;
  color: #F5F7FA;
  border-color: #23234B;
}
body.dark-mode .ceo-premium-info .ceo-vision {
  color: #E0E6ED;
}
body.dark-mode .ceo-premium-info .ceo-signature {
  color: #0A84FF;
}
body.dark-mode .ceo-premium-stats .stat-label {
  color: #BFC9D1;
}

@media (max-width: 900px) {
  .ceo-premium-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .ceo-premium-photo {
    justify-content: center;
  }
  .ceo-premium-info {
    width: 100%;
  }
  .ceo-premium-stats {
    justify-content: center;
    gap: 1.5rem;
  }
} 

/* Premium Global Typography */
body, html {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background: var(--background);
}
h1, h2, h3, h4, h5, h6, .logo, .cta, .showcase-link, .feature-icon {
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

/* Premium Card & Section Styles */
.about, .contact, .legal, .settings, .features, .app-showcase, .about-blurb, .app-card, .feature, .carousel-item, .ceo-premium, .animation-showcase, .ceo-section {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 8px 32px #0A84FF11;
  border: var(--border);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1.2s;
  transition: box-shadow 0.3s, background 0.3s;
}

/* Section Fade-in Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}

/* Premium Buttons */
.cta, .animated-cta, .showcase-link, .download-links a {
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 4px 24px #0A84FF22;
  letter-spacing: 0.04em;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
  border: none;
  outline: none;
  margin-bottom: 0.5rem;
}
.cta:hover, .animated-cta:hover, .showcase-link:hover, .download-links a:hover {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  transform: scale(1.05);
  box-shadow: 0 8px 32px #0A84FF33;
}

/* Premium Links */
a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
a:hover {
  color: #23234B;
}

/* Section Spacing */
main > section, .main-section {
  margin-bottom: 3.5rem;
}

/* Responsive Premium Adjustments */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .about, .contact, .legal, .settings, .features, .app-showcase, .about-blurb, .app-card, .feature, .carousel-item, .ceo-premium, .animation-showcase, .ceo-section {
    padding: 1.2rem 0.7rem;
    border-radius: 16px;
  }
}
@media (max-width: 600px) {
  body, html {
    font-size: 15px;
  }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .about, .contact, .legal, .settings, .features, .app-showcase, .about-blurb, .app-card, .feature, .carousel-item, .ceo-premium, .animation-showcase, .ceo-section {
    padding: 0.7rem 0.2rem;
    border-radius: 10px;
  }
} 

/* Search Icon in Header */
.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem;
  cursor: pointer;
  z-index: 202;
  background: none;
  border: none;
  outline: none;
  transition: background 0.2s;
}
.search-icon:focus, .search-icon:hover {
  background: #E0E6ED;
  border-radius: 50%;
}

/* Search Modal Overlay */
.search-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,26,42,0.85);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.search-modal.open {
  display: flex;
}
.search-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px #0A84FF33;
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 90vw;
  position: relative;
  text-align: center;
}
.search-input {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 1.5px solid #E0E6ED;
  margin-bottom: 1.5rem;
  outline: none;
  transition: border 0.2s;
}
.search-input:focus {
  border: 1.5px solid #0A84FF;
}
.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #0A84FF;
  cursor: pointer;
  z-index: 1;
  transition: color 0.2s;
}
.search-close:hover {
  color: #23234B;
}
.search-results {
  color: #23234B;
  font-size: 1rem;
  min-height: 2rem;
}

body.dark-mode .search-modal-content {
  background: #23234B;
  color: #F5F7FA;
}
body.dark-mode .search-input {
  background: #181A2A;
  color: #F5F7FA;
  border: 1.5px solid #23234B;
}
body.dark-mode .search-input:focus {
  border: 1.5px solid #0A84FF;
}
body.dark-mode .search-close {
  color: #0A84FF;
}
body.dark-mode .search-close:hover {
  color: #fff;
}
body.dark-mode .search-results {
  color: #F5F7FA;
}

@media (max-width: 600px) {
  .search-modal-content {
    min-width: 90vw;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .search-input {
    font-size: 1rem;
    padding: 0.7rem;
  }
}