/* ============================================
   AntigymClub - Premium WordPress Plugins
   Modern, Fast, SEO-Optimized CSS
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #2D3748;
  --color-secondary: #4A5568;
  --color-accent: #8757C7;
  --color-accent-dark: #6B3FA0;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7FAFC;
  --color-bg-dark: #1A202C;
  --color-text: #2D3748;
  --color-text-light: #718096;
  --color-border: #E2E8F0;
  --color-success: #48BB78;
  --color-warning: #ECC94B;
  --color-error: #F56565;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: all 0.2s ease;
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

.logo img {
  height: 40px;
  width: auto;
}

.logo:hover {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
}

.nav-cta:hover {
  background: var(--color-accent-dark);
  color: white !important;
}

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

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

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Plugin Grid */
.plugins-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.125rem;
}

.plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .plugins-grid {
    grid-template-columns: 1fr;
  }
}

/* Plugin Card */
.plugin-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
}

.plugin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.plugin-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.plugin-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.plugin-card:hover .plugin-card-image img {
  transform: scale(1.05);
}

.plugin-card-content {
  padding: 1.5rem;
}

.plugin-card-badge {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plugin-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.plugin-card h3 a {
  color: var(--color-primary);
}

.plugin-card h3 a:hover {
  color: var(--color-accent);
}

.plugin-card-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plugin-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.plugin-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.plugin-card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.plugin-card-link:after {
  content: "→";
  transition: var(--transition);
}

.plugin-card-link:hover:after {
  transform: translateX(4px);
}

/* Bundle Section */
.bundle-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-dark) 100%);
  padding: 5rem 0;
  color: white;
}

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

@media (max-width: 968px) {
  .bundle-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.bundle-text h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.bundle-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 968px) {
  .bundle-price {
    justify-content: center;
  }
}

.bundle-price-current {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
}

.bundle-price-original {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.bundle-save {
  background: var(--color-success);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.bundle-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
}

.bundle-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.bundle-features li:before {
  content: "✓";
  color: var(--color-accent);
  font-weight: bold;
}

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

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

.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 968px) {
  .features-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid-3 {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: transparent;
  color: var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.feature-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.feature-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Single Plugin Page */
.plugin-hero {
  background: var(--color-bg-alt);
  padding: 4rem 0;
}

.plugin-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .plugin-hero-content {
    grid-template-columns: 1fr;
  }
}

.plugin-hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.plugin-hero-text .tagline {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.plugin-hero-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.plugin-hero-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.plugin-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.plugin-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Plugin Features */
.plugin-features {
  padding: 4rem 0;
}

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

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

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.feature-card h4 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Use Cases */
.use-cases {
  padding: 4rem 0;
  background: var(--color-bg-alt);
}

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

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

.use-case-item {
  background: var(--color-bg);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.use-case-item h4 {
  margin-bottom: 0.5rem;
}

.use-case-item p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* FAQ */
.faq-section {
  padding: 4rem 0;
}

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

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

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  color: var(--color-text-light);
}

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

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

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

.cta-section .btn {
  background: white;
  color: var(--color-accent);
}

.cta-section .btn:hover {
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

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

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

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul {
  list-style: none;
}

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

.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer ul a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--color-text-light);
}

.breadcrumbs span {
  color: var(--color-text-light);
  margin: 0 0.5rem;
}

/* Requirements */
.requirements {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.requirements h4 {
  margin-bottom: 1rem;
}

.requirements ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.requirements li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-light);
}

.requirements li:before {
  content: "✓";
  color: var(--color-success);
}

/* Guarantee Badge */
.guarantee {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
}

.guarantee-icon {
  font-size: 2rem;
}

.guarantee-text h4 {
  color: white;
  margin-bottom: 0.25rem;
}

.guarantee-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Print Styles */
@media print {
  .header, .footer, .cta-section {
    display: none;
  }
}
