/* Runway ML - CSS Styling */

:root {
  --runway-primary: #00ff88;
  --runway-secondary: #ff3366;
  --runway-accent: #8b5cf6;
  --runway-dark: #1a1a1a;
  --runway-light: #f8fafc;
  --runway-border: #e1e5e9;
  --runway-shadow: rgba(0, 255, 136, 0.2);
  --runway-gradient: linear-gradient(135deg, #00ff88 0%, #ff3366 100%);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #374151;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>')
    repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero-icon {
  font-size: 4rem;
  color: var(--runway-primary);
  margin-bottom: 20px;
  display: block;
}

.hero-stats {
  margin-top: 40px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--runway-primary);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 5px;
}

/* Section Titles */
.section-title {
  color: #1f2937;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

/* Tutorial Cards */
.tutorial-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin: 25px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--runway-primary);
  transition: all 0.3s ease;
}

.tutorial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px var(--runway-shadow);
}

.tutorial-step {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  border-left: 4px solid var(--runway-accent);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background: var(--runway-gradient);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.prompt-example {
  background: var(--runway-dark);
  color: #00ff88;
  padding: 20px;
  border-radius: 10px;
  font-family: "Monaco", "Menlo", monospace;
  margin: 15px 0;
  border: 2px solid var(--runway-primary);
}

.tip-box {
  background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
  border: 1px solid #0288d1;
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #0288d1;
}

/* Model Cards */
.model-showcase {
  margin: 30px 0;
}

.model-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--runway-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--runway-gradient);
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px var(--runway-shadow);
}

.model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.model-badge {
  background: var(--runway-primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.new-badge {
  background: var(--runway-secondary);
  animation: pulse 2s infinite;
}

.tech-highlight {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--runway-primary);
}

/* Buttons */
.btn-runway {
  background: var(--runway-gradient);
  color: white;
  padding: 15px 35px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-runway:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 255, 136, 0.4);
  color: white;
  text-decoration: none;
}

/* Pricing Tables */
.pricing-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--runway-border);
  height: 100%;
}

.pricing-table:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--runway-shadow);
}

.pricing-table.featured {
  border: 3px solid var(--runway-primary);
  transform: scale(1.05);
  position: relative;
}

.pricing-table.featured::before {
  content: "Più Popolare";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--runway-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.pricing-header {
  padding: 30px 20px;
  text-align: center;
  color: white;
}

.basic-plan {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.standard-plan {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.pro-plan {
  background: var(--runway-gradient);
}

.unlimited-plan {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.pricing-body {
  padding: 30px 20px;
}

.pricing-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-body li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-body li:last-child {
  border-bottom: none;
}

/* CTA Section */
.runway-cta {
  background: var(--runway-gradient);
  color: white;
  text-align: center;
}

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

.runway-cta .btn-runway:hover {
  background: #f8fafc;
  color: var(--runway-secondary);
}

/* Animations */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animation.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Links */
.glossary-link {
  color: var(--runway-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--runway-primary);
  transition: all 0.3s ease;
}

.glossary-link:hover {
  color: var(--runway-secondary);
  border-bottom-style: solid;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .tutorial-card {
    padding: 20px;
  }

  .tutorial-step {
    flex-direction: column;
    gap: 15px;
  }

  .step-number {
    align-self: flex-start;
  }

  .model-card {
    padding: 20px;
  }

  .pricing-table.featured {
    transform: none;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .btn-runway {
    padding: 12px 25px;
    font-size: 1rem;
  }
}
