/* ==========================
   GLOBAL STYLES
========================== */

:root{

    --primary:#0052CC;
    --primary-dark:#003D99;

    --secondary:#20314b;

    --text:#64748B;

    --light:#F8FAFC;

    --white:#FFFFFF;

    --border:#E2E8F0;

    --shadow:0 8px 24px rgba(0,82,204,.08);

    --radius:16px;

    --accent:#00B140;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:var(--text);
    line-height:1.8;
    background:#fff;
}

.container{
    width:88%;
    max-width:1140px;
}
section{
    padding:70px 0;
}

h1,h2,h3{
    color:var(--secondary);
    line-height:1.3;
}

h1{
    font-size:clamp(2.5rem,5vw,4.5rem);
    font-weight:800;
}

h2{
    font-size:clamp(2rem,4vw,3rem);
    margin-bottom:20px;
    font-weight:700;
}

h3{
    font-size:1.3rem;
    margin-bottom:12px;
}

p{
    font-size:1.05rem;
}

.problem-section,
.timeline-section,
.applications{
    background:#f8faf9;
}
/* ==========================
   HERO SECTION
========================== */

.blog-hero{
    background: linear-gradient(
        135deg,
        #EAF2FF 0%,
        #F8FAFC 45%,
        #EEF8FF 100%
    );

    min-height: 30vh;

    display: flex;
    align-items: center;

    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero::before{
    content:"";

    position:absolute;

    width:500px;
    height:500px;

    background:rgba(0,82,204,.06);

    border-radius:50%;

    top:-200px;
    right:-150px;
}
.blog-hero .container{
    max-width:1200px;
}

.blog-badge{
    display:inline-block;

    background: rgba(0,177,64,0.10);

    color: #00B140;

    padding:10px 18px;

    border-radius:50px;

    font-size:.85rem;

    font-weight:600;

    margin-bottom:10px;
}
.blog-badge:hover{

    background:#00B140;

    color:#FFFFFF;

    transform:translateY(-2px);
}

.blog-hero h1{
    max-width:700px;
    font-size:clamp(1.8rem,3vw,3rem);
    color:#1a1a1a;
    margin-bottom:20px;
    line-height: 1.15;
    margin-top: 30px;
}

.hero-subtitle{
    max-width:650px;
    color:#555;
    margin:0;
}
.hero-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.hero-content{
    flex:1;
}

.hero-image{
    flex:1;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:500px;
    height:auto;
    object-fit:contain;
    object-position: center;
    margin-top: 70px;

    filter:drop-shadow(
        0 20px 35px rgba(0,0,0,.15)
    );
}
@media(max-width:768px){

    .hero-wrapper{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .hero-image img{
        max-width:320px;
    }
}
/* ==========================
   SECTION HEADING
========================== */

.section-heading{
    text-align:center;
    max-width:800px;
    margin:0 auto 60px;
}

.section-heading span{
    color:var(--primary);
    font-weight:700;
    letter-spacing:2px;
    font-size:.85rem;
}

.section-heading p{
    margin-top:15px;
}

/* ==========================
   PROBLEM SECTION
========================== */

.problem-section{
    background: var(--light);
    padding: 80px 0;
}

.problem-section h2{
    text-align: center;
    margin-bottom: 18px;
}

.problem-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


.problem-card{
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: all .35s ease;
}

.problem-card h4{
    margin-bottom: 10px;
    color: var(--secondary);
}

.problem-card p{
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.problem-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.problem-alert{
    margin-top: 55px;
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color: #fff;
    padding: 28px 35px;
    border-radius: 16px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.problem-alert strong{
    color: #ffd54f;
}
/* ==========================
   SMART FLOW
========================== */

.smart-flow{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:nowrap;
}

.feature-card{
    flex:1 1 300px;
    min-width:260px;
}
.flow-arrow{
    font-size:2rem;
    color:#00B140;
}

.feature-card{

    width:100%;

    padding:20px;

    min-height:260px;

    display:flex;
    flex-direction:column;

    align-items:flex-start;
    text-align:left;

    background:#edf5ff;

    border:1px solid rgba(0,82,204,0.10);

    border-radius:18px;

    box-shadow:
    0 8px 24px rgba(0,82,204,.05);
}
.feature-card p{
    font-size:.95rem;
    line-height:1.7;
}
.feature-card:hover{
    transform:translateY(-8px);
}

.feature-number{
    width:60px;
    height:60px;
    background:var(--primary);
    color:white;
    margin:auto;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    margin-bottom:20px;
}

.flow-arrow{
    font-size:2rem;
    color:var(--primary);
    font-weight:bold;
}

/* ==========================
   TIMELINE
========================== */

.timeline-section{
    background:var(--light);
}

.timeline-section h2{
    text-align:center;
    margin-bottom:60px;
}

.timeline{
    max-width:800px;
    margin:auto;
    position:relative;
}

.timeline::before{
    content:"";
    position:absolute;
    left:20px;
    top:0;
    bottom:0;
    width:4px;
    background:var(--primary);
}

.step{
    position:relative;
    margin-left:60px;
    background:white;
    padding:25px;
    margin-bottom:25px;
    border-radius:15px;
    box-shadow:var(--shadow);
}

.step::before{
    content:"";
    position:absolute;
    left:-50px;
    top:30px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:var(--primary);
}

.step span{
    display:block;
    font-weight:700;
    color:var(--primary);
    margin-bottom:8px;
}

/* ==========================
   BENEFITS
========================== */

.benefit-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
.benefit-card{
    padding:25px;
    min-height:250px;
    min-width: 0;
}

.benefit-card{
    background:white;
    border-radius:var(--radius);
    text-align:center;
    box-shadow:var(--shadow);
    transition:.3s;
}

.benefit-card{
    position:relative;
    overflow:hidden;
}

.benefit-card::before{
    content:"";

    position:absolute;

    left:0;
    top:0;

    width:4px;
    height:100%;

    background:#00B140;

    transform:scaleY(0);

    transform-origin:top;

    transition:.35s ease;
}

.benefit-card:hover::before{
    transform:scaleY(1);
}

.benefit-card:hover{
    transform:translateY(-8px);
}


.benefit-icon{
    font-size:2.5rem;
    margin-bottom:20px;
}

/* ==========================
   APPLICATIONS
========================== */

.applications{
    background:var(--light);
}

.app-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.app-card{
    background:white;
    padding:35px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:.3s;
}

.app-card:hover{
    transform:translateY(-6px);
}

.app-card h3{
    margin-bottom:15px;
}
.app-card p{
    color:#6b7280;
    font-size:0.95rem;
    line-height:1.7;
}
.app-card:hover{

    background:#003D99;

    transform:translateY(-10px) scale(1.02);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.20),
        0 0 25px rgba(0,177,64,0.12);
}

.app-card:hover h3{
    color:#ffffff;
}

.app-card:hover p{
    color:rgba(255,255,255,.9);
}


/* ==========================
   CTA
========================== */

.blog-cta{
    position: relative;

    overflow: hidden;

    background:
    linear-gradient(
        135deg,
        #0F172A 0%,
        #003D99 50%,
        #0052CC 100%
    );
      min-height: 30vh; /* 30% of viewport height */
    
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
  
    text-align: center;
}

.blog-cta::before{
    content: "";
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;

    background: rgba(255,255,255,0.08);
}

.blog-cta::after{
    content: "";
    position: absolute;
    bottom: -180px;
    left: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;

    background: rgba(255,255,255,0.05);
}

.blog-cta .container{
    position: relative;
    z-index: 2;
}

.blog-cta h2{
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;

    margin: 0 0 10px;
    padding: 0;
}

.blog-cta p{
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.cta-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 18px 40px;
    border-radius: 50px;

    background: #FFFFFF;
    color: #0052CC;

    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;

    transition: all 0.3s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.20);
}
.cta-btn:hover{

    background: #00B140;

    color: #FFFFFF;

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0,177,64,0.25);
}


/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

    section{
        padding:80px 0;
    }

    .smart-flow{
        flex-direction:column;
    }

    .flow-arrow{
        transform:rotate(90deg);
    }
}

@media(max-width:768px){

    .blog-hero{
        padding:100px 0;
    }

    h2{
        font-size:2rem;
    }

    .problem-grid,
    .benefit-grid,
    .app-grid{
        grid-template-columns:1fr;
    }

    .container{
        width:92%;
    }
}
/* ==========================
   TABLET
========================== */

@media (max-width: 992px){

    section{
        padding:60px 0;
    }

    .container{
        width:92%;
    }

    .smart-flow{
        flex-direction:column;
        gap:25px;
    }

    .flow-arrow{
        transform:rotate(90deg);
    }

    .benefit-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .blog-hero{
        min-height:auto;
        padding:70px 0;
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

    section{
        padding:50px 0;
    }

    .container{
        width:94%;
    }

    /* HERO */

    .blog-hero{
        min-height:auto;
        padding:60px 0;
        text-align:center;
    }

    .blog-hero::before{
        width:250px;
        height:250px;
        top:-100px;
        right:-100px;
    }

    .blog-badge{
        font-size:.75rem;
        padding:8px 14px;
    }

    .blog-hero h1{
        font-size:2rem;
        line-height:1.2;
        margin-top:15px;
        margin-bottom:15px;
    }

    .hero-subtitle{
        font-size:.95rem;
        line-height:1.7;
        margin:auto;
    }

    /* HEADINGS */

    h2{
        font-size:1.8rem;
        margin-bottom:15px;
    }

    h3{
        font-size:1.15rem;
    }

    p{
        font-size:.95rem;
    }

    .section-heading{
        margin-bottom:40px;
    }

    /* GRIDS */

    .problem-grid,
    .benefit-grid,
    .app-grid{
        grid-template-columns:1fr;
    }

    /* CARDS */

    .problem-card,
    .app-card,
    .benefit-card{
        padding:22px;
    }

    .benefit-card{
        min-height:auto;
    }

    /* SMART FLOW */

    .feature-card{
        min-height:auto;
        padding:22px;
        text-align:center;
        align-items:center;
    }

    .feature-number{
        width:55px;
        height:55px;
        font-size:1rem;
        margin-bottom:15px;
    }

    .flow-arrow{
        font-size:1.5rem;
    }

    /* TIMELINE */

    .timeline::before{
        left:12px;
    }

    .step{
        margin-left:35px;
        padding:20px;
    }

    .step::before{
        left:-30px;
        width:16px;
        height:16px;
    }

    /* CTA */

    .blog-cta{
        min-height:auto;
        padding:60px 20px;
    }

    .blog-cta::before,
    .blog-cta::after{
        display:none;
    }

    .blog-cta h2{
        font-size:1.9rem;
    }

    .blog-cta p{
        font-size:.95rem;
        margin-bottom:25px;
    }

    .cta-btn{
        width:100%;
        justify-content:center;
        padding:16px 24px;
        font-size:.95rem;
    }
}


/* ==========================
   SMALL PHONES
========================== */

@media (max-width:480px){

    section{
        padding:40px 0;
    }

    .blog-hero{
        padding:50px 0;
    }

    .blog-hero h1{
        font-size:1.75rem;
    }

    h2{
        font-size:1.6rem;
    }

    .problem-card,
    .feature-card,
    .benefit-card,
    .app-card{
        padding:18px;
    }

    .step{
        padding:18px;
    }

    .blog-cta h2{
        font-size:1.6rem;
    }

    .cta-btn{
        padding:15px 20px;
        font-size:.9rem;
    }
}

/* ==========================================
   SECTION 4 - TECHNOLOGY STACK
========================================== */

.technology-stack{
    background:#f8fafc;
}

.tech-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

.tech-card{
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transition:.3s;
    position:relative;
    overflow:hidden;
}

.tech-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:5px;
    height:100%;
    background:#00B140;
}

.tech-card:hover{
    transform:translateY(-8px);
}

.tech-card h3{
    margin-bottom:12px;
    color:#20314b;
}

.tech-card span{
    color:#64748B;
    font-weight:500;
}

/* ==========================================
   SECTION 5 - BUSINESS IMPACT
========================================== */

.industry-score{
    background:#fff;
}

.score-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:40px;
}

.score-card{
    background:linear-gradient(
        135deg,
        #0052CC,
        #003D99
    );

    color:#fff;

    padding:35px 20px;

    text-align:center;

    border-radius:18px;

    transition:.3s;
}

.score-card:hover{
    transform:translateY(-8px);
}

.score-card h3{
    color:#fff;
    font-size:3rem;
    margin-bottom:10px;
    font-weight:800;
}

.score-card p{
    color:rgba(255,255,255,.9);
    margin:0;
}

/* ==========================================
   PREMIUM COMPARISON SECTION
========================================== */

.comparison-section{
    background:#f8fafc;
}

.comparison-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:50px;
}

.compare-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    transition:.35s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    position:relative;
}

.compare-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.12);
}

.compare-header{

    padding:30px;

    color:#fff;
}

.old-system .compare-header{

    background:
    linear-gradient(
        135deg,
        #ef4444,
        #dc2626
    );
}

.smart-system .compare-header{

    background:
    linear-gradient(
        135deg,
        #0052CC,
        #00B140
    );
}

.compare-header h3{

    color:#fff;

    margin-bottom:8px;

    font-size:1.5rem;
}

.compare-header span{

    opacity:.9;

    font-size:.95rem;
}

.compare-card ul{

    list-style:none;

    padding:30px;
}

.compare-card ul li{

    padding:14px 0;

    border-bottom:1px solid #E2E8F0;

    font-weight:500;
}

.compare-card ul li:last-child{

    border-bottom:none;
}

/* Mobile */

@media(max-width:768px){

    .comparison-grid{

        grid-template-columns:1fr;
    }

    .compare-header{

        padding:25px;
    }

    .compare-card ul{

        padding:25px;
    }
}
/* ==========================================
   SECTION 7 - INDUSTRIES
========================================== */

.industry-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:40px;
}

.industry-card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    text-align:center;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transition:.3s;
}

.industry-card:hover{
    transform:translateY(-8px);
    background:#0052CC;
}

.industry-card:hover h3{
    color:#fff;
}

.industry-card h3{
    margin:0;
    transition:.3s;
}

/* ==========================================
   TABLET
========================================== */

@media(max-width:992px){

    .tech-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .score-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .industry-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

    .tech-grid,
    .score-grid,
    .industry-grid{
        grid-template-columns:1fr;
    }

    .tech-card,
    .industry-card{
        padding:24px;
    }

    .score-card{
        padding:28px 20px;
    }

    .score-card h3{
        font-size:2.3rem;
    }

    .comparison-table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

    .comparison-table th,
    .comparison-table td{
        padding:14px;
        font-size:.95rem;
    }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media(max-width:480px){

    .score-card h3{
        font-size:2rem;
    }

    .tech-card,
    .industry-card,
    .score-card{
        padding:20px;
    }

}