/* 
   promptchan.pw Styles 
   Modern, responsive design optimized for SEO
*/

/* Base Styles & Reset */
:root {
  --primary-color: #FF6B6B;
  --secondary-color: #FF8E53;
  --gradient: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  --dark-color: #2A2A2A;
  --text-color: #333333;
  --light-text: #666666;
  --bg-color: #FFFFFF;
  --card-bg: #FFFFFF;
  --border-radius: 10px;
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--primary-color);
  opacity: 0.2;
  z-index: -1;
  border-radius: 5px;
}

/* Buttons */
.primary-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--gradient);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
  transition: var(--transition);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

.primary-button.large {
  font-size: 1.1rem;
  padding: 18px 40px;
}

.secondary-button {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.secondary-button:hover {
  background: rgba(255, 107, 107, 0.1);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Gradient Background */
.gradient-bg {
  background: var(--gradient);
  color: white;
  position: relative;
}

/* Header */
header {
  padding: 1.5rem 0;
}

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

.logo a {
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.menu-button span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: white;
  transition: var(--transition);
}

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

.main-nav ul li a {
  color: white;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: var(--transition);
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
  padding: 5rem 0 8rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.hero-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: -1;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background: #f9f9f9;
}

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

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.cta-center {
  text-align: center;
  margin-top: 4rem;
}

/* Examples Section */
.examples {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

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

.example {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.example:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.example p {
  padding: 1rem;
  text-align: center;
  font-weight: 500;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: #f9f9f9;
}

.faq-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: var(--gradient);
  color: white;
}

.cta-section h2, .cta-section p {
  color: white;
}

.cta-section h2 .highlight::after {
  background: white;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.cta-section .primary-button {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .primary-button:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.footer-links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.link-column {
  flex: 1;
  min-width: 180px;
  margin-bottom: 2rem;
}

.link-column h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.link-column ul li {
  margin-bottom: 0.8rem;
}

.link-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.link-column ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.copyright p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .feature-cards, .steps, .examples-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .menu-button {
    display: flex;
    z-index: 101;
  }
  
  .menu-toggle:checked ~ .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu-toggle:checked ~ .menu-button span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle:checked ~ .menu-button span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked ~ .menu-button span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
  }
  
  .main-nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  .main-nav ul li {
    margin-bottom: 2rem;
  }
  
  .main-nav ul li a {
    font-size: 1.5rem;
  }
  
  .cta-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .secondary-button {
    width: 100%;
    text-align: center;
  }
  
  .primary-button {
    width: 100%;
    text-align: center;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links {
    flex-direction: column;
  }
  
  .link-column {
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .hero {
    padding: 3rem 0 6rem;
  }
  
  .feature-card, .faq-item {
    padding: 1.5rem;
  }
}

/* SVG Animation */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
