/* ============================================
   SMART MONEY INDIA - MAIN SITE STYLES
   Pure Finance Content Website
   ============================================ */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #F8FAF9 0%, #F1F8F4 50%, #EBF5EE 100%);
    min-height: 100vh;
    line-height: 1.7;
    color: #1A1A1A;
}

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1B5E20;
}

.main-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #4A4A4A;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #1B5E20;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #1B5E20, #2E7D32, #388E3C);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    margin: 20px 0 30px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   NATIVE AD CONTAINERS
   ============================================ */
.native-ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px auto;
    width: 100%;
    min-height: 100px;
    overflow: hidden;
    position: relative;
}

.native-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    background: #FAFAFA;
    border: 1px dashed #E0E0E0;
    border-radius: 8px;
}

.native-ad-slot::before {
    content: "📢 Loading Ad...";
    color: #9E9E9E;
    font-size: 0.9rem;
    font-weight: 500;
}

.native-ad-slot:not(:empty)::before {
    display: none;
}

.native-ad-slot:not(:empty) {
    background: transparent;
    border: none;
    min-height: auto;
}

/* ============================================
   FINANCE CONTENT ARTICLE
   ============================================ */
.finance-content {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.finance-content h2 {
    font-size: 1.5rem;
    color: #1B5E20;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E8F5E9;
}

.finance-content h3 {
    font-size: 1.2rem;
    color: #1A1A1A;
    margin: 25px 0 15px 0;
}

.finance-content h4 {
    font-size: 1.05rem;
    color: #1A1A1A;
    margin: 20px 0 10px 0;
}

.finance-content p {
    color: #4A4A4A;
    margin-bottom: 15px;
}

.finance-content ul,
.finance-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.finance-content li {
    color: #4A4A4A;
    margin-bottom: 10px;
}

.finance-content strong {
    color: #1A1A1A;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #FFF8E1, #FFFDE7);
    border-left: 4px solid #FFB300;
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
}

.highlight-box p {
    margin: 0;
    color: #F57C00;
    font-weight: 500;
}

/* ============================================
   FEATURED GUIDES SECTION
   ============================================ */
.featured-guides {
    margin: 30px 0;
}

.section-title {
    font-size: 1.4rem;
    color: #1A1A1A;
    margin-bottom: 25px;
    text-align: center;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.guide-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.guide-icon {
    min-width: 80px;
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.guide-content {
    padding: 20px;
    flex: 1;
}

.guide-category {
    display: inline-block;
    padding: 4px 10px;
    background: #E8F5E9;
    color: #1B5E20;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.guide-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.guide-excerpt {
    font-size: 0.85rem;
    color: #6B6B6B;
    line-height: 1.5;
    margin-bottom: 10px;
}

.guide-meta {
    font-size: 0.75rem;
    color: #9E9E9E;
}

/* ============================================
   INTERACTIVE SECTION (Conditional Form)
   ============================================ */
.interactive-section {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 15px;
}

.tool-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6F00, #FF9800);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.section-header p {
    color: #6B6B6B;
    font-size: 0.95rem;
}

.section-footer {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #E8E8E8;
}

.section-footer p {
    color: #9E9E9E;
    font-size: 0.85rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    margin: 20px 0;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #E8E8E8;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    color: #1B5E20;
    font-size: 1rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: #4A4A4A;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   DATA TABLE
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E8E8E8;
}

.data-table th {
    background: #F8F9FA;
    color: #1B5E20;
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table td {
    color: #4A4A4A;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: #FAFAFA;
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
    margin-top: 40px;
    padding: 40px 20px;
    background: white;
    border-top: 1px solid #E8E8E8;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 25px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1B5E20;
}

.footer-tagline {
    color: #6B6B6B;
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-links a {
    color: #4A4A4A;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1B5E20;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #9E9E9E;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: white;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #FF8F00, #FFB300);
    color: #1A1A1A;
    box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

/* ============================================
   ARTICLE PAGE SPECIFIC STYLES
   ============================================ */
.article-page {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    padding: 40px 20px;
}

.article-category-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #6B6B6B;
    font-size: 0.9rem;
}

.article-body {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.article-body h2 {
    font-size: 1.4rem;
    color: #1B5E20;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #E8F5E9;
}

.article-body h3 {
    font-size: 1.15rem;
    color: #1A1A1A;
    margin: 25px 0 12px 0;
}

.article-body p {
    color: #4A4A4A;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-body ul,
.article-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-body li {
    color: #4A4A4A;
    line-height: 1.8;
    margin-bottom: 10px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1B5E20;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* ============================================
   LEGAL & CONTACT PAGES
   ============================================ */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.legal-date {
    color: #6B6B6B;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.legal-page a {
    color: #1B5E20;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.contact-card {
    background: linear-gradient(135deg, #F8FAF9, #F1F8F4);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #E8F5E9;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1rem;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.contact-card p {
    color: #6B6B6B;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.contact-card a {
    display: block;
    color: #1B5E20;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.legal-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin: 30px 0;
}

.legal-card h1 {
    font-size: 2rem;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.legal-card .last-updated {
    color: #6B6B6B;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.legal-card h2 {
    font-size: 1.3rem;
    color: #1B5E20;
    margin: 30px 0 15px 0;
}

.legal-card p {
    color: #4A4A4A;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-card ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-card li {
    color: #4A4A4A;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .header-container {
        justify-content: center;
    }
    
    .main-nav {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-section {
        padding: 35px 25px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-card {
        flex-direction: column;
    }
    
    .guide-icon {
        min-height: 80px;
        min-width: 100%;
    }
    
    .finance-content,
    .article-body,
    .legal-card {
        padding: 25px 20px;
    }
    
    .article-main-title {
        font-size: 1.5rem;
    }
    
    .article-meta-info {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 15px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
