@import "globals.css";

/* ==========================================================================
   SOLUTIONS / INDUSTRY PAGES — SHARED STYLESHEET
   ========================================================================== */

/* ── Hero ── */
.solution-hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,196,255,0.1);
}
.solution-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,196,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,196,255,0.05) 1px, transparent 1px);
    background-size: 55px 55px;
    animation: gridMove 30s linear infinite;
    pointer-events: none;
}
@keyframes gridMove {
    from { background-position: 0 0; }
    to   { background-position: 55px 55px; }
}

/* hero gradient variants per industry */
.hero-startups   { background: linear-gradient(135deg,#060f1e 0%,#091830 40%,#0d2545 100%); }
.hero-sme        { background: linear-gradient(135deg,#070c1a 0%,#0a1a2e 40%,#102040 100%); }
.hero-enterprise { background: linear-gradient(135deg,#050d1a 0%,#08152a 40%,#0e2040 100%); }
.hero-education  { background: linear-gradient(135deg,#080c22 0%,#0d1535 40%,#131d4a 100%); }
.hero-healthcare { background: linear-gradient(135deg,#060d16 0%,#091825 40%,#0d2535 100%); }
.hero-ecommerce  { background: linear-gradient(135deg,#0d0814 0%,#180d25 40%,#220f35 100%); }
.hero-finance    { background: linear-gradient(135deg,#07100a 0%,#0b1a0e 40%,#102215 100%); }
.hero-realestate { background: linear-gradient(135deg,#100a06 0%,#1a120a 40%,#22180e 100%); }
.hero-hospitality{ background: linear-gradient(135deg,#0f0606 0%,#1a0a0a 40%,#250e0e 100%); }
.hero-manufacturing{background: linear-gradient(135deg,#080a10 0%,#0d1018 40%,#131822 100%); }

.hero-glow {
    position: absolute; inset: 0;
    pointer-events: none;
}
.hero-glow .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.2;
}
.orb-1 { width:420px; height:420px; top:-15%; left:-8%; background:radial-gradient(circle,#00C4FF,transparent 70%); }
.orb-2 { width:380px; height:380px; bottom:-20%; right:-5%; background:radial-gradient(circle,#00ffd5,transparent 70%); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    border: 1px solid rgba(0,196,255,0.25);
    background: rgba(0,196,255,0.08);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.solution-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-light);
}
.gradient-word {
    background: linear-gradient(120deg, #00C4FF 0%, #00ffd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Stat strip ── */
.stat-strip {
    background: rgba(17,34,64,0.6);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.8rem 2rem;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1;
}
.stat-item .stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    align-self: stretch;
}

/* ── Section backgrounds ── */
main section.bg-light  { background-color: var(--bg-dark-secondary) !important; }
main section.bg-white  { background-color: var(--bg-dark-primary)   !important; }
main section.bg-alt    { background-color: var(--bg-dark-secondary) !important; }

/* ── Challenge cards ── */
.challenge-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    height: 100%;
    transition: border-color .3s, transform .3s;
}
.challenge-card:hover {
    border-color: rgba(248,113,113,0.4);
    transform: translateY(-6px);
}
.challenge-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(248,113,113,0.1);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    color: #f87171;
}
.challenge-card h6 { color: var(--text-light); font-size: 1.05rem; margin-bottom: .5rem; }
.challenge-card p  { color: var(--text-muted-light); font-size: .91rem; line-height: 1.65; margin: 0; }

/* ── Solution feature cards ── */
.feature-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    height: 100%;
    transition: border-color .35s, box-shadow .35s, transform .35s;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00C4FF, #00ffd5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.feature-card:hover {
    border-color: rgba(0,196,255,0.3);
    box-shadow: 0 18px 45px rgba(0,0,0,0.4);
    transform: translateY(-8px);
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    font-size: 1.6rem;
    border: 1px solid rgba(255,255,255,0.06);
}
.feature-card h5 { color: var(--text-light); font-size: 1.15rem; margin-bottom: .5rem; }
.feature-card p  { color: var(--text-muted-light); font-size: .92rem; line-height: 1.65; margin: 0; }

/* icon colour helpers */
.ic-blue   { background: rgba(0,196,255,0.1);   color: #00C4FF; }
.ic-green  { background: rgba(52,211,153,0.1);  color: #34d399; }
.ic-yellow { background: rgba(255,215,0,0.1);   color: #FFD700; }
.ic-purple { background: rgba(167,139,250,0.1); color: #a78bfa; }
.ic-red    { background: rgba(248,113,113,0.1); color: #f87171; }
.ic-cyan   { background: rgba(99,179,237,0.1);  color: #63b3ed; }
.ic-orange { background: rgba(251,146,60,0.1);  color: #fb923c; }
.ic-pink   { background: rgba(244,114,182,0.1); color: #f472b6; }

/* ── Tech stack pill list ── */
.tech-pill {
    display: inline-block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    color: var(--text-muted-light);
    font-size: .82rem; font-weight: 500;
    padding: .3rem .75rem;
    border-radius: 8px;
    transition: all .25s;
}
.tech-pill:hover { background: rgba(0,196,255,0.1); border-color: #00C4FF; color: #00C4FF; }

/* ── Process timeline ── */
.process-line {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.process-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2.5rem;
}
.process-item:last-child { padding-bottom: 0; }
.process-item::before {
    content: '';
    position: absolute;
    left: 24px; top: 52px;
    width: 2px;
    height: calc(100% - 52px);
    background: linear-gradient(to bottom, rgba(0,196,255,0.4), rgba(0,196,255,0));
}
.process-item:last-child::before { display: none; }
.process-num {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-weight: 800; font-size: 1.1rem;
    font-family: var(--font-heading);
    background: rgba(0,196,255,0.1);
    border: 2px solid rgba(0,196,255,0.3);
    color: var(--color-primary);
    z-index: 1;
}
.process-body h6 { color: var(--text-light); font-size: 1.05rem; margin-bottom: .4rem; }
.process-body p  { color: var(--text-muted-light); font-size: .91rem; line-height: 1.65; margin: 0; }

/* ── Industry specific CTA ── */
.industry-cta {
    background: linear-gradient(135deg, #060f1e 0%, #0A192F 50%, #0d2040 100%);
    position: relative;
    overflow: hidden;
}
.industry-cta::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,196,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,196,255,0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.industry-cta .cta-glow {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #00C4FF, transparent 70%);
    filter: blur(80px);
    opacity: .1;
    top: -20%; left: -10%;
}

/* ── FAQ ── */
.sol-faq .accordion-item {
    background: var(--bg-dark-card) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 14px !important;
    margin-bottom: 1rem !important;
    overflow: hidden;
}
.sol-faq .accordion-item:hover { border-color: rgba(0,196,255,0.3) !important; }
.sol-faq .accordion-button {
    background: transparent !important;
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 1.4rem 1.6rem;
    box-shadow: none !important;
    border: none !important;
}
.sol-faq .accordion-button:not(.collapsed) { color: var(--color-primary) !important; }
.sol-faq .accordion-button::after { filter: invert(1) brightness(1.5); }
.sol-faq .accordion-body {
    background: rgba(6,15,30,.4);
    color: var(--text-muted-light);
    font-size: .96rem;
    line-height: 1.75;
    padding: 1.3rem 1.6rem 1.6rem;
}

/* ── Result cards ── */
.result-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    transition: transform .3s, border-color .3s;
}
.result-card:hover { transform: translateY(-8px); border-color: rgba(0,196,255,.3); }
.result-num {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(120deg,#00C4FF,#00ffd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .4rem;
}
.result-card p { color: var(--text-muted-light); font-size: .9rem; margin: 0; }

/* ── Badges ── */
.bg-primary-soft { background: rgba(0,196,255,0.1); }
.text-primary     { color: var(--color-primary) !important; }
.text-muted-light { color: var(--text-muted-light) !important; }

/* ── Responsive ── */
@media(max-width:991.98px) {
    .solution-hero { min-height: auto; padding: 6rem 0 4rem; }
    .stat-strip    { padding: 1.4rem; }
    .stat-divider  { display: none; }
}
@media(max-width:575.98px) {
    .solution-hero h1 { font-size: 2rem; }
    .feature-card  { padding: 1.7rem 1.5rem; }
}

/* === MOBILE RESPONSIVE HERO === */
@media (max-width: 991.98px) {
  .solution-hero-section {
    min-height: auto !important;
    padding-top: 5.5rem !important;
    padding-bottom: 3rem !important;
    background-attachment: scroll !important;
  }
}
@media (max-width: 767.98px) {
  .solution-hero-section {
    padding-top: 5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .solution-hero-section h1, .solution-hero-section .display-4, .solution-hero-section .display-3 {
    font-size: clamp(1.7rem, 6.5vw, 2.5rem) !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
  }
  .solution-hero-section p.lead, .solution-hero-section .lead {
    font-size: 0.97rem !important;
  }
}
@media (max-width: 480px) {
  .solution-hero-section {
    padding-top: 4.5rem !important;
    padding-bottom: 2rem !important;
  }
}