/* 
 * dirkdigglathatnicca.info - AI Image Generator Website
 * Modern CSS with purple geometric theme design
 */

:root {
  --primary: #6200EA;
  --primary-light: #B388FF;
  --primary-dark: #3700B3;
  --accent: #FF6D00;
  --dark: #212121;
  --light: #FFFFFF;
  --gray: #757575;
  --light-gray: #f8f9fa;
  --border-radius: 8px;
  --box-shadow: 0 4px 16px rgba(98, 0, 234, 0.1);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

.accent {
  color: var(--primary);
  font-weight: 700;
}

/* Layout */
.wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* Background Elements */
.bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(179, 136, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.5;
  animation: pulse 15s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.bg-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: linear-gradient(to right, rgba(98, 0, 234, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(98, 0, 234, 0.03) 1px, transparent 1px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.logo-icon {
  margin-right: 0.75rem;
}

.logo span {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.nav-links .nav-cta {
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 0.5rem 1rem;
}

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

.nav-links .nav-cta::after {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  position: relative;
}

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

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 2rem 0;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-visual {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 2rem 0;
}

.hero-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0px 8px 24px rgba(98, 0, 234, 0.2));
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
}

/* Features Section */
.features {
  background-color: var(--light-gray);
  padding-top: 8rem;
}

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

.feature {
  padding: 2rem;
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(98, 0, 234, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

.feature h3 {
  margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
  position: relative;
  overflow: hidden;
  background-color: var(--light);
}

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

.step {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  padding: 2.5rem 1.5rem;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.step-number {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--light);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 1rem;
}

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

/* Examples Section */
.examples {
  background-color: var(--light-gray);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.example {
  background-color: var(--light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.example:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(98, 0, 234, 0.15);
}

.example-svg {
  width: 100%;
  height: auto;
  display: block;
}

.example-caption {
  padding: 1rem;
  background-color: var(--light);
}

.example-caption h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.example-caption p {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-style: italic;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--light);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light-gray);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--light);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--light-gray);
  opacity: 0.7;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 150px;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--light-gray);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
  opacity: 1;
  padding-left: 5px;
}

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

.copyright {
  color: var(--light-gray);
  opacity: 0.5;
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: 0 4px 10px rgba(98, 0, 234, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(98, 0, 234, 0.4);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--light);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .steps {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .step {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    padding-bottom: 0;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    background-color: var(--light);
    transition: height 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    height: auto;
    padding: 1rem 0;
  }
  
  .nav-links li {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .features-grid, 
  .examples-grid {
    grid-template-columns: 1fr;
  }
}
