/* 
 * Main Stylesheet for aiporngifs.pw
 * Supports responsive design and modern UI
 */

/* Base Styles & Reset */
:root {
  --primary-color: #8a2be2;
  --secondary-color: #e6007e;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

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

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

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

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

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

h1 {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

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

h3 {
  font-size: 1.5rem;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

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

.logo-svg {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

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

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

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

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" opacity="0.05"/></svg>');
  opacity: 0.2;
}

.hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

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

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  color: var(--secondary-color);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background-color: white;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.benefit-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.benefit-content {
  flex: 1;
}

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

.cta-section h2,
.cta-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .cta-button {
  margin-top: 2rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-links h4 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient);
}

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

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
}

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

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

/* Create Open Graph image as SVG */
@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover .feature-icon svg {
    transform: scale(1.1);
  }
  
  .feature-icon svg {
    transition: transform 0.3s ease;
  }
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    padding-right: 0;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
  }
  
  .benefit-number {
    margin-bottom: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
