* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Segoe UI', sans-serif;

    background: linear-gradient(to bottom, #f5f7fb, #eef2ff);

    color: #222;

    line-height: 1.6;
}

/* Navbar */

.navbar {

    background: #EEF2FF;

    padding: 16px 40px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    position: sticky;

    top: 0;

    z-index: 1000;

    border-bottom: 1px solid #dbe4ff;

    box-shadow: 0 2px 12px rgba(0,0,0,0.04);

    transition: 0.3s ease;
}

.logo img {

    height: 75px;

    width: auto;

    display: block;
}

.logo span {

    color: #999;
}

.nav-links a {

    margin-left: 24px;

    text-decoration: none;

    color: #333;

    font-weight: 600;

    position: relative;

    transition: 0.3s ease;
}

.nav-links a:hover {

    color: #5B5BFF;
}

/* Animated underline */

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -5px;

    width: 0;

    height: 2px;

    background: #5B5BFF;

    transition: 0.3s ease;
}

.nav-links a:hover::after {

    width: 100%;
}

/* Container */

.container {

    padding: 80px 20px;

    max-width: 1100px;

    margin: auto;
}

/* Hero */

.hero {
    text-align: center;
    padding-top: 60px;
}

.hero h1 {

    font-size: 56px;

    margin-bottom: 20px;

    line-height: 1.2;

    background: linear-gradient(135deg, #5B5BFF, #8B5CF6);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero p {

    font-size: 20px;

    color: #555;

    margin-bottom: 35px;

    max-width: 700px;

    margin-left: auto;

    margin-right: auto;
}


.buttons {
    margin-top: 20px;
}

.btn {

    display: inline-block;

    padding: 14px 28px;

    margin: 10px;

    text-decoration: none;

    border-radius: 14px;

    font-weight: bold;

    transition: 0.3s ease;

    color: white;

    background: linear-gradient(
        135deg,
        #00000f,
        #010002
    );

    box-shadow: 0 8px 20px rgba(91,91,255,0.2);
}

.btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 30px rgba(91,91,255,0.3);
}

/* Footer */

.footer {
    text-align: center;
    padding: 30px;
    background: white;
    margin-top: 80px;
}

/* Tool Box */

.tool-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tool-box h1 {
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    height: 250px;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    resize: vertical;
}

.button-group {
    margin-top: 20px;
}

.button-group button {

    padding: 12px 22px;

    border: none;

    background: linear-gradient(135deg, #5B5BFF, #8B5CF6);

    color: white;

    border-radius: 12px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s ease;

    box-shadow: 0 6px 18px rgba(91,91,255,0.25);
}

.button-group button:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.stats {
    margin-top: 20px;
    display: flex;
    gap: 30px;
    font-weight: bold;
}

/* Loading */

.loading {
    display: none;
    margin-top: 20px;
    font-weight: bold;
    color: #444;
}

/* Disabled Buttons */

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile Responsive */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .button-group {
        display: flex;
        flex-direction: column;
    }

    .button-group button {
        width: 100%;
    }

    textarea {
        height: 180px;
    }

    .tool-box {
        padding: 20px;
    }
}

/* Hero Section */

.hero-section {

    background: white;

    padding: 60px 30px;

    border-radius: 14px;

    text-align: center;

    margin-bottom: 30px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero-section h1 {

    font-size: 48px;

    margin-bottom: 20px;

    background: linear-gradient(135deg, #5B5BFF, #8B5CF6);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero-section p {

    font-size: 18px;

    color: #555;

    max-width: 700px;

    margin: auto;
}

/* Hero Buttons */

.hero-buttons {

    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.hero-btn {

    background: linear-gradient(135deg, #5B5BFF, #8B5CF6);

    color: white;

    padding: 14px 30px;

    border-radius: 14px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s ease;

    box-shadow: 0 6px 18px rgba(91,91,255,0.25);
}

.hero-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 28px rgba(91,91,255,0.35);
}

.secondary-btn {

    background: #444;
}

/* Feature Cards */

.features-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin-bottom: 30px;
}

.feature-card {

    background: white;

    padding: 28px;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.05);

    transition: 0.3s ease;

    border: 1px solid #f0f0f0;
}

.feature-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 14px 32px rgba(91,91,255,0.15);

    border-color: #dcdcff;
}

.feature-card h2 {

    margin-top: 0;
}

/* Mobile */

@media (max-width: 768px) {

    .hero-section h1 {

        font-size: 30px;
    }

    .hero-section {

        padding: 40px 20px;
    }
}

/* FOOTER CLEAN DESIGN */

.footer {

    background: #111827;

    color: white;

    padding: 50px 20px 25px;
}

.footer-content {

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

    max-width: 1100px;

    margin: auto;

    gap: 40px;
}

.footer-brand h3 {

    margin-bottom: 10px;

    font-size: 22px;
}

.footer-brand p {

    color: #bbb;

    max-width: 300px;

    line-height: 1.6;
}

.footer-links h4 {

    margin-bottom: 12px;
}

.footer-links a {

    display: block;

    color: #ccc;

    text-decoration: none;

    margin-bottom: 8px;

    transition: 0.3s;
}

.footer-links a:hover {

    color: white;
}

.footer-bottom {

    margin-top: 30px;

    border-top: 1px solid #2a2a2a;

    padding-top: 15px;

    display: flex;

    justify-content: space-between;

    max-width: 1100px;

    margin-left: auto;

    margin-right: auto;

    color: #aaa;

    font-size: 14px;
}

.footer-bottom a {

    color: #8B5CF6;

    text-decoration: none;
}

/* SEO Section */

.tool-box {

    background: white;

    padding: 30px;

    border-radius: 16px;

    box-shadow: 0 4px 16px rgba(0,0,0,0.05);

    border: 1px solid #eee;
}

.tool-box p {

    color: #444;
}

@media (max-width: 768px) {

    .footer-content {

        flex-direction: column;
    }

    .footer-links {

        margin-top: 20px;
    }
}

/* Tools Section */

.tools-section {

    margin-top: 80px;

    text-align: center;
}

.tools-section h2 {

    font-size: 38px;

    margin-bottom: 40px;

    color: #222;
}

/* Grid */

.tools-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 25px;
}

/* Card */

.tool-card {

    background: white;

    padding: 30px;

    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.05);

    transition: 0.3s ease;

    border: 1px solid #eee;
}

.tool-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 14px 30px rgba(91,91,255,0.15);

    border-color: #dcdcff;
}

.tool-card h3 {

    margin-bottom: 15px;

    font-size: 24px;
}

.tool-card p {

    color: #555;

    margin-bottom: 25px;

    line-height: 1.6;
}

/* Contact Page */

.contact-box {

    background: white;

    padding: 40px;

    border-radius: 20px;

    max-width: 700px;

    margin: auto;

    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.contact-box h1 {

    margin-bottom: 15px;

    font-size: 40px;
}

.contact-box p {

    color: #666;

    margin-bottom: 30px;
}

.contact-box form {

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.contact-box input,
.contact-box textarea {

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 12px;

    font-size: 16px;

    outline: none;
}

.contact-box input:focus,
.contact-box textarea:focus {

    border-color: #8B5CF6;
}

.success-msg {

    background: #dcfce7;

    color: #166534;

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 20px;
}
.privacy-page {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    line-height: 1.8;
}

.privacy-page h1 {
    margin-bottom: 20px;
}

.privacy-page h2 {
    margin-top: 30px;
    color: #333;
}

.privacy-page ul {
    padding-left: 20px;
}

.privacy-page a {
    color: #2563eb;
    text-decoration: none;
}
.terms-page {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    line-height: 1.8;
}

.terms-page h1 {
    margin-bottom: 20px;
}

.terms-page h2 {
    margin-top: 30px;
    color: #333;
}

.terms-page ul {
    padding-left: 20px;
}

.terms-page a {
    color: #2563eb;
    text-decoration: none;
}