/* Professional Business UI/UX Design */

/* Reset and Professional Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #ffffff;
    overflow-x: hidden;
}

/* Professional Hero Section */
.hero-professional {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 6rem 0 4rem 0;
    position: relative;
}

.hero-professional::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.hero-container-pro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #48bb78;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title-pro {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle-pro {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-cta-pro {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.btn-primary-pro {
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    border: none;
    cursor: pointer;
}

.btn-primary-pro:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25);
}

.btn-secondary-pro {
    background: white;
    color: #4a5568;
    padding: 1rem 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-secondary-pro:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

/* Professional Stats */
.stats-professional {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-box-pro {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f7fafc;
}

.stat-number-pro {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label-pro {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Professional Tools Section */
.tools-professional {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.section-header-pro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag-pro {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title-pro {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description-pro {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Professional Tool Cards */
.tools-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-card-pro {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tool-card-pro:hover {
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.tool-header-pro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.tool-icon-pro {
    width: 48px;
    height: 48px;
    background: #f7fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid #e2e8f0;
}

.tool-badge-pro {
    background: #ff6b35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-badge-pro.trending {
    background: #4299e1;
}

.tool-badge-pro.new {
    background: #48bb78;
}

.tool-title-pro {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.tool-description-pro {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-metrics-pro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}

.metric-pro {
    text-align: center;
}

.metric-value-pro {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    display: block;
}

.metric-label-pro {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

.tool-features-pro {
    margin-bottom: 2rem;
}

.features-list-pro {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-item-pro {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.tool-action-pro {
    display: flex;
    gap: 0.75rem;
}

.btn-tool-primary {
    flex: 1;
    background: #ff6b35;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
}

.btn-tool-primary:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.btn-tool-secondary {
    background: white;
    color: #718096;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-tool-secondary:hover {
    border-color: #cbd5e0;
    color: #4a5568;
}

/* Professional Features Section */
.features-professional {
    padding: 6rem 0;
    background: #f7fafc;
}

.features-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card-pro {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.feature-card-pro:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.feature-icon-pro {
    width: 60px;
    height: 60px;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
    border: 1px solid #edf2f7;
}

.feature-title-pro {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.feature-description-pro {
    color: #718096;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title-pro {
        font-size: 2.5rem;
    }
    
    .hero-cta-pro {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .stats-professional {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tools-grid-pro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid-pro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-container-pro,
    .tools-container-pro {
        padding: 0 1rem;
    }
    
    .hero-title-pro {
        font-size: 2rem;
    }
    
    .section-title-pro {
        font-size: 2rem;
    }
    
    .stats-professional {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid-pro {
        grid-template-columns: 1fr;
    }
    
    .tool-action-pro {
        flex-direction: column;
    }
}

/* Loading Animations - Disabled to prevent conflicts */

.tool-card-pro:nth-child(1) { animation-delay: 0.1s; }
.tool-card-pro:nth-child(2) { animation-delay: 0.2s; }
.tool-card-pro:nth-child(3) { animation-delay: 0.3s; }
.tool-card-pro:nth-child(4) { animation-delay: 0.4s; }
.tool-card-pro:nth-child(5) { animation-delay: 0.5s; }
.tool-card-pro:nth-child(6) { animation-delay: 0.6s; }

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

/* Navigation Enhancement */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-link.active {
    color: #ff6b35;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff6b35;
}

/* Professional UI Styles for SEO Pages */
:root {
    --primary-color: #6366f1;
    --primary-hover: #5b56f0;
    --secondary-color: #f8fafc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-header .lead {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Sections */
.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--dark-color);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-color);
}

/* Feature Grids */
.features-grid,
.benefits-grid,
.templates-showcase,
.requirements-grid,
.scenarios-grid,
.mistakes-grid,
.loan-types,
.tips-grid,
.factors-list,
.benefits-list,
.invoice-types,
.gst-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-card,
.benefit-card,
.template-item,
.requirement-item,
.scenario-card,
.mistake-item,
.loan-type-card,
.tip-card,
.factor-item,
.benefit-item,
.invoice-type-card,
.gst-type-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover,
.benefit-card:hover,
.template-item:hover,
.requirement-item:hover,
.scenario-card:hover,
.mistake-item:hover,
.loan-type-card:hover,
.tip-card:hover,
.factor-item:hover,
.benefit-item:hover,
.invoice-type-card:hover,
.gst-type-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Tables */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.responsive-table th,
.responsive-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.responsive-table th {
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
}

/* Steps */
.steps-container {
    margin: 32px 0;
}

.step-item {
    display: flex;
    margin-bottom: 24px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 16px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--dark-color);
}

/* Quick Calculator */
.quick-calculator {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    border: none;
}

.calculator-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.input-group input,
.input-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.calculator-results {
    grid-column: 1 / -1;
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.result-item.total {
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* FAQ */
.faq-container {
    margin: 32px 0;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 24px;
}

.faq-item h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 48px 24px;
    border-radius: 16px;
    margin: 48px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

/* Formula Cards */
.formula-section,
.formula-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.formula {
    background: white;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    margin: 16px 0;
    border-left: 4px solid var(--primary-color);
}

.example {
    background: #e0f2fe;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid var(--success-color);
}

/* Mobile Responsive Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin-left: 20px;
    }
    
    .dropdown-menu a {
        padding: 8px 0;
        border-bottom: 1px solid var(--border-color);
        color: #4a5568;
    }
    
    .dropdown-menu a:hover {
        background: transparent;
        color: var(--primary-color);
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .benefits-grid,
    .templates-showcase,
    .requirements-grid,
    .scenarios-grid,
    .mistakes-grid,
    .loan-types,
    .tips-grid,
    .factors-list,
    .benefits-list,
    .invoice-types,
    .gst-types,
    .sip-types,
    .advantages-grid,
    .comparison-table,
    .goals-grid,
    .categories-grid,
    .conversion-grid,
    .applications-grid,
    .factors-grid,
    .concepts-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-widget {
        grid-template-columns: 1fr;
    }
    
    .responsive-table {
        font-size: 14px;
    }
    
    .responsive-table th,
    .responsive-table td {
        padding: 8px 12px;
    }
}

/* Additional responsive styles for tables */
@media (max-width: 640px) {
    .responsive-table {
        border: 0;
    }
    
    .responsive-table thead {
        display: none;
    }
    
    .responsive-table tr {
        border-bottom: 2px solid var(--border-color);
        display: block;
        margin-bottom: 16px;
        background: white;
        border-radius: 8px;
        padding: 16px;
        box-shadow: var(--shadow-sm);
    }
    
    .responsive-table td {
        border: none;
        display: block;
        text-align: right;
        padding: 8px 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .responsive-table td:before {
        content: attr(data-label) ": ";
        float: left;
        font-weight: 600;
        color: var(--dark-color);
    }
    
    .responsive-table td:last-child {
        border-bottom: none;
    }
}

/* Professional Footer */
.footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
    font-size: 0.9rem;
}