/*
* aiundressing.pw - Main Stylesheet
* Modern green/teal design with minimalist approach
*/

:root {
  /* Color Palette */
  --primary: #4ade80;
  --secondary: #0891b2;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --background: #f8fafc;
  --white: #ffffff;
  --accent: #3b82f6;
  --light-bg: #f0fdfa;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  
  /* Other */
  --border-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px base for rem */
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 4.8rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 3.6rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 2.4rem;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

.subtitle {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(74, 222, 128, 0.2);
  z-index: -1;
}

/* Header/Navigation */
header {
  padding: var(--space-md) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
}

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

nav ul {
  display: flex;
  gap: var(--space-md);
}

nav ul li a {
  font-weight: 500;
  color: var(--text-dark);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
}

nav ul li a:hover {
  color: var(--primary);
  background: rgba(74, 222, 128, 0.1);
}

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

.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: 12px;
}

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

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.6rem;
  transition: var(--transition);
  cursor: pointer;
}

.button.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.button.primary:hover {
  background: #2ece6a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 222, 128, 0.4);
}

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

.button.secondary:hover {
  background: rgba(8, 145, 178, 0.1);
}

.button.large {
  padding: 1.6rem 3.2rem;
  font-size: 1.8rem;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

/* Hero Section */
.hero-section {
  padding: 16rem 0 10rem;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.accent-shape {
  position: absolute;
  top: -50px;
  left: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.2);
  z-index: -1;
}

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

.hero-graphic {
  width: 100%;
  max-width: 500px;
}

/* Features Section */
.features-section {
  padding: var(--space-xl) 0;
  background: var(--white);
}

.features-section h2 {
  text-align: center;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
}

/* Workflow Section */
.workflow-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(to bottom, rgba(74, 222, 128, 0.05), rgba(8, 145, 178, 0.05));
  overflow: hidden;
  position: relative;
}

.workflow-section h2 {
  text-align: center;
}

.workflow-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.step-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}

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

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
}

.workflow-arrow {
  color: var(--primary);
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

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

/* FAQ Section */
.faq-section {
  padding: var(--space-xl) 0;
  background: var(--white);
}

.faq-section h2 {
  text-align: center;
}

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

.faq-item {
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-md);
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: var(--transition);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Final CTA Section */
.final-cta {
  padding: var(--space-xl) 0;
  background: linear-gradient(45deg, rgba(74, 222, 128, 0.1), rgba(8, 145, 178, 0.1));
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-sm);
}

.cta-content p {
  margin-bottom: var(--space-lg);
}

/* Footer */
footer {
  background: #0f172a;
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

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

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

.footer-logo .logo-text {
  margin-bottom: var(--space-md);
  color: var(--white);
}

.footer-icon {
  max-width: 100px;
  height: auto;
}

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

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

.footer-column ul li {
  margin-bottom: var(--space-xs);
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 4rem;
  }
  
  h2 {
    font-size: 3.2rem;
  }
  
  .hero-section .container {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .accent-shape {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 56.25%; /* 9px */
  }
  
  nav {
    position: fixed;
    top: 6.8rem;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: var(--space-md);
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: var(--space-sm);
    text-align: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active span:nth-child(1) {
    top: 16px;
    transform: rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    top: 16px;
    transform: rotate(-45deg);
  }
  
  .workflow-arrow {
    display: none;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%; /* 8px */
  }
  
  .button {
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .step-card {
    min-width: 100%;
  }
}
