/* CybersecCloud - Marketing Page Styles */
.font-heading { font-family: 'Syne', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }
.gradient-text-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; border: none; padding: 0.75rem 1.75rem; border-radius: var(--radius);
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(6,182,212,0.3); }
.btn-ghost {
    background: transparent; color: var(--color-text); border: 1px solid var(--color-border);
    padding: 0.75rem 1.75rem; border-radius: var(--radius); font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem;
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(6,182,212,0.05); }
.grid-bg {
    background-image: linear-gradient(rgba(30,41,59,0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(30,41,59,0.4) 1px, transparent 1px);
    background-size: 60px 60px;
}
.nav-blur { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.tab-btn.tab-active { color: var(--color-primary) !important; border-color: var(--color-primary) !important; background: rgba(6,182,212,0.08) !important; }
.pricing-popular { border-color: var(--color-primary) !important; position: relative; }
.pricing-popular::before {
    content: 'Most Popular'; position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; padding: 0.25rem 1rem; border-radius: 9999px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
html { scroll-behavior: smooth; }
.hero-glow-primary {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%); pointer-events: none;
}
.hero-glow-secondary {
    position: absolute; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%); pointer-events: none;
}
.pillar-icon {
    width: 3.5rem; height: 3.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: 0.75rem; font-size: 1.25rem; flex-shrink: 0;
}
.step-number {
    width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-weight: 700; font-size: 0.875rem; flex-shrink: 0;
}
.trust-dim-icon {
    width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center;
    border-radius: 0.625rem; font-size: 1.1rem; flex-shrink: 0;
}
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.stat-item { animation: fadeSlideUp 0.6s ease forwards; }
.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }
.hamburger-line { display: block; width: 1.25rem; height: 2px; background: var(--color-text); transition: all 0.3s ease; border-radius: 2px; }
.hamburger-active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.pricing-check { color: var(--color-accent); margin-right: 0.5rem; flex-shrink: 0; }

/* ===== Announcement Banner ===== */
.announcement-bar {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    padding: 0.5rem 1rem;
    text-align: center;
    position: relative;
    z-index: 60;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.announcement-bar a {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.announcement-bar a:hover { opacity: 1; }
.announcement-bar .announcement-cta {
    text-decoration: underline;
    font-weight: 700;
    margin-left: 0.25rem;
}
.announcement-bar .announcement-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: color 0.2s ease;
}
.announcement-bar .announcement-close:hover { color: #fff; }
.announcement-bar.dismissed { transform: translateY(-100%); opacity: 0; height: 0; padding: 0; overflow: hidden; }

/* ===== Product Showcase Mockups ===== */
.mockup-frame {
    background: var(--color-bg-card);
    border: 0.0625rem solid var(--color-border);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.3);
}
.mockup-titlebar {
    background: rgba(255,255,255,0.03);
    border-bottom: 0.0625rem solid var(--color-border);
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mockup-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}
.mockup-body { padding: 1.25rem; }
.mockup-kpi {
    background: rgba(255,255,255,0.03);
    border: 0.0625rem solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
}
.mockup-kpi-value { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.mockup-kpi-label { font-size: 0.6875rem; color: var(--color-text-muted); margin-top: 0.125rem; }
.mockup-table-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 0.0625rem solid var(--color-border);
    font-size: 0.75rem;
}
.mockup-table-row:last-child { border-bottom: none; }
.mockup-status-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; display: inline-block; }
.mockup-bar { height: 0.5rem; border-radius: 0.25rem; background: var(--color-border); overflow: hidden; }
.mockup-bar-fill { height: 100%; border-radius: 0.25rem; transition: width 0.6s ease; }
.mockup-timeline-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.75rem;
}
.mockup-timeline-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    flex-shrink: 0;
}
.mockup-dim-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}
.mockup-dim-label { width: 6rem; flex-shrink: 0; color: var(--color-text-muted); }
.mockup-dim-bar { flex: 1; }
.mockup-dim-value { width: 2rem; text-align: right; font-weight: 600; }

/* ===== Chat Widget ===== */
.chat-bubble {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 55;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(6,182,212,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 2.75rem;
    min-height: 2.75rem;
}
.chat-bubble:hover { transform: scale(1.08); box-shadow: 0 0.75rem 2rem rgba(6,182,212,0.5); }
@keyframes chatPulse { 0%, 100% { box-shadow: 0 0.5rem 1.5rem rgba(6,182,212,0.4); } 50% { box-shadow: 0 0.5rem 2rem rgba(6,182,212,0.6), 0 0 0 0.5rem rgba(6,182,212,0.1); } }
.chat-bubble.pulse { animation: chatPulse 2s ease-in-out infinite; }
.chat-panel {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: 55;
    width: 22rem;
    max-height: 85vh;
    background: var(--color-bg-card);
    border: 0.0625rem solid var(--color-border);
    border-radius: 0.75rem;
    display: none;
    flex-direction: column;
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.4);
    overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
    padding: 0.875rem 1rem;
    border-bottom: 0.0625rem solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chat-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}
.chat-header-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #22c55e; }
.chat-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: color 0.2s ease, background 0.2s ease;
}
.chat-close:hover { color: var(--color-text); background: rgba(255,255,255,0.05); }
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    min-height: 12rem;
    max-height: calc(85vh - 7rem);
}
.chat-msg {
    margin-bottom: 0.75rem;
    max-width: 85%;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}
.chat-msg.bot {
    background: rgba(6,182,212,0.08);
    border: 0.0625rem solid rgba(6,182,212,0.15);
    color: var(--color-text);
    margin-right: auto;
}
.chat-msg.user {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    margin-left: auto;
}
.chat-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}
.chat-quick-btn {
    background: rgba(255,255,255,0.05);
    border: 0.0625rem solid var(--color-border);
    color: var(--color-text);
    font-size: 0.6875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}
.chat-quick-btn:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.chat-footer {
    padding: 0.75rem;
    border-top: 0.0625rem solid var(--color-border);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}
.chat-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 0.0625rem solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
    color: var(--color-text);
    font-size: 0.8125rem;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}
.chat-input:focus { border-color: var(--color-secondary); }
.chat-input::placeholder { color: var(--color-text-muted); }
.chat-send {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-size: 0.875rem;
}
.chat-send:hover { opacity: 0.88; }
@media (max-width: 30rem) {
    .chat-panel { left: 0.75rem; right: 0.75rem; width: auto; bottom: 5rem; }
}

/* ===== Light Theme Overrides ===== */
[data-theme="light"] body,
[data-theme="light"] .bg-csc-dark { background-color: #f8fafc !important; color: #0f172a !important; }
[data-theme="light"] .text-slate-100,
[data-theme="light"] .text-white { color: #0f172a !important; }
[data-theme="light"] .text-slate-300,
[data-theme="light"] .text-slate-400 { color: #475569 !important; }
[data-theme="light"] .text-slate-500 { color: #64748b !important; }
[data-theme="light"] .bg-slate-900 { background-color: #f1f5f9 !important; }
[data-theme="light"] .bg-slate-800,
[data-theme="light"] .bg-slate-800\/50 { background-color: #ffffff !important; }
[data-theme="light"] .bg-slate-900\/50,
[data-theme="light"] .bg-slate-900\/80 { background-color: rgba(241,245,249,0.9) !important; }
[data-theme="light"] .border-slate-800,
[data-theme="light"] .border-slate-700 { border-color: #e2e8f0 !important; }
[data-theme="light"] .border-csc-border\/50 { border-color: rgba(226,232,240,0.5) !important; }
[data-theme="light"] .bg-csc-dark\/80 { background-color: rgba(255,255,255,0.85) !important; }
[data-theme="light"] .bg-csc-dark\/95 { background-color: rgba(255,255,255,0.95) !important; }
[data-theme="light"] .grid-bg {
    background-image: linear-gradient(rgba(203,213,225,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(203,213,225,0.3) 1px, transparent 1px);
}
[data-theme="light"] .hero-glow-primary { background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%); }
[data-theme="light"] .hero-glow-secondary { background: radial-gradient(circle, rgba(139,92,246,0.05) 0%, transparent 70%); }
[data-theme="light"] .hover\:bg-white\/10:hover { background-color: rgba(0,0,0,0.06) !important; }
[data-theme="light"] .ring-slate-700 { --tw-ring-color: #e2e8f0 !important; }
[data-theme="light"] .announcement-bar a { color: #fff; }
[data-theme="light"] .mockup-frame { box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.08); border-color: #e2e8f0; }
[data-theme="light"] .mockup-titlebar { background: rgba(0,0,0,0.02); border-color: #e2e8f0; }
[data-theme="light"] .mockup-kpi { background: rgba(0,0,0,0.02); border-color: #e2e8f0; }
[data-theme="light"] .mockup-table-row { border-color: #e2e8f0; }
[data-theme="light"] .mockup-bar { background: #e2e8f0; }
[data-theme="light"] .chat-bubble { box-shadow: 0 0.5rem 1.5rem rgba(59,130,246,0.3); }
[data-theme="light"] .chat-panel { box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.1); }
[data-theme="light"] .chat-msg.bot { background: rgba(6,182,212,0.06); border-color: rgba(6,182,212,0.12); }
[data-theme="light"] .chat-input { background: rgba(0,0,0,0.03); }
[data-theme="light"] .chat-quick-btn { background: rgba(0,0,0,0.03); }
[data-theme="light"] .chat-close:hover { background: rgba(0,0,0,0.05); }
