/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --highlight: #e94560;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-wrapper svg {
    color: var(--highlight);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--highlight);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(15, 52, 96, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
    color: white;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--highlight);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Links */
.quick-links-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.quick-link-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--highlight);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.quick-link-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.quick-link-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Content Sections */
.content-sections {
    padding: 80px 0;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.content-image:hover img {
    transform: scale(1.05);
}

.content-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
    transition: gap 0.3s;
}

.content-link:hover {
    gap: 12px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-heading {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Disclaimer */
.disclaimer-section {
    padding: 60px 0;
}

.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.disclaimer-text {
    color: var(--text-primary);
    line-height: 1.7;
}

.disclaimer-text strong {
    color: #856404;
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .main-nav {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .main-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .content-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-block.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Main Styles */
.page-main {
    min-height: calc(100vh - 200px);
}

.page-header {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

.content-section {
    padding: 80px 0;
}

/* Index Cards */
.index-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.index-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.index-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.index-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.index-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.index-badge {
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.index-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.index-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
}

.info-section {
    margin-top: 60px;
}

.info-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.info-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.info-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Company Cards */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.company-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.company-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.company-card:hover .company-image img {
    transform: scale(1.1);
}

.company-content {
    padding: 32px;
}

.company-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.company-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Sectors */
.sectors-section {
    margin-top: 60px;
}

.sectors-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.sector-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.sector-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sector-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.sector-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.sector-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Analysis Styles */
.analysis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.analysis-image-section {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.analysis-image-section img {
    width: 100%;
    height: auto;
    display: block;
}

.analysis-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.analysis-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.analysis-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.analysis-type-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.analysis-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.analysis-type-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.analysis-type-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.analysis-list {
    list-style: none;
    padding: 0;
}

.analysis-list li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.analysis-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--highlight);
    font-weight: 700;
}

.analysis-considerations {
    margin-top: 60px;
}

.analysis-considerations h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.considerations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.consideration-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.consideration-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.consideration-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Glossary */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.glossary-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.glossary-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--highlight);
}

.glossary-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--highlight);
}

.glossary-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Mobile Responsive for new pages */
@media (max-width: 968px) {
    .analysis-content {
        grid-template-columns: 1fr;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-types {
        grid-template-columns: 1fr;
    }
}

