/*
Theme Name: FremiumPlugin Theme
Theme URI: https://urla1003plugin.com
Author: Michael George
Author URI: https://urla1003plugin.com
Description: A premium, modern, custom WordPress theme for FremiumPlugin. Built to be catchy, dynamic, and focused on conversion.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Text Domain: fremiumplugin
*/

:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Premium Dark Theme Palette */
  --bg-color: #0b0f19;
  --bg-color-alt: #131a2a;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  
  --brand-primary: #8b5cf6; /* Vibrant Purple */
  --brand-secondary: #06b6d4; /* Cyan */
  --brand-accent: #f43f5e; /* Rose/Pink */

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --border-radius: 16px;
  --transition-speed: 0.3s;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--text-main);
}

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* Header */
.site-header {
  padding: 24px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

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

.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title span {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-color);
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,255,255,0.1);
  color: var(--bg-color);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-primary), #6d28d9);
  color: white;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
  color: white;
}

/* Hero Section */
.hero {
  padding: 200px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(11,15,25,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.05);
  color: var(--brand-secondary);
}

.glass-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.glass-card p {
  color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: center;
  margin-top: 60px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.premium {
  position: relative;
  border-color: var(--brand-primary);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
  z-index: 10;
  transform: scale(1.05);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, var(--bg-color-alt) 100%);
}

.pricing-card.premium::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-header {
  margin-bottom: 32px;
}

.price-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-secondary);
  margin-bottom: 12px;
}

.pricing-card.premium .price-name {
  color: var(--brand-primary);
}

.price-amount {
  font-size: 3.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-original {
  font-size: 1.5rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.price-cadence {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}

.price-features li::before {
  content: '✓';
  color: var(--brand-secondary);
  font-weight: bold;
}

.pricing-card.premium .price-features li::before {
  color: var(--brand-primary);
}

/* Demo Form Styles */
.demo-container {
  max-width: 700px;
  margin: 0 auto;
}

.demo-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.demo-step.active {
  display: block;
}

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

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  color: white;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-secondary);
}

.demo-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0;
  margin-top: 100px;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .pricing-card.premium { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; } /* Add mobile menu later if needed */
}
