/* Custom CSS for aipornprompt.pw */
/* Modern terminal/code editor inspired theme */

:root {
  --primary: #7C4DFF;
  --primary-dark: #512DA8;
  --accent: #FF9E80;
  --background: #121212;
  --terminal-bg: #1E1E1E;
  --terminal-header: #333333;
  --text-light: #E0E0E0;
  --text-dim: #9E9E9E;
  --text-dark: #212121;
  --terminal-text: #F5F5F5;
  --prompt-color: #00E676;
  --command-color: #64B5F6;
  --output-color: #B0BEC5;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Consolas', 'Courier New', monospace;
  background-color: var(--background);
  color: var(--text-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-title h1 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 2px;
}

.site-title span {
  color: var(--accent);
}

.site-title p {
  font-size: 14px;
  color: var(--text-dim);
}

.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.access-btn {
  background: var(--primary);
  color: #FFF !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3);
}

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

.access-btn::after {
  display: none;
}

/* Terminal Hero Section */
.terminal-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}

.terminal-window {
  width: 100%;
  max-width: 600px;
  background: var(--terminal-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.terminal-header {
  background: var(--terminal-header);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-button:nth-child(1) {
  background-color: #FF5F56;
}

.terminal-button:nth-child(2) {
  background-color: #FFBD2E;
}

.terminal-button:nth-child(3) {
  background-color: #27C93F;
}

.terminal-title {
  margin-left: 15px;
  color: var(--text-dim);
  font-size: 14px;
}

.terminal-body {
  padding: 20px;
  min-height: 300px;
}

.terminal-line {
  margin-bottom: 15px;
  color: var(--terminal-text);
  font-size: 14px;
}

.prompt-symbol {
  color: var(--prompt-color);
  margin-right: 8px;
}

.command {
  color: var(--command-color);
}

.output {
  color: var(--output-color);
  padding-left: 20px;
}

.typing-cursor {
  display: inline-block;
  width: 10px;
  height: 18px;
  background-color: var(--primary);
  margin-left: 5px;
  animation: cursor-blink 1.2s infinite;
}

@keyframes cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.highlight {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  left: 0;
  background-color: rgba(124, 77, 255, 0.2);
  z-index: -1;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 30px;
  max-width: 450px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(124, 77, 255, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(124, 77, 255, 0.4);
  color: white;
}

.cta-button.large {
  padding: 18px 36px;
  font-size: 18px;
}

.cta-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(5px);
}

/* Feature Section */
.feature-section {
  padding: 60px 0;
}

.feature-section h2 {
  font-size: 32px;
  margin-bottom: 50px;
  text-align: center;
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(124, 77, 255, 0.2);
  border-color: rgba(124, 77, 255, 0.3);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-dim);
  font-size: 14px;
}

/* Examples Section */
.examples-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.02);
}

.examples-section h2 {
  font-size: 32px;
  margin-bottom: 50px;
  text-align: center;
  color: var(--primary);
}

.examples-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.example-card {
  background: var(--terminal-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.example-prompt {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prompt-label {
  display: inline-block;
  background: rgba(124, 77, 255, 0.2);
  color: var(--primary);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.prompt-code {
  font-family: 'Consolas', monospace;
  color: var(--command-color);
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  background: transparent;
  padding: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.example-preview {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.example-svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.examples-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.secondary-button {
  padding: 12px 25px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: rgba(124, 77, 255, 0.1);
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
}

.faq-section h2 {
  font-size: 32px;
  margin-bottom: 50px;
  text-align: center;
  color: var(--primary);
}

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

.faq-item {
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: var(--border-radius);
  border-left: 3px solid var(--primary);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.faq-item p {
  color: var(--text-dim);
  font-size: 15px;
}

/* Access Section */
.access-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1) 0%, rgba(81, 45, 168, 0.2) 100%);
  text-align: center;
  border-radius: var(--border-radius);
  margin: 60px 0;
}

.access-content {
  max-width: 600px;
  margin: 0 auto;
}

.access-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary);
}

.access-section p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.access-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.access-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-light);
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-text h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.footer-text p {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-keywords {
  color: var(--text-dim);
  font-size: 14px;
  opacity: 0.7;
}

.copyright {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  opacity: 0.5;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cursor-blink {
  animation: cursor-blink 1.2s infinite;
}

.sparkle {
  animation: sparkle 3s infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .terminal-section {
    flex-direction: column-reverse;
  }
  
  .terminal-window {
    max-width: 100%;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-content p {
    margin: 0 auto 30px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .examples-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-keywords {
    text-align: center;
  }
}
