/* 
   Style for createaiporn.beauty
   Modern, clean design with turquoise and coral theme
*/

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

:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --dark: #222831;
  --light: #F7F7F7;
  --gray: #7a7a7a;
  --light-gray: #e9e9e9;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  font-size: 16px;
}

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

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

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

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

ul {
  list-style: none;
}

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

h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  text-align: center;
}

h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.button.primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
  color: white;
}

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

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

/* Header & Navigation */
header {
  padding: 20px 0;
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

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

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

nav ul li a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

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

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

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

.hero-graphic {
  max-width: 90%;
  height: auto;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: white;
}

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

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

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

.feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--light-gray);
}

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

.step {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin: 0 auto 20px;
}

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

/* About Section */
.about {
  padding: 80px 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.about-text p:last-child {
  margin-bottom: 30px;
}

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

.about-graphic {
  max-width: 100%;
  height: auto;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  margin-top: 15px;
  margin-bottom: 5px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.footer-section h4 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.footer-section h4:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--gradient);
  bottom: 0;
  left: 0;
}

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

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

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 30px;
  height: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-brand svg {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .feature-grid,
  .steps,
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .button {
    width: 100%;
    margin-bottom: 10px;
  }
}
