/* 
* aiundressfree.site - Main Stylesheet
* Modern, clean design with teal/mint gradient theme
*/

:root {
  --color-primary: #00d2d3;
  --color-secondary: #54a0ff;
  --color-accent: #5f27cd;
  --color-light: #f9fbff;
  --color-dark: #2d3436;
  --color-gray: #636e72;
  --color-bg: #ffffff;
  --section-padding: 5rem 0;
  --border-radius: 10px;
  --shadow: 0 10px 30px rgba(0, 210, 211, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px base for easier rem calculations */
}

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

.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

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

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 4rem;
}

h3 {
  font-size: 2.2rem;
}

h4 {
  font-size: 1.8rem;
}

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

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

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

ul {
  list-style: none;
}

section {
  padding: var(--section-padding);
}

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

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 1.5rem 0;
}

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

.logo-svg {
  height: 4rem;
  width: auto;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  fill: var(--color-primary);
}

nav ul {
  display: flex;
  gap: 3rem;
}

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

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

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 5px auto;
  background: var(--color-primary);
  transition: var(--transition);
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  border-radius: 5rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  font-size: 1.6rem;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 210, 211, 0.3);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 210, 211, 0.4);
  color: white;
}

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

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

.cta-buttons {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.large {
  font-size: 1.8rem;
  padding: 1.5rem 3.5rem;
}

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

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 210, 211, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 210, 211, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 211, 0);
  }
}

/* Hero Section */
.hero {
  padding: 16rem 0 10rem;
  background-color: var(--color-light);
}

.hero .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 30rem;
  padding-right: 3rem;
}

.hero-visual {
  flex: 1;
  min-width: 30rem;
  display: flex;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  max-width: 40rem;
}

.circle-bg {
  fill: rgba(0, 210, 211, 0.1);
  stroke: none;
}

.tech-path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 3s forwards infinite alternate ease-in-out;
}

.secondary-path {
  stroke: var(--color-secondary);
  animation-delay: 0.5s;
}

.accent-dot {
  fill: var(--color-accent);
  opacity: 0.7;
  animation: pulse-dot 2s infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

/* Benefits Section */
.benefits-section {
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.benefit-card {
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background: white;
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 210, 211, 0.15);
}

.benefit-icon {
  width: 8rem;
  height: 8rem;
  margin-bottom: 2rem;
}

.icon-bg {
  fill: rgba(0, 210, 211, 0.1);
  rx: 8;
  ry: 8;
}

.icon-path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Process Section */
.process-section {
  background: linear-gradient(45deg, rgba(0, 210, 211, 0.05), rgba(84, 160, 255, 0.05));
  position: relative;
  overflow: hidden;
}

.process-steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 5rem;
}

.step-card {
  flex: 1;
  min-width: 25rem;
  max-width: 35rem;
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
}

.step-icon {
  width: 8rem;
  height: 8rem;
  margin: 1rem auto 2rem;
}

.step-icon-bg {
  fill: rgba(0, 210, 211, 0.1);
}

.step-icon-path {
  fill: none;
  stroke: var(--color-primary);
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.faq-container {
  max-width: 80rem;
  margin: 5rem auto 0;
}

.faq-item {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

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

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

.faq-answer {
  padding: 0 2rem 2rem;
  display: none;
}

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

.faq-item.active .faq-answer {
  display: block;
}

/* Final CTA */
.final-cta {
  padding: 8rem 0;
  margin-top: 5rem;
}

.cta-box {
  max-width: 80rem;
  margin: 0 auto;
  background: linear-gradient(45deg, rgba(0, 210, 211, 0.1), rgba(84, 160, 255, 0.1));
  padding: 5rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.cta-box h2 {
  margin-bottom: 2rem;
}

.cta-box p {
  max-width: 60rem;
  margin: 0 auto 3rem;
}

/* Footer */
footer {
  background: var(--color-dark);
  color: white;
  padding: 6rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-logo {
  flex: 1;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-svg {
  width: 20rem;
  height: auto;
  margin-bottom: 2rem;
}

.footer-logo-text {
  fill: white;
  font-size: 1.8rem;
  font-weight: 700;
}

.footer-icon {
  width: 10rem;
  height: auto;
  margin-top: 2rem;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column {
  flex: 1;
  min-width: 15rem;
}

.footer-column h4 {
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.footer-column ul li {
  margin-bottom: 1rem;
}

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

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 56.25%; /* 9px base */
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%; /* 8px base */
  }
  
  nav {
    position: fixed;
    top: 7rem;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
    height: 0;
    overflow: hidden;
  }
  
  nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    height: auto;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 4rem;
  }
  
  .footer-logo {
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step-card {
    width: 100%;
  }
  
  .benefit-card {
    padding: 2rem;
  }
  
  .cta-box {
    padding: 3rem 2rem;
  }
}
