/* =============================================
   OneSol AI Hub – EXACT REFERENCE MATCH
   ============================================= */

/* ── RESET ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
    /* Extracted background colors */
    --bg1:#06071B;
    --bg2:#090B24;
    --bg3:#0C1234;
    --bg4:#07091D;

    /* Nav */
    --nav-bg:#080A1F;
    --nav-h:80px;

    /* Text */
    --white:#FFFFFF;
    --txt2:#B8BDD2;
    --txt3:#A7ABC3;

    /* Gold highlight */
    --gold:#D9B67A;
    --gold-warm:#E8C877;
    --gold-deep:#CDA45A;

    /* Button blues */
    --btn-top:#6D87FF;
    --btn-bot:#4D63F6;
    --btn-hover-t:#7E96FF;
    --btn-hover-b:#5A6DFF;
    --btn-shadow:rgba(93,120,255,.45);

    /* Card glass */
    --card-bg:rgba(18,22,52,.92);
    --card-border:rgba(255,255,255,.08);
    --card-shadow:0 20px 40px rgba(0,0,0,.45);

    /* Font */
    --f:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:var(--f);color:var(--white);overflow-x:hidden;line-height:1.6;background:var(--bg1)}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;height:auto;display:block}

/* =============================================
   LAYER 1 – BACKGROUND GRADIENT
   ============================================= */
.bg-base{
    position:fixed;inset:0;z-index:0;
    background:linear-gradient(180deg,
        #06071B 0%,
        #080A22 12%,
        #090B24 28%,
        #0C1234 45%,
        #0A0E2C 60%,
        #07091D 78%,
        #050718 100%
    );
}

/* =============================================
   LAYER 2 – AMBIENT GLOWS
   ============================================= */
.amb-glows{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.amb{position:absolute;border-radius:50%;pointer-events:none}

.amb-purple{
    width:650px;height:650px;
    top:2%;right:-8%;
    background:radial-gradient(circle,rgba(90,55,180,.14) 0%,rgba(80,45,170,.06) 40%,transparent 70%);
    filter:blur(80px);
    animation:glow-breathe 10s ease-in-out infinite;
}

.amb-blue{
    width:550px;height:550px;
    top:8%;left:-12%;
    background:radial-gradient(circle,rgba(49,92,255,.09) 0%,rgba(49,92,255,.03) 45%,transparent 70%);
    filter:blur(90px);
    animation:glow-drift 14s ease-in-out infinite;
}

.amb-gold-tr{
    width:220px;height:220px;
    top:-3%;right:12%;
    background:radial-gradient(circle,rgba(217,182,122,.07) 0%,rgba(217,182,122,.02) 50%,transparent 70%);
    filter:blur(50px);
}

.amb-gold-bl{
    width:180px;height:180px;
    bottom:8%;left:6%;
    background:radial-gradient(circle,rgba(217,182,122,.05) 0%,transparent 70%);
    filter:blur(40px);
}

/* =============================================
   LEFT ANGULAR RIBBONS
   ============================================= */
.ribbons{position:fixed;inset:0;z-index:2;pointer-events:none;overflow:hidden}

.rib{
    position:absolute;
    left:-120px;
    background:linear-gradient(135deg,rgba(40,30,100,.12) 0%,rgba(49,92,255,.08) 50%,rgba(40,30,100,.03) 100%);
    border:1px solid rgba(93,134,255,.06);
    backdrop-filter:blur(2px);
}

.rib-1{
    width:340px;height:18px;
    top:20%;
    transform:rotate(-22deg);
    clip-path:polygon(0% 0%,100% 15%,95% 100%,0% 85%);
    opacity:.7;
    animation:rib-float 16s ease-in-out infinite;
}
.rib-2{
    width:280px;height:14px;
    top:28%;left:-80px;
    transform:rotate(-16deg);
    clip-path:polygon(5% 0%,100% 10%,100% 100%,0% 90%);
    opacity:.5;
    animation:rib-float 18s ease-in-out infinite 2s;
}
.rib-3{
    width:220px;height:10px;
    top:38%;left:-40px;
    transform:rotate(-28deg);
    clip-path:polygon(0% 10%,100% 0%,95% 90%,5% 100%);
    opacity:.4;
    animation:rib-float 20s ease-in-out infinite 4s;
}
.rib-4{
    width:180px;height:8px;
    top:48%;left:-30px;
    transform:rotate(-12deg);
    clip-path:polygon(0% 0%,100% 20%,90% 100%,5% 80%);
    opacity:.3;
    animation:rib-float 22s ease-in-out infinite 6s;
}

/* =============================================
   CANVAS (particles + grid)
   ============================================= */
#bgCanvas{
    position:fixed;
    top:0;left:0;
    width:100%;height:100%;
    z-index:3;
    pointer-events:none;
}

/* =============================================
   NAVBAR
   ============================================= */
.nav{
    position:fixed;top:0;left:0;right:0;
    z-index:100;
    height:var(--nav-h);
    background:rgba(8,10,31,.78);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    border-bottom:1px solid rgba(255,255,255,.06);
    transition:background .3s;
}
.nav.scrolled{background:rgba(8,10,31,.94)}

.nav-inner{
    max-width:1280px;margin:0 auto;height:100%;
    display:flex;align-items:center;justify-content:space-between;
    padding:0 40px;
}

.nav-brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-logo-img{width:36px;height:36px;border-radius:8px;object-fit:contain}
.nav-logo-txt{display:flex;flex-direction:column;line-height:1.15}
.nav-logo-name{font-size:17px;font-weight:700;color:var(--white);letter-spacing:-.02em}
.nav-logo-sub{font-size:11.5px;font-weight:500;color:var(--txt2);letter-spacing:.02em}

.nav-links{display:flex;align-items:center;gap:4px}
.nav-a{
    font-size:14px;font-weight:500;color:var(--txt2);
    padding:8px 16px;border-radius:8px;
    transition:color .2s;position:relative;
}
.nav-a:hover,.nav-a.active{color:var(--white)}
.nav-a.active::after{
    content:'';position:absolute;bottom:2px;left:50%;transform:translateX(-50%);
    width:20px;height:2px;background:var(--btn-top);border-radius:1px;
}

.nav-right{display:flex;align-items:center;gap:16px}

.nav-currency{
    display:flex;align-items:center;gap:6px;
    padding:6px 12px;border-radius:8px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    font-size:13px;font-weight:500;color:var(--txt2);
    cursor:pointer;transition:background .2s;
}
.nav-currency:hover{background:rgba(255,255,255,.07)}
.nav-flag{width:18px;height:13px;border-radius:2px;object-fit:cover}

.nav-sign{
    font-size:14px;font-weight:500;color:var(--txt2);
    padding:8px 16px;border-radius:8px;
    transition:color .2s;
}
.nav-sign:hover{color:var(--white)}

.nav-get{
    font-size:14px;font-weight:600;color:var(--white);
    padding:10px 22px;border-radius:16px;
    background:linear-gradient(135deg,#5B73FF 0%,#6B78FF 45%,#7E79F3 70%,#C9A868 100%);
    border:1px solid rgba(255,255,255,.1);
    box-shadow:0 2px 12px var(--btn-shadow);
    transition:all .3s;
}
.nav-get:hover{
    background:linear-gradient(180deg,var(--btn-hover-t),var(--btn-hover-b));
    transform:translateY(-1px);
    box-shadow:0 4px 20px var(--btn-shadow);
}

.nav-mob{
    display:none;flex-direction:column;gap:5px;
    background:none;border:none;cursor:pointer;padding:5px;
}
.nav-mob span{width:22px;height:2px;background:var(--white);border-radius:2px;transition:all .3s}

/* =============================================
   HERO
   ============================================= */
.hero{
    position:relative;z-index:10;
    min-height:calc(100vh - 80px);
    display:flex;align-items:center;
    padding-top:calc(var(--nav-h) + 20px);
    padding-bottom:60px;
    overflow: hidden;
}

/* ── CAROUSEL TRACK & SLIDE ── */
.hero-carousel-track {
    display: flex;
    width: 100%; /* Overridden by JS */
    transition: transform 600ms ease;
    will-change: transform;
    flex-shrink: 0;
    align-items: stretch; /* Align items top */
}
.hero-slide {
    width: 100%; /* Overridden by JS */
    flex-shrink: 0;
    /* Optional fade effect when not active if requested, but flex sliding covers the slide. 
       We add a slight fade on inactive slides for the requested 'Fade + slide' effect. */
    opacity: 0;
    transition: opacity 600ms ease;
}
.hero-slide.active {
    opacity: 1;
}

/* ── CAROUSEL CONTROLS ── */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    cursor: pointer; z-index: 20;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none; transition: all 0.3s ease;
}
.hero:hover .hero-nav { opacity: 1; pointer-events: auto; }
.hero-nav:hover { background: rgba(255,255,255,0.15); transform: translateY(-50%) scale(1.05); }
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 20;
}
.h-dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%; cursor: pointer; transition: all 0.3s ease;
}
.h-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.hero-wrap{
    max-width:1280px;margin:0 auto;
    padding:0 80px;
    display:flex;align-items:center;justify-content:space-between;
    gap:100px;
    width:100%;
}

.hero-left{
    flex:1;max-width:580px;z-index:10;
}

.hero-h1{
    font-size:42px;
    font-weight:700;
    line-height:1.12;
    margin-bottom:14px;
    letter-spacing:-.5px;
    max-width:600px;
}

.hero-line1{
    display:block;
    font-weight:400;
    font-size:22px;
    color:#ECECF5;
    font-style:normal;
    margin-bottom:6px;
    letter-spacing:0;
}

.hero-line2,.hero-line3{
    display:block;
    color:var(--white);
    font-weight:700;
}

.hero-gold{
    font-style:normal;
    background:linear-gradient(180deg,#E6C68B 0%,#C99645 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.hero-p{
    font-size:16px;
    font-weight:400;
    line-height:1.6;
    color:#AEB4C8;
    margin-bottom:24px;
    max-width:460px;
}

.hero-btns{display:flex;align-items:center;gap:18px;flex-wrap:wrap}

.btn-pri{
    display:inline-flex;align-items:center;gap:8px;
    font-family:var(--f);font-size:15px;font-weight:600;
    color:var(--white);
    padding:16px 34px;border-radius:16px;
    background:linear-gradient(135deg,#1A1136 0%,#100B2A 45%,#7E79F3 70%,#C9A868 100%);
    border:none;cursor:pointer;
    box-shadow:0 10px 28px rgba(91,115,255,.28);
    transition:all .35s ease;white-space:nowrap;
}
.btn-pri i{font-size:14px}
.btn-pri:hover{
    transform:translateY(-2px);
    filter:brightness(1.08);
    box-shadow:0 14px 36px rgba(91,115,255,.35);
}

.btn-sec{
    display:inline-flex;align-items:center;
    font-family:var(--f);font-size:15px;font-weight:600;
    color:var(--white);
    padding:16px 34px;border-radius:16px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    cursor:pointer;transition:all .35s ease;white-space:nowrap;
}
.btn-sec:hover{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.28);
    transform:translateY(-2px);
}

/* =============================================
   HERO ILLUSTRATION (PNG)
   ============================================= */
.hero-right{
    flex:1;display:flex;align-items:center;justify-content:center;
    position:relative;max-width:700px;z-index:10;
}

.hero-illustration{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:visible;
    width:384px;
    max-width:420px;
    /* Fade-in on load */
    animation:heroFadeIn .9s ease-out both;
}

/* ── Hero PNG ── */
.hero-image{
    position:relative;
    z-index:2;
    width:100%;
    height:auto;
    display:block;
    /* Subtle float */
    animation:heroFloat 7s ease-in-out infinite;
    /* Never distort */
    object-fit:contain;
    /* crisp rendering */
    image-rendering:auto;
}

/* ── Glow Layer 1 – Large blue radial ── */
.hero-glow{
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    z-index:0;
}
.hero-glow-1{
    width:300px;height:300px;
    top:50%;left:50%;
    transform:translate(-50%,-50%);
    background:radial-gradient(circle,rgba(82,120,255,.18) 0%,rgba(82,120,255,.06) 40%,transparent 70%);
    filter:blur(120px);
}

/* ── Glow Layer 2 – Soft purple ── */
.hero-glow-2{
    width:360px;height:360px;
    top:50%;left:50%;
    transform:translate(-50%,-48%);
    background:radial-gradient(circle,rgba(140,110,255,.10) 0%,rgba(140,110,255,.03) 45%,transparent 70%);
    filter:blur(180px);
}

/* ── Glow Layer 3 – Small white center ── */
.hero-glow-3{
    width:170px;height:170px;
    top:50%;left:50%;
    transform:translate(-50%,-40%);
    background:radial-gradient(circle,rgba(255,255,255,.08) 0%,rgba(255,255,255,.02) 50%,transparent 70%);
    filter:blur(60px);
}

.hero-glow-4{
    width:120px;height:120px;
    top:50%;left:50%;
    transform:translate(-50%,-50%);
    background:radial-gradient(circle,rgba(255,255,255,.2) 0%,transparent 60%);
    filter:blur(30px);
}

/* =============================================
   HERO SLIDE 2 SPECIFICS
   ============================================= */
.hero-gold-2 {
    background: linear-gradient(135deg, #FFD98A 0%, #F2B84B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

.hero-p2 {
    color: rgba(255,255,255,.78);
    margin-bottom: 32px;
}

.h2-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.h2-feat {
    display: flex; align-items: center; gap: 10px;
}
.h2-ico {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(93, 99, 255, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: #FFF; font-size: 13px; flex-shrink: 0;
}
.h2-txt {
    font-size: 13px; font-weight: 500; color: #AEB5CA; line-height: 1.3;
}

.hero2-btns { gap: 16px; }

.btn-pri-2 {
    display:inline-flex;align-items:center;justify-content:center;
    height: 52px; padding: 0 32px; border-radius: 14px;
    background: linear-gradient(135deg, #5D63FF 0%, #8B3DFF 100%);
    color: #FFF; font-weight: 600; font-size: 15px; border: none; cursor: pointer;
    box-shadow: 0 10px 24px rgba(93,99,255,.3); transition: all .3s ease;
}
.btn-pri-2:hover {
    transform: translateY(-2px); box-shadow: 0 14px 32px rgba(93,99,255,.4);
    filter: brightness(1.1);
}

.btn-sec-2 {
    display:inline-flex;align-items:center;justify-content:center;
    height: 52px; padding: 0 32px; border-radius: 14px;
    background: transparent; border: 1px solid rgba(255,255,255,.18);
    color: #FFF; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .3s ease;
}
.btn-sec-2:hover {
    background: rgba(139,61,255,.1); border-color: rgba(139,61,255,.4);
}

.hero-illustration-2 {
    position: relative;
    display: flex; justify-content: center; align-items: center;
    width: 100%; max-width: 600px;
    animation: heroFadeIn 0.9s ease-out both;
}
.hero-img-2 {
    width: 100%; height: auto; object-fit: contain;
    /* Blend and float */
    animation: heroFloat 7s ease-in-out infinite alternate;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,0.4)) drop-shadow(0 0 40px rgba(49,92,255,0.2));
}

/* ── Platform Light (blurred ellipse beneath illustration) ── */
.hero-platform-light{
    position:absolute;
    bottom:8%;left:50%;
    transform:translateX(-50%);
    width:200px;height:50px;
    border-radius:50%;
    background:rgba(105,135,255,.22);
    filter:blur(70px);
    z-index:1;
    animation:platformPulse 5s ease-in-out infinite;
}

/* =============================================
   HERO ANIMATIONS
   ============================================= */
@keyframes heroFadeIn{
    from{opacity:0;transform:translateY(30px)}
    to{opacity:1;transform:translateY(0)}
}

@keyframes heroFloat{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-8px)}
}

@keyframes platformPulse{
    0%,100%{opacity:.20}
    50%{opacity:.35}
}
/* =============================================
   TRUST + FEATURES SECTION
   ============================================= */
.trust-features{
    position:relative;z-index:10;
    padding:60px 0 60px;
}

.tf-wrap{
    max-width:1280px;margin:0 auto;padding:0 40px;
}

/* ── Trust Bar ── */
.trust-bar{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    background:#0B1023;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    padding:20px 40px;
    box-shadow:0 18px 40px rgba(0,0,0,.30);
    width:100%;
    animation:tfFadeIn .7s ease-out both;
}

.trust-text{
    font-size:15px;
    font-weight:500;
    color:#AEB4C8;
    white-space:nowrap;
}
.trust-text strong{color:var(--white);font-weight:600}

.trust-avatars{
    display:flex;
    align-items:center;
    flex-shrink:0;
}
.trust-av{
    width:36px;height:36px;
    border-radius:50%;
    border:2px solid #1D2448;
    object-fit:cover;
    box-shadow:0 2px 8px rgba(0,0,0,.25);
    background:#1D2448;
}
.trust-av + .trust-av{
    margin-left:-10px;
}

.trust-rating{
    display:flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
}
.trust-stars{
    font-size:16px;
    color:#F3C74D;
    letter-spacing:1px;
}
.trust-score{
    font-size:15px;
    font-weight:700;
    color:#F3C74D;
}

/* ── Feature Card ── */
.feat-card{
    margin-top:28px;
    background:linear-gradient(180deg,rgba(26,17,54,.95),rgba(16,11,42,.95));
    border:1px solid rgba(142,93,255,.50);
    border-radius:22px;
    box-shadow:0 20px 50px rgba(40,30,90,.35);
    padding:34px 40px;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    animation:tfFadeIn .7s ease-out .15s both;
}

.feat-grid{
    display:flex;
    align-items:center;
}

.feat-divider{
    width:1px;
    align-self:stretch;
    background:rgba(255,255,255,.08);
    flex-shrink:0;
    margin:0 8px;
}

.feat-item{
    flex:1;
    display:flex;
    align-items:center;
    gap:16px;
    padding:8px 20px;
    border-radius:12px;
    transition:transform .3s ease;
    cursor:default;
}
.feat-item:hover{
    transform:translateY(-4px);
}

.feat-ico{
    width:52px;height:52px;
    border-radius:50%;
    background:rgba(109,72,255,.18);
    border:1px solid rgba(148,114,255,.25);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
    animation:icoPulse 5s ease-in-out infinite;
}
.feat-ico svg{
    width:24px;height:24px;
}

.feat-content{
    min-width:0;
}
.feat-title{
    font-size:16px;
    font-weight:600;
    color:#FFFFFF;
    margin-bottom:4px;
    letter-spacing:-.01em;
}
.feat-desc{
    font-size:13px;
    line-height:1.5;
    color:#B2B7CA;
}

@keyframes tfFadeIn{
    from{opacity:0;transform:translateY(20px)}
    to{opacity:1;transform:translateY(0)}
}

@keyframes icoPulse{
    0%,80%,100%{box-shadow:0 0 0 rgba(142,108,255,0)}
    90%{box-shadow:0 0 18px rgba(142,108,255,.25)}
}

/* =============================================
   TOP & BEST SELLING TOOLS SECTION
   ============================================= */
.top-tools{
    position:relative;z-index:10;
    margin-top:48px;
    padding-bottom:100px;
}

.tt-wrap{
    max-width:1280px;margin:0 auto;padding:0;
    position:relative;
}

.tt-header{
    display:flex;justify-content:space-between;align-items:center;
    margin-bottom:32px;
}
.tt-title{
    font-size:26px;font-weight:700;color:var(--white);
    letter-spacing:-0.2px;
}
.tt-view-all{
    font-size:16px;font-weight:500;color:#9D82FF;
    text-decoration:none;transition:color .3s;
    display:inline-flex;align-items:center;gap:6px;
}
.tt-view-all:hover{
    color:#B49CFF;
}

.tt-grid-wrapper{
    position:relative;
}

.tt-grid{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:18px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.tt-grid::-webkit-scrollbar {
  display: none;
}
.tt-grid .tt-card {
    flex: 0 0 calc(25% - 14px); /* assuming 4 cards visible at a time */
    min-width: 260px; /* Minimum width so they look good on small screens */
}

/* ── Card ── */
.tt-card{
    position:relative;
    border-radius:18px;
    background: linear-gradient(135deg, rgba(91,99,246,.15), rgba(139,61,255,.15));
    border:1px solid rgba(139,61,255,.3);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
    padding:24px;
    overflow:hidden;
    transition:all .3s ease;
    animation:fadeUp .7s ease-out both;
    display:flex;
    flex-direction:column;
}

.tt-card::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tt-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(139,61,255,.25);
    border-color:rgba(139,61,255,.6);
}

.tt-card-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.tt-logo{
    width:24px;height:24px;
    object-fit:contain;
}

.tt-name{
    font-size:18px;
    font-weight:600;
    color:var(--white);
    margin:0;
}

.tt-description{
    font-size:14px;
    font-weight:400;
    color:#9CA4BD;
    margin:0 0 20px 0;
    line-height:1.4;
}

.tt-price-section{
    margin-bottom:20px;
}

.tt-price-label{
    font-size:11px;
    font-weight:500;
    text-transform:uppercase;
    color:#8E96B0;
    margin-bottom:4px;
    letter-spacing:0.5px;
}

.tt-price{
    display:flex;align-items:baseline;gap:4px;
    white-space:nowrap;
}
.tt-price-val{
    font-size:16px;
    font-weight:700;
    color:var(--white);
}
.tt-price-mo{
    font-size:12px;
    font-weight:400;
    color:#9CA4BD;
}

.tt-price-secondary{
    font-size:13px;
    color:#8E96B0;
    margin-top:2px;
}

.tt-badges-container{
    display:flex;
    gap:8px;
    margin-bottom:16px;
    margin-top:auto;
}

.tt-badge{
    font-size:11px;
    font-weight:500;
    padding:4px 10px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:22px;
}

.badge-new{
    background:#083C39;
    color:#57FFD8;
}

.badge-pop, .badge-best{
    background:#4E2D73;
    color:#FFFFFF;
}

.tt-buy-btn{
    width:100%;
    height:46px;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    color:var(--white);
    background:linear-gradient(90deg, #5B63F6 0%, #6D56F8 35%, #8B3DF8 70%, #A11CF6 100%);
    border:none;
    cursor:pointer;
    transition:all .3s ease;
    display:flex;
    align-items:center;
    justify-content:center;
}

.tt-buy-btn:hover{
    filter:brightness(1.08);
    transform:translateY(-2px);
}

.tt-nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:46px;height:46px;
    border-radius:50%;
    background:linear-gradient(135deg,#1A1136 0%,#100B2A 45%,#7E79F3 70%,#C9A868 100%);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border:none;
    color:var(--white);
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;
    transition:all .25s ease;
    z-index:5;
}
.tt-nav-btn.prev{
    left:-23px;
    opacity:0;
    pointer-events:none;
}
.tt-nav-btn.prev.visible{
    opacity:1;
    pointer-events:auto;
}
.tt-nav-btn.next{
    right:-23px;
}
.tt-nav-btn:hover{
    transform:translateY(-50%) scale(1.08);
    filter:brightness(1.08);
}

/* =============================================
   GLOBAL ANIMATIONS
   ============================================= */
@keyframes glow-breathe{
    0%,100%{opacity:1;transform:scale(1)}
    50%{opacity:.65;transform:scale(1.04)}
}

@keyframes glow-drift{
    0%,100%{transform:translate(0,0)}
    33%{transform:translate(12px,-8px)}
    66%{transform:translate(-8px,6px)}
}

@keyframes rib-float{
    0%,100%{transform:rotate(-22deg) translateX(0);opacity:.7}
    50%{transform:rotate(-22deg) translateX(10px);opacity:.9}
}

@keyframes fadeUp{
    from{opacity:0;transform:translateY(25px)}
    to{opacity:1;transform:translateY(0)}
}

/* Entry */
.hero-left{animation:fadeUp .8s ease-out .2s both}
.hero-right{animation:fadeUp .8s ease-out .5s both}
.tools-h2{animation:fadeUp .6s ease-out both}
.card{animation:fadeUp .6s ease-out both}
.card:nth-child(1){animation-delay:.1s}
.card:nth-child(2){animation-delay:.2s}
.card:nth-child(3){animation-delay:.3s}
.card:nth-child(4){animation-delay:.4s}

/* =============================================
   POPULAR THIS WEEK SECTION
   ============================================= */
.popular-week{
    position:relative;z-index:10;
    margin-top:24px;
    padding-bottom:100px;
}

.pw-wrap{
    max-width:1280px;margin:0 auto;padding:0;
}

.pw-header{
    display:flex;align-items:center;gap:12px;
    margin-bottom:32px;
}

.pw-icon{
    font-size:30px;
}

.pw-title{
    font-size:26px;font-weight:700;color:#FFFFFF;
    letter-spacing:-0.2px;
}

.pw-tabs-container{
    width:100%;display:flex;justify-content:center;
    margin-bottom:24px;
}

.pw-tabs{
    display:flex;align-items:center;gap:18px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
    border-radius:14px;
    padding:8px;
    flex-wrap:wrap;justify-content:center;
    scrollbar-width: thin;
    scrollbar-color: #8D63FF transparent;
}
.pw-tabs::-webkit-scrollbar {
    height: 3px;
}
.pw-tabs::-webkit-scrollbar-track {
    background: transparent;
}
.pw-tabs::-webkit-scrollbar-thumb {
    background: rgba(141, 99, 255, 0.8);
    border-radius: 4px;
}

.pw-tab{
    background:transparent;
    color:#B5BACC;
    font-size:15px;font-weight:400;
    padding:12px 20px;
    border:none;border-radius:10px;
    cursor:pointer;
    transition:all .25s ease;
}

.pw-tab:hover{
    background:rgba(255,255,255,.05);
}

.pw-tab.active{
    background:linear-gradient(135deg,#8D63FF,#6848FF);
    color:#FFFFFF;
    font-weight:600;
}

.pw-browse{
    margin-top:48px;display:flex;justify-content:center;width:100%;
}

.pw-browse-btn{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.10);
    border-radius:14px;
    padding:18px 36px;
    font-size:16px;font-weight:600;
    color:#FFFFFF;
    cursor:pointer;
    display:flex;align-items:center;gap:12px;
    transition:all .3s ease;
}

.pw-browse-btn:hover{
    transform:translateY(-2px);
    border-color:rgba(255,255,255,.2);
    box-shadow:0 10px 20px rgba(0,0,0,.2);
}

.badge-new{
    background:linear-gradient(135deg,#F4C84B,#E7A93B)!important;
}

.tt-card.filtered-out{
    opacity:0;
    transform:translateY(8px) scale(0.98);
    pointer-events:none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer{
    width: 100%; margin: 64px 0 0 0;
    background:linear-gradient(180deg,rgba(26,17,54,.95),rgba(16,11,42,.95));
    border-top:1px solid rgba(255,255,255,.06);
    border-radius: 0;
    box-shadow:0 -10px 45px rgba(0,0,0,.28);
    position:relative;z-index:10;
}

.footer-wrap{
    display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr 1.5fr;gap:48px;
    padding:32px 36px;align-items:start;
}

/* Col 1 */
.footer-brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-bottom:16px;}
.footer-logo-img{width:40px;height:40px;object-fit:contain}
.footer-logo-txt{display:flex;flex-direction:column;line-height:1.2}
.footer-logo-name{font-size:24px;font-weight:800;color:var(--white)}
.footer-logo-sub{font-size:13px;font-weight:600;color:var(--primary)}

.footer-desc{
    font-size:16px;font-weight:400;color:#AEB5CA;line-height:1.7;
    margin-bottom:20px;
}

.footer-socials{display:flex;gap:12px;flex-wrap:wrap;}
.social-btn{
    width:40px;height:40px;border-radius:50%;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.06);
    display:flex;align-items:center;justify-content:center;
    transition:all 0.25s ease;
}
.social-btn img{width:18px;height:18px;}
.social-btn:hover{
    transform:translateY(-2px);
    border-color:rgba(255,255,255,.15);
    background:rgba(255,255,255,.1);
}

/* Other Cols */
.footer-title{
    font-size:18px;font-weight:600;color:#FFFFFF;margin-bottom:18px;
}
.footer-link{
    display:block;font-size:15px;font-weight:400;color:#AEB5CA;
    text-decoration:none;margin-bottom:12px;transition:color 0.25s ease;
}
.footer-link:hover{color:#FFFFFF;}

/* Payments */
.payment-grid{
    display:flex;flex-wrap:wrap;gap:16px;max-width:260px;
}
.payment-logo{height:28px;object-fit:contain;}

/* Newsletter */
.news-col .footer-desc{
    font-size:15px;margin-bottom:18px;
}
.newsletter-form{display:flex;flex-direction:column;gap:12px;}
.news-input{
    height:50px;background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;padding:0 18px;
    color:#FFFFFF;font-size:15px;outline:none;
    transition:border-color 0.25s ease;
}
.news-input::placeholder{color:#9096AD;}
.news-input:focus{border-color:rgba(255,255,255,.2);}

.news-btn{
    height:50px;
    background:linear-gradient(135deg,#1A1136 0%,#100B2A 45%,#7E79F3 70%,#C9A868 100%);
    color:#FFFFFF;border:none;border-radius:12px;
    font-size:15px;font-weight:600;cursor:pointer;
    padding:0 26px;transition:all 0.25s ease;
}
.news-btn:hover{
    transform:translateY(-2px);filter:brightness(1.05);
}

.footer-bottom{
    text-align:center;padding:28px 24px 0 24px;
    margin-top:20px;
}
.footer-bottom p{
    font-size:14px;color:#8E94AB;margin:0;
}

/* =============================================
   ALL TOOLS PAGE
   ============================================= */
.all-tools-page { max-width: 1320px; margin: 40px auto; padding: 0 20px; }
.at-top { text-align: center; margin-bottom: 40px; }
.at-badge { display: inline-block; background: rgba(91,115,255,0.15); color: #8E6CFF; font-size: 14px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; border: 1px solid rgba(142,108,255,0.3); }
.at-title { font-size: 38px; font-weight: 700; color: #FFF; margin-bottom: 12px; }
.at-subtitle { font-size: 16px; color: #AEB5CA; max-width: 600px; margin: 0 auto; }

.at-container {
    background: linear-gradient(180deg, rgba(14,18,40,.98), rgba(9,13,30,.98));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.at-sidebar { 
    width: 280px; 
    flex-shrink: 0; 
    position: sticky; 
    top: 120px; 
    background: #171C2B;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    box-sizing: border-box;
}
.at-main { flex: 1; min-width: 0; }

.at-sidebar-section { margin-bottom: 32px; }
.at-sidebar-title { font-size: 18px; font-weight: 600; color: #FFF; margin-bottom: 16px; }
.at-category-list { list-style: none; padding: 0; margin: 0; }
.at-cat-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; margin-bottom: 8px; border-radius: 12px;
    text-decoration: none; color: #AEB5CA; font-size: 15px; transition: all 0.2s;
}
.at-cat-link:hover { background: rgba(255,255,255,0.05); color: #FFF; }
.at-cat-link i { width: 24px; color: #8E6CFF; }
.at-cat-count { font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.08); padding: 2px 8px; border-radius: 20px; }

.at-filter-group { margin-bottom: 24px; }
.at-filter-label { display: block; font-size: 14px; font-weight: 500; color: #AEB5CA; margin-bottom: 12px; }
.at-range-slider { height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; position: relative; margin: 12px 0 8px; }
.at-range-fill { position: absolute; left: 0; right: 20%; height: 100%; background: #8E6CFF; border-radius: 4px; }
.at-range-thumb { position: absolute; top: 50%; width: 16px; height: 16px; background: #FFF; border: 2px solid #8E6CFF; border-radius: 50%; transform: translateY(-50%); cursor: pointer; }
.at-range-thumb.left { left: 0; transform: translate(-50%, -50%); }
.at-range-thumb.right { left: 80%; transform: translate(-50%, -50%); }
.at-range-labels { display: flex; justify-content: space-between; font-size: 12px; color: #9096AD; }

.at-select-wrap { position: relative; }
.at-select {
    width: 100%; height: 48px; appearance: none; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
    padding: 0 40px 0 16px; color: #FFF; font-size: 14px; outline: none; cursor: pointer;
    line-height: normal; font-family: inherit;
}
.at-select option { background: #0F132A; color: #FFF; }
.at-select-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #AEB5CA; pointer-events: none; }

.at-checkbox-label { display: flex; align-items: center; gap: 10px; color: #AEB5CA; font-size: 14px; cursor: pointer; }
.at-checkbox { display: none; }
.at-checkbox-custom { width: 18px; height: 18px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; position: relative; transition: all 0.2s; }
.at-checkbox:checked + .at-checkbox-custom { background: #8E6CFF; border-color: #8E6CFF; }
.at-checkbox:checked + .at-checkbox-custom::after {
    content: ''; position: absolute; top: 2px; left: 6px; width: 4px; height: 8px;
    border: solid #FFF; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.at-search-bar { display: flex; gap: 16px; margin-bottom: 32px; }
.at-search-input-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.at-search-icon { position: absolute; left: 20px; color: #AEB5CA; }
.at-search-input {
    width: 100%; height: 50px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
    padding: 0 20px 0 48px; color: #FFF; font-size: 15px; outline: none; transition: border-color 0.25s;
    line-height: normal; font-family: inherit;
}
.at-search-input:focus { border-color: rgba(255,255,255,0.2); }
.at-currency-select {
    display: flex; align-items: center; gap: 10px; height: 50px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 0 20px; color: #FFF; font-size: 14px; font-weight: 600; cursor: pointer;
}

.at-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.at-grid .tt-card { flex: auto; min-width: auto; }

/* =============================================
   TOOL LOGO SIZE – large enough to show brand clearly
   ============================================= */
.tt-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    padding: 3px;
}

/* =============================================
   CALL TO ACTION SECTION (LUXURY SAAS)
   ============================================= */
.cta-section {
    position: relative;
    z-index: 10;
    padding: 60px 0;
}

.cta-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.cta-card {
    display: flex;
    background: linear-gradient(135deg, #0A0F2E 0%, #11143D 35%, #1A124B 70%, #1E1048 100%);
    border: 1px solid rgba(118, 133, 255, 0.28);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    box-shadow: 0 0 60px rgba(91, 109, 255, 0.10), 0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    animation: fadeInCTA 1s ease forwards;
}

@keyframes fadeInCTA {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-card::before {
    content: ''; 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 20% 20%, rgba(91, 109, 255, 0.18), transparent 35%),
                      radial-gradient(circle at 85% 80%, rgba(181, 78, 255, 0.16), transparent 30%);
    pointer-events: none;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Decorative Particles */
.cta-dec {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
}
.cta-dec-tl {
    top: 10%; right: 5%; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(168,85,247,0.8) 0%, transparent 70%);
    filter: blur(20px);
}
.cta-dec-br {
    bottom: 5%; left: 5%; width: 200px; height: 100px;
    background: radial-gradient(ellipse, rgba(59,130,246,0.6) 0%, transparent 70%);
    filter: blur(25px); transform: rotate(-15deg);
}

.cta-left {
    flex: 1;
    padding-right: 48px;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(123, 145, 255, 0.35);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-gradient-text {
    background: linear-gradient(90deg, #FFD68A 0%, #F5C27B 20%, #DCA6FF 55%, #8A7CFF 80%, #6D8FFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

.cta-desc {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 500px;
}

.cta-divider {
    width: 1px;
    background: 1px solid rgba(255, 255, 255, 0.08); /* Requested styling */
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.cta-right {
    flex: 1.2;
    padding-left: 48px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-btn-primary {
    background: linear-gradient(90deg, #8B2EFF 0%, #6A5DFF 45%, #32B8FF 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(83, 142, 255, 0.40);
    transition: all 0.35s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(91, 109, 255, 0.50);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
    border: 1px solid rgba(126, 145, 255, 0.25);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: #5B6DFF;
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.cta-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.cta-ico {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(122, 145, 255, 0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 0 15px rgba(91, 109, 255, 0.12);
}
.cta-ico svg {
    width: 18px;
    height: 18px;
}

.cta-feat-txt {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.4;
}
.cta-feat-txt::after {
    content: '';
    display: block;
    /* Optional: If we want description text, user didn't specify text content but color rgba(255,255,255,.76) */
}

/* =============================================
   MOBILE-FIRST RESPONSIVE DESIGN
   Primary target: 320px–480px (mobile)
   We scale UP for larger screens.
   ============================================= */

/* ── Base (mobile 320px+) ── */
.top-tools { padding-bottom: 48px; margin-top: 24px; }
.popular-week { padding-bottom: 48px; margin-top: 24px; }

.nav-inner { padding: 0 16px; }
.nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,10,31,.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    z-index: 99;
}
.nav-links.active { display: flex; }
.nav-a { padding: 12px 16px; width: 100%; }
.nav-currency { display: flex; font-size: 11px; padding: 6px 8px; gap: 4px; }
.nav-sign { display: none; }
.nav-mobile-only { display: block; }
.nav-get { font-size: 12px; padding: 6px 10px; border-radius: 8px; }
.nav-right { gap: 6px; }
.nav-mob { display: flex; padding: 2px; }
.nav-flag { width: 14px; height: 10px; }

/* Hero – single column on mobile */
.hero-wrap {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding: 40px 16px 0;
}
.hero-left { max-width: 100%; }
.hero-h1 { font-size: 24px; }
.hero-line1 { font-size: 14px; }
.hero-p { max-width: 100%; margin-left: auto; margin-right: auto; font-size: 14px; }
.hero-btns { justify-content: center; flex-direction: row; width: 100%; gap: 10px; }
.btn-pri, .btn-sec, .btn-pri-2, .btn-sec-2 { width: auto; flex: 1; justify-content: center; font-size: 12px; padding: 10px 8px; white-space: nowrap; height: 44px; }
.h2-features { justify-content: space-between; gap: 2px; flex-wrap: nowrap; width: 100%; margin-bottom: 24px; }
.h2-feat { flex-direction: column; text-align: center; gap: 6px; flex: 1; min-width: 0; }
.h2-ico { width: 28px; height: 28px; font-size: 12px; margin: 0 auto; }
.h2-txt { font-size: 9.5px; line-height: 1.2; word-break: break-word; white-space: normal; }
.hero-illustration { width: 90%; max-width: 280px; }
.hero-glow-1 { width: 180px; height: 180px; }
.hero-glow-2 { width: 220px; height: 220px; }
.hero-platform-light { width: 140px; height: 35px; }

/* Trust + Features – mobile */
.tf-wrap { padding: 0 16px; }
.trust-bar { flex-wrap: wrap; justify-content: center; gap: 12px; padding: 16px 16px; }
.trust-text { white-space: normal; text-align: center; }
.feat-grid { flex-direction: column; }
.feat-divider { width: 100% !important; height: 1px !important; margin: 8px 0 !important; }
.feat-item { flex: 1 1 100%; padding: 12px 16px; }
.feat-card { padding: 20px 16px; }

/* Tool cards – single column on mobile */
.tt-wrap { padding: 0 16px; }
.tt-grid .tt-card { flex: 0 0 85vw; min-width: 260px; }
.tt-nav-btn { display: none; }

/* Popular week tabs – scrollable on mobile */
.pw-tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 4px; }
.pw-tab { flex-shrink: 0; }

/* Footer – single column on mobile */
.tt-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.tt-title { font-size: 20px; }
.tt-view-all { font-size: 14px; }

.footer { margin: 32px 0 0 0; border-radius: 0; border-left: none; border-right: none; border-bottom: none; }
.footer-bottom p { font-size: 12px; line-height: 1.4; }
.footer-wrap { grid-template-columns: 1fr; text-align: center; gap: 28px; padding: 28px 20px; }
.footer-brand { justify-content: center; }
.footer-socials { justify-content: center; }
.payment-grid { justify-content: center; margin: 0 auto; }
.brand-col { grid-column: 1; }

/* All Tools page – mobile */
@media (max-width: 767px) {
    .all-tools-page { padding: 0 12px; margin: 20px auto; }
    .at-title { font-size: 26px; }
    .at-grid { grid-template-columns: 1fr; }
    .at-container { flex-direction: column; padding: 12px; gap: 16px; border-radius: 16px; }
    .at-sidebar {
        width: 100%;
        position: static;
        background: rgba(23, 28, 43, 0.97) !important;
        border: 1px solid rgba(142, 108, 255, 0.2);
        border-radius: 14px;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        box-sizing: border-box;
    }
    .at-sidebar-section { margin-bottom: 16px; }
    .at-sidebar-section:last-child { margin-bottom: 0; }
    .at-sidebar-title {
        font-size: 12px;
        margin-bottom: 10px;
        color: #8E6CFF;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        font-weight: 700;
    }
    .at-filter-group { margin-bottom: 14px; }
    .at-filter-label { font-size: 12px; margin-bottom: 8px; }
    .at-select {
        height: 42px;
        font-size: 13px;
        border-radius: 10px;
        padding: 0 36px 0 12px;
        background: rgba(255,255,255,0.06) !important;
        border: 1px solid rgba(255,255,255,0.12) !important;
        color: #FFF !important;
    }
    .at-checkbox-label { font-size: 12px; }
    .at-range-labels { font-size: 11px; }
    .at-search-bar { flex-direction: column; gap: 10px; margin-bottom: 16px; }
    .at-search-input {
        height: 44px;
        font-size: 14px;
        border-radius: 10px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.12);
        padding: 0 16px 0 42px;
        color: #FFF;
    }
    .at-search-icon { left: 14px; font-size: 14px; }
    .at-currency-select {
        height: 44px;
        border-radius: 10px;
        padding: 0 16px;
        font-size: 13px;
        justify-content: center;
    }
    #toolsCounter { font-size: 12px !important; }
    .at-badge { font-size: 11px; }
    .at-subtitle { font-size: 13px; }
}


/* CTA Responsive (Max 1024px) */
@media (max-width: 1024px) {
    .cta-card { flex-direction: column; padding: 32px; border-radius: 20px; }
    .cta-left { padding-right: 0; padding-bottom: 32px; text-align: center; }
    .cta-title { font-size: 32px; }
    .cta-desc { margin: 0 auto; }
    .cta-divider { width: 100%; height: 1px; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); background: none; }
    .cta-right { padding-left: 0; padding-top: 32px; }
}
@media (max-width: 768px) {
    .cta-title { font-size: 28px; }
    .cta-actions { flex-direction: column; gap: 12px; }
    .cta-features { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .cta-feat { flex: 1 1 40%; }
}

/* ── Small tablet (480px+) ── */
@media (min-width: 480px) {
    .nav-inner { padding: 0 20px; }
    .hero-wrap { padding: 50px 20px 0; }
    .hero-h1 { font-size: 30px; }
    .hero-line1 { font-size: 18px; }
    .hero-btns { flex-direction: row; width: auto; }
    .btn-pri, .btn-sec, .btn-pri-2, .btn-sec-2 { width: auto; }
    .hero-illustration { width: 80%; max-width: 300px; }
    .tt-wrap { padding: 0 20px; }
    .tf-wrap { padding: 0 20px; }
    .footer { margin: 32px 0 0 0; }
}

/* ── Tablet (768px+) ── */
@media (min-width: 768px) {
    .nav-inner { padding: 0 32px; }
    .nav-links {
        display: flex;
        position: static;
        background: transparent;
        backdrop-filter: none;
        flex-direction: row;
        padding: 0;
        border-bottom: none;
    }
    .nav-a { padding: 8px 14px; width: auto; }
    .nav-currency, .nav-sign { display: flex; }
    .nav-mobile-only { display: none; }
    .nav-mob { display: none; }

    .hero-wrap { flex-direction: row; text-align: left; gap: 40px; padding: 80px 32px 0; }
    .hero-left { max-width: 520px; }
    .hero-h1 { font-size: 36px; }
    .hero-line1 { font-size: 20px; }
    .hero-btns { justify-content: flex-start; flex-direction: row; width: auto; gap: 14px; }
    .btn-pri, .btn-sec, .btn-pri-2, .btn-sec-2 { width: auto; }
    .h2-features { justify-content: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
    .h2-feat { flex-direction: row; text-align: left; flex: auto; min-width: auto; }
    .h2-ico { width: 32px; height: 32px; font-size: 13px; margin: 0; }
    .h2-txt { font-size: 13px; line-height: 1.3; white-space: nowrap; }
    .hero-illustration { width: 320px; max-width: 360px; }
    
    .hero-nav { display: flex; }

    .tf-wrap { padding: 0 32px; }
    .tt-wrap { padding: 0 32px; }
    .cta-wrap { padding: 0 32px; }
    .top-tools { padding-bottom: 100px; margin-top: 48px; }
    .popular-week { padding-bottom: 100px; margin-top: 56px; }

    /* Features strip: 2×2 grid on tablet */
    .feat-grid { flex-direction: row !important; flex-wrap: wrap !important; }
    .feat-item { flex: 1 1 calc(50% - 20px) !important; }
    .feat-divider { width: 1px !important; height: auto !important; margin: 0 8px !important; align-self: stretch; }
    .feat-divider:nth-child(2) { display: none !important; }
    .feat-divider:nth-child(4) { display: block !important; flex: 0 0 100% !important; width: 100% !important; height: 1px !important; margin: 10px 0 !important; }
    .feat-divider:nth-child(6) { display: none !important; }

    .tt-grid .tt-card { flex: 0 0 calc(50% - 9px); }
    .tt-nav-btn { display: flex; }

    .footer { margin: 40px 0 0 0; }
    .footer-wrap { grid-template-columns: repeat(2, 1fr); text-align: left; gap: 36px; padding: 32px 28px; }
    .footer-brand { justify-content: flex-start; }
    .footer-socials { justify-content: flex-start; }
    .payment-grid { justify-content: flex-start; margin: 0; }

    .at-grid { grid-template-columns: repeat(2, 1fr); }
    .at-search-bar { flex-direction: row; }
    .at-sidebar { display: flex; flex-direction: column; gap: 24px; }
    .at-sidebar-section { width: 100%; }
    .at-category-list {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .at-category-list::-webkit-scrollbar {
        display: none;
    }
    .at-cat-link {
        white-space: nowrap;
        margin-bottom: 0;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
    }
    .at-sidebar-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* ── Laptop (1024px+) ── */
@media (min-width: 1024px) {
    .nav-inner { padding: 0 40px; }
    .hero-wrap { gap: 60px; padding: 80px 40px 0; }
    .hero-h1 { font-size: 40px; }
    .hero-line1 { font-size: 22px; }
    .hero-illustration { width: 340px; max-width: 380px; }

    .tf-wrap { padding: 0 40px; }
    .tt-wrap { padding: 0 40px; }

    /* Features strip: single row on desktop */
    .feat-item { flex: 1 !important; padding: 8px 20px !important; }
    .feat-grid { flex-direction: row !important; flex-wrap: nowrap !important; }
    .feat-divider,
    .feat-divider:nth-child(2),
    .feat-divider:nth-child(4),
    .feat-divider:nth-child(6) {
        display: block !important;
        flex: none !important;
        width: 1px !important;
        height: auto !important;
        margin: 0 8px !important;
        align-self: stretch !important;
    }

    .tt-grid .tt-card { flex: 0 0 calc(33.333% - 12px); }

    .footer { margin: 48px 0 0 0; }
    .footer-wrap { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

    .at-container { flex-direction: row; }
    .at-sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 120px; display: block; }
    .at-sidebar-section { flex: none; min-width: auto; }
    .at-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Desktop (1280px+) ── */
@media (min-width: 1280px) {
    .nav-inner { padding: 0 40px; max-width: 1280px; margin: 0 auto; }
    .hero-wrap { max-width: 1280px; margin: 0 auto; padding: 0 80px; gap: 100px; }
    .hero-left { max-width: 580px; }
    .hero-h1 { font-size: 42px; }
    .hero-line1 { font-size: 22px; }
    .hero-illustration { width: 384px; max-width: 420px; }

    .tf-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
    .tt-wrap { max-width: 1280px; margin: 0 auto; padding: 0; }
    .pw-wrap { max-width: 1280px; margin: 0 auto; padding: 0; }

    .tt-grid .tt-card { flex: 0 0 calc(25% - 14px); }

    .footer { max-width: 100%; margin: 64px 0 0 0; }
    .footer-wrap { grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr; gap: 48px; padding: 32px 36px; }
}
