/* ============================================
   VALUE PILLARS
   ============================================ */
.pillars {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--border);
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.pillar-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
}
.pillar-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar-icon.env { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.pillar-icon.equip { background: rgba(59, 130, 246, 0.12); color: var(--accent); }
.pillar-icon.service { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }

.pillar-card h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.pillar-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   EQUIPMENT
   ============================================ */
.equipment {
    padding: var(--section-pad) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.equipment-header {
    text-align: center;
    margin-bottom: 52px;
}
.equipment-header .section-subtitle {
    margin: 0 auto;
}
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.equip-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.equip-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(59,130,246,0.1);
    transform: translateY(-2px);
}
.equip-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}
.equip-card-icon svg { width: 20px; height: 20px; }

.equip-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.3;
}
.equip-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}
.equip-card .learn-more {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.equip-card:hover .learn-more { gap: 8px; }

/* ============================================
   ARACA INSIGHTS — FEATURED PRODUCT
   ============================================ */
.insights {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}
.insights::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
}
.insights-inner {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.insights-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.insights-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.insights-content {
    padding: clamp(36px, 5vw, 60px);
}
.insights-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    animation: badge-glow 3s ease-in-out infinite;
}
.insights-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    animation: badge-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}
.insights-badge svg {
    animation: badge-twinkle 2.5s ease-in-out infinite;
    transform-origin: center;
}
@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 6px rgba(59, 130, 246, 0.15), 0 0 12px rgba(59, 130, 246, 0.05); }
    50% { box-shadow: 0 0 12px rgba(59, 130, 246, 0.35), 0 0 24px rgba(59, 130, 246, 0.12); }
}
@keyframes badge-shimmer {
    0%, 70%, 100% { left: -100%; opacity: 0; }
    5% { opacity: 1; }
    30% { left: 150%; opacity: 1; }
    35% { opacity: 0; }
}
@keyframes badge-twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(15deg); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
    .insights-badge,
    .insights-badge::after,
    .insights-badge svg {
        animation: none;
    }
    .insights-badge { box-shadow: 0 0 6px rgba(59, 130, 246, 0.15); }
}
.insights-content h2 {
    font-family: var(--font-body);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 300;
    line-height: 1.12;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.insights-content h2 .insights-brand {
    font-weight: 700;
    color: var(--accent);
}
.insights-content h2 .insights-brand sup {
    font-size: 0.5em;
}
.insights-content .insights-sub {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 18px;
}
.insights-content .insights-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
.insights-content .btn-primary {
    margin-top: 8px;
}

.insights-features {
    background: var(--bg-tertiary);
    padding: clamp(36px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border);
}
.feature-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }
.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
    flex-shrink: 0;
}
.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}
.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-pad) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.services-header {
    margin-bottom: 48px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s;
}
.service-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.service-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--border);
    font-family: var(--font-body);
    margin-bottom: 12px;
    line-height: 1;
}
.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.service-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--section-pad) 0;
    background: var(--bg-secondary);
    border-top: 1px solid #334155;
}
.about-text-centered {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.about-text-centered p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}
.about-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}
.about-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.about-link svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* --- Bento Grid Stats --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 56px;
}
.bento-card {
    background: var(--bg-primary);
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s, border-color 0.3s;
    opacity: 0;
    translate: 0 40px;
}
.bento-card.visible {
    opacity: 1;
    translate: 0 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                translate 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.15s ease-out,
                box-shadow 0.3s,
                border-color 0.3s;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(
        circle 180px at var(--mx, 50%) var(--my, 50%),
        rgba(96, 165, 250, 0.1) 0%,
        transparent 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
    border-color: #475569;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.bento-card .stat-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #93C5FD 0%, #3B82F6 55%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bento-card .stat-desc {
    font-size: 13px;
    color: #94A3B8;
    margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .bento-card {
        opacity: 1;
        translate: none;
    }
}

/* Linked service card */
a.service-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
a.service-card:hover {
    color: inherit;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(59,130,246,0.1);
}
a.service-card .learn-more {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
a.service-card:hover .learn-more {
    gap: 8px;
}

/* ============================================
   LICENSING (in-page CTA section)
   ============================================ */
.licensing-cta-section {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.licensing-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 65%);
    pointer-events: none;
}
.licensing-header {
    text-align: center;
    margin-bottom: 40px;
}
.licensing-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}
.licensing-cta-block {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.licensing-cta-block:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.licensing-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    pointer-events: none;
}
.licensing-seal {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.licensing-seal svg {
    width: 100%;
    height: 100%;
}
.licensing-cta-prompt {
    flex: 1;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.005em;
}
.btn-licensing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.btn-licensing svg {
    transition: transform 0.2s ease;
}
.btn-licensing:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.06);
    transform: translateY(-1px);
}
.btn-licensing:hover svg {
    transform: translateX(3px);
}

/* ============================================
   SECTIONS — RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .insights-layout { grid-template-columns: 1fr; }
    .insights-features { border-left: none; border-top: 1px solid var(--border); }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .equipment-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .about-links { flex-direction: column; align-items: stretch; }
    .bento-card .stat-value { font-size: 28px; }
    .licensing-cta-block {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 14px;
        padding: 22px;
    }
    .licensing-seal { margin: 0 auto; }
    .btn-licensing { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-licensing,
    .btn-licensing svg { transition: none; }
}

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