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

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

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

/* Navigation */
.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3182CE;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

.nav-link:hover,
.nav-link.active {
    color: #3182CE;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3182CE;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search input {
    padding: 10px 40px 10px 15px;
    border: 2px solid #E8ECEF;
    border-radius: 25px;
    background: #F5F7FA;
    color: #1A202C;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
}

.nav-search input:focus {
    outline: none;
    border-color: #3182CE;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.nav-search i {
    position: absolute;
    right: 15px;
    color: #4A5568;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #3182CE;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4A5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: #3182CE;
    color: #FFFFFF;
    border: 2px solid #3182CE;
}

.btn-primary:hover {
    background: #2B6CB0;
    border-color: #2B6CB0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3182CE;
    border: 2px solid #3182CE;
}

.btn-secondary:hover {
    background: #3182CE;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(49, 130, 206, 0.2);
    border-color: #3182CE;
}

.hero-card i {
    font-size: 3rem;
    color: #3182CE;
    margin-bottom: 15px;
}

.hero-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1A202C;
}

.hero-card p {
    color: #4A5568;
    font-size: 0.95rem;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto;
}

.tool-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 25px;
    background: #E8ECEF;
    color: #4A5568;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #3182CE;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(49, 130, 206, 0.15);
    border-color: #3182CE;
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182CE, #2B6CB0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-icon i {
    font-size: 2rem;
    color: #FFFFFF;
}

.tool-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 15px;
}

.tool-card p {
    color: #4A5568;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-tool {
    background: #3182CE;
    color: #FFFFFF;
    border: 2px solid #3182CE;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-tool:hover {
    background: #2B6CB0;
    border-color: #2B6CB0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.3);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #F5F7FA;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: #4A5568;
    margin-bottom: 40px;
    line-height: 1.7;
}

.features {
    display: grid;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature i {
    font-size: 1.5rem;
    color: #3182CE;
    margin-top: 5px;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 5px;
}

.feature p {
    color: #4A5568;
    font-size: 0.95rem;
    margin: 0;
}

.about-visual {
    display: grid;
    gap: 20px;
}

.stats-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(49, 130, 206, 0.15);
    border-color: #3182CE;
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3182CE;
    margin-bottom: 10px;
}

.stats-card p {
    color: #4A5568;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #FFFFFF;
    border-top: 3px solid #3182CE;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3182CE;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #4A5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3182CE;
}

.footer-section p {
    color: #4A5568;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #E8ECEF;
    color: #4A5568;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #3182CE;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #E8ECEF;
    padding-top: 20px;
    text-align: center;
    color: #4A5568;
}

.disclaimer {
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #FFFFFF;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #3182CE, #2B6CB0);
    color: #FFFFFF;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1A202C;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E8ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3182CE;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calculate-btn {
    background: #3182CE;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.calculate-btn:hover {
    background: #2B6CB0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.3);
}

.calculate-btn:disabled {
    background: #E8ECEF;
    color: #4A5568;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Results */
.results-container {
    background: #F5F7FA;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    border-left: 4px solid #3182CE;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.result-item {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3182CE;
    margin-bottom: 5px;
}

.result-label {
    color: #4A5568;
    font-size: 0.9rem;
    font-weight: 500;
}

.chart-container {
    margin-top: 30px;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.spinner {
    border: 4px solid #E8ECEF;
    border-top: 4px solid #3182CE;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-spinner p {
    color: #4A5568;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-search {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-btn {
    background: #3182CE;
    color: #FFFFFF;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.share-btn:hover {
    background: #2B6CB0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

/* Market Data Section */
.market-data-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.market-search {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.search-container {
    display: flex;
    gap: 10px;
    max-width: 500px;
    width: 100%;
}

.market-search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #E8ECEF;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.market-search-input:focus {
    outline: none;
    border-color: #3182CE;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.search-btn {
    background: #3182CE;
    color: #FFFFFF;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: #2B6CB0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.3);
}

/* Market Tabs */
.market-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.market-tab {
    padding: 12px 25px;
    background: #E8ECEF;
    color: #4A5568;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.market-tab:hover,
.market-tab.active {
    background: #3182CE;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

/* Market Content */
.market-content {
    min-height: 400px;
}

.market-tab-content {
    display: none;
}

.market-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Stocks Grid */
.stocks-grid,
.indices-grid,
.funds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.stock-card,
.index-card,
.fund-card {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.stock-card:hover,
.index-card:hover,
.fund-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(49, 130, 206, 0.15);
    border-color: #3182CE;
}

.stock-header,
.index-header,
.fund-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.stock-symbol,
.index-symbol,
.fund-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1A202C;
}

.stock-name,
.index-name,
.fund-category {
    font-size: 0.9rem;
    color: #4A5568;
    margin-top: 2px;
}

.stock-price,
.index-price,
.fund-nav {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A202C;
}

.stock-change,
.index-change,
.fund-change {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
}

.change-positive {
    color: #10B981;
}

.change-negative {
    color: #EF4444;
}

.change-neutral {
    color: #6B7280;
}

.stock-details,
.fund-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E8ECEF;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.detail-label {
    color: #4A5568;
}

.detail-value {
    color: #1A202C;
    font-weight: 500;
}

/* Search Results */
.search-results {
    min-height: 200px;
}

.no-results {
    text-align: center;
    color: #4A5568;
    font-size: 1.1rem;
    padding: 60px 20px;
}

.loading-placeholder {
    text-align: center;
    color: #4A5568;
    font-size: 1.1rem;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-placeholder::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #E8ECEF;
    border-top: 2px solid #3182CE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Stock Detail Modal */
#stockDetailModal .modal-content {
    max-width: 900px;
}

.stock-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E8ECEF;
}

.stock-detail-info h3 {
    font-size: 1.8rem;
    color: #1A202C;
    margin-bottom: 5px;
}

.stock-detail-info p {
    color: #4A5568;
    margin: 0;
}

.stock-detail-price {
    text-align: right;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 5px;
}

.price-change {
    font-size: 1.1rem;
    font-weight: 600;
}

.stock-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #F5F7FA;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3182CE;
    margin-bottom: 5px;
}

.stat-label {
    color: #4A5568;
    font-size: 0.9rem;
}

.chart-section {
    margin-top: 30px;
}

.chart-section h4 {
    color: #1A202C;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.share-modal-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.share-option {
    padding: 15px 10px;
    border: 2px solid #E8ECEF;
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #4A5568;
}

.share-option:hover {
    border-color: #3182CE;
    background: #F5F7FA;
    transform: translateY(-2px);
}

.share-option i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: block;
}

.share-option span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }
    
    .market-search-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .stocks-grid,
    .indices-grid,
    .funds-grid {
        grid-template-columns: 1fr;
    }
    
    .market-tabs {
        gap: 5px;
    }
    
    .market-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .stock-details,
    .fund-details {
        grid-template-columns: 1fr;
    }
    
    .stock-detail-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .share-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .search-container {
        flex-direction: column;
    }
    
    .search-btn {
        justify-content: center;
    }
    
    .stock-detail-stats {
        grid-template-columns: 1fr;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

