/* 
 * Main Stylesheet for aiundressfree.rocks
 * Color Scheme: Turquoise (#36D1DC) to Royal Blue (#5B86E5) 
 */

:root {
  --primary-color: #36D1DC;      /* Turquoise */
  --secondary-color: #5B86E5;    /* Royal Blue */
  --accent-color: #FFC857;       /* Golden Yellow */
  --dark-color: #2D3748;         /* Dark Slate */
  --light-color: #F7FAFC;        /* Off White */
  --text-color: #4A5568;         /* Gray */
  --shadow-color: rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

.text-gradient {
  background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Links & Buttons */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(91, 134, 229, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transition: all 0.4s ease-out;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(91, 134, 229, 0.4);
  color: white;
}

.btn:hover::before {
  left: 0;
}

/* Header & Navigation */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  transform: skewY(-3deg);
}

.nav {
  padding: 20px 0;
}

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

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

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 50px;
  text-align: center;
}

.header-content h1 {
  color: white;
  margin-bottom: 20px;
  font-size: 3rem;
}

.header-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Diamond shapes for decoration */
.diamond-shape {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.1;
  background-color: white;
  transform: rotate(45deg);
}

.diamond-1 {
  top: 50px;
  left: 10%;
}

.diamond-2 {
  top: 150px;
  right: 15%;
}

.diamond-3 {
  bottom: 50px;
  left: 20%;
}

/* Features Section */
.features {
  padding: 100px 0;
}

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

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

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 60px;
  height: 60px;
  background-color: rgba(91, 134, 229, 0.05);
  transform: rotate(45deg);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(91, 134, 229, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--text-color);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: rgba(91, 134, 229, 0.05);
  position: relative;
  overflow: hidden;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.step-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
  counter-increment: step-counter;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-title {
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: white;
}

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

.testimonial-card {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--light-color);
  box-shadow: 0 5px 15px var(--shadow-color);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 2rem;
  color: var(--primary-color);
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-location {
  font-size: 0.9rem;
  color: #718096;
}

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

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

.cta-title {
  color: white;
  margin-bottom: 20px;
}

.cta-text {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-cta:hover {
  background: var(--light-color);
  color: var(--primary-color);
}

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

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

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

.footer-logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-info {
  max-width: 300px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-heading {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .header {
    padding: 60px 0 100px;
  }
  
  .header-content h1 {
    font-size: 2.5rem;
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .header {
    padding: 50px 0 80px;
  }
  
  .header-content h1 {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .header-content h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .features,
  .how-it-works,
  .testimonials {
    padding: 60px 0;
  }
}
