/*
Theme Name: AI Prompting Pro
Theme URI: https://example.com
Author: Your Company
Author URI: https://example.com
Description: A futuristic theme designed to showcase and sell AI prompting expertise
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-prompting-pro
*/

/* CSS Variables for Futuristic Theme */
:root {
  /* Cyber-tech color palette */
  --color-cyber-primary: #00ffff;
  --color-cyber-secondary: #ff00ff;
  --color-neural-blue: #0a4d7a;
  --color-neural-deep: #051428;
  --color-neural-dark: #0a1929;
  --color-accent-glow: #00d9ff;
  --color-text-primary: #e0f7ff;
  --color-text-secondary: #8ab4d4;
  --color-cta-primary: #00ffff;
  --color-cta-hover: #00d9ff;
  
  /* Typography */
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Space Mono', 'Courier New', monospace;
  --font-accent: 'Exo 2', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Effects */
  --glow-small: 0 0 10px var(--color-cyber-primary);
  --glow-medium: 0 0 20px var(--color-cyber-primary), 0 0 40px var(--color-accent-glow);
  --glow-large: 0 0 30px var(--color-cyber-primary), 0 0 60px var(--color-accent-glow), 0 0 90px var(--color-cyber-secondary);
}

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

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--color-neural-deep) 0%, var(--color-neural-dark) 100%);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Animated background grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridScroll 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridScroll {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Glowing particles effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, var(--color-cyber-primary), transparent),
    radial-gradient(2px 2px at 60% 70%, var(--color-cyber-secondary), transparent),
    radial-gradient(1px 1px at 50% 50%, var(--color-accent-glow), transparent),
    radial-gradient(1px 1px at 80% 10%, var(--color-cyber-primary), transparent),
    radial-gradient(2px 2px at 90% 60%, var(--color-cyber-secondary), transparent);
  background-size: 200% 200%;
  animation: particleFloat 15s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

@keyframes particleFloat {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out 0.3s both;
  position: relative;
  z-index: 10;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-cyber-primary) 0%, var(--color-cyber-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.8)) drop-shadow(0 0 60px rgba(255, 0, 255, 0.4));
  }
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.7s both;
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 2.5rem;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button span {
  position: relative;
  z-index: 1;
}

.cta-primary {
  background: var(--color-cyber-primary);
  color: var(--color-neural-deep);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-primary:hover {
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.8), 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.cta-secondary {
  background: transparent;
  color: var(--color-cyber-primary);
  border: 2px solid var(--color-cyber-primary);
  box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.cta-secondary:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.2), 0 0 30px rgba(0, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Features Section */
.features-section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-cyber-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: var(--glow-medium);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.feature-card {
  background: rgba(10, 77, 122, 0.15);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: var(--spacing-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  border-color: var(--color-cyber-primary);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
  transform: translateY(-10px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-cyber-primary);
  text-shadow: var(--glow-small);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-cyber-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 77, 122, 0.1) 50%, transparent 100%);
  position: relative;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.benefits-list {
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(0, 255, 255, 0.05);
  border-left: 3px solid var(--color-cyber-primary);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(0, 255, 255, 0.1);
  border-left-width: 5px;
  transform: translateX(10px);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--color-cyber-primary);
  flex-shrink: 0;
}

.benefit-text h3 {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.benefit-text p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.benefits-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-network {
  width: 100%;
  height: 100%;
  position: relative;
}

.neural-node {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-cyber-primary);
  border-radius: 50%;
  box-shadow: var(--glow-medium);
  animation: nodePulse 2s ease-in-out infinite;
}

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

/* Pricing/CTA Section */
.cta-section {
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  background: rgba(10, 77, 122, 0.2);
  border: 2px solid var(--color-cyber-primary);
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 340deg,
    var(--color-cyber-primary) 340deg 360deg
  );
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  to {
    transform: rotate(360deg);
  }
}

.cta-box-inner {
  position: relative;
  z-index: 1;
  background: var(--color-neural-dark);
  padding: var(--spacing-lg);
  border-radius: 18px;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--spacing-md);
  color: var(--color-cyber-primary);
  text-shadow: var(--glow-medium);
}

.cta-box p {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.price-display {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-cyber-primary);
  margin: var(--spacing-md) 0;
  text-shadow: var(--glow-large);
}

.price-display .currency {
  font-size: 2rem;
  vertical-align: super;
}

.price-display .cents {
  font-size: 2.5rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-md);
}

.testimonial-card {
  background: rgba(10, 77, 122, 0.15);
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 15px;
  padding: var(--spacing-lg);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: rgba(0, 255, 255, 0.1);
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--color-cyber-primary);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-name {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--color-cyber-primary);
}

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

/* Footer */
.site-footer {
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  font-family: var(--font-display);
  color: var(--color-cyber-primary);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.footer-section a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.3rem 0;
}

.footer-section a:hover {
  color: var(--color-cyber-primary);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 255, 255, 0.1);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .benefits-content {
    grid-template-columns: 1fr;
  }
  
  .benefits-visual {
    height: 300px;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Reduce background effects on mobile */
  body::before {
    background-size: 30px 30px;
    opacity: 0.3;
  }
  
  body::after {
    opacity: 0.2;
  }
  
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    margin-bottom: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .price-display {
    font-size: 3rem;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xs: 0.4rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 2rem 0;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
    word-break: break-word;
    hyphens: auto;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .cta-button {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .feature-description {
    font-size: 0.95rem;
  }
  
  .benefit-item {
    padding: 1rem;
    gap: 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .price-display {
    font-size: 2.5rem;
  }
  
  .price-display .currency {
    font-size: 1.5rem;
  }
  
  .price-display .cents {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-glow {
  text-shadow: var(--glow-medium);
}

.pulse-animation {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Custom Cursor Effect */
@media (hover: hover) {
  .cta-button,
  .feature-card,
  .testimonial-card {
    cursor: pointer;
  }
}

/* Loading Animation for Page Transition */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.page-content {
  animation: pageLoad 0.6s ease-out;
}

/* Hide quantity selector on product page and CTA section */
.single-product .quantity,
.cta-section .quantity {
    display: none !important;
}

/* Style WooCommerce add to cart button to match theme */
.single_add_to_cart_button.button,
button.single_add_to_cart_button {
    background: linear-gradient(135deg, var(--color-cyber-primary) 0%, var(--color-cyber-secondary) 100%);
    color: var(--color-text-primary);
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1.5rem 3rem;
    border: 2px solid var(--color-cyber-primary);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    width: 100%;
    max-width: 400px;
    display: inline-block;
}

.single_add_to_cart_button.button:hover,
button.single_add_to_cart_button:hover {
    background: linear-gradient(135deg, var(--color-cyber-secondary) 0%, var(--color-cyber-primary) 100%);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Center the form in CTA section */
.cta-section .cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}