/**
 * aiteenporn.love - Main Stylesheet
 * A modern, hexagon-themed design with teal/green gradients
 */

/* Base Styles & CSS Reset */
:root {
  --primary: #00C9FF;
  --secondary: #92FE9D;
  --accent: #38EF7D;
  --dark: #1A1A1A;
  --light: #F8F8F8;
  --gray: #888888;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

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

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

body {
  font-family: 'Nunito', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

section {
  padding: 80px 0;
}

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: padding 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
}

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

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

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

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin: 0 20px;
}

.nav-links a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
}

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

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

.nav-cta {
  background: var(--gradient);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  margin-left: 15px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.mobile-menu-btn span:first-child {
  top: 8px;
}

.mobile-menu-btn span:nth-child(2) {
  top: 16px;
}

.mobile-menu-btn span:last-child {
  top: 24px;
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg);
  top: 16px;
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg);
  top: 16px;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  right: -5%;
  top: 20%;
  width: 600px;
  height: 600px;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Features Section */
.features {
  background-color: white;
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  border-image: var(--gradient);
  border-image-slice: 1;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
}

/* Technology Section */
.technology {
  background: var(--light);
  position: relative;
}

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

.tech-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.tech-number {
  font-size: 5rem;
  font-weight: 800;
  position: absolute;
  bottom: -20px;
  right: -10px;
  opacity: 0.07;
  color: var(--primary);
  z-index: -1;
}

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

/* Process Section */
.process {
  background: white;
}

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

.process-step {
  display: flex;
  align-items: flex-start;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

/* FAQ Section */
.faq {
  background: var(--light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: var(--transition);
}

.faq-toggle::before {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}

.faq-toggle::after {
  width: 20px;
  height: 2px;
  left: 0;
  top: 9px;
}

.faq-item.active .faq-toggle::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 30px 20px;
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 80px 0;
}

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

.cta-content h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

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

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding-top: 70px;
}

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

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

.footer-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 15px;
}

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

.footer-group h4 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.footer-group h4::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--primary);
  left: 0;
  bottom: 0;
}

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

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

.footer-group a:hover {
  color: white;
}

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

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-shape {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.3rem;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 50px 0;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hero-shape {
    opacity: 0.3;
  }
  
  .tech-showcase,
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .feature-card,
  .tech-item {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
