/* 
   ainudecreator.site CSS - Modern, SEO-optimized design
   Color scheme: Teal/Green gradient with dark accents
*/

:root {
  --primary-gradient-start: #20BF55;
  --primary-gradient-end: #01BAEF;
  --accent-color: #FF9966;
  --text-color: #2D3748;
  --light-text: #F7FAFC;
  --dark-bg: #1A202C;
  --light-bg: #EFF6FF;
  --card-bg: #FFFFFF;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  font-size: 16px;
  overflow-x: hidden;
}

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

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

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  border-radius: 4px;
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-gradient-end);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

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

/* Header */
.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px var(--shadow-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.logo-text {
  margin-left: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(32, 191, 85, 0.15), rgba(1, 186, 239, 0.15));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--light-text);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
  color: var(--light-text);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--card-bg);
}

.section-title {
  margin-bottom: 60px;
}

.text-center {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 30px;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.icon-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--light-text);
}

/* Process Section */
.process {
  padding: 80px 0;
  background: var(--light-bg);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  counter-reset: step-counter;
}

.step {
  flex: 0 0 calc(33.333% - 30px);
  margin-bottom: 30px;
  position: relative;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  counter-increment: step-counter;
}

.step::before {
  content: counter(step-counter);
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Testimonial */
.testimonial {
  padding: 80px 0;
  background: var(--card-bg);
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--light-bg);
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow-color);
  position: relative;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: """;
  position: absolute;
  font-size: 4rem;
  line-height: 1;
  color: rgba(32, 191, 85, 0.2);
  font-family: serif;
}

.testimonial-text::before {
  left: -20px;
  top: -10px;
}

.testimonial-text::after {
  content: """;
  right: -20px;
  bottom: -40px;
}

.testimonial-author {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: var(--light-text);
  text-align: center;
}

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

.cta h2 {
  margin-bottom: 20px;
}

.cta h2:after {
  background: var(--light-text);
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta .btn {
  background: var(--light-text);
  color: var(--primary-gradient-end);
}

.cta .btn:hover {
  background: var(--light-text);
  box-shadow: 0 7px 20px rgba(255, 255, 255, 0.3);
  color: var(--primary-gradient-start);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  position: relative;
  margin-bottom: 25px;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
}

.footer-about p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--primary-gradient-end);
  padding-left: 5px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .step {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .step {
    flex: 0 0 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}
