﻿
/* =========================================
   FREE TOOLS - PREMIUM DESIGN
========================================= */

.tools-hero,
.tools-section,
.tools-info-section {
    background: #ffffff;
    color: #173b30;
}

.tools-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* HERO */

.tools-hero {
    padding: 75px 0 75px;
    overflow: hidden;
}

.tools-hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.tools-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tools-eyebrow,
.tools-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9a762e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow-dot,
.calc-live-dot {
    width: 8px;
    height: 8px;
    background: #b8944b;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(184,148,75,.12);
}

.tools-hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 5.5vw, 66px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    color: #153c30;
}

    .tools-hero h1 span,
    .tools-section-heading h2 span,
    .tools-info-inner h2 span {
        color: #a27b35;
    }

.tools-hero-content > p {
    max-width: 590px;
    font-size: 16px;
    line-height: 1.8;
    color: #64756d;
    margin: 0 0 28px;
}

.tools-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 14px 23px;
    border-radius: 9px;
    background: #075c48;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
    box-shadow: 0 8px 22px rgba(7,92,72,.15);
}

    .tools-primary-btn:hover {
        background: #a27b35;
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(162,123,53,.2);
    }

.tools-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
    color: #66776e;
    font-size: 12px;
    font-weight: 600;
}

/* HERO CALCULATOR VISUAL */

.tools-hero > .tools-container {
    position: relative;
}

.tools-hero-visual {
    position: absolute;
    right: 20px;
    top: 0;
    width: 390px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(162,123,53,.2);
    border-radius: 50%;
    animation: orbitRotate 18s linear infinite;
}

.orbit-one {
    width: 330px;
    height: 330px;
}

.orbit-two {
    width: 260px;
    height: 260px;
    animation-direction: reverse;
}

.hero-calculator-card {
    position: relative;
    z-index: 2;
    width: 280px;
    padding: 22px;
    border: 1px solid #e5eae5;
    border-radius: 20px;
    background: linear-gradient(145deg,#ffffff,#f2f7f3);
    box-shadow: 0 25px 60px rgba(20,65,48,.12);
    animation: calculatorFloat 5s ease-in-out infinite;
}

.hero-calculator-top,
.hero-calc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-calculator-top {
    color: #8c7444;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-calc-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #e5f0e9;
    border-radius: 12px;
    color: #075c48;
}

    .hero-calc-icon svg {
        width: 23px;
        height: 23px;
    }

.hero-calc-display {
    margin: 25px 0 18px;
    display: flex;
    flex-direction: column;
}

    .hero-calc-display small {
        font-size: 10px;
        color: #8b9990;
        letter-spacing: 1px;
    }

    .hero-calc-display strong {
        margin: 7px 0;
        font-size: 30px;
        color: #075c48;
    }

    .hero-calc-display > span {
        font-size: 11px;
        color: #87958c;
    }

.hero-calc-bars {
    display: grid;
    gap: 9px;
}

    .hero-calc-bars span {
        display: block;
        height: 7px;
        border-radius: 20px;
        background: linear-gradient(90deg,#075c48,#c5a35e);
        animation: barPulse 3s ease-in-out infinite alternate;
    }

        .hero-calc-bars span:nth-child(2) {
            animation-delay: .4s;
        }

        .hero-calc-bars span:nth-child(3) {
            animation-delay: .8s;
        }

.hero-calc-footer {
    margin-top: 20px;
    padding-top: 13px;
    border-top: 1px solid #e6ebe7;
    font-size: 10px;
    color: #87958c;
}

.floating-tool-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border: 1px solid #edf0e9;
    border-radius: 12px;
    background: #fff;
    color: #315344;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(20,65,48,.1);
}

    .floating-tool-badge span {
        color: #a27b35;
        font-size: 19px;
        font-weight: 800;
    }

.badge-gst {
    top: 40px;
    left: -10px;
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-profit {
    right: -5px;
    bottom: 35px;
    animation: badgeFloat 4s ease-in-out infinite reverse;
}

/* SECTION */

.tools-section {
    padding: 50px 0 55px;
}

.tools-section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px;
}

    .tools-section-heading h2 {
        margin: 14px 0 12px;
        font-size: clamp(30px,4vw,43px);
        color: #153c30;
        font-weight: 800;
        letter-spacing: -1px;
    }

    .tools-section-heading p {
        color: #738178;
        font-size: 15px;
        line-height: 1.7;
    }

/* CALCULATOR GRID */

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.calculator-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 25px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #e8ece7;
    border-radius: 17px;
    background: #ffffff;
    color: #173b30;
    text-decoration: none !important;
    box-shadow: 0 5px 20px rgba(22,59,46,.035);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}

    .calculator-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        opacity: 0;
        background: radial-gradient(circle at top right, rgba(184,148,75,.13), transparent 55%);
        transition: opacity .4s ease;
    }

    .calculator-card::after {
        content: "";
        position: absolute;
        top: -100%;
        left: -60%;
        width: 35%;
        height: 300%;
        transform: rotate(25deg);
        background: linear-gradient(90deg, transparent,rgba(255,255,255,.8),transparent);
        transition: left .7s ease;
        pointer-events: none;
    }

    .calculator-card:hover {
        transform: translateY(-9px);
        border-color: rgba(184,148,75,.55);
        box-shadow: 0 20px 45px rgba(22,59,46,.10);
    }

        .calculator-card:hover::before {
            opacity: 1;
        }

        .calculator-card:hover::after {
            left: 130%;
        }

.calculator-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
}

.calculator-logo {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #075c48;
    background: #eaf3ed;
    transition: transform .4s ease, border-radius .4s ease;
}

    .calculator-logo svg {
        width: 28px;
        height: 28px;
    }

.calculator-card:hover .calculator-logo {
    transform: rotate(-8deg) scale(1.09);
    border-radius: 19px;
}

.calculator-tag {
    padding: 6px 10px;
    border-radius: 30px;
    background: #f5f1e7;
    color: #94702f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.calculator-card-content {
    flex: 1;
}

    .calculator-card-content h3 {
        margin: 0 0 10px;
        font-size: 19px;
        font-weight: 800;
        color: #173b30;
    }

    .calculator-card-content p {
        margin: 0;
        color: #718078;
        font-size: 13px;
        line-height: 1.7;
    }

.calculator-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 17px;
    border-top: 1px solid #edf0eb;
    color: #075c48;
    font-size: 12px;
    font-weight: 800;
}

.calculator-arrow {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #edf4ef;
    color: #075c48;
    font-size: 17px;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.calculator-card:hover .calculator-arrow {
    transform: translate(4px,-4px);
    background: #075c48;
    color: #fff;
}

/* DIFFERENT CARD IDENTITIES */

.card-gst .calculator-logo {
    background: #e9f3ed;
    color: #087451;
}

.card-profit .calculator-logo {
    background: #f7f0df;
    color: #a17a2f;
}

.card-amazon .calculator-logo {
    background: #fff0df;
    color: #b46b20;
}

.card-fba .calculator-logo {
    background: #eaf0fb;
    color: #4268a8;
}

.card-flipkart .calculator-logo {
    background: #fff0e8;
    color: #df762a;
}

.card-meesho .calculator-logo {
    background: #fbeaf1;
    color: #b64c78;
}

/* INFO SECTION */

.tools-info-section {
    padding: 40px 0;
    border-top: 1px solid #edf0eb;
}

.tools-info-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

    .tools-info-inner > div {
        max-width: 700px;
    }

    .tools-info-inner h2 {
        margin: 14px 0;
        font-size: clamp(26px,3vw,37px);
        color: #153c30;
        font-weight: 800;
    }

    .tools-info-inner p {
        color: #718078;
        font-size: 14px;
        line-height: 1.8;
    }

/* ANIMATIONS */

@keyframes calculatorFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes badgeFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes orbitRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes barPulse {
    from {
        opacity: .65;
    }

    to {
        opacity: 1;
    }
}

/* TABLET */

@media (max-width: 1000px) {
    .tools-hero {
        padding: 65px 0;
    }

    .tools-hero-content {
        max-width: 55%;
    }

    .tools-hero-visual {
        right: -15px;
        transform: scale(.85);
        transform-origin: center right;
    }

    .calculator-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .tools-container {
        width: min(100% - 32px, 520px);
    }

    .tools-hero {
        padding: 55px 0 45px;
    }

    .tools-hero-content {
        max-width: 100%;
    }

    .tools-hero h1 {
        font-size: clamp(35px,9vw,48px);
        letter-spacing: -1.5px;
    }

    .tools-hero-content > p {
        font-size: 14px;
    }

    .tools-trust-line {
        gap: 12px;
        font-size: 11px;
    }

    .tools-hero-visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 310px;
        margin: 35px auto 0;
        transform: none;
    }

    .hero-calculator-card {
        width: min(270px,78%);
    }

    .orbit-one {
        width: 280px;
        height: 280px;
    }

    .orbit-two {
        width: 220px;
        height: 220px;
    }

    .badge-gst {
        left: 0;
        top: 25px;
    }

    .badge-profit {
        right: 0;
        bottom: 20px;
    }

    .tools-section {
        padding: 55px 0 65px;
    }

    .tools-section-heading {
        margin-bottom: 30px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .calculator-card {
        min-height: 220px;
        padding: 22px;
    }

    .tools-info-section {
        padding: 45px 0;
    }

    .tools-info-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .tools-hero h1 {
        font-size: 34px;
    }

    .floating-tool-badge {
        padding: 9px 10px;
        font-size: 10px;
    }

    .tools-trust-line {
        gap: 9px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .tools-hero-visual *,
    .calculator-card,
    .calculator-card *,
    .calculator-card::before,
    .calculator-card::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ======================================
   UNIQUE PREMIUM CALCULATOR BACKGROUNDS
====================================== */

.calculator-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

    /* Background graphic layer */
    .calculator-card::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: 175px;
        height: 175px;
        right: -35px;
        top: 20px;
        border-radius: 50%;
        opacity: .12;
        pointer-events: none;
        transition: .5s ease;
    }

    .calculator-card::after {
        content: "";
        position: absolute;
        z-index: -1;
        right: 15px;
        top: 30px;
        width: 115px;
        height: 115px;
        opacity: .13;
        pointer-events: none;
        transition: .5s ease;
    }

    .calculator-card:hover::before {
        transform: scale(1.25) rotate(18deg);
        opacity: .20;
    }

    .calculator-card:hover::after {
        transform: translateY(-8px) rotate(-8deg);
        opacity: .23;
    }

/* GST - Percentage & Tax Pattern */

.card-gst::before {
    background: radial-gradient(circle at 30% 30%, #0a9465 0 3px, transparent 4px), radial-gradient(circle at 70% 65%, #0a9465 0 5px, transparent 6px), repeating-radial-gradient(circle, transparent 0 17px, #0a9465 18px 19px, transparent 20px 28px);
}

.card-gst::after {
    content: "%";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    font-weight: 900;
    color: #087451;
    font-family: Arial, sans-serif;
}

/* PROFIT - Growing Graph */

.card-profit::before {
    border-radius: 0;
    background: repeating-linear-gradient( 90deg, transparent 0 15px, #b58b36 16px 18px, transparent 19px 30px );
    clip-path: polygon(0 85%, 20% 65%, 35% 72%, 55% 35%, 70% 45%, 100% 0, 100% 100%, 0 100%);
}

.card-profit::after {
    content: "↗";
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a17a2f;
    font-size: 105px;
    font-weight: 900;
}

/* AMAZON - Shopping / Sales */

.card-amazon::before {
    background: radial-gradient(circle, #e89b38 0 4px, transparent 5px), radial-gradient(circle at 75% 30%, #e89b38 0 6px, transparent 7px), repeating-linear-gradient(45deg, transparent 0 15px, #e89b38 16px 17px, transparent 18px 32px);
}

.card-amazon::after {
    content: "a";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 105px;
    font-weight: 900;
    color: #d88a2d;
    font-family: Arial, sans-serif;
}

/* AMAZON FBA - Package Boxes */

.card-fba::before {
    border-radius: 20px;
    background: linear-gradient(30deg, transparent 42%, #5378b6 43% 45%, transparent 46%), linear-gradient(150deg, transparent 42%, #5378b6 43% 45%, transparent 46%), repeating-linear-gradient(90deg, transparent 0 30px, #5378b6 31px 33px, transparent 34px 50px);
}

.card-fba::after {
    content: "□";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    font-weight: 900;
    color: #5378b6;
}

/* FLIPKART - Shopping Geometry */

.card-flipkart::before {
    border-radius: 0;
    background: linear-gradient(45deg, transparent 45%, #e88936 46% 48%, transparent 49%), linear-gradient(-45deg, transparent 45%, #e88936 46% 48%, transparent 49%), repeating-linear-gradient(0deg, transparent 0 20px, #e88936 21px 22px, transparent 23px 40px);
}

.card-flipkart::after {
    content: "F";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    font-weight: 900;
    color: #e88936;
    font-family: Arial, sans-serif;
}

/* MEESHO - Business Network */

.card-meesho::before {
    background: radial-gradient(circle at 25% 25%, #bd5d86 0 5px, transparent 6px), radial-gradient(circle at 75% 35%, #bd5d86 0 5px, transparent 6px), radial-gradient(circle at 50% 75%, #bd5d86 0 5px, transparent 6px), linear-gradient(35deg, transparent 48%, #bd5d86 49% 50%, transparent 51%), linear-gradient(-35deg, transparent 48%, #bd5d86 49% 50%, transparent 51%);
}

.card-meesho::after {
    content: "M";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 95px;
    font-weight: 900;
    color: #bd5d86;
    font-family: Arial, sans-serif;
}

/* Subtle movement */

.calculator-card:hover::before {
    animation: cardGraphicMove 5s ease-in-out infinite alternate;
}

@keyframes cardGraphicMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 25px 20px;
    }
}

/* Mobile performance */

@media(max-width:650px) {
    .calculator-card::before {
        width: 135px;
        height: 135px;
        right: -30px;
    }

    .calculator-card::after {
        right: 5px;
        font-size: 75px;
    }
}

/* ==========================================
   PREMIUM CSS ILLUSTRATIONS FOR TOOL CARDS
   Pure HTML + CSS + SVG | No Image Required
========================================== */

.card-art {
    height: 165px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 13px;
    margin-bottom: 20px;
    isolation: isolate;
}

    .card-art::before,
    .card-art::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .card-art::before {
        width: 180px;
        height: 180px;
        top: -100px;
        right: -35px;
        background: rgba(255,255,255,.45);
    }

    .card-art::after {
        width: 110px;
        height: 110px;
        bottom: -75px;
        left: -30px;
        background: rgba(255,255,255,.35);
    }

.calculator-card:hover .card-art > * {
    transition: transform .4s ease;
}

/* GST */

.gst-art {
    background: linear-gradient(135deg,#d9f9e9,#b8ead5 50%,#8ed8bb);
}

.gst-calculator {
    width: 100px;
    height: 125px;
    padding: 9px;
    border-radius: 13px;
    background: linear-gradient(145deg,#164d40,#092f29);
    box-shadow: 0 12px 22px rgba(0,65,45,.24);
    transform: rotate(-8deg);
    z-index: 2;
}

.gst-screen {
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px;
    border-radius: 5px;
    background: #d9f9e9;
    color: #087451;
    font-weight: 900;
    font-size: 12px;
}

.gst-keys {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5px;
    margin-top: 9px;
}

    .gst-keys i {
        height: 12px;
        border-radius: 3px;
        background: #65cba4;
    }

        .gst-keys i:nth-child(3n) {
            background: #f3bd53;
        }

    .gst-keys .key-gold {
        background: #ff9b42;
    }

.gst-percent {
    position: absolute;
    right: 45px;
    top: 12px;
    font-size: 76px;
    line-height: 1;
    font-weight: 900;
    color: rgba(6,126,82,.20);
    transform: rotate(12deg);
}

.gst-coin {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7c85f;
    color: #805316;
    font-weight: 900;
    box-shadow: 0 5px 10px rgba(120,85,20,.15);
}

.coin-one {
    left: 24px;
    top: 27px;
}

.coin-two {
    right: 27px;
    bottom: 25px;
    background: #fff;
}

.coin-three {
    left: 42px;
    bottom: 20px;
    background: #40b98a;
    color: white;
}

.calculator-card:hover .gst-calculator {
    transform: rotate(0) scale(1.05);
}

/* PROFIT */

.profit-art {
    background: linear-gradient(135deg,#fff3d5,#fce2a5 55%,#f5c56d);
}

.profit-chart {
    position: relative;
    width: 77%;
    height: 115px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 12px;
    background: rgba(255,255,255,.85);
    box-shadow: 0 10px 22px rgba(151,100,17,.13);
    z-index: 2;
    transform: rotate(-3deg);
    transition: .4s ease;
}

.chart-top {
    display: flex;
    justify-content: space-between;
    color: #748175;
    font-size: 8px;
    font-weight: 800;
}

    .chart-top strong {
        color: #079b6b;
        font-size: 17px;
    }

.chart-bars {
    height: 65px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    padding: 0 7px;
}

    .chart-bars i {
        flex: 1;
        height: var(--h);
        border-radius: 4px 4px 0 0;
        background: linear-gradient(to top,#0a986b,#65d5a5);
        animation: profitBar 1.5s ease-out both;
    }

        .chart-bars i:nth-child(2n) {
            background: linear-gradient(to top,#e6a12f,#f5ce70);
        }

.profit-line {
    position: absolute;
    width: 88%;
    height: 62px;
    left: 6%;
    top: 40px;
    overflow: visible;
}

.profit-floating {
    position: absolute;
    right: 17px;
    top: 16px;
    padding: 8px 13px;
    border-radius: 20px;
    background: #078b63;
    color: white;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 6px 12px rgba(0,100,65,.2);
    z-index: 3;
    animation: floatingLabel 3s ease-in-out infinite;
}

.calculator-card:hover .profit-chart {
    transform: rotate(0) scale(1.05);
}

@keyframes profitBar {
    from {
        height: 0;
    }
}

@keyframes floatingLabel {
    50% {
        transform: translateY(-7px);
    }
}

/* AMAZON */

.amazon-art {
    background: linear-gradient(135deg,#fff0d9,#ffd39a 60%,#ffb86d);
}

.amazon-bag {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.amazon-bag-body {
    width: 92px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 20px 20px;
    background: linear-gradient(145deg,#ffad36,#e8791b);
    box-shadow: 0 13px 22px rgba(175,91,15,.22);
    transform: rotate(-5deg);
}

    .amazon-bag-body span {
        font-size: 65px;
        font-weight: 900;
        color: white;
        line-height: 1;
        font-family: Arial,sans-serif;
    }

.amazon-bag-handle {
    position: absolute;
    top: -18px;
    left: 29px;
    width: 35px;
    height: 25px;
    border: 5px solid #bb6c21;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
}

.amazon-smile {
    position: absolute;
    bottom: 14px;
    left: 25px;
    width: 48px;
    height: 12px;
    border-bottom: 4px solid #fff;
    border-radius: 50%;
}

.amazon-box {
    position: absolute;
    display: grid;
    place-items: center;
    background: #a66a38;
    color: white;
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 5px 10px rgba(110,65,30,.18);
}

.box-one {
    width: 43px;
    height: 39px;
    right: 48px;
    bottom: 21px;
    transform: rotate(8deg);
}

.box-two {
    width: 30px;
    height: 30px;
    left: 35px;
    bottom: 22px;
    background: #d88d46;
    transform: rotate(-12deg);
}

.amazon-sale {
    position: absolute;
    top: 19px;
    right: 22px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff;
    color: #dc711e;
    font-size: 9px;
    font-weight: 900;
    transform: rotate(8deg);
}

.amazon-rupee {
    position: absolute;
    left: 30px;
    top: 20px;
    color: #fff;
    font-size: 23px;
    font-weight: 900;
}

/* AMAZON FBA */

.fba-art {
    background: linear-gradient(135deg,#e0eaff,#c4d8ff 60%,#a8c5f4);
}

.fba-package {
    position: absolute;
    z-index: 2;
    width: 65px;
    height: 54px;
    background: linear-gradient(145deg,#eeb66c,#bc7b38);
    clip-path: polygon(0 15%,50% 0,100% 15%,100% 80%,50% 100%,0 80%);
    box-shadow: 0 10px 20px rgba(52,86,150,.15);
}

    .fba-package::before {
        content: "";
        position: absolute;
        left: 48%;
        top: 2px;
        width: 4px;
        height: 48px;
        background: #f9d59a;
        transform: rotate(0deg);
    }

    .fba-package span {
        position: absolute;
        top: 10px;
        left: 28px;
        width: 2px;
        height: 17px;
        background: #a76d33;
    }

.package-one {
    left: 32%;
    top: 42px;
    transform: rotate(-7deg);
    z-index: 3;
}

.package-two {
    left: 17%;
    bottom: 23px;
    transform: scale(.72) rotate(-8deg);
}

.package-three {
    right: 15%;
    bottom: 24px;
    transform: scale(.8) rotate(9deg);
}

.fba-route {
    position: absolute;
    width: 190px;
    height: 80px;
    bottom: -37px;
    left: 15%;
    border: 2px dashed rgba(48,99,180,.55);
    border-radius: 50%;
}

.fba-truck {
    position: absolute;
    right: 19%;
    top: 22px;
    width: 38px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #356db5;
    color: white;
    font-size: 20px;
    box-shadow: 0 6px 12px rgba(35,80,145,.2);
}

.fba-label {
    position: absolute;
    top: 18px;
    left: 20px;
    color: #3269b4;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 2px;
}

/* FLIPKART */

.flipkart-art {
    background: linear-gradient(135deg,#e4efff,#c4dcff 55%,#a6c8f7);
}

.flip-bag {
    position: relative;
    z-index: 2;
    margin-top: 16px;
}

.flip-bag-body {
    width: 91px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 10px 10px 19px 19px;
    background: linear-gradient(145deg,#2879ed,#1253bc);
    box-shadow: 0 13px 22px rgba(22,82,168,.22);
    transform: rotate(5deg);
}

    .flip-bag-body span {
        color: #ffd33f;
        font-size: 67px;
        font-weight: 900;
        font-style: italic;
        font-family: Arial,sans-serif;
    }

.flip-handle {
    position: absolute;
    top: -17px;
    left: 28px;
    width: 35px;
    height: 23px;
    border: 5px solid #1654a8;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
}

.flip-star {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f5bb27;
    font-size: 39px;
    animation: starSpin 9s linear infinite;
}

.flip-tag {
    position: absolute;
    left: 24px;
    top: 24px;
    padding: 6px 9px;
    background: #fff;
    color: #1458b4;
    font-weight: 900;
    font-size: 10px;
    border-radius: 5px;
    transform: rotate(-12deg);
}

.flip-circle {
    position: absolute;
    right: 32px;
    bottom: 15px;
    width: 30px;
    height: 30px;
    border: 5px solid #f7c43b;
    border-radius: 50%;
}

.flip-small-box {
    position: absolute;
    left: 32%;
    bottom: 13px;
    width: 25px;
    height: 20px;
    background: #f5c344;
    transform: rotate(20deg);
}

@keyframes starSpin {
    to {
        transform: rotate(360deg);
    }
}

/* MEESHO */

.meesho-art {
    background: linear-gradient(135deg,#ffe5f0,#f8c8df 55%,#e8b3ed);
}

.meesho-bag {
    position: relative;
    z-index: 3;
    margin-top: 17px;
}

    .meesho-bag span {
        width: 85px;
        height: 83px;
        display: grid;
        place-items: center;
        border-radius: 11px 11px 18px 18px;
        background: linear-gradient(145deg,#c64e8e,#953baf);
        color: white;
        font-size: 58px;
        font-weight: 900;
        box-shadow: 0 12px 22px rgba(155,51,115,.23);
    }

.meesho-handle {
    position: absolute;
    z-index: 2;
    top: -15px;
    left: 26px;
    width: 34px;
    height: 22px;
    border: 5px solid #9e3986;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
}

.meesho-product {
    position: absolute;
    border-radius: 9px;
    box-shadow: 0 7px 14px rgba(130,49,110,.15);
}

.product-one {
    width: 38px;
    height: 38px;
    left: 23px;
    bottom: 20px;
    background: #ffb74d;
    transform: rotate(-13deg);
}

.product-two {
    width: 31px;
    height: 31px;
    right: 28px;
    top: 23px;
    background: #fff;
    transform: rotate(15deg);
}

.product-three {
    width: 25px;
    height: 25px;
    right: 30px;
    bottom: 20px;
    background: #e36e9e;
    border: 3px solid #fff;
}

.meesho-heart {
    position: absolute;
    top: 17px;
    left: 34%;
    color: #d84b8b;
    font-size: 24px;
}

.meesho-discount {
    position: absolute;
    right: 15px;
    top: 60px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #fff;
    color: #b13e84;
    border-radius: 50%;
    font-weight: 900;
    font-size: 15px;
}

/* COMMON HOVER EFFECT */

.calculator-card:hover .card-art {
    filter: saturate(1.12);
}

    .calculator-card:hover .card-art > div {
        transition: transform .4s ease;
    }

.calculator-card:hover .gst-calculator,
.calculator-card:hover .amazon-bag-body,
.calculator-card:hover .flip-bag-body,
.calculator-card:hover .meesho-bag span {
    transform: translateY(-5px) rotate(0deg);
}

.calculator-card:hover .fba-package {
    animation: packageBounce .6s ease;
}

@keyframes packageBounce {
    50% {
        transform: translateY(-9px) rotate(3deg);
    }
}

/* RESPONSIVE */

@media(max-width:650px) {
    .card-art {
        height: 155px;
    }

    .calculator-card {
        min-height: auto;
    }
}

@media(prefers-reduced-motion:reduce) {
    .card-art *,
    .calculator-card * {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================
   PREMIUM BUSINESS ANALYTICS HERO VISUAL
========================================= */

.tools-hero-visual {
    isolation: isolate;
}

.hero-glow {
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,151,105,.16), rgba(21,151,105,.04) 55%, transparent 72%);
    filter: blur(8px);
}

/* MAIN DASHBOARD */

.hero-calculator-card {
    width: 300px;
    padding: 19px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 23px;
    background: linear-gradient(145deg,#ffffff,#f3f8f4);
    box-shadow: 0 30px 65px rgba(17,70,48,.17), 0 5px 15px rgba(17,70,48,.06);
    animation: heroDashboardFloat 5s ease-in-out infinite;
}

/* TOP */

.hero-calc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .hero-calc-brand > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .hero-calc-brand strong {
        font-size: 9px;
        letter-spacing: 1px;
        color: #245b45;
    }

    .hero-calc-brand small {
        font-size: 9px;
        color: #8a9b90;
    }

.hero-live-status {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16b77a;
    box-shadow: 0 0 0 5px rgba(22,183,122,.12);
    animation: heroLivePulse 2s infinite;
}

/* REVENUE DISPLAY */

.hero-calc-display {
    margin-top: 23px;
    padding: 17px;
    border-radius: 15px;
    background: linear-gradient(135deg,#075c48,#0b8462);
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero-calc-display::after {
        content: "₹";
        position: absolute;
        right: 12px;
        top: -20px;
        font-size: 110px;
        font-weight: 900;
        color: rgba(255,255,255,.07);
    }

.hero-display-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(255,255,255,.75);
}

.hero-display-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(255,255,255,.16);
}

.hero-calc-display > strong {
    display: block;
    margin: 9px 0 6px;
    font-size: 29px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-revenue-growth {
    display: flex;
    align-items: center;
    gap: 9px;
    position: relative;
    z-index: 1;
}

    .hero-revenue-growth span {
        color: #a7f3d0;
        font-size: 10px;
        font-weight: 800;
    }

    .hero-revenue-growth small {
        color: rgba(255,255,255,.65);
        font-size: 9px;
    }

/* STATS */

.hero-dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 13px;
}

.hero-stat-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 8px;
    border: 1px solid #edf1ed;
    border-radius: 11px;
    background: #fff;
}

    .hero-stat-box > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .hero-stat-box small {
        font-size: 9px;
        color: #829087;
    }

    .hero-stat-box strong {
        font-size: 12px;
        color: #214c39;
    }

.hero-stat-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 900;
}

.profit-icon {
    background: #e3f6eb;
    color: #0b9b68;
}

.gst-icon {
    background: #fff2d9;
    color: #d49325;
}

/* PERFORMANCE CHART */

.hero-chart-area {
    margin-top: 16px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #edf1ed;
}

.hero-chart-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .hero-chart-heading strong {
        font-size: 10px;
        color: #315b46;
    }

    .hero-chart-heading span {
        font-size: 8px;
        color: #98a39b;
    }

.hero-chart-bars {
    height: 54px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 10px;
    padding: 0 5px;
}

    .hero-chart-bars i {
        flex: 1;
        height: var(--bar);
        min-width: 0;
        border-radius: 5px 5px 2px 2px;
        background: linear-gradient(to top,#087d5a,#73d5a8);
        transform-origin: bottom;
        animation: heroBarRise 1.3s ease-out both;
    }

        .hero-chart-bars i:nth-child(2n) {
            background: linear-gradient(to top,#c29238,#f0ce78);
        }

        .hero-chart-bars i:nth-child(2) {
            animation-delay: .1s;
        }

        .hero-chart-bars i:nth-child(3) {
            animation-delay: .2s;
        }

        .hero-chart-bars i:nth-child(4) {
            animation-delay: .3s;
        }

        .hero-chart-bars i:nth-child(5) {
            animation-delay: .4s;
        }

        .hero-chart-bars i:nth-child(6) {
            animation-delay: .5s;
        }

        .hero-chart-bars i:nth-child(7) {
            animation-delay: .6s;
        }

/* FOOTER */

.hero-calc-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e9eee9;
    font-size: 9px;
    color: #89988e;
}

    .hero-calc-footer span:last-child {
        color: #079a68;
        font-weight: 900;
        letter-spacing: 1px;
    }

/* FLOATING CARDS */

.hero-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 13px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 30px rgba(24,70,49,.13);
}

.hero-gst-card {
    left: -12px;
    top: 38px;
    animation: heroBadgeFloat 4s ease-in-out infinite;
}

.hero-gst-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg,#d6f8e7,#a2e7c5);
    color: #07875c;
    font-size: 25px;
    font-weight: 900;
}

.hero-floating-card > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-floating-card strong {
    font-size: 12px;
    color: #24533e;
}

.hero-floating-card small {
    font-size: 9px;
    color: #87968d;
}

.hero-gst-check {
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0da775;
    color: #fff;
    font-size: 10px;
}

.hero-profit-card {
    right: -20px;
    bottom: 35px;
    animation: heroBadgeFloat 4.5s ease-in-out infinite reverse;
}

.hero-profit-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff0d3;
    color: #bd8526;
    font-size: 24px;
    font-weight: 900;
}

.hero-mini-chart {
    height: 30px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

    .hero-mini-chart i {
        width: 4px;
        height: 40%;
        border-radius: 5px;
        background: #0ca878;
    }

        .hero-mini-chart i:nth-child(2) {
            height: 65%;
        }

        .hero-mini-chart i:nth-child(3) {
            height: 48%;
        }

        .hero-mini-chart i:nth-child(4) {
            height: 80%;
        }

        .hero-mini-chart i:nth-child(5) {
            height: 100%;
        }

/* FLOATING COINS */

.hero-floating-coin {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 7px 15px rgba(80,80,30,.12);
    animation: heroCoinFloat 4s ease-in-out infinite;
}

.coin-one {
    right: 25px;
    top: 22px;
    background: #ffd66e;
    color: #966416;
}

.coin-two {
    left: 22px;
    bottom: 50px;
    background: #a8e8cc;
    color: #087d56;
    animation-delay: .8s;
}

.coin-three {
    right: 35px;
    bottom: 5px;
    background: #e4d9ff;
    color: #7953bd;
    animation-delay: 1.5s;
}

/* ANIMATIONS */

@keyframes heroDashboardFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes heroBadgeFloat {
    0%,100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes heroCoinFloat {
    0%,100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-12px) rotate(12deg);
    }
}

@keyframes heroBarRise {
    from {
        transform: scaleY(.1);
        opacity: .4;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes heroLivePulse {
    50% {
        box-shadow: 0 0 0 8px rgba(22,183,122,.05);
    }
}

/* TABLET */

@media(max-width:1000px) and (min-width:651px) {
    .hero-calculator-card {
        width: 270px;
        padding: 15px;
    }

    .hero-gst-card {
        left: -5px;
    }

    .hero-profit-card {
        right: -8px;
    }
}

/* MOBILE */

@media(max-width:650px) {
    .tools-hero-visual {
        overflow: visible;
        height: 340px;
        max-width: 390px;
    }

    .hero-calculator-card {
        width: min(285px,76%);
        padding: 15px;
    }

    .hero-gst-card {
        left: 0;
        top: 35px;
        padding: 9px;
    }

    .hero-profit-card {
        right: 0;
        bottom: 32px;
        padding: 9px;
    }

    .hero-floating-card strong {
        font-size: 10px;
    }

    .hero-floating-card small {
        font-size: 8px;
    }

    .hero-floating-coin {
        width: 27px;
        height: 27px;
        font-size: 12px;
    }

    .coin-one {
        right: 20px;
        top: 10px;
    }

    .coin-two {
        left: 10px;
        bottom: 55px;
    }

    .coin-three {
        right: 20px;
        bottom: 5px;
    }
}

/* ACCESSIBILITY */

@media(prefers-reduced-motion:reduce) {
    .tools-hero-visual *,
    .tools-hero-visual *::before,
    .tools-hero-visual *::after {
        animation: none !important;
        transition: none !important;
    }
}
