* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #312e81, #4f46e5, #6366f1);
    color: white;
    text-align: center;
    padding: 45px 20px;
    box-shadow: 0 4px 20px rgba(49, 46, 129, 0.20);
}

.logo {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 1px;
}

header p {
    margin-top: 10px;
    color: #e0e7ff;
    font-size: 16px;
}

main {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
}

.hero {
    text-align: center;
    margin-bottom: 45px;
    padding: 20px 10px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #111827;
    line-height: 1.2;
}

.hero p {
    color: #64748b;
    max-width: 700px;
    margin: auto;
    font-size: 17px;
    line-height: 1.7;
}
/* Privacy Section */

 /* Privacy Section */

.privacy-section {
    max-width: 900px;
    margin: 45px auto;
    padding: 35px 30px;
    text-align: center;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border: 1px solid #c7d2fe;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.08);
}

.privacy-section h2 {
    margin-bottom: 12px;
    color: #1e1b4b;
    font-size: 25px;
}

.privacy-section p {
    max-width: 750px;
    margin: 0 auto;
    color: #475569;
    line-height: 1.7;
}

/* Why Section */

.why-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.why-section h2 {
    margin-bottom: 25px;
    color: #1e1b4b;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-grid > div {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.why-grid h3 {
    margin-bottom: 10px;
    color: #312e81;
}

.why-grid p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

/* Tools Heading */

.tools-heading {
    grid-column: 1 / -1;
    text-align: center;
    margin: 20px auto 0;
    max-width: 800px;
}

.tools-heading h2 {
    margin-bottom: 10px;
    color: #1e1b4b;
    font-size: 28px;
}

.tools-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}


/* Search */

.tool-search {
    max-width: 760px;
    margin: 10px auto 40px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.tool-search input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    font-size: 16px;
    background: white;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.07);
    transition: all 0.2s ease;
}

.tool-search input::placeholder {
    color: #94a3b8;
}

.tool-search input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.tool-search button {
    background: #64748b;
    padding: 15px 20px;
    white-space: nowrap;
    border-radius: 14px;
}

.tool-search button:hover {
    background: #475569;
}

/* Tools Grid */

.tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    position: absolute;
    top: 0;
    left: 0;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    border-color: #c7d2fe;
}

.tool-card h2 {
    margin-bottom: 10px;
    color: #111827;
    font-size: 21px;
}

.tool-card p {
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.6;
}

/* Text Areas */

textarea {
    width: 100%;
    min-height: 140px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    resize: vertical;
    font-family: monospace;
    font-size: 14px;
    margin-bottom: 12px;
}

textarea:focus {
    outline: 2px solid #6366f1;
    border-color: #6366f1;
}

/* File Input */

input[type="file"] {
    width: 100%;
    margin-bottom: 15px;
}

/* Buttons */

button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

button:hover {
    background: #4338ca;
}

/* Output */

pre {
    margin-top: 15px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 10px;
    white-space: pre-wrap;
    overflow-x: auto;
    font-family: monospace;
}

.success {
    color: #166534;
}

.error {
    color: #b91c1c;
}

/* Metadata Download */

#metadataOutput {
    margin-top: 15px;
}

#metadataOutput a {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */

footer {
    text-align: center;
    padding: 35px 20px;
    margin-top: 50px;
    color: #94a3b8;
    background: #111827;
    border-top: 1px solid #1e293b;
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* Mobile */

@media (max-width: 700px) {

    .why-grid {
        grid-template-columns: 1fr;
    }

    .tool-search {
        flex-direction: column;
    }

    .tool-search input {
        width: 100%;
    }

    .tool-search button {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .hero h1 {
        font-size: 30px;
    }

    main {
        padding: 35px 15px;
    }

    .tool-card {
        padding: 20px;
    }
}

.tool-count {
    display: inline-block;
    margin-top: 14px;
    padding: 7px 16px;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
}


/* Tool Input Styling */

.tool-card input[type="text"],
.tool-card input[type="number"],
.tool-card input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    background: white;
}

.tool-card input[type="text"]:focus,
.tool-card input[type="number"]:focus,
.tool-card input[type="password"]:focus {
    outline: 2px solid #6366f1;
    border-color: #6366f1;
}

/* Labels */

.tool-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #374151;
}

/* Button spacing */

.tool-card button {
    margin: 4px 3px 4px 0;
}
/* Professional Button Effects */

.tool-card button {
    transition: all 0.2s ease;
}

.tool-card button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.20);
}

.tool-card button:active {
    transform: translateY(0);
}

/* Search button */

.tool-search button {
    transition: all 0.2s ease;
}

.tool-search button:hover {
    transform: translateY(-1px);
}
/* How LocalKit Works */

.how-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
}

.how-section h2 {
    margin-bottom: 30px;
    color: #1e1b4b;
    font-size: 28px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.how-grid > div {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.how-number {
    width: 42px;
    height: 42px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #4f46e5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.how-grid h3 {
    margin-bottom: 8px;
    color: #312e81;
}

.how-grid p {
    color: #64748b;
    margin: 0;
}

/* Mobile */

@media (max-width: 700px) {

    .how-grid {
        grid-template-columns: 1fr;
    }

}
/* Trust & Privacy */

.trust-section {
    max-width: 1000px;
    margin: 55px auto;
    padding: 40px 30px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.trust-section h2 {
    margin-bottom: 30px;
    color: #1e1b4b;
    font-size: 28px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-grid > div {
    background: white;
    padding: 28px 22px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-grid > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.09);
}

.trust-grid h3 {
    margin-bottom: 10px;
    color: #312e81;
}

.trust-grid p {
    margin: 0;
    color: #64748b;
}

.trust-note {
    margin: 28px auto 0;
    max-width: 800px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile */

@media (max-width: 700px) {

    .trust-grid {
        grid-template-columns: 1fr;
    }

}
/* Coming Soon */

 
.coming-section {
    max-width: 1000px;
    margin: 55px auto;
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}
.coming-section h2 {
    margin-bottom: 10px;
    color: #1e1b4b;
    font-size: 28px;
}

.coming-section > p {
    color: #64748b;
    margin-bottom: 25px;
}

.coming-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.coming-tags span {
    padding: 10px 16px;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.2s ease, background 0.2s ease;
}

.coming-tags span:hover {
    transform: translateY(-2px);
    background: #e0e7ff;
}
/* Final Mobile Improvements */

@media (max-width: 600px) {

    header {
        padding: 35px 15px;
    }

    .logo {
        font-size: 30px;
    }

    main {
        padding: 30px 15px;
    }

    .hero {
        padding: 15px 5px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .privacy-section,
    .trust-section,
    .coming-section,
    .how-section {
        padding: 25px 18px;
    }

    .tool-card {
        padding: 20px;
    }

    .tool-card button {
        margin-top: 5px;
    }

}
/* Main Navigation */

.main-nav {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}
/* LocalKit — Final polish */

html {
    scroll-behavior: smooth;
}

button,
.tool-card a {
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #818cf8;
    outline-offset: 3px;
}

.tool-card {
    height: 100%;
}

.tool-card button {
    min-height: 42px;
}

#metadataOutput a:hover {
    background: #047857;
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

