:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --success: #4cc9f0;
    --warning: #f8961e;
    --danger: #ef233c;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border-radius: 12px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f1 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

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

.header-title {
    text-align: center;
    padding: 40px 20px;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

.card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.4rem;
}

.card-title i {
    margin-right: 10px;
    font-size: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group span {
    background: #f8f9fa;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.input-group input {
    border-radius: 0 8px 8px 0;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1rem;
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

button i {
    margin-right: 8px;
}

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

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

.results {
    display: none;
    margin-top: 30px;
}

.result-card {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.result-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.progress-container {
    margin: 30px 0;
}

.progress-bar {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0;
    transition: width 1s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
}

.timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
}

.timeline-date {
    width: 100px;
    font-weight: 600;
    color: var(--primary);
}

.timeline-content {
    flex: 1;
    padding-left: 20px;
    border-left: 2px solid var(--primary);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.chart-container {
    height: 300px;
    margin: 30px 0;
    position: relative;
}

.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.comparison-card {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

.comparison-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.comparison-card .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--dark);
}



.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: #4CAF50;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .card {
        padding: 20px;
    }
}


/* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
#fgp-ultimate-article {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hero Section */
.fgp-article-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.fgp-article-hero h2 {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.fgp-article-hero .fgp-hero-sub {
  font-size: 1.2rem;
  color: #334155;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.fgp-article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #475569;
  font-weight: 500;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.fgp-article-meta span i {
  margin-right: 0.5rem;
  color: #3b82f6;
}

/* Grid Layout */
.fgp-article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

/* Main Content */
.fgp-main-content {
  background: white;
  border-radius: 28px;
  padding: 2rem 2rem 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.fgp-main-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0f172a;
  border-left: 5px solid #3b82f6;
  padding-left: 1rem;
}

.fgp-main-content h2:first-of-type {
  margin-top: 0;
}

.fgp-main-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #1e293b;
}

.fgp-main-content p {
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.fgp-main-content ul, .fgp-main-content ol {
  margin: 1rem 0 1.2rem 1.8rem;
  color: #1e293b;
  line-height: 1.6;
}

.fgp-main-content li {
  margin-bottom: 0.5rem;
}

.fgp-highlight-box {
  background: #eef2ff;
  border-left: 6px solid #3b82f6;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  margin: 1.75rem 0;
}

.fgp-pro-tip {
  background: #fef9e3;
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid #fde047;
}

.fgp-pro-tip i {
  font-size: 1.8rem;
  color: #eab308;
}

.fgp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.fgp-stat-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.2s;
}

.fgp-stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.fgp-formula-block {
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.9rem 1.2rem;
  border-radius: 16px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  text-align: center;
  margin: 1.5rem 0;
}

.fgp-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.fgp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
}

.fgp-comparison-table th, .fgp-comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.fgp-comparison-table th {
  background: #eef2ff;
  font-weight: 600;
  color: #1e40af;
}

/* Sidebar */
.fgp-sidebar-section {
  align-self: start;
}

.fgp-side-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.fgp-side-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 3px solid #e2e8f0;
  padding-bottom: 0.6rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fgp-checklist, .fgp-resource-list {
  list-style: none;
  padding: 0;
}

.fgp-checklist li, .fgp-resource-list li {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fgp-checklist i, .fgp-resource-list i {
  color: #3b82f6;
  width: 1.5rem;
  font-size: 1rem;
}

.fgp-tool-link {
  display: inline-block;
  background: linear-gradient(95deg, #2563eb, #4f46e5);
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 40px;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  transition: transform 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.fgp-tool-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(95deg, #1d4ed8, #4338ca);
}

.fgp-share-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.fgp-share-btn {
  background: #f1f5f9;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fgp-share-btn:hover {
  background: #e2e8f0;
}

.fgp-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
  border-top: 1px solid #cbd5e1;
  padding-top: 2rem;
}

@media (max-width: 880px) {
  .fgp-article-grid {
    grid-template-columns: 1fr;
  }
  .fgp-article-hero h2 {
    font-size: 2rem;
  }
  .fgp-main-content {
    padding: 1.5rem;
  }
  #fgp-ultimate-article {
    padding: 1rem;
  }
}