/* b:/BRUHASHITH/Clients/stockmarket/assets/css/style.css */

/* Fonts & Core Reset */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #00b894; /* Neon Emerald */
    --primary-hover: #00cec9; /* Mint Cyan */
    --primary-gradient: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    --dark-bg: #080c14; /* Luxury Dark Space */
    --card-bg: rgba(21, 28, 45, 0.65); /* Translucent Navy Glass */
    --card-border: rgba(255, 255, 255, 0.07);
    --gold: #f1c40f; /* Pure Gold Accent */
    --gold-gradient: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    --text-main: #f8fafc; /* Ice White */
    --text-muted: #94a3b8; /* Slate Gray */
    --white: #ffffff;
    --danger: #ff7675;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 50% 0%, #151f32 0%, #080c14 100%) no-repeat fixed;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-weight: 700;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--primary); }

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #080c14;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.25);
}

.btn-primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.45);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Glassmorphism Container */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 184, 148, 0.35);
    box-shadow: 0 15px 35px rgba(0, 184, 148, 0.15);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.logo img {
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--dark-bg);
        border-left: 1px solid var(--card-border);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }
}

/* Dynamic Hero Section */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 12, 20, 0.9) 0%, rgba(8, 12, 20, 0.4) 60%, rgba(8, 12, 20, 0.85) 100%);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 650px;
}

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .hero-slider {
        min-height: 500px;
    }
}

/* Live Market Indices Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: #0b101c;
    border-bottom: 1px solid var(--card-border);
    padding: 12px 0;
    position: relative;
    z-index: 10;
}

.ticker {
    display: flex;
    width: max-content;
    animation: ticker-animation 30s linear infinite;
    gap: 50px;
}

@keyframes ticker-animation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.ticker-arrow-up { color: var(--primary); }
.ticker-arrow-down { color: var(--danger); }

/* About and Strategies Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Strategies Grid */
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Calculator Section */
.calc-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.15);
}

.calc-result-card {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.1) 0%, rgba(8, 12, 20, 0.85) 100%);
    border: 1px solid rgba(0, 184, 148, 0.2);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    .calc-container {
        grid-template-columns: 1fr;
    }
}

/* Performance Section */
.performance-stat {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Pricing Plans */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card.premium {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.1);
}

.price-tag {
    font-size: 2.5rem;
    color: var(--white);
    margin: 20px 0;
    font-family: 'Outfit', sans-serif;
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding-bottom: 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-question span {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
    color: var(--primary);
}

/* Contact Footer Form */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    overflow: hidden;
    padding: 0;
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.blog-body {
    padding: 25px;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Footer styling */
footer.site-footer {
    background-color: #060910;
    border-top: 1px solid var(--card-border);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--card-border);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    font-size: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Global table to cards collapse on mobile */
@media (max-width: 768px) {
    .table-responsive-cards table.dashboard-table, 
    .table-responsive-cards table.dashboard-table thead, 
    .table-responsive-cards table.dashboard-table tbody, 
    .table-responsive-cards table.dashboard-table th, 
    .table-responsive-cards table.dashboard-table td, 
    .table-responsive-cards table.dashboard-table tr { 
        display: block; 
    }
    
    .table-responsive-cards table.dashboard-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-responsive-cards table.dashboard-table tr {
        border: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 15px;
        border-radius: 8px;
        background: #0f1322;
        padding: 10px;
    }
    
    .table-responsive-cards table.dashboard-table td { 
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04); 
        position: relative;
        padding-left: 50%; 
        text-align: right;
    }
    
    .table-responsive-cards table.dashboard-table td:last-child {
        border-bottom: 0;
    }
    
    .table-responsive-cards table.dashboard-table td:before { 
        position: absolute;
        top: 16px;
        left: 16px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
        content: attr(data-label);
        font-weight: 600;
        color: #94a3b8;
        text-align: left;
    }
}
