/* 
==============================================
MAIN STYLES - freeaiporngenerator.love
==============================================
*/

/* Base Styles and Variables */
:root {
  --primary: #f0c030;
  --primary-dark: #d9a520;
  --secondary: #1e3a23;
  --secondary-dark: #0a150c;
  --accent: #4caf50;
  --text: #ffffff;
  --text-dark: #e0e0e0;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --bg-gradient: linear-gradient(to bottom, var(--secondary) 0%, var(--secondary-dark) 100%);
  --card-bg: rgba(30, 58, 35, 0.8);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-height: 70px;
}

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

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--secondary-dark);
  overflow-x: hidden;
  position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

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

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

p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

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

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

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

/* Utility Classes */
.accent-text {
  color: var(--primary);
  display: inline-block;
}

/* Grid Background */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(10, 21, 12, 0.97), rgba(10, 21, 12, 0.97)),
    linear-gradient(0deg, transparent 24%, rgba(240, 192, 48, 0.05) 25%, rgba(240, 192, 48, 0.05) 26%, transparent 27%, transparent 74%, rgba(240, 192, 48, 0.05) 75%, rgba(240, 192, 48, 0.05) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(240, 192, 48, 0.05) 25%, rgba(240, 192, 48, 0.05) 26%, transparent 27%, transparent 74%, rgba(240, 192, 48, 0.05) 75%, rgba(240, 192, 48, 0.05) 76%, transparent 77%, transparent);
  background-size: 100% 100%, 50px 50px, 50px 50px;
  z-index: -1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 21, 12, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(240, 192, 48, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-svg {
  margin-right: 10px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.nav-cta {
  background-color: var(--primary);
  color: var(--secondary-dark);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(240, 192, 48, 0.3);
  color: var(--secondary-dark);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--primary);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  top: 18px;
}

.menu-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

/* Buttons */
.primary-button {
  display: inline-block;
  background-color: var(--primary);
  color: var(--secondary-dark);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(240, 192, 48, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.primary-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(240, 192, 48, 0.5);
  color: var(--secondary-dark);
}

.secondary-button {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary);
  margin-left: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.secondary-button:hover {
  background-color: rgba(240, 192, 48, 0.1);
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 4rem) 0 6rem;
  overflow: hidden;
  position: relative;
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-svg {
  max-width: 100%;
  height: auto;
}

.pulse-element {
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.cta-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(to bottom, var(--secondary-dark), rgba(10, 21, 12, 0.8));
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(240, 192, 48, 0.1);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(240, 192, 48, 0.3);
}

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

.feature-card h3 {
  color: var(--primary);
  text-align: center;
}

.feature-card p {
  text-align: center;
}

/* Generator/How It Works Section */
.generator {
  padding: 6rem 0;
  background-color: rgba(10, 21, 12, 0.7);
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.step {
  display: flex;
  align-items: flex-start;
  width: 30%;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.95rem;
}

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

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background: linear-gradient(to bottom, rgba(10, 21, 12, 0.8), var(--secondary-dark));
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 192, 48, 0.1);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(240, 192, 48, 0.2);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(45deg, rgba(30, 58, 35, 0.9), rgba(10, 21, 12, 0.9)),
              url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0c030' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background-color: rgba(10, 21, 12, 1);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(240, 192, 48, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-logo svg {
  margin-right: 10px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  text-align: center;
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .step {
    width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(10, 21, 12, 0.97);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 1rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .secondary-button {
    margin: 1rem 0 0;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
