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

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* HEADER */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.logo-highlight {
    color: #6d28d9;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #0f172a;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #6d28d9;
}

/* HERO */
.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hero h1 span {
    color: #6d28d9;
}

/* Gradient Text Utility */
.text-gradient {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.subtitle {
    margin-top: 15px;
    color: #475569;
    font-size: clamp(18px, 3vw, 20px);
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.big-btn {
    margin-top: 30px;
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
    color: white;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    box-shadow: 0 10px 25px -5px rgba(109, 40, 217, 0.4);
}

.big-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(109, 40, 217, 0.5);
    filter: brightness(1.1);
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 30px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    padding: 40px 20px;
}

@media (min-width: 768px) {
    .tools-grid {
        padding: 40px 60px;
    }
}

.tool-card {
    background: #ffffff;
    padding: 5px 5px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    color: #111;
    border: 1px solid #f0f0f0;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}

.tool-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 14px;
    opacity: 0.95;
}

.tool-card p {
    margin: 0;
    padding: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #4c1d95;
}

/* FOOTER */
.footer {
    background: #0f172a;
    padding: 20px;
    text-align: center;
    color: #cbd5e1;
    margin-top: 40px;
    font-size: 14px;
    line-height: 1.8;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #ffffff;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablets and smaller (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 61px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li,
    .nav-links>a {
        padding: 15px 0;
        border-bottom: 1px solid #f1f5f9;
        display: block;
        width: 100%;
    }

    .nav-links a {
        font-size: 18px;
        display: block;
        padding: 10px;
    }

    /* Logo on Mobile - More compact */
    .logo {
        gap: 8px;
    }

    .logo-img {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 14px;
        line-height: 1.2;
    }

    .logo-highlight {
        display: block;
    }

    /* Hero Section */
    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 32px;
        padding: 0 10px;
    }

    .subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    .big-btn {
        font-size: 16px;
        padding: 14px 28px;
    }

    .section-title {
        font-size: 26px;
    }

    /* Tools Grid */
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 18px;
        padding: 20px 15px;
    }

    .tool-card {
        padding: 8px;
    }

    .tool-card p {
        font-size: 15px;
        padding: 8px 5px;
    }

    /* Footer */
    .footer {
        font-size: 13px;
        padding: 20px 15px;
    }

    .footer a {
        display: inline-block;
        margin: 5px 5px;
    }
}

/* Mobile phones (max-width: 480px) */
@media (max-width: 480px) {

    /* Even more compact logo */
    .logo {
        gap: 6px;
    }

    .logo-img {
        width: 24px;
        height: 24px;
    }

    .logo-text {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .subtitle {
        font-size: 15px;
    }

    .big-btn {
        font-size: 15px;
        padding: 12px 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px 10px;
    }

    .tool-icon {
        max-width: 130px;
    }

    .tool-card {
        border-radius: 10px;
        padding: 6px;
    }

    .tool-card p {
        font-size: 13px;
        padding: 6px 4px;
    }

    .footer {
        font-size: 12px;
    }
}

/* Very small screens (max-width: 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 24px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px 8px;
    }

    .tool-icon {
        max-width: 110px;
    }

    .tool-card p {
        font-size: 12px;
    }
}

/* ========================================
   STATIC PAGE STYLES (About, Privacy, etc.)
   ======================================== */

.page-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.8;
}

.page-container h1 {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    color: #4c1d95;
    margin-bottom: 30px;
}

.page-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-container p {
    font-size: 17px;
    color: #334155;
    margin-bottom: 20px;
}

.page-container ul,
.page-container ol {
    margin-left: 20px;
    margin-bottom: 25px;
}

.page-container li {
    font-size: 17px;
    color: #334155;
    margin-bottom: 10px;
}

.page-container strong {
    color: #0f172a;
}

/* Contact Box */
.contact-box {
    margin-top: 30px;
    padding: 30px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* FAQ Styles for Static Page */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #4c1d95;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

/* SEO Content Grid */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.seo-grid h4 {
    font-size: 16px;
    font-weight: 700;
    color: #6d28d9;
    margin-bottom: 8px;
}

.seo-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-grid li {
    margin-bottom: 5px;
    font-size: 15px;
    color: #334155;
}

.seo-grid a {
    color: #7c3aed;
    text-decoration: none;
}

.seo-grid a:hover {
    text-decoration: underline;
}