/* 
* aiundressing.guru - Styles
* Main colors: Blue (#2196F3) and Green (#4CAF50)
*/

:root {
  --primary: #2196F3;
  --secondary: #4CAF50;
  --dark: #263238;
  --light: #f8f9fa;
  --gray: #607D8B;
  --light-gray: #eceff1;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.18);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style-type: none;
}

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

section {
  padding: 5rem 0;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1.5rem;
}

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

.accent::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: rgba(76, 175, 80, 0.3);
  z-index: -1;
  transform: skewX(-5deg);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: rgba(33, 150, 243, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  margin-right: 0.75rem;
}

.logo span.accent {
  color: var(--secondary);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

nav ul li a {
  position: relative;
  font-weight: 500;
}

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

nav ul li a:hover:not(.btn) {
  color: var(--primary);
}

nav ul li a:hover:not(.btn)::after {
  width: 100%;
}

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

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  max-width: 540px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.platform-design {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Features Section */
.features {
  background-color: var(--white);
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background-color: var(--light);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-bottom: 3px solid var(--gradient);
  box-shadow: var(--shadow-lg);
}

.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Process Section */
.process {
  background-color: var(--light);
  position: relative;
  padding-bottom: 6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.step-content {
  text-align: center;
  max-width: 300px;
}

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

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

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

.testimonial-card {
  background-color: var(--light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

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

.testimonial-stars {
  color: var(--secondary);
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

/* FAQ Section */
.faq {
  background-color: var(--light);
  padding-bottom: 6rem;
}

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

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1.5rem 2rem;
}

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

.faq-toggle {
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
  font-weight: 300;
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

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

/* CTA Section */
.cta {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

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

.cta h2 .accent::after {
  background-color: rgba(255, 255, 255, 0.3);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background-color: var(--white);
  color: var(--primary);
  font-weight: 700;
}

.cta .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-nav ul {
  display: flex;
  gap: 2rem;
}

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

.footer-middle {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

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

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.footer-links ul li {
  margin-bottom: 0.7rem;
}

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

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

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom p:first-child {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    order: 1;
  }
  
  .hero-image {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    padding: 10rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .nav-cta {
    margin-top: 2rem;
    width: 100%;
  }
  
  .nav-cta a {
    display: block;
    text-align: center;
    width: 100%;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .steps,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding-top: 7rem;
  }
}
