/*
Theme Name: EmailEarn Complete
Theme URI: https://emailearn.com
Author: EmailEarn
Author URI: https://emailearn.com
Description: EmailEarn - Complete WordPress Theme with Elementor Support
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: emailearn
*/

:root {
  --primary: #1a1a2e;
  --orange: #e85d04;
  --orange-light: #f48c06;
  --orange-pale: #fff3e6;
  --peach: #faa307;
  --cream: #fef9ef;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --gradient: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
  --gradient-warm: linear-gradient(135deg, #e85d04 0%, #f48c06 100%);
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Navigation */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient-warm);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
}
.nav-menu { display: flex; gap: 2rem; }
.nav-menu a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: white !important;
  padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 600;
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-2px); }

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--gradient);
  display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(232,93,4,0.15) 0%, transparent 60%);
}
.hero-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-content { color: white; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(232,93,4,0.2);
  border: 1px solid rgba(232,93,4,0.3);
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.85rem; color: var(--orange-light); margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--orange-light); }
.hero-desc { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 520px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gradient-warm); color: white;
  padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.3s; box-shadow: 0 10px 30px rgba(232,93,4,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(232,93,4,0.4); }
.btn-secondary {
  background: transparent; color: white;
  padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3); transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* Trust Bar */
.trust-bar { background: white; padding: 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.trust-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.trust-label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--text-light); opacity: 0.6; }

/* Stats */
.stats-bar { background: var(--orange-pale); padding: 4rem 2rem; }
.stats-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; padding: 1rem; }
.stat-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--primary); }
.stat-desc { color: var(--text-light); font-size: 1rem; }

/* Sections */
section { padding: 6rem 2rem; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; background: var(--orange); color: white; padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.75rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.section-desc { color: var(--text-light); font-size: 1.15rem; max-width: 650px; margin: 0 auto; }

/* Why Cards */
.why-section { background: white; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-card { text-align: center; padding: 2.5rem 2rem; border-radius: 24px; background: var(--cream); transition: all 0.3s; }
.why-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.why-icon { width: 80px; height: 80px; background: var(--gradient-warm); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem; }
.why-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 1rem; }
.why-card p { color: var(--text-light); font-size: 0.95rem; }

/* Tools Grid */
.tools-section { background: var(--cream); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.tool-card { background: white; border-radius: 24px; padding: 2rem; border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s; position: relative; }
.tool-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-warm); opacity: 0; transition: opacity 0.3s; }
.tool-card:hover::before { opacity: 1; }
.tool-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--orange-pale); color: var(--orange); padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.tool-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.tool-icon { width: 70px; height: 70px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.tool-info h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--primary); }
.tool-rating { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0 1rem; color: var(--peach); }
.tool-rating span { color: var(--text-light); font-size: 0.85rem; }
.tool-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }
.tool-card .btn {
  width: 100%; text-align: center; padding: 1rem;
  background: var(--cream); color: var(--primary);
  border-radius: 12px; font-weight: 600; display: block;
  transition: all 0.3s;
}
.tool-card .btn:hover { background: var(--primary); color: white; }

/* Comparison */
.comparison-section { background: white; }
.comp-table { width: 100%; background: var(--cream); border-radius: 20px; overflow: hidden; }
.comp-table table { width: 100%; border-collapse: collapse; }
.comp-table th { background: var(--primary); color: white; padding: 1.25rem 1rem; text-align: left; }
.comp-table td { padding: 1rem; border-bottom: 1px solid #eee; }
.comp-table tr:hover td { background: white; }
.check { color: #10b981; font-weight: bold; }
.cross { color: #ef4444; }

/* Tutorials */
.tutorials-section { background: var(--cream); }
.tutorials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.tutorial-card { background: white; border-radius: 24px; overflow: hidden; transition: all 0.3s; }
.tutorial-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.tutorial-thumb { height: 200px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.tutorial-content { padding: 1.5rem; }
.tutorial-tag { display: inline-block; background: var(--orange-pale); color: var(--orange); padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.tutorial-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.5rem; }
.tutorial-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.tutorial-meta { display: flex; gap: 1rem; color: var(--text-light); font-size: 0.85rem; }

/* Blog */
.blog-section { background: white; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--cream); border-radius: 24px; overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.blog-thumb { height: 200px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.blog-content { padding: 1.5rem; }
.blog-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.blog-meta { display: flex; justify-content: space-between; color: var(--text-light); font-size: 0.85rem; }

/* FAQ */
.faq-section { background: var(--cream); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: 16px; padding: 1.5rem 2rem; margin-bottom: 1rem; cursor: pointer; }
.faq-item:hover { background: var(--orange-pale); }
.faq-item h4 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; color: var(--primary); display: flex; justify-content: space-between; }
.faq-item .icon { color: var(--orange); font-size: 1.25rem; }
.faq-item p { margin-top: 1rem; color: var(--text-light); font-size: 0.95rem; display: none; }
.faq-item.active p { display: block; }
.faq-item.active .icon { transform: rotate(45deg); }

/* Newsletter */
.newsletter { background: var(--gradient); padding: 5rem 2rem; text-align: center; color: white; }
.newsletter h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.newsletter p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }
.newsletter-form { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 1rem 1.5rem; border: none; border-radius: 50px; font-size: 1rem; }
.newsletter-form button { padding: 1rem 2rem; background: var(--gradient-warm); color: white; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; }

/* Footer */
.site-footer { background: var(--primary); color: white; padding: 4rem 2rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 1rem; font-size: 0.95rem; max-width: 300px; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; }
.footer-social a:hover { background: var(--orange); }

/* Page Header */
.page-header { padding: 8rem 2rem 4rem; background: var(--gradient); text-align: center; color: white; }
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .tutorials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 2rem; }
  .stats-container, .why-grid, .tutorials-grid, .blog-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}
