/* ============================================================
   HOME PAGE CSS - FREE SHORTHAND TYPING
============================================================ */

:root{
    --fst-primary:#00353F;
    --fst-secondary:#01858E;
    --fst-accent:#96BA04;
    --fst-light:#F7FAFA;
    --fst-white:#FFFFFF;
    --fst-text:#60767B;
    --fst-border:#E6EFF0;
    --fst-shadow:0 18px 45px rgba(0,53,63,.08);
    --fst-shadow-hover:0 28px 60px rgba(0,53,63,.14);
}

/* Hero */
.fst-hero{
    position:relative;
    padding:78px 0 70px;
    background:
        radial-gradient(circle at 12% 12%,rgba(150,186,4,.16),transparent 30%),
        radial-gradient(circle at 88% 20%,rgba(1,133,142,.15),transparent 34%),
        linear-gradient(180deg,#F7FAFA 0%,#FFFFFF 100%);
    overflow:hidden;
}

.fst-hero::before{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    right:-220px;
    top:-170px;
    border-radius:50%;
    background:rgba(0,53,63,.045);
}

.fst-hero-badge,
.header-tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 16px;
    border-radius:999px;
    background:rgba(255,255,255,.78);
    border:1px solid #E7F0F1;
    color:var(--fst-secondary);
    font-size:14px;
    font-weight:800;
    box-shadow:0 12px 28px rgba(0,53,63,.07);
    margin-bottom:16px;
}

.fst-hero h1{
    margin:20px 0 18px;
    color:var(--fst-primary);
    font-size:56px;
    line-height:1.08;
    font-weight:900;
    letter-spacing:-1.4px;
}

.fst-hero h1 span{color:var(--fst-secondary);}

.fst-hero p{
    max-width:580px;
    color:#61777C;
    font-size:18px;
    line-height:1.75;
    margin:0;
}

.fst-hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px;
}

.fst-hero-btn-primary,
.fst-hero-btn-light,
.site-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:13px 22px;
    border-radius:999px;
    font-size:15px;
    font-weight:850;
    text-decoration:none !important;
    transition:.25s ease;
}

.fst-hero-btn-primary,
.site-btn{
    color:#fff !important;
    background:linear-gradient(135deg,var(--fst-secondary),var(--fst-primary));
    box-shadow:0 16px 34px rgba(1,133,142,.24);
    border:0;
}

.fst-hero-btn-primary:hover,
.site-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 40px rgba(0,53,63,.26);
}

.fst-hero-btn-light{
    color:var(--fst-primary) !important;
    background:rgba(255,255,255,.82);
    border:1px solid #E7F0F1;
    box-shadow:0 12px 26px rgba(0,53,63,.07);
}

.fst-hero-btn-light:hover{
    color:var(--fst-secondary) !important;
    transform:translateY(-2px);
}

.fst-hero-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    max-width:620px;
    margin-top:34px;
}

.fst-hero-stat{
    padding:14px 12px;
    border-radius:18px;
    background:rgba(255,255,255,.72);
    border:1px solid #E7F0F1;
    box-shadow:0 12px 28px rgba(0,53,63,.055);
}

.fst-hero-stat h3{
    margin:0;
    color:var(--fst-primary);
    font-size:24px;
    font-weight:900;
}

.fst-hero-stat span{
    color:#6B7D80;
    font-size:13px;
    font-weight:700;
}

/* Hero Slider */
.fst-hero-slider-wrap{
    position:relative;
    padding:16px;
    border-radius:32px;
    background:rgba(255,255,255,.76);
    border:1px solid rgba(231,240,241,.95);
    box-shadow:0 30px 70px rgba(0,53,63,.13);
}

.fst-hero-slider-wrap::before{
    content:"";
    position:absolute;
    inset:18px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(1,133,142,.16),rgba(150,186,4,.12));
    transform:rotate(-3deg);
    z-index:0;
}

.fst-hero-slider{
    position:relative;
    z-index:2;
    border-radius:24px;
    overflow:hidden;
    background:var(--fst-primary);
    min-height:430px;
}

.fst-hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    animation:fstHeroSlider 16s infinite;
}

.fst-hero-slide:nth-child(1){animation-delay:0s;}
.fst-hero-slide:nth-child(2){animation-delay:4s;}
.fst-hero-slide:nth-child(3){animation-delay:8s;}
.fst-hero-slide:nth-child(4){animation-delay:12s;}

.fst-hero-slide img{
    width:100%;
    height:430px;
    object-fit:contain;
    display:block;
}

.fst-hero-slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 45%,rgba(0,53,63,.72));
}

.fst-slide-caption{
    position:absolute;
    left:22px;
    right:22px;
    bottom:20px;
    z-index:3;
    padding:16px;
    border-radius:18px;
    background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(12px);
}

.fst-slide-caption h4{
    color:#fff;
    font-size:18px;
    font-weight:900;
    margin:0 0 4px;
}

.fst-slide-caption p{
    color:rgba(255,255,255,.82);
    font-size:13px;
    margin:0;
    line-height:1.5;
}

.fst-floating-card{
    position:absolute;
    z-index:4;
    top:36px;
    left:-18px;
    padding:12px 16px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 18px 36px rgba(0,53,63,.14);
    color:var(--fst-primary);
    font-weight:900;
}

.fst-floating-card span{
    display:block;
    color:var(--fst-secondary);
    font-size:12px;
    font-weight:800;
}

.fst-floating-card-2{
    top:auto;
    left:auto;
    right:-14px;
    bottom:44px;
}

@keyframes fstHeroSlider{
    0%{opacity:0;transform:scale(1.04);}
    8%{opacity:1;transform:scale(1);}
    30%{opacity:1;transform:scale(1);}
    38%{opacity:0;transform:scale(1.04);}
    100%{opacity:0;transform:scale(1.04);}
}

/* Practice Cards */
.fst-section{
    padding:90px 0;
    background:#F9FAF9;
}

.fst-section-header .p-lg{
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
}

.fst-feature-card{
    position:relative;
    height:100%;
    padding:14px 16px 20px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--fst-border);
    box-shadow:0 15px 40px rgba(0,53,63,.06);
    transition:.35s;
    overflow:hidden;
}

.fst-feature-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,var(--fst-secondary),var(--fst-accent));
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

.fst-feature-card:hover{
    transform:translateY(-10px);
    box-shadow:0 28px 60px rgba(0,53,63,.12);
}

.fst-feature-card:hover::before{transform:scaleX(1);}

.fst-image-wrapper{
    position:relative;
    height:170px;
    margin-bottom:22px;
    overflow:hidden;
    border-radius:25px;
    background:var(--fst-light);
}

.fst-image-wrapper img{
    width:100%;
    height:170px;
    object-fit:contain;
    transition:.45s;
    border-radius:25px;
}

.fst-feature-card:hover img{transform:scale(1.05);}

.fst-feature-icon{
    width:50px;
    height:50px;
    border-radius:18px;
    background:linear-gradient(135deg,var(--fst-secondary),var(--fst-primary));
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:-48px;
    margin-bottom:18px;
    position:relative;
    z-index:5;
    color:#fff;
    font-size:22px;
    box-shadow:0 15px 30px rgba(1,133,142,.30);
}

.fst-list{
    padding:0;
    margin:5px 0 18px;
    list-style:none;
}

.fst-list li{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    color:var(--fst-text);
    font-size:14px;
    font-weight:500;
}

.fst-list li i{
    width:22px;
    height:22px;
    border-radius:50%;
    background:#EAF8F4;
    color:var(--fst-secondary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    flex-shrink:0;
}

/* Why Section */
.fst-why-section{
    padding:90px 0;
    background:#fff;
}

.fst-why-actions{margin-top:28px;}

.fst-why-card{
    height:100%;
    padding:26px;
    border-radius:24px;
    background:var(--fst-light);
    border:1px solid var(--fst-border);
    transition:.35s;
}

.fst-why-card:hover{
    transform:translateY(-8px);
    background:#fff;
    box-shadow:var(--fst-shadow-hover);
    border-color:var(--fst-secondary);
}

.fst-why-card i{
    width:58px;
    height:58px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--fst-secondary),var(--fst-primary));
    color:#fff;
    font-size:22px;
    margin-bottom:18px;
}

.fst-why-card h5{
    color:var(--fst-primary);
    font-weight:900;
    margin-bottom:10px;
}

.fst-why-card p{
    color:var(--fst-text);
    margin:0;
    line-height:1.7;
}

/* Leaderboard */
.fst-leader-section{
    padding:80px 0;
    background:linear-gradient(180deg,#F7FAFA 0%,#ECF7F3 100%);
}

.fst-leaderboard{
    position:relative;
    background:#fff;
    border:1px solid var(--fst-secondary);
    border-radius:22px;
    padding:25px 15px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    text-align:center;
    transition:.35s;
    box-shadow:0 15px 35px rgba(0,53,63,.06);
    overflow:hidden;
    margin-bottom:20px;
}

.fst-leaderboard:hover{transform:translateY(-8px);}

.fst-leader-img{
    width:95px;
    height:95px;
    border-radius:50%;
    overflow:hidden;
    border:4px solid var(--fst-secondary);
    margin-bottom:15px;
    box-shadow:0 12px 25px rgba(1,133,142,.18);
}

.fst-leader-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.35s;
}

.fst-leaderboard:hover .fst-leader-img img{transform:scale(1.08);}

.fst-leaderboard .h5-heading{
    margin-bottom:6px;
    color:var(--fst-primary);
    font-weight:700;
}

.fst-leaderboard .h6-heading{
    color:var(--fst-text);
    font-size:14px;
    margin-bottom:18px;
    font-weight:500;
}

.fst-wpm{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 14px;
    border-radius:50px;
    background:#EAF8F4;
    color:var(--fst-secondary);
    font-size:14px;
    font-weight:700;
}

.fst-rank{
    position:absolute;
    top:15px;
    right:15px;
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--fst-primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
}

/* Process */
.fst-process-section{
    padding:90px 0;
    background:#fff;
}

.fst-process-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
}

.fst-process-step{
    width:210px;
    background:#fff;
    border-radius:24px;
    padding:30px 20px;
    text-align:center;
    border:1px solid var(--fst-border);
    box-shadow:0 15px 35px rgba(0,53,63,.06);
    transition:.35s;
}

.fst-process-step:hover{
    transform:translateY(-8px);
    border-color:var(--fst-secondary);
}

.fst-process-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    background:linear-gradient(135deg,var(--fst-secondary),var(--fst-primary));
    color:#fff;
    font-size:28px;
    box-shadow:0 12px 25px rgba(1,133,142,.25);
}

.fst-process-step h5{
    color:var(--fst-primary);
    font-weight:900;
    margin-bottom:10px;
}

.fst-process-step p{
    color:var(--fst-text);
    margin:0;
    line-height:1.7;
}

.fst-process-arrow{
    color:var(--fst-accent);
    font-size:28px;
}

.fst-process-step.success{
    background:linear-gradient(135deg,var(--fst-secondary),var(--fst-primary));
}

.fst-process-step.success h5,
.fst-process-step.success p{color:#fff;}

.fst-process-step.success .fst-process-icon{
    background:var(--fst-accent);
    color:var(--fst-primary);
}

/* Counter */
.fst-counter-section{
    padding:0 0 90px;
    background:#fff;
}

.fst-counter-box{
    border-radius:32px;
    padding:42px 24px;
    background:linear-gradient(135deg,var(--fst-primary),var(--fst-secondary));
    box-shadow:0 30px 70px rgba(0,53,63,.18);
}

.fst-counter-box h3{
    color:#fff;
    font-size:42px;
    font-weight:900;
    margin:0;
}

.fst-counter-box span{
    color:rgba(255,255,255,.82);
    font-weight:800;
}

/* CTA */
.fst-home-cta{
    padding:90px 0;
    background:var(--fst-light);
}

.fst-home-cta-box{
    position:relative;
    overflow:hidden;
    border-radius:34px;
    padding:62px 30px;
    background:linear-gradient(135deg,var(--fst-primary),var(--fst-secondary));
    box-shadow:0 30px 70px rgba(0,53,63,.18);
}

.fst-home-cta-box::before{
    content:"";
    position:absolute;
    width:360px;
    height:360px;
    right:-140px;
    top:-150px;
    border-radius:50%;
    background:rgba(150,186,4,.15);
}

.fst-home-cta-box h2,
.fst-home-cta-box p{
    color:#fff;
    position:relative;
    z-index:2;
}

.fst-home-cta-box .header-tag,
.fst-home-cta-actions{
    position:relative;
    z-index:2;
}

.fst-home-cta-actions{
    display:flex;
    gap:14px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:28px;
}

/* Responsive */
@media(max-width:991px){
    .fst-hero,
    .fst-section,
    .fst-why-section,
    .fst-leader-section,
    .fst-process-section,
    .fst-home-cta{
        padding:60px 0;
    }

    .fst-hero{
        text-align:center;
    }

    .fst-hero h1{
        font-size:42px;
    }

    .fst-hero p{
        margin-left:auto;
        margin-right:auto;
    }

    .fst-hero-actions,
    .fst-why-actions{
        justify-content:center;
    }

    .fst-hero-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .fst-hero-slide img,
    .fst-hero-slider{
        height:330px;
        min-height:330px;
    }

    .fst-floating-card{left:10px;}
    .fst-floating-card-2{right:10px;}

    .fst-process-wrap{flex-direction:column;}
    .fst-process-arrow{transform:rotate(90deg);}
}

@media(max-width:575px){
    .fst-hero h1{font-size:34px;}
    .fst-hero p{font-size:16px;}
    .fst-hero-actions{flex-direction:column;}
    .fst-hero-btn-primary,
    .fst-hero-btn-light{width:100%;}
    .fst-image-wrapper,
    .fst-image-wrapper img{height:170px;}
    .fst-counter-box h3{font-size:32px;}
}
