/* ==========================================================================
   STOCKS PAGE STYLES (.stk- prefix)
   ========================================================================== */

/* Container & Base Utility */
.stk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.stk-section {
    padding: 80px 0;
}

.stk-section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 48px;
}

.stk-section-header.left-align {
    text-align: left;
    max-width: 100%;
}

.stk-section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.stk-section-header p {
    font-size: 1.05rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
}

/* Hero Section */
.stk-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

.stk-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.stk-hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-main, #0f172a);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.stk-hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Abstract Stock Blocks Visual */
.stk-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 350px;
}

.stk-block {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(29, 78, 216, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.5s ease;
}

.stk-block:hover {
    transform: translateY(-10px) scale(1.05);
}

.stk-block span.ticker {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.stk-block span.trend {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 8px;
    color: #4ade80; /* Green up trend */
}

.stk-block-1 { top: 20px; left: 40px; z-index: 3; }
.stk-block-2 { top: 100px; right: 40px; z-index: 2; background: linear-gradient(135deg, #0f172a, #334155); }
.stk-block-3 { bottom: 40px; left: 100px; z-index: 4; background: linear-gradient(135deg, #3b82f6, #60a5fa); }

/* Features Grid (6 Cards) */
.stk-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stk-feature-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stk-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.stk-icon-box {
    width: 56px;
    height: 56px;
    background-color: #eff6ff;
    color: var(--primary-blue, #2563eb);
    font-size: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stk-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: 12px;
}

.stk-feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
}

/* TradingView Widget Wrapper */
.stk-widget-section {
    background-color: var(--bg-alt, #f8fafc);
}

.stk-tv-widget-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color, #e2e8f0);
    overflow: hidden;
    padding: 12px;
}

/* Conditions (2 Column) */
.stk-conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 32px;
}

.stk-cond-block {
    margin-bottom: 40px;
}

.stk-cond-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stk-cond-block h3 i {
    color: var(--primary-blue, #2563eb);
    font-size: 1.1rem;
}

.stk-cond-block p {
    font-size: 0.95rem;
    color: var(--text-main, #0f172a);
    line-height: 1.6;
    margin-bottom: 12px;
}

.stk-table-responsive {
    overflow-x: auto;
    margin: 16px 0;
}

.stk-simple-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.stk-simple-table th, .stk-simple-table td {
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 12px 14px;
    text-align: left;
}

.stk-simple-table th {
    background-color: #f1f5f9;
    font-weight: 700;
    color: var(--text-main, #0f172a);
}

.stk-caption {
    font-size: 0.85rem !important;
    color: var(--text-muted, #64748b) !important;
}

/* Mobile App Banner */
.stk-app-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 70px 0;
    overflow: hidden;
}

.stk-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.stk-app-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.stk-app-content p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.stk-qr-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px 24px;
    border-radius: 12px;
    width: fit-content;
}

.stk-qr-code {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: var(--text-main, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 8px;
}

.stk-qr-box span {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.3;
}

.stk-phone-mockup {
    width: 260px;
    height: 420px;
    background: #000;
    border: 6px solid #334155;
    border-radius: 36px;
    margin: 0 auto;
    padding: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.stk-phone-screen {
    background: #ffffff;
    height: 100%;
    border-radius: 24px;
    padding: 20px 14px;
    color: var(--text-main, #0f172a);
}

.stk-app-header {
    margin-bottom: 24px;
}

.stk-app-balance {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

.stk-app-status {
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
}

.stk-app-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    font-size: 0.85rem;
    font-weight: 600;
}

.stk-up { color: #16a34a; }
.stk-down { color: #dc2626; }

/* FAQs Accordion */
.stk-faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.stk-faq-item {
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.stk-faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.stk-faq-question span {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stk-faq-num {
    color: var(--primary-blue, #2563eb);
    font-weight: 800;
    font-size: 0.95rem;
}

.stk-faq-question i {
    color: var(--primary-blue, #2563eb);
    font-size: 1rem;
}

.stk-faq-answer {
    display: none;
    padding: 0 0 24px 28px;
    color: var(--text-muted, #64748b);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* CTA Section */
.stk-cta {
    background-color: var(--bg-alt, #f8fafc);
    text-align: center;
    padding: 80px 0;
}

.stk-cta h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 16px;
}

.stk-cta p {
    font-size: 1.1rem;
    color: var(--text-muted, #64748b);
    max-width: 650px;
    margin: 0 auto 32px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .stk-hero-grid, .stk-conditions-grid, .stk-app-grid { grid-template-columns: 1fr; }
    .stk-features-grid { grid-template-columns: repeat(2, 1fr); }
    .stk-hero-visual { height: 250px; }
}

@media (max-width: 640px) {
    .stk-features-grid { grid-template-columns: 1fr; }
    .stk-hero-text h1 { font-size: 2.4rem; }
    .stk-cta-buttons { flex-direction: column; }
}