/* Base styles and variables */
:root {
  --primary: #4158D0;
  --secondary: #C850C0;
  --accent: #FFCC70;
  --dark: #121212;
  --light: #f0f2f5;
  --text: #333333;
  --gradient: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
  --card-shadow: 0 8px 30px rgba(0,0,0,0.12);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

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

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

.logo a {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

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

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

nav ul li a {
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

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

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

/* Hero section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(65, 88, 208, 0.05) 0%, rgba(200, 80, 192, 0.05) 50%, rgba(255, 204, 112, 0.05) 100%);
  text-align: center;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  opacity: 0.8;
}

.cta-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(65, 88, 208, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(65, 88, 208, 0.6);
}

/* Gallery section */
.gallery {
  padding: 5rem 0;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.comic-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}

.comic-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.comic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(65, 88, 208, 0.2);
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* About section */
.about {
  padding: 5rem 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.feature-list {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.tech-graphic {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-visual {
    order: -1;
  }
}

/* Premium section */
.premium {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(65, 88, 208, 0.1) 0%, rgba(200, 80, 192, 0.1) 50%, rgba(255, 204, 112, 0.1) 100%);
}

.premium p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.premium-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 2.5rem;
  max-width: 600px;
  margin: 2rem auto 0;
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}

.premium-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.benefits {
  text-align: left;
  margin-bottom: 2rem;
  display: inline-block;
}

.benefits li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.premium-card .cta-button {
  margin-top: 1rem;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-logo img {
  margin-right: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 1.5rem 0;
  width: 100%;
}

.footer-nav h4, .footer-legal h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-nav ul, .footer-legal ul {
  list-style: none;
}

.footer-nav ul li, .footer-legal ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a, .footer-legal ul li a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer-nav ul li a:hover, .footer-legal ul li a:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 2rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
  }
  
  nav ul.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 100;
  }
  
  nav ul.active li {
    margin: 0;
    padding: 0.75rem 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
}
