/* AxelCore Theme - Blue/Cyan Override */
html { scroll-behavior: smooth; }

:root {
    --purple-dark: #0b1a2e;
    --purple-mid: #0d47a1;
    --purple-light: #1976d2;
    --bg-light: #f0f4f8;
}

.top-bar {
    background: linear-gradient(90deg, #0b1a2e, #0d47a1, #1976d2, #00bcd4, #1976d2, #0d47a1, #0b1a2e) !important;
    background-size: 200% 100% !important;
}

.gradient-text {
    background: linear-gradient(135deg, #0d47a1, #00bcd4) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.btn-trial {
    background: linear-gradient(135deg, #00bcd4, #0097a7) !important;
}
.btn-trial:hover {
    background: linear-gradient(135deg, #0097a7, #00838f) !important;
}

.btn-explore {
    background: linear-gradient(135deg, #0d47a1, #1976d2) !important;
    color: white !important;
}

.btn-demo {
    background: #00bcd4 !important;
    color: #0b1a2e !important;
}
.btn-demo:hover {
    background: #0097a7 !important;
    color: white !important;
}

.footer {
    background: #0b1a2e !important;
    color: rgba(255,255,255,0.8) !important;
}
.footer h4 { color: white !important; }
.footer a { color: rgba(255,255,255,0.7) !important; }
.footer a:hover { color: #4dd0e1 !important; }

.copyright-bar {
    background: #081828 !important;
    color: rgba(255,255,255,0.5) !important;
}

.page-hero {
    background: linear-gradient(135deg, #0b1a2e, #0d47a1, #1976d2) !important;
}

.cta-banner {
    background: linear-gradient(135deg, #0b1a2e, #0d47a1) !important;
}

.tag-new {
    background: #00bcd4 !important;
    color: #0b1a2e !important;
}

.mega-dropdown a:hover {
    color: #0d47a1 !important;
}

.nav-item:hover > a,
.nav-item.active > a {
    color: #00bcd4 !important;
    border-bottom-color: #00bcd4 !important;
}

.mobile-nav-item > a:hover,
.mobile-subnav-group a:hover {
    color: #00bcd4 !important;
}

.navbar .logo img {
    height: 38px;
}
@media (max-width: 480px) {
    .navbar .logo img { height: 28px; }
}

/* Arrow circle - override orange gradient from shared CSS */
.arrow-circle {
    background: linear-gradient(135deg, #0d47a1, #1976d2) !important;
}

/* Button hover shadows - override orange shadows from shared CSS */
.btn-trial:hover {
    box-shadow: 0 6px 20px rgba(0,188,212,0.4) !important;
}
.btn-explore:hover {
    box-shadow: 0 6px 20px rgba(13,71,161,0.3) !important;
}
.btn-demo:hover {
    box-shadow: 0 4px 15px rgba(0,188,212,0.4) !important;
}

/* Feature card icon SVG color - override purple from shared CSS */
.feature-card .icon svg {
    color: #0d47a1 !important;
}

/* Mega highlight CTA - override orange from shared CSS */
.mega-highlight .mega-cta {
    background: #00bcd4 !important;
    color: #0b1a2e !important;
}

/* Footer grid - V4 has 4 columns not 5 */
.footer-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr !important; }
}

/* Footer legal/social labels - visible on dark bg */
.legal-row .legal-label,
.social-row .social-label {
    color: rgba(255,255,255,0.85) !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}
/* Footer legal/social links visible on dark bg */
.legal-row a,
.social-row a {
    color: rgba(255,255,255,0.7) !important;
    padding: 10px 4px !important;
}
.footer-legal a:hover,
.legal-row a:hover,
.social-row a:hover {
    color: #4dd0e1 !important;
}

/* Footer border override for dark bg */
.footer {
    border-top: none !important;
}
.footer-legal {
    border-top-color: rgba(255,255,255,0.1) !important;
}

/* ========== SKIP LINK (Accessibility) ========== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: #0b1a2e;
    color: #00bcd4;
    font-weight: 700;
    font-size: 14px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ========== FOCUS STATES (Accessibility) ========== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #00bcd4;
    outline-offset: 2px;
    border-radius: 4px;
}

.btn-trial:focus-visible,
.btn-explore:focus-visible,
.btn-demo:focus-visible {
    outline: 2px solid #00bcd4;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.2);
}

.cs-card:focus-within {
    border-color: rgba(0, 188, 212, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* ========== CASE STUDIES SECTION ========== */
.case-studies-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.case-studies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00bcd4, transparent);
}
.cs-container {
    max-width: 1200px;
    margin: 0 auto;
}
.cs-header {
    text-align: center;
    margin-bottom: 60px;
}
.cs-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00bcd4;
    background: rgba(0, 188, 212, 0.08);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 188, 212, 0.2);
}
.cs-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #0b1a2e;
    margin-bottom: 12px;
}
.cs-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}
.cs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.cs-grid.cs-grid-single {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
}
.cs-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e8ecf0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(40px);
}
.cs-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d47a1, #00bcd4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cs-card.is-visible:hover::before {
    transform: scaleX(1);
}
.cs-card.is-visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 188, 212, 0.1);
    border-color: transparent;
}
.cs-card-number {
    position: absolute;
    top: 12px;
    right: 24px;
    font-size: 72px;
    font-weight: 800;
    color: rgba(0, 188, 212, 0.06);
    line-height: 1;
    pointer-events: none;
}
.cs-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b1a2e;
    margin-bottom: 16px;
    padding-right: 60px;
}
.cs-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.cs-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e3f2fd, #e0f7fa);
    color: #0d47a1;
    transition: all 0.3s;
}
.cs-card:hover .cs-tag {
    background: linear-gradient(135deg, #bbdefb, #b2ebf2);
}
.cs-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cs-card-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00bcd4;
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 6px;
}
.cs-card-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: #00bcd4;
    border-radius: 1px;
}
.cs-card-section p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}
.cs-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cs-benefits li {
    font-size: 13px;
    color: #334155;
    padding: 5px 14px;
    background: rgba(0, 188, 212, 0.06);
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.15);
    transition: all 0.3s;
}
.cs-card:hover .cs-benefits li {
    background: rgba(0, 188, 212, 0.1);
    border-color: rgba(0, 188, 212, 0.3);
}

@media (max-width: 1200px) {
    .case-studies-section { padding: 80px 40px; }
    .cs-header h2 { font-size: 38px; }
    .cs-header { margin-bottom: 50px; }
}

@media (max-width: 992px) {
    .case-studies-section { padding: 80px 30px; }
    .cs-header h2 { font-size: 34px; }
    .cs-subtitle { font-size: 16px; }
    .cs-grid { gap: 24px; }
    .cs-card { padding: 32px 28px; }
}

@media (max-width: 768px) {
    .cs-grid { grid-template-columns: 1fr; }
    .cs-header h2 { font-size: 32px; }
    .case-studies-section { padding: 60px 20px; }
    .cs-card-number { font-size: 48px; }
    .cs-card-title { padding-right: 40px; font-size: 19px; }
}

@media (max-width: 480px) {
    .case-studies-section { padding: 50px 16px; }
    .cs-header h2 { font-size: 28px; }
    .cs-header { margin-bottom: 36px; }
    .cs-subtitle { font-size: 15px; }
    .cs-card { padding: 24px 20px; border-radius: 16px; }
    .cs-card-title { font-size: 18px; padding-right: 36px; }
    .cs-card-number { font-size: 40px; right: 16px; }
    .cs-tag { font-size: 10px; padding: 3px 10px; }
    .cs-card-section p { font-size: 13px; }
    .cs-benefits li { font-size: 12px; padding: 4px 12px; }
}
