/* 
 * Modern, SEO-optimized CSS for aiporngenerate.site
 * Completely different design from the previous website
 * Mobile-first responsive design
 */

:root {
  --primary-color: #FF4500;
  --secondary-color: #FF8C00;
  --primary-gradient: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
  --text-color: #333;
  --text-light: #777;
  --background: #fcfcfc;
  --card-bg: #fff;
  --card-shadow: 0 8px 20px rgba(0,0,0,0.08);
  --border-radius: 8px;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1em;
}

section {
  padding: 60px 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
  color: white;
}

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

.btn-secondary:hover {
  background: rgba(255, 69, 0, 0.1);
  color: var(--primary-color);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Navigation */
.main-nav {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 100;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
  overflow: hidden;
  position: relative;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

/* Generator Section */
.generator-section {
  background: white;
}

.generator-box {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.generator-preview {
  width: 100%;
  max-height: 300px;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.generator-controls {
  padding: 30px;
  text-align: center;
}

.control-group {
  margin-top: 20px;
}

.control-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: all 0.3s ease;
}

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

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

/* How It Works */
.how-it-works {
  background: white;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0;
}

.step {
  position: relative;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

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

.cta-box {
  background: var(--primary-gradient);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  color: white;
  margin-top: 40px;
}

.cta-box h3 {
  color: white;
  margin-bottom: 20px;
}

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

.cta-box .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
}

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

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-light);
}

/* Final CTA */
.final-cta {
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.final-cta h2 {
  color: white;
  margin-bottom: 10px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: #202020;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.footer-brand p {
  opacity: 0.7;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  .hero {
    padding: 100px 0;
  }
  
  .hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  
  .hero-content {
    flex: 1;
  }
  
  .hero-visual {
    flex: 1;
    margin-top: 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .generator-box {
    flex-direction: row;
  }
  
  .generator-preview {
    flex: 1;
    max-height: none;
  }
  
  .generator-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: row;
  }
  
  .footer-logo {
    flex: 1;
  }
  
  .footer-links {
    flex: 2;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Menu */
@media (max-width: 767px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content, .features-grid, .steps, .faq-list {
  animation: fadeIn 1s ease-out;
}
