:root {
  --color-just-black: #000;
  --color-surface50: #7c7c6f;
  --gradient-macha: linear-gradient(114.41deg, #0ae448 20.74%, #abff84 65.5%);
  --gradient-orange-crush: linear-gradient(
    111.45deg,
    #ff8709 19.42%,
    #fc2a97 73.08%
  );
  --gradient-skyfall: linear-gradient(
    131.77deg,
    #0a157a 30.82%,
    #15bfe4 81.82%
  );
  --muted: #cfcfcf;
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 12px;
  --max-width: 1100px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: linear-gradient(111.45deg, #ff8709 19.42%, #ff6309 73.08%);
  --primary-dark: linear-gradient(111.45deg, #e97b05 19.42%, #e85703 73.08%);
  --secondary-color: #6c757d;
  --highlight-color: #fd7c1a;
  --success-color: #28a745;
  --background-color: #e5d9f2;
  --surface-color: #f5efff;
  --text-primary: black;
  --text-secondary: #796c7d;
  --border-color: #1d0802;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-color);
}

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

section {
  padding: 70px 0;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: black;
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--surface-color);
  border-color: var(--primary-color);
  color: black;
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 30px;
  font-size: 16px;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.8;
  background-image: radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px);
  background-size: 10px 10px;
  color: black;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  background: var(--gradient-orange-crush);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

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

/* Demo Section */
.demo-section {
  background: var(--surface-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.demo-container {
  max-width: 1400px;
  padding: 0 2vw;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.carousel-slide {
  width: 280px;
  background: white;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.slide-content {
  padding: 2rem;
  text-align: center;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.slide-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.slide-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
  transition: var(--transition);
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.demo-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.demo-btn {
  padding: 8px 16px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
}

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

/* Features Section */

.features-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  width: 400px;
  padding: 1.4rem 1.6rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border-color);
}

.feature-icon {
  font-size: 3rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Quick Start Section */

.code-example {
  background: #1e1e1e;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  overflow: hidden;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.code-header {
  background: #2d2d2d;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e0e0e0;
  font-size: 0.875rem;
}

.copy-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary-dark);
}

.code-example pre {
  padding: 1.5rem;
  margin: 0;
  overflow-x: auto;
}

.code-example code {
  color: #e0e0e0;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #f9b16e 0%, #f68080 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

/* Footer */
.footer {
  background: #100b09;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #f1efec;
}

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

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

.footer-section a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid gray;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .carousel-container {
    margin: 0 50px;
  }

  .carousel-slide {
    width: 250px;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .carousel-container {
    margin: 0 40px;
  }

  .carousel-slide {
    width: 220px;
  }

  .slide-content {
    padding: 1.5rem;
    height: 200px;
  }
}

/* Documentation specific styles */
.docs-container {
  display: flex;
  min-height: calc(100vh - 70px);
  margin-top: 70px;
}

.docs-sidebar {
  width: 280px;
  position: relative;
  background: white;
  border-right: 1px solid var(--border-color);
  padding-top: 2rem;
  position: fixed;
  height: calc(100vh - 70px);
  z-index: 100;
}

.docs-content {
  flex: 1;
  margin-left: 280px;
  padding: 2rem;
  max-width: calc(100% - 280px);
}

.sidebar-section {
  margin-bottom: 1rem;
}

.sidebar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 1.5rem;
}

.sidebar-link {
  display: block;
  padding: 0.4rem 1.6rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.sidebar-link:hover {
  background: var(--surface-color);
  color: var(--highlight-color);
}

.sidebar-link.active {
  background: var(--surface-color);
  color: var(--highlight-color);
  border-left-color: var(--highlight-color);
}

.content-section {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.docs-header {
  margin-bottom: 3rem;
}

.docs-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.docs-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.content-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.content-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.content-text {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.options-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.options-table th {
  background: var(--surface-color);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.options-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.options-table code {
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: "Monaco", "Menlo", monospace;
  font-size: 0.875rem;
}

.warning-box {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 1.5rem 0;
}

.info-box {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 1.5rem 0;
}

.success-box {
  background: #e8f5e8;
  border: 1px solid #81c784;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 1.5rem 0;
}

.docs-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .docs-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .docs-sidebar.open {
    transform: translateX(0);
  }

  .docs-content {
    margin-left: 0;
    max-width: 100%;
  }

  .docs-toggle {
    display: block;
    position: absolute;
    top: 10px;
    left: 105%;
    z-index: 200;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
  }
}

/* Demo-Specific Styles */
.demo-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.demo-section:nth-child(even) {
  background: var(--surface-color);
}

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

.demo-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.demo-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
}

.demo-features {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.demo-feature {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Hero Carousel Styles */
.hero-carousel {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.hero-slide {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
}

.hero-slide:nth-child(2) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-slide:nth-child(3) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-slide:nth-child(4) {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.hero-slide:nth-child(5) {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Product Cards */
.product-card {
  width: 280px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--highlight-color);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Testimonial Cards */
.testimonial-card {
  width: 350px;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Logo Grid */
.logo-item {
  width: 150px;
  height: 80px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* Text Marquee */
.text-marquee {
  background: var(--primary-color);
  color: white;
  padding: 20px 0;
  font-size: 2rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-item {
  display: inline-block;
  padding: 0 2rem;
}

/* Code Display */
.code-display {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.code-display pre {
  margin: 0;
  overflow-x: auto;
}

.code-display code {
  color: #e0e0e0;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Controls */
.demo-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.control-btn {
  padding: 8px 16px;
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
  .hero-carousel {
    height: 300px;
  }

  .hero-slide {
    height: 300px;
    font-size: 1.5rem;
  }

  .product-card,
  .testimonial-card {
    width: 250px;
  }
}
