* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00d9ff;
  --primary-dark: #00b8d4;
  --bg-dark: #0a0a0a;
  --bg-secondary: #151515;
  --bg-tertiary: #1f1f1f;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --border: #2a2a2a;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  position: relative;
  display: inline-block;
}

.logo h1::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  opacity: 0.6;
}

.tagline {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--bg-dark);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-dark) 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  background: var(--primary);
  color: var(--bg-dark);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-large:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  padding: 16px 32px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

.link-primary {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.link-primary:hover {
  color: var(--primary-dark);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-tertiary);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* How It Works Section */
.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: var(--bg-secondary);
  padding: 40px 30px;
  border-radius: 12px;
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.step:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  position: relative;
  padding-bottom: 12px;
}

.step h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--primary);
  opacity: 0.4;
}

.step p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.step-arrow {
  font-size: 36px;
  color: var(--primary);
  font-weight: bold;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-dark);
}

.features h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  width: 100%;
  padding-bottom: 20px;
}

.features h2::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  border-radius: 2px;
}

.features h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary);
  opacity: 0.5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.2px;
  position: relative;
  padding-left: 8px;
}

.feature-item h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  border-radius: 2px;
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Tool Section */
.tool-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  min-height: 100vh;
}

.tool-header {
  text-align: center;
  margin-bottom: 40px;
}

.tool-header h2 {
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.tool-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  border-radius: 2px;
}

.tool-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

#app-container {
  background: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 800px;
  position: relative;
}

#app-container iframe {
  width: 100%;
  height: 100vh;
  min-height: 800px;
  border: none;
  display: block;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-secondary);
}

.spinner {
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  opacity: 0.5;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-section kbd {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  font-family: monospace;
  font-size: 12px;
  color: var(--primary);
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

/* Decorative Dividers */
.divider {
  height: 1px;
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.decorative-divider-1 {
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--border) 20%, 
    var(--primary) 50%, 
    var(--border) 80%, 
    transparent 100%);
  height: 2px;
  margin: 60px 0;
  opacity: 0.6;
}

.decorative-divider-1::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.decorative-divider-2 {
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--border) 30%, 
    var(--primary) 50%, 
    var(--border) 70%, 
    transparent 100%);
  height: 1px;
  margin: 60px 0;
  opacity: 0.4;
}

.decorative-divider-2::before,
.decorative-divider-2::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
}

.decorative-divider-2::before {
  left: 45%;
}

.decorative-divider-2::after {
  right: 45%;
}

.decorative-divider-3 {
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--border) 25%, 
    var(--primary) 50%, 
    var(--border) 75%, 
    transparent 100%);
  height: 2px;
  margin: 60px 0;
  opacity: 0.5;
}

.decorative-divider-3::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
  .how-it-works {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  .hero h2 {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .header .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-large, .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .features h2 {
    font-size: 32px;
  }

  .tool-header h2 {
    font-size: 32px;
  }

  .divider {
    margin: 40px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

