.mini-hero{
    padding:110px 0 64px;
    position:relative;
    overflow:hidden;
}

.mini-hero-inner{
    max-width:920px;
}

.mini-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.86fr);
    gap:34px;
    align-items:center;
}

.mini-hero-grid .mini-hero-inner{
    max-width:none;
}

.mini-visual{
    overflow:hidden;
    border-radius:24px;
    background:var(--card);
    border:1px solid var(--border);
    box-shadow:var(--shadow-lg, var(--shadow));
}

.mini-visual img{
    display:block;
    width:100%;
    aspect-ratio:3/2;
    object-fit:cover;
}

.mini-image-card{
    overflow:hidden;
    padding:0;
}

.mini-image-card img{
    display:block;
    width:100%;
    aspect-ratio:3/2;
    object-fit:cover;
}

.mini-image-card .mini-image-copy{
    padding:24px;
}

.mini-hero h1{
    max-width:860px;
    margin:22px 0;
    font-size:clamp(2.7rem,7vw,5.4rem);
    line-height:1;
}

.mini-kicker-title{
    max-width:760px;
    margin:18px 0 -6px;
    font-size:clamp(1.35rem,3vw,2.15rem);
    line-height:1.15;
    font-weight:800;
}

.mini-kicker-title span{
    color:var(--primary);
}

.mini-hero h1 span{
    color:var(--primary);
}

.mini-hero p{
    max-width:760px;
    color:var(--muted);
    font-size:1.08rem;
    line-height:1.8;
}

.mini-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:30px;
}

.mini-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.mini-card{
    padding:24px;
    border-radius:24px;
    background:var(--card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.mini-card i{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    margin-bottom:18px;
    border-radius:15px;
    color:#fff;
    background:linear-gradient(135deg,var(--primary),#7c4dff);
    font-size:1.2rem;
}

.mini-card h2,
.mini-card h3{
    margin-bottom:10px;
    font-size:1.18rem;
}

.mini-card p,
.mini-card li{
    color:var(--muted);
    line-height:1.7;
}

.mini-card ul{
    list-style:none;
    display:grid;
    gap:10px;
}

.mini-band{
    padding:76px 0;
    background:linear-gradient(180deg,rgba(86,45,212,.055),transparent);
}

.mini-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
    align-items:start;
}

.mini-price{
    font-size:clamp(2.4rem,5vw,4rem);
    line-height:1;
    margin:14px 0;
}

.mini-note{
    color:var(--muted);
}

.usage-calculator-section{
    padding:72px 0;
    background:linear-gradient(180deg,rgba(86,45,212,.05),transparent);
}

.usage-calculator-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);
    gap:28px;
    align-items:start;
}

.usage-calculator-copy .section-title{
    max-width:720px;
    margin:18px 0 14px;
    text-align:left;
}

.usage-calculator-copy .section-sub{
    max-width:760px;
    margin:0 0 26px;
    text-align:left;
}

.usage-rate-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.usage-rate-grid div{
    padding:18px;
    border-radius:8px;
    background:var(--card);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.usage-rate-grid span,
.usage-results span,
.usage-input-label{
    display:block;
    color:var(--muted);
    font-size:.84rem;
    font-weight:800;
}

.usage-rate-grid strong{
    display:block;
    margin-top:6px;
    color:var(--text);
    font-size:1.05rem;
}

.usage-calculator-card{
    padding:24px;
    border-radius:8px;
    background:var(--card);
    border:1px solid var(--border);
    box-shadow:var(--shadow-lg, var(--shadow));
}

.usage-input-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    margin-top:8px;
}

.usage-input-row span{
    color:var(--muted);
    font-weight:800;
}

.usage-pages-input{
    height:54px;
    font-size:1.15rem;
    font-weight:800;
}

.usage-range{
    width:100%;
    margin:20px 0 22px;
    accent-color:var(--primary);
}

.usage-results{
    display:grid;
    gap:10px;
}

.usage-results div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:13px 14px;
    border-radius:8px;
    background:rgba(86,45,212,.07);
    border:1px solid rgba(86,45,212,.12);
}

.usage-results strong{
    color:var(--text);
    font-size:1.02rem;
}

.usage-results .usage-total{
    background:linear-gradient(135deg,rgba(86,45,212,.16),rgba(0,158,69,.08));
}

.usage-results .usage-total strong{
    color:var(--primary);
    font-size:1.35rem;
}

.usage-breakdown{
    margin:16px 0 20px;
    color:var(--muted);
    line-height:1.55;
}

.ai-editor-hero{
    padding:96px 0 70px;
    background:
        linear-gradient(180deg,rgba(86,45,212,.07),transparent 72%);
}

.ai-editor-hero-wrap{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);
    gap:44px;
    align-items:center;
}

.ai-editor-copy{
    max-width:680px;
}

.ai-editor-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:22px;
    color:var(--primary);
    font-size:.82rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.ai-editor-kicker{
    margin-bottom:14px;
    color:var(--text);
    font-size:clamp(1.2rem,2.2vw,1.7rem);
    line-height:1.25;
    font-weight:800;
}

.ai-editor-kicker span,
.ai-editor-hero h1 span{
    color:var(--primary);
}

.ai-editor-hero h1{
    max-width:680px;
    margin:0 0 22px;
    font-size:clamp(2.65rem,5.8vw,5.1rem);
    line-height:.98;
}

.ai-editor-hero p{
    max-width:620px;
    color:var(--muted);
    font-size:1.05rem;
    line-height:1.78;
}

.ai-editor-points{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:26px;
}

.ai-editor-point{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    padding:10px 12px;
    border-radius:14px;
    background:rgba(86,45,212,.07);
    border:1px solid rgba(86,45,212,.11);
    color:var(--text);
    font-size:.84rem;
    font-weight:800;
}

.ai-editor-point i{
    color:var(--primary);
    font-size:1rem;
}

.ai-editor-preview{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    background:var(--card);
    border:1px solid var(--border);
    box-shadow:var(--shadow-lg, 0 24px 70px rgba(15,23,42,.12));
}

.ai-editor-preview::before{
    content:"";
    display:block;
    height:42px;
    background:
        linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.34));
    border-bottom:1px solid var(--border);
}

[data-theme="dark"] .ai-editor-preview::before{
    background:
        linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
}

.ai-editor-window-dots{
    position:absolute;
    top:16px;
    left:18px;
    display:flex;
    gap:7px;
}

.ai-editor-window-dots span{
    width:10px;
    height:10px;
    border-radius:999px;
    background:#d7dce8;
}

.ai-editor-window-dots span:nth-child(1){
    background:#ff6b6b;
}

.ai-editor-window-dots span:nth-child(2){
    background:#f7bf4f;
}

.ai-editor-window-dots span:nth-child(3){
    background:#36c275;
}

.ai-editor-preview img{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    object-position:left center;
}

.ai-editor-preview-caption{
    position:absolute;
    left:18px;
    right:18px;
    bottom:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 16px;
    border-radius:18px;
    background:rgba(255,255,255,.9);
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 14px 32px rgba(15,23,42,.1);
}

[data-theme="dark"] .ai-editor-preview-caption{
    background:rgba(31,31,41,.88);
    border-color:rgba(255,255,255,.1);
}

.ai-editor-preview-caption strong{
    display:block;
    color:var(--text);
    font-size:.92rem;
}

.ai-editor-preview-caption span{
    color:var(--muted);
    font-size:.78rem;
    font-weight:700;
}

.ai-editor-preview-caption i{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:13px;
    color:#fff;
    background:var(--primary);
}

@media(max-width:900px){
    .mini-hero{
        padding:72px 0 42px;
    }

    .ai-editor-hero{
        padding:64px 0 42px;
    }

    .ai-editor-hero-wrap{
        grid-template-columns:1fr;
        gap:30px;
    }

    .ai-editor-copy{
        max-width:none;
    }

    .ai-editor-points{
        grid-template-columns:1fr;
    }

    .ai-editor-preview{
        border-radius:22px;
    }

    .ai-editor-preview-caption{
        position:static;
        margin:12px;
    }

    .mini-hero-grid,
    .mini-grid,
    .mini-split,
    .usage-calculator-grid,
    .usage-rate-grid{
        grid-template-columns:1fr;
    }
}
