/* 
   aiundressfree.download - Main Stylesheet
   Using a unique emerald green and dark theme
*/

/* Base styles and variables */
:root {
  --primary: #1C5534;
  --primary-light: #367A49;
  --primary-dark: #0F4123;
  --secondary: #7FE1AD;
  --secondary-light: #A4ECC7;
  --secondary-dark: #5ABF88;
  --dark: #1A1A1A;
  --light: #f5f5f5;
  --gray: #777777;
  --gray-light: #e0e0e0;
  --gray-dark: #333333;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5 {
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

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

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

section {
  padding: 80px 0;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
}

.btn.primary {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}

.btn.primary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn.secondary:hover {
  background-color: rgba(127, 225, 173, 0.1);
  transform: translateY(-3px);
}

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

/* Header styles */
header {
  background-color: var(--primary);
  color: var(--light);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--light);
  font-weight: 700;
  font-size: 1.3rem;
}

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

nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--light);
  font-weight: 500;
}

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

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

.menu-toggle span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--light);
  border-radius: 3px;
  transition: transform 0.3s ease;
}

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

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

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

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--light);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 25px;
}

.hero-content span {
  color: var(--secondary);
}

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

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

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

/* Features section */
.features {
  background-color: var(--light);
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-card svg {
  margin: 0 auto 20px;
}

/* How it works section */
.how-it-works {
  background-color: var(--gray-light);
  text-align: center;
}

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

.step {
  flex: 1;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

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

/* FAQ section */
.faq {
  background-color: white;
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 20px;
  background-color: var(--light);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--gray-light);
}

.arrow {
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 300px;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--light);
  text-align: center;
  padding: 60px 0;
}

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

.cta-section h2:after {
  background-color: var(--secondary);
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

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

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

.footer-brand {
  text-align: center;
  max-width: 300px;
}

.footer-logo {
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.footer-brand p {
  color: var(--gray);
}

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

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

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: var(--gray-light);
}

.link-group ul li a:hover {
  color: var(--secondary);
}

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

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content, .hero-visual {
    width: 100%;
    text-align: center;
  }
  
  .hero-visual svg {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .steps {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--primary);
    flex-direction: column;
    padding: 20px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.active {
    max-height: 300px;
    padding: 20px 0;
  }
  
  nav ul li:last-child {
    margin-top: 10px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-around;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
