/* 
* Main styles for freeaiporn.guru
* Unique orange/golden gradient design
*/

:root {
  --primary: #FF6B6B;
  --secondary: #FFA53E;
  --accent: #FF8E53;
  --dark: #1A1A1A;
  --light: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 5px 20px rgba(255, 165, 62, 0.2);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

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

h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

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

p {
  margin-bottom: 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  text-align: center;
}

.primary {
  background: var(--gradient);
  color: var(--light);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

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

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

.secondary:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
}

.large {
  padding: 16px 40px;
  font-size: 18px;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-menu a:not(.nav-cta):hover::after {
  width: 100%;
}

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

.nav-cta {
  background: var(--gradient);
  padding: 10px 20px;
  border-radius: 50px;
  color: var(--light) !important;
}

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

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--dark-gray);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

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

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

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

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

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--light-gray);
}

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

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

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

.feature-icon {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
}

.step {
  flex: 1;
  min-width: 250px;
  background: var(--light);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 165, 62, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--light);
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

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

/* Examples Section */
.examples {
  padding: 100px 0;
  background-color: var(--light-gray);
}

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

.content-type {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.content-type:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 165, 62, 0.3);
}

.content-type-icon {
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: var(--light);
}

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

.faq-item {
  background: var(--light);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(255, 165, 62, 0.05);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.faq-icon {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 1000px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.cta h2 {
  color: var(--light);
}

.cta p {
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.footer-logo p {
  margin-top: 15px;
  font-weight: 600;
  margin-bottom: 0;
}

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

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

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--primary);
}

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

/* Responsive Styles */
@media screen and (max-width: 991px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-visual {
    opacity: 0.3;
    right: -100px;
  }
  
  .hero-content {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 2000;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    padding: 80px 40px;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  header.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  header.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .steps {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}
