/* 
 * new-styles.css
 * Modern, sleek design for aiporngenerator.autos
 * Optimized for mobile responsiveness and performance
 */

/* Base Styles and CSS Reset */
:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --accent-color: #ff4d94;
  --text-color: #333333;
  --light-text: #ffffff;
  --dark-bg: #0f0828;
  --light-bg: #f0f4f8;
  --card-bg: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow: 0 10px 30px rgba(106, 17, 203, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
}

.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.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  background: var(--gradient);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: -1rem auto 2rem;
  color: #666;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button.primary {
  background: var(--gradient);
  color: var(--light-text);
}

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

.button.large {
  padding: 15px 32px;
  font-size: 1.1rem;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.button.primary:hover {
  background: linear-gradient(135deg, #7b21db, #3585fc);
}

.button.secondary:hover {
  background: rgba(106, 17, 203, 0.05);
}

/* Header */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

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

.logo {
  width: 60px;
  height: 60px;
}

nav ul {
  display: flex;
  gap: 30px;
}

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

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

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
#hero {
  padding: 80px 0;
  background: var(--gradient);
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='white' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/svg%3E");
}

.hero-content {
  max-width: 550px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-content h2:after {
  margin: 0.8rem 0 0;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

#hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Features Section */
#features {
  padding: 100px 0;
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(106, 17, 203, 0.2);
}

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

/* How It Works Section */
#how-it-works {
  padding: 100px 0;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

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

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -15px;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  display: none;
}

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

.cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Examples Section */
#examples {
  padding: 100px 0;
}

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

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

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(106, 17, 203, 0.2);
}

.example-placeholder {
  overflow: hidden;
}

.example-card h3 {
  padding: 20px;
  text-align: center;
  background: var(--light-bg);
}

/* FAQ Section */
#faq {
  padding: 100px 0;
  background: #f9fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
}

/* CTA Section */
#cta {
  padding: 80px 0;
  background: var(--gradient);
  color: var(--light-text);
  text-align: center;
}

#cta h2 {
  font-size: 2.5rem;
}

#cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: var(--light-text);
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 60px;
}

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

.footer-logo p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-column h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #bbb;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-graphic {
    display: none;
  }
  
  #hero .container {
    justify-content: center;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  #hero {
    padding: 60px 0;
  }

  .hero-content h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-content h2:after {
    margin: 0.8rem auto 0;
  }
  
  .hero-content p {
    text-align: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  #features, #how-it-works, #examples, #faq, #cta {
    padding: 60px 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .button {
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .features-grid, .steps, .examples-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    gap: 30px;
  }
}
