/* 
   aiundressfree.wiki - Main Stylesheet
   Using a unique teal and purple design theme
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  /* Color scheme - Teal and Purple theme */
  --primary: #3CAEA3;
  --primary-light: #73D2CA;
  --primary-dark: #2A8B80;
  --secondary: #2e1a47;
  --secondary-light: #573973;
  --secondary-dark: #1a0f29;
  --accent: #F6D55C;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --gray-dark: #343a40;
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--light);
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  line-height: 1.3;
  color: var(--secondary);
}

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

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
}

section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

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

p {
  margin-bottom: 1rem;
}

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

section {
  padding: var(--space-xl) 0;
}

section h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Header Styles */
header {
  background-color: var(--secondary);
  color: var(--light);
  padding: var(--space-md) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-svg {
  margin-right: var(--space-sm);
}

.logo span {
  font-size: 1.2rem;
}

nav ul {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

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

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

.cta-button {
  background-color: var(--primary);
  color: var(--secondary);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cta-button.primary {
  background-color: var(--primary);
  color: var(--secondary-dark);
}

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

.cta-button.large {
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
}

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

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

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

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: var(--light);
  padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

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

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

.hero h1 {
  color: var(--light);
  margin-bottom: var(--space-lg);
}

.hero h1 span {
  color: var(--primary);
  display: inline-block;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

.cta-group {
  display: flex;
  gap: var(--space-md);
}

/* Benefits Section */
.benefits {
  background-color: var(--light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.benefit-card {
  background-color: white;
  border-radius: 8px;
  padding: var(--space-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefit-card svg {
  margin: 0 auto var(--space-md);
}

.benefit-card h3 {
  margin-bottom: var(--space-md);
  color: var(--secondary);
}

/* Technology Section */
.technology {
  background-color: var(--gray-light);
}

.tech-showcase {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.tech-content {
  flex: 1;
}

.tech-visual {
  flex: 1;
  text-align: center;
}

.tech-features {
  margin: var(--space-lg) 0;
}

.tech-features li {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.check-icon {
  margin-right: var(--space-sm);
  flex-shrink: 0;
}

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

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

.faq-item {
  margin-bottom: var(--space-md);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
}

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

.faq-question:hover {
  background-color: rgba(60, 174, 163, 0.05);
}

.faq-question .arrow {
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  max-height: 300px;
}

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

.cta-section h2 {
  color: white;
}

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

.cta-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  opacity: 0.9;
}

.cta-center {
  text-align: center;
  margin-top: var(--space-lg);
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: var(--light);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
}

.footer-logo p {
  margin-top: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  font-family: var(--heading-font);
}

.tagline {
  color: var(--gray-light);
  font-style: italic;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-link-group h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.footer-link-group ul li {
  margin-bottom: var(--space-sm);
}

.footer-link-group ul li a {
  color: var(--gray-light);
  font-size: 0.95rem;
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container,
  .tech-showcase {
    flex-direction: column;
  }
  
  .hero-visual,
  .tech-visual {
    margin-top: var(--space-lg);
    text-align: center;
  }
  
  .hero-svg, .tech-svg {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.active {
    max-height: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  nav ul {
    flex-direction: column;
    padding: var(--space-md) 0;
    gap: var(--space-md);
  }
  
  .cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-brand {
    margin: 0 auto var(--space-lg);
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: var(--space-lg) 0;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    text-align: center;
  }
  
  .cta-group {
    justify-content: center;
    align-items: center;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .tech-features li {
    align-items: flex-start;
  }
}
