:root {
    --primary: #7B2CBF;
    --primary-light: #9D4EDD;
    --secondary: #C77DFF;
    --accent: #E0AAFF;
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #DEE2E6;
    --dark: #212529;
    --text: #495057;
    --success: #38b000;
    --warning: #FF9E00;
    --error: #D00000;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
}

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

.main-container {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(135deg, #32366c 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
   
width: 100%; /* Changed from fixed width to percentage */
margin: 0 auto;
background: white;
border-radius: 16px;
overflow: auto;
box-shadow: var(--shadow-lg);
position: relative;

}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.header-title {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.05) 0%, rgba(157, 78, 221, 0.05) 100%);
    border-bottom: 1px solid var(--light-gray);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.main-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    
}

/* @media (min-width: 768px) {
    .main-content {
        grid-template-columns: 1fr 1fr;
    }
}*/

.analysis-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: var(--secondary);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background-color: var(--light);
}

input:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.2);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

button {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    /*transition: var(--transition);*/
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(to right, var(--primary-light), var(--primary));
}

button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.result {
    margin-top: 2rem;
    display: none;
    animation: fadeIn 0.5s ease-out;
    overflow: auto;
}

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

.result-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.vibration-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.05);
    position: relative;
    display: inline-block;
}

.vibration-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.chart-container {
    height: 200px;
    margin: 2rem 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 80px;
}

.chart-bar {
    width: 50px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 8px 8px 0 0;
    transition: height 0.8s ease-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: relative;
    box-shadow: var(--shadow-sm);
    margin-top: 10px;
   
}

.chart-bar::after {
    content: attr(data-number);
    position: absolute;
    top: -25px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 600;
}

.chart-bar.active {
    background: linear-gradient(to top, var(--secondary), var(--accent));
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
}

.meaning {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin-top: 1.5rem;
}

.meaning h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meaning p {
    line-height: 1.8;
}

.info-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    background-color: var(--light);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    color: var(--text);
}

.tab:hover {
    background-color: var(--light-gray);
}

.tab.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

.info-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--secondary);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card ul, .info-card ol {
    padding-left: 1.25rem;
    margin: 0.75rem 0;
}

.info-card li {
    margin-bottom: 0.5rem;
}

.master-number {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--light-gray);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
    color: var(--dark);
}



.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .chart-bar {
        width: 30px;
        font-size: 0.8rem;
    }
    
    .chart-bar::after {
        font-size: 0.7rem;
        top: -20px;
    }
    
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--dark);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    font-weight: normal;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Loading spinner */
.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

@media (max-width: 768px) {
.container {
    width: 98%;
    border-radius: 12px;
}

.header-title, .main-content {
    padding: 1.5rem 1rem;
}

h1 {
    font-size: 2rem;
}
}

@media (max-width: 480px) {
.container {
    width: 100%;
    border-radius: 0;
}

.main-container {
    padding: 0;
    background: white;
}

.header-title {
    padding: 1.5rem 1rem;
}

h1 {
    font-size: 1.8rem;
}

.main-content {
    padding: 1rem;
}

.analysis-section, .info-section {
    padding: 1rem;
}
}


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

/* Hero Section */
.numerology-guide-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
  border-radius: 32px;
  box-shadow: 0 12px 30px rgba(123, 44, 191, 0.3);
}

.numerology-guide-hero h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: 'Playfair Display', serif;
}

.numerology-guide-hero .numerology-hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.numerology-guide-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.numerology-guide-meta span i {
  margin-right: 0.5rem;
}

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

/* Main Content */
.numerology-main-content {
  background: white;
  border-radius: 28px;
  padding: 2rem 2rem 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(123, 44, 191, 0.15);
}

.numerology-main-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #7B2CBF;
  border-left: 5px solid #9D4EDD;
  padding-left: 1rem;
  font-family: 'Playfair Display', serif;
}

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

.numerology-main-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #9D4EDD;
}

.numerology-main-content p {
  font-size: 1.05rem;
  color: #2d3748;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

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

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

.numerology-highlight-box {
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.08), rgba(157, 78, 221, 0.05));
  border-left: 6px solid #9D4EDD;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  margin: 1.75rem 0;
}

.numerology-pro-tip {
  background: rgba(157, 78, 221, 0.1);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(123, 44, 191, 0.3);
}

.numerology-pro-tip i {
  font-size: 1.8rem;
  color: #9D4EDD;
}

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

.numerology-stat-card {
  background: #f8f4ff;
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid rgba(123, 44, 191, 0.2);
}

.numerology-stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #7B2CBF;
  margin-bottom: 0.25rem;
}

.numerology-quote-block {
  background: #f8f4ff;
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  font-style: italic;
  margin: 1.5rem 0;
  border: 1px solid rgba(123, 44, 191, 0.2);
}

.numerology-quote-block i {
  font-size: 2rem;
  color: #9D4EDD;
  margin-bottom: 0.5rem;
  display: inline-block;
}

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

.numerology-values-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8f4ff;
  border-radius: 16px;
  overflow: hidden;
}

.numerology-values-table th, .numerology-values-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(123, 44, 191, 0.2);
}

.numerology-values-table th {
  background: rgba(123, 44, 191, 0.1);
  font-weight: 600;
  color: #7B2CBF;
}

.numerology-values-table tr:hover {
  background: rgba(157, 78, 221, 0.05);
}

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

.numerology-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);
  border: 1px solid rgba(123, 44, 191, 0.15);
}

.numerology-side-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 3px solid #9D4EDD;
  padding-bottom: 0.6rem;
  color: #7B2CBF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
}

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

.numerology-checklist li, .numerology-resource-list li {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2d3748;
}

.numerology-checklist i, .numerology-resource-list i {
  color: #9D4EDD;
  width: 1.5rem;
  font-size: 1rem;
}

.numerology-tool-link {
  display: inline-block;
  background: linear-gradient(95deg, #7B2CBF, #9D4EDD);
  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, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.numerology-tool-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 44, 191, 0.4);
}

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

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

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

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

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