body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    overflow-x: hidden;
}

/* BACKGROUND GLOW */
body::before {
    content: "";
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -200px;
    left: -200px;
    filter: blur(120px);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 80px auto;
    padding: 20px;
}

/* GLASS CARD */
.container {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* TITLE */
h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* DROP AREA */
#drop-area {
    border: 2px dashed rgba(255,255,255,0.2);
    padding: 50px;
    border-radius: 16px;
    transition: 0.3s ease;
    background: rgba(255,255,255,0.03);
}

#drop-area:hover {
    border-color: #6366f1;
    background: rgba(99,102,241,0.1);
}

#drop-area.highlight {
    border-color: #6366f1;
    transform: scale(1.02);
}

#browse {
    color: #818cf8;
    cursor: pointer;
}

/* FILE LIST */
.file-item {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    transition: 0.2s;
}

.file-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
}

/* BUTTON */
button {
    margin-top: 25px;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99,102,241,0.4);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* PROGRESS BAR */
#progress-container {
    margin-top: 20px;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #22c55e);
    transition: width 0.4s ease;
}

/* DOWNLOAD BUTTON */
.download-btn {
    display: block;
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981, #22c55e);
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.download-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(34,197,94,0.3);
}

.container {
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tools {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}
.tool-icon {
    font-size: 24px;
}

.tool-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.08);
}
.file-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}
.logo {
    font-weight: 700;
    margin-bottom: 20px;
    color: #818cf8;
}
.zip-btn {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #818cf8;
}

.tagline {
    font-size: 12px;
    opacity: 0.7;
}

/* SUBTITLE */
.subtitle {
    opacity: 0.7;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* TOOL CARD CONTENT */
.tool-card div {
    display: flex;
    flex-direction: column;
}

.tool-card strong {
    font-size: 16px;
}

.tool-card small {
    font-size: 12px;
    opacity: 0.6;
}

/* HOVER GLOW */
.tool-card:hover {
    box-shadow: 0 10px 30px rgba(99,102,241,0.2);
}

/* MOBILE */
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    h1 {
        font-size: 22px;
    }
}

a {
    text-decoration: none;
    color: inherit;
} 

/* SEO CONTENT SECTION */
.seo-content {
    margin-top: 40px;
    padding: 25px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    text-align: left;
    line-height: 1.7;
}

/* HEADINGS */
.seo-content h2 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #a5b4fc;
}

.seo-content h3 {
    font-size: 16px;
    margin-top: 20px;
    color: #c7d2fe;
}

/* PARAGRAPHS */
.seo-content p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 10px;
}

/* LISTS */
.seo-content ul {
    padding-left: 18px;
    margin-bottom: 15px;
}

.seo-content li {
    margin-bottom: 6px;
    opacity: 0.85;
}

/* LINKS */
.seo-content a {
    color: #818cf8;
    text-decoration: none;
}

.seo-content a:hover {
    text-decoration: underline;
}

/* DIVIDER */
.seo-content hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 0;
}

@media (max-width: 600px) {
    .seo-content {
        padding: 18px;
        font-size: 13px;
    }

    .seo-content h2 {
        font-size: 18px;
    }
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.tagline {
    font-size: 12px;
    opacity: 0.7;
}

/* ===== STICKY HEADER UPGRADE ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    margin-bottom: 20px;

    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* LOGO IMPROVE */
.logo-img {
    width: 42px;
    height: 42px;
    transition: 0.3s ease;
}

.logo-wrap:hover .logo-img {
    transform: scale(1.1) rotate(4deg);
}

/* THEME BUTTON */
.theme-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: 0.2s;
}

.theme-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* ===== LIGHT MODE (FULL FIX) ===== */
body.light {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #0f172a;
}

/* remove glow in light mode */
body.light::before {
    display: none;
}

/* cards */
body.light .container,
body.light .file-item,
body.light .tool-card,
body.light #drop-area,
body.light .seo-content {
    background: rgba(0,0,0,0.03);
    color: #0f172a;
}

/* header */
body.light .header {
    background: rgba(255,255,255,0.7);
}

/* buttons */
body.light button {
    color: white;
}

/* links */
body.light a {
    color: inherit;
}

/* subtle improvement */
.container {
    margin-top: 40px;
}

/* ===== FLOATING THEME BUTTON (PRO) ===== */
.theme-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

    width: 52px;
    height: 52px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);

    font-size: 20px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    /* GLASS STYLE */
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: white;

    box-shadow: 
        0 10px 25px rgba(0,0,0,0.3),
        inset 0 0 10px rgba(255,255,255,0.05);

    transition: all 0.25s ease;
}

/* HOVER */
.theme-float:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.4),
        0 0 10px rgba(99,102,241,0.4);
}

/* CLICK */
.theme-float:active {
    transform: scale(0.92);
}

/* MOBILE */
@media (max-width: 600px) {
    .theme-float {
        width: 48px;
        height: 48px;
        bottom: 14px;
        right: 14px;
        font-size: 18px;
    }
}

/* ===== LIGHT MODE FIX ===== */
body.light .theme-float {
    background: rgba(0,0,0,0.05);
    color: #0f172a;
    border: 1px solid rgba(0,0,0,0.1);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.1),
        inset 0 0 8px rgba(0,0,0,0.05);
}

.theme-float {
    animation: floatIn 0.4s ease;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #6366f1, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    opacity: 0.7;
    margin-top: 10px;
    font-size: 15px;
}

/* ===== GRID SYSTEM ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

/* ===== TOOL CARD UPGRADE ===== */
.tool-card {
    position: relative;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

/* hover effect */
.tool-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.4),
        0 0 20px rgba(99,102,241,0.25);
}

/* glow border */
.tool-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, transparent);
    opacity: 0;
    transition: 0.3s;
}

.tool-card:hover::after {
    opacity: 0.15;
}

/* featured card */
.tool-card.featured {
    border: 1px solid rgba(99,102,241,0.3);
    box-shadow: 0 10px 30px rgba(99,102,241,0.2);
}

/* icon */
.tool-icon {
    font-size: 26px;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .hero-title {
        font-size: 28px;
    }
}

/* CTA BUTTON */
.cta-main {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(135deg, #22c55e, #6366f1);
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.cta-main:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(34,197,94,0.4);
}

/* TRUST TEXT */
.trust {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.7;
}

/* FEATURED BOX */
.featured-box {
    margin-top: 25px;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
}

.featured-box h3 {
    margin-bottom: 10px;
}

.featured-box a {
    font-weight: 700;
    font-size: 18px;
    color: #818cf8;
}

.featured-box p {
    font-size: 13px;
    opacity: 0.7;
}
/* ===== RELATED TOOLS ===== */

.seo-related {
    margin-top: 50px;
}

.seo-related h2 {
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
}

/* GRID */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

/* CARD */
.tool-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: #2C3947;
    border: 1px solid #eaeaea;
    text-decoration: none;
    color: #111;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* subtle gradient hover layer */
.tool-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(147,51,234,0.05));
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* HOVER */
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #ddd;
}

.tool-card:hover::after {
    opacity: 1;
}

/* ICON */
.tool-icon {
    font-size: 20px;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

/* TEXT */
.tool-info h3 {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.tool-info p {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

.file-item {
    cursor: grab;
}

.file-item:active {
    cursor: grabbing;
}

.thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.pdf-icon {
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 18px;
}