
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Dark mode styles */
:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
}

[data-theme="dark"] {
  --bg-color: #1a1a1a;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #333333;
  --card-bg: #2d2d2d;
  --header-bg: #2d2d2d;
}

[data-theme="dark"] body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

[data-theme="dark"] section {
  background-color: var(--bg-color);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #ffffff;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

[data-theme="dark"] .header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links a {
  text-decoration: none;
  color: #666666;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #000000;
}

[data-theme="dark"] .nav-links a {
  color: var(--text-secondary);
}

[data-theme="dark"] .nav-links a:hover {
  color: var(--text-color);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

[data-theme="dark"] .mobile-menu-toggle {
  color: var(--text-color);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid #e0e0e0;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.9rem;
}

.btn:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

.btn.btn-primary {
  background: #000000;
  color: #ffffff;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.btn.btn-primary:hover {
  background: #333333;
}

[data-theme="dark"] .btn {
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .btn:hover {
  background: #404040;
}

/* Dark mode toggle button */
#dark-mode-toggle,
#dark-mode-toggle-mobile {
  width: 40px;
  height: 40px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid #e0e0e0;
}

#dark-mode-toggle:hover,
#dark-mode-toggle-mobile:hover {
  background: #f5f5f5;
}

[data-theme="dark"] #dark-mode-toggle,
[data-theme="dark"] #dark-mode-toggle-mobile {
  border: 1px solid var(--border-color);
}

[data-theme="dark"] #dark-mode-toggle:hover,
[data-theme="dark"] #dark-mode-toggle-mobile:hover {
  background: #404040;
}

#dark-mode-toggle svg,
#dark-mode-toggle-mobile svg {
  transition: transform 0.3s ease;
  color: #000000;
  width: 20px;
  height: 20px;
}

[data-theme="dark"] #dark-mode-toggle svg,
[data-theme="dark"] #dark-mode-toggle-mobile svg {
  color: #ffffff;
}

/* Show sun icon in light mode, moon icon in dark mode */
#dark-mode-toggle .moon-icon,
#dark-mode-toggle-mobile .moon-icon,
[data-theme="dark"] #dark-mode-toggle .sun-icon,
[data-theme="dark"] #dark-mode-toggle-mobile .sun-icon {
  display: none;
}

[data-theme="dark"] #dark-mode-toggle .moon-icon,
[data-theme="dark"] #dark-mode-toggle-mobile .moon-icon {
  display: block;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://static-files.umso.co/lib_wKjSpUuZlersnREl/iljqx1u89pi1bc07.gif') center/cover no-repeat;
  padding: 4rem 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .hero {
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('https://static-files.umso.co/lib_wKjSpUuZlersnREl/iljqx1u89pi1bc07.gif') center/cover no-repeat;
}

.hero-content h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

[data-theme="dark"] .hero-content h1 {
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .hero-content p {
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

[data-theme="dark"] .section-header h2 {
  color: var(--text-color);
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

[data-theme="dark"] .section-header p {
  color: var(--text-secondary);
}

/* How it works section */
.how-it-works {
  padding: 4rem 0;
  background: #ffffff;
}

[data-theme="dark"] .how-it-works {
  background: var(--bg-color);
}

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

.step {
  text-align: center;
}

.step-content h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

[data-theme="dark"] .step-content h3 {
  color: var(--text-color);
}

.step-content p {
  color: #666;
  margin-bottom: 2rem;
}

[data-theme="dark"] .step-content p {
  color: var(--text-secondary);
}

.step-image img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

/* Features section */
.features {
  padding: 4rem 0;
  background: #ffffff;
}

[data-theme="dark"] .features {
  background: var(--bg-color);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-text .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: #000000;
}

[data-theme="dark"] .feature-icon svg {
  fill: #ffffff;
}

.feature-title {
  font-weight: 500;
  color: #333;
}

[data-theme="dark"] .feature-title {
  color: var(--text-color);
}

/* Use cases section */
.use-cases {
  padding: 4rem 0;
  background: #ffffff;
}

[data-theme="dark"] .use-cases {
  background: var(--bg-color);
}

.use-cases-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.use-cases-sidebar .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

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

.use-case {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

[data-theme="dark"] .use-case {
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.use-case:hover {
  transform: translateY(-4px);
}

.use-case h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

[data-theme="dark"] .use-case h3 {
  color: var(--text-color);
}

/* Help section */
.help {
  padding: 4rem 0;
  background: #ffffff;
}

[data-theme="dark"] .help {
  background: var(--bg-color);
}

.help-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ section */
.faq {
  padding: 4rem 0;
  background: #ffffff;
}

[data-theme="dark"] .faq {
  background: var(--bg-color);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.faq-sidebar .section-header {
  text-align: left;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

[data-theme="dark"] .faq-item {
  border-bottom: 1px solid var(--border-color);
}

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

.faq-item h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

[data-theme="dark"] .faq-item h4 {
  color: var(--text-color);
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

[data-theme="dark"] .faq-item p {
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background: #ffffff;
  color: #000000;
  padding: 3rem 0 2rem;
  border-top: 1px solid #e0e0e0;
}

[data-theme="dark"] .footer {
  background: var(--bg-color);
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info p {
  color: #000000;
  font-size: 0.9rem;
}

[data-theme="dark"] .footer-info p {
  color: var(--text-color);
}

.footer-info a {
  color: #666666;
}

[data-theme="dark"] .footer-info a {
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #e0e0e0;
}

[data-theme="dark"] .social-links a {
  background: #404040;
  color: var(--text-color);
}

[data-theme="dark"] .social-links a:hover {
  background: #555555;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  list-style: none;
}

.footer-links h4 {
  margin-bottom: 1rem;
  color: #000000;
}

[data-theme="dark"] .footer-links h4 {
  color: var(--text-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #000000;
}

[data-theme="dark"] .footer-links a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--text-color);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-content {
  background: white;
  width: 80%;
  max-width: 400px;
  height: 100%;
  padding: 2rem;
  margin-left: auto;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .mobile-menu-content {
  background: var(--card-bg);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  color: #333;
  margin-bottom: 2rem;
}

[data-theme="dark"] .mobile-menu-close {
  color: var(--text-color);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mobile-menu-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

[data-theme="dark"] .mobile-menu-links a {
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-links,
  .nav-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .features-layout,
  .use-cases-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }
}

/* Smooth transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
