/* ==========================================================================
   ProfitMinty Modern Design System
   Glassmorphism + Neon Mint Accents + High-Converting Micro UI
   ========================================================================== */

:root {
  --bg-dark: #0b0f19;
  --bg-card: rgba(18, 26, 44, 0.7);
  --bg-card-hover: rgba(28, 39, 64, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 217, 147, 0.4);
  
  --primary-mint: #10b981;
  --primary-glow: #34d399;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

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

  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glow-mint: 0 0 25px rgba(16, 185, 129, 0.25);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Animated Gradient Orbs */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

body::before {
  width: 500px;
  height: 500px;
  background: var(--primary-mint);
  top: -100px;
  left: -100px;
}

body::after {
  width: 600px;
  height: 600px;
  background: var(--accent-cyan);
  bottom: -150px;
  right: -150px;
}

a {
  color: var(--primary-glow);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #a7f3d0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-mint), var(--accent-cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #000;
  box-shadow: var(--glow-mint);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
}

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

.nav-links a:hover, .nav-links a.active {
  color: #fff;
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary-mint), #059669);
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
  flex: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: var(--primary-glow);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

/* Grid Layouts */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

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

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-glow);
}

.tool-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Calculator Form Elements */
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .calc-container {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.range-slider {
  accent-color: var(--primary-mint);
  height: 6px;
}

/* Results Box */
.result-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.result-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-glow);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* AdSense Slot Placeholder */
.adsense-slot {
  margin: 2.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Article & Guide Styling */
.guide-content {
  line-height: 1.8;
  color: #d1d5db;
  max-width: 850px;
  margin: 0 auto;
}

.guide-content h2 {
  font-size: 1.8rem;
  color: #fff;
  margin: 2rem 0 1rem;
}

.guide-content h3 {
  font-size: 1.4rem;
  color: var(--primary-glow);
  margin: 1.5rem 0 0.8rem;
}

.guide-content p {
  margin-bottom: 1.25rem;
}

.guide-content ul, .guide-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

/* Footer */
footer {
  background: rgba(11, 15, 25, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}
