/* 
 * Unique styles for aiporngenerators.pw
 * Dark theme with neon green accents and vertical split layout
 */

/* Base styles */
:root {
  --background: #121212;
  --surface: #1e1e1e;
  --surface-variant: #252525;
  --primary: #00ff87;
  --primary-variant: #60efff;
  --secondary: #9945ff;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border-radius: 10px;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-variant) 100%);
  --glow: 0 0 10px rgba(0, 255, 135, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

/* Split layout structure */
.split-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.panel {
  height: 100%;
}

/* Navigation panel */
.nav-panel {
  background-color: var(--surface);
  padding: 2rem 1.5rem;
  position: fixed;
  width: 280px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 100;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

.logo-area {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.logo-svg {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

.site-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.site-name span {
  color: var(--primary);
}

/* Main navigation */
.main-nav {
  flex: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: rgba(0, 255, 135, 0.1);
  color: var(--primary);
}

.nav-icon {
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.nav-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Content panel */
.content-panel {
  grid-column: 2;
  width: 100%;
}

/* Mobile toggle */
.mobile-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 101;
}

.mobile-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Sections */
.section {
  padding: 5rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Hero section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.generator-icon {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gear {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--glow);
}

.gear.outer {
  width: 180px;
  height: 180px;
  animation: spin 10s linear infinite;
}

.gear.inner {
  width: 120px;
  height: 120px;
  animation: spin-reverse 8s linear infinite;
}

.pulse {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 135, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}

/* Keywords */
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.keyword {
  padding: 0.5rem 1rem;
  background: var(--surface-variant);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background: var(--gradient);
  color: var(--background);
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--glow);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.7);
  color: var(--background);
}

.text-button {
  color: var(--text-primary);
  position: relative;
  font-weight: 500;
}

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

.text-button:hover {
  color: var(--primary);
}

.text-button:hover::after {
  width: 100%;
}

/* Generator grid */
.generator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.generator-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.generator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 135, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--surface-variant);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.card-icon::before,
.card-icon::after {
  content: '';
  position: absolute;
}

.image-icon::before {
  width: 40px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 4px;
}

.image-icon::after {
  width: 15px;
  height: 15px;
  background: var(--primary);
  border-radius: 50%;
  top: 25px;
  right: 20px;
}

.video-icon::before {
  width: 40px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 4px;
}

.video-icon::after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 17.3px;
  border-color: transparent transparent transparent var(--primary);
  transform: translate(-50%, -50%);
}

.deepfake-icon::before,
.deepfake-icon::after {
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.deepfake-icon::before {
  transform: translateX(-10px);
}

.deepfake-icon::after {
  transform: translateX(10px);
}

.enhance-icon::before {
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 5px;
}

.enhance-icon::after {
  content: '+';
  color: var(--primary);
  font-size: 24px;
  font-weight: bold;
  top: 22px;
  right: 18px;
}

.generator-card h3 {
  margin-bottom: 1rem;
}

.generator-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Dark section */
.dark-section {
  background-color: var(--surface);
}

/* Features list */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.feature-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.5;
  line-height: 1;
}

.feature-content h3 {
  margin-bottom: 0.75rem;
}

.feature-content p {
  color: var(--text-secondary);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--background);
  margin-bottom: 1.5rem;
  box-shadow: var(--glow);
}

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

.step p {
  color: var(--text-secondary);
}

/* Footer */
footer {
  background-color: var(--surface);
  padding: 3rem 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-site-name {
  font-weight: 600;
  margin-left: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.footer-disclaimer {
  max-width: 600px;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 1024px) {
  .section {
    padding: 4rem 2.5rem;
  }
  
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content h2 {
    text-align: center;
    font-size: 3rem;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .keywords {
    justify-content: center;
  }
  
  .feature-item {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .split-container {
    grid-template-columns: 1fr;
  }
  
  .nav-panel {
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .nav-panel.active {
    transform: translateX(0);
  }
  
  .content-panel {
    grid-column: 1;
  }
  
  .mobile-toggle {
    display: flex;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .features-list {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-button,
  .text-button {
    width: 100%;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
