/* =========================================
   SfxMaker Sound Effect Generator
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}


/* =========================================
   Header
   ========================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8ebf2;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-mark {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #5b5ce2;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 19px;
    line-height: 1.1;
}

.logo-text small {
    display: block;
    font-size: 10px;
    color: #7c8498;
    font-weight: 500;
    margin-top: 3px;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 14px;
    color: #596276;
    font-weight: 600;
}

.main-nav a:hover {
    color: #5b5ce2;
}


/* =========================================
   Hero
   ========================================= */

.hero {
    padding: 82px 0 78px;
    background:
        radial-gradient(
            circle at top right,
            #eeeefe 0,
            #ffffff 45%
        );
}

.hero-content {
    max-width: 820px;
    margin: auto;
    text-align: center;
}

.eyebrow,
.section-label {
    display: inline-block;
    color: #5b5ce2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #121827;
}

.hero-description {
    max-width: 720px;
    margin: 24px auto 30px;
    color: #626b7d;
    font-size: 18px;
}

.hero-button {
    display: inline-flex;
    padding: 14px 24px;
    border-radius: 10px;
    background: #5b5ce2;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(91, 92, 226, 0.2);
}

.hero-button:hover {
    background: #494acb;
}


/* =========================================
   Advertisement
   ========================================= */

.ad-section {
    padding: 28px 0;
}

.ad-label {
    text-align: center;
    color: #a1a7b3;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.ad-placeholder {
    min-height: 90px;
    max-width: 970px;
    margin: auto;
}


/* =========================================
   Sections
   ========================================= */

.content-section,
.generator-section {
    padding: 75px 0;
}

.light-section {
    background: #f7f8fb;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
    color: #151b2b;
}

.section-heading p {
    margin: 0;
    color: #697285;
}


/* =========================================
   Generator
   ========================================= */

.generator-card {
    background: #ffffff;
    border: 1px solid #e4e7ef;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(20, 30, 55, 0.07);
    overflow-x: auto;
}


/*
 * The original SFMaker creates a table.
 * These rules make the original interface fit
 * inside our modern website.
 */

#sfmaker-app table.SFDesigner {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

#sfmaker-app table.SFDesigner tr.titleRow {
    display: none;
}

#sfmaker-app table.SFDesigner tr.titleRow2 td {
    background: #f5f6fa;
    color: #343b4d;
    border: 1px solid #e1e4ec;
    font-size: 13px;
    font-weight: 700;
    padding: 12px;
}

#sfmaker-app table.SFDesigner tr td.presetsSection,
#sfmaker-app table.SFDesigner tr td.parametersSection,
#sfmaker-app table.SFDesigner tr td.saveSection {
    background: #ffffff;
    border: 1px solid #e1e4ec;
    color: #3c4557;
    padding: 16px;
}

#sfmaker-app table.SFDesigner tr td.presetsSection {
    width: 150px;
}

#sfmaker-app table.SFDesigner tr td.parametersSection {
    width: auto;
}

#sfmaker-app table.SFDesigner tr td.saveSection {
    width: 210px;
}


/* =========================================
   Buttons generated by SFMaker
   ========================================= */

#sfmaker-app button {
    border: 1px solid #d8dce7;
    background: #ffffff;
    color: #343b4d;
    border-radius: 7px;
    padding: 7px 10px;
    cursor: pointer;
}

#sfmaker-app button:hover {
    background: #f0f1ff;
    border-color: #5b5ce2;
    color: #4d4ed2;
}

#sfmaker-app input[type="text"],
#sfmaker-app textarea {
    border: 1px solid #d8dce7;
    border-radius: 6px;
    padding: 6px;
}

#sfmaker-app input[type="range"] {
    accent-color: #5b5ce2;
}


/* =========================================
   Sound Cards
   ========================================= */

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

.sound-card {
    border: 1px solid #e4e7ef;
    border-radius: 14px;
    padding: 22px;
    background: #ffffff;
    transition: transform .2s ease,
                box-shadow .2s ease,
                border-color .2s ease;
}

.sound-card:hover {
    transform: translateY(-3px);
    border-color: #c9caf8;
    box-shadow: 0 12px 28px rgba(20, 30, 55, .08);
}

.sound-icon {
    font-size: 27px;
}

.sound-card h3 {
    margin: 12px 0 5px;
    font-size: 18px;
}

.sound-card p {
    margin: 0;
    color: #737c8e;
    font-size: 14px;
}


/* =========================================
   Steps
   ========================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.step {
    text-align: center;
}

.step-number {
    width: 42px;
    height: 42px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #ececff;
    color: #5556d8;
    font-weight: 800;
}

.step h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.step p {
    color: #70798b;
    font-size: 14px;
    margin: 0;
}


/* =========================================
   Categories
   ========================================= */

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

.category-card {
    padding: 25px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e3e6ee;
}

.category-card:hover {
    border-color: #bfc0f5;
}

.category-card h3 {
    margin: 0 0 7px;
    font-size: 19px;
}

.category-card p {
    margin: 0;
    color: #71798b;
    font-size: 14px;
}


/* =========================================
   SEO Article
   ========================================= */

.article-content {
    max-width: 820px;
}

.article-content h2 {
    margin: 0 0 14px;
    padding-top: 25px;
    font-size: 28px;
}

.article-content p {
    color: #626b7c;
    font-size: 16px;
    margin: 0 0 20px;
}


/* =========================================
   FAQ
   ========================================= */

.faq-list {
    max-width: 820px;
    margin: auto;
}

.faq-list details {
    border-bottom: 1px solid #e3e6ed;
    padding: 18px 0;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

.faq-list p {
    color: #697285;
    margin: 12px 0 0;
}


/* =========================================
   Footer
   ========================================= */

.site-footer {
    background: #111522;
    color: #ffffff;
}

.footer-grid {
    padding: 55px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-grid p {
    max-width: 380px;
    color: #9da5b7;
}

.footer-grid h3 {
    font-size: 14px;
    margin-top: 0;
}

.footer-grid a {
    display: block;
    color: #9da5b7;
    font-size: 14px;
    margin: 8px 0;
}

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

.footer-bottom {
    border-top: 1px solid #292e3c;
    padding: 18px 0;
    color: #7e8799;
    font-size: 13px;
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .sound-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #sfmaker-app {
        overflow-x: auto;
    }

}


@media (max-width: 600px) {

    .hero {
        padding: 60px 0;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .content-section,
    .generator-section {
        padding: 50px 0;
    }

    .generator-card {
        padding: 10px;
        border-radius: 12px;
    }

    .sound-grid,
    .steps,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}