/* 
   UndressHer App - Main Stylesheet
   A modern, mobile-responsive design with teal and coral accents
*/

/* === Base & Reset === */
:root {
  --primary: #4ECDC4;
  --secondary: #FF6B6B;
  --dark: #1A1A2E;
  --light: #F7F7F7;
  --text: #333333;
  --text-light: #777777;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --gradient: linear-gradient(135deg, #4ECDC4, #FF6B6B);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
}

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

ul {
  list-style: none;
}

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

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

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

h1 {
  font-size: 3.5rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

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

h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

h4 {
  font-size: 1.2rem;
  color: var(--dark);
}

p {
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-light);
  text-align: center;
}

/* === Buttons === */
.primary-btn, .secondary-btn, .cta-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

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

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.secondary-btn:hover {
  background: var(--primary);
  color: white;
}

.cta-btn {
  background: var(--secondary);
  color: white;
}

.cta-btn:hover {
  background: #ff5252;
}

.cta-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

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

/* === Header === */
header {
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}

.logo-icon {
  display: block;
}

/* === Navigation === */
nav {
  display: flex;
  align-items: center;
}

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

.nav-menu li a {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

.nav-menu li a:hover::after {
  width: 100%;
}

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

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

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

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

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

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

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

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

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

/* === Hero Section === */
.hero {
  padding: 180px 0 100px;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
}

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

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

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

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
}

/* === Features Section === */
.features {
  padding: 100px 0;
  background: white;
  text-align: center;
}

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

.feature-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
}

/* === Technology Section === */
.technology {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.tech-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.tech-info {
  flex: 1;
}

.tech-details {
  margin: 40px 0;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.tech-item h4 {
  margin-bottom: 5px;
}

.tech-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

.tech-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tech-graphic {
  max-width: 100%;
}

/* === FAQ Section === */
.faq {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.faq h2 {
  margin-bottom: 50px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  text-align: left;
}

.faq-item {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

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

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

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

.footer-col ul li a {
  color: #aaa;
  transition: var(--transition);
}

.footer-col 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);
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom p:not(:last-child) {
  margin-bottom: 10px;
}

/* === Media Queries === */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .tech-content {
    flex-direction: column;
  }
  
  .tech-info {
    order: 2;
  }
  
  .tech-visual {
    order: 1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: white;
    width: 80%;
    height: 100vh;
    padding: 50px 0;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: flex-start;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 130px 0 60px;
  }
  
  .cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    text-align: center;
  }
  
  .feature-grid {
    gap: 20px;
  }
  
  .tech-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
