/* =========================================================
   AICORES.ONLINE
   Main Website Styles
   ========================================================= */


/* =========================================================
   1. RESET & VARIABLES
   ========================================================= */

:root {
    --bg: #f4f1e9;
    --surface: #fffdf8;
    --surface-soft: #ece9df;

    --dark: #111318;
    --dark-soft: #1b1d23;
    --text: #17191e;
    --muted: #6f7278;

    --yellow: #f4c430;
    --yellow-light: #f9d85c;

    --border: #dedbd2;

    --shadow: 0 12px 35px rgba(17, 19, 24, 0.08);
    --shadow-hover: 0 18px 45px rgba(17, 19, 24, 0.13);

    --radius: 18px;
    --radius-small: 12px;

    --container: 1180px;

    --transition: 0.25s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.6;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================================
   2. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(244, 241, 233, 0.94);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(17, 19, 24, 0.08);
}


.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.logo {
    display: inline-flex;
    align-items: center;

    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}


.logo-ai {
    color: var(--yellow);
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}


.main-nav a {
    color: #42454b;
    font-size: 14px;
    font-weight: 600;

    transition: color var(--transition);
}


.main-nav a:hover {
    color: var(--dark);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


.search-btn {
    border: 1px solid var(--border);
    background: var(--surface);

    padding: 9px 16px;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}


.search-btn:hover {
    border-color: var(--dark);
}


.menu-btn {
    display: none;

    border: 0;
    background: var(--dark);
    color: white;

    width: 42px;
    height: 42px;

    border-radius: 10px;

    font-size: 20px;
}


/* =========================================================
   3. HERO
   ========================================================= */

.hero {
    padding: 90px 0 80px;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(244, 196, 48, 0.18),
            transparent 28%
        ),
        var(--bg);
}


.hero-content {
    max-width: 850px;
    text-align: center;
    margin-inline: auto;
}


.hero-badge {
    display: inline-flex;

    padding: 7px 13px;

    border: 1px solid rgba(244, 196, 48, 0.7);
    background: rgba(244, 196, 48, 0.14);

    border-radius: 100px;

    color: #765c00;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 22px;
}


.hero h1 {
    font-size: clamp(48px, 7vw, 78px);

    line-height: 0.98;
    letter-spacing: -4px;

    font-weight: 850;

    color: var(--dark);

    margin-bottom: 25px;
}


.hero h1 span {
    display: block;
    color: #4e5157;
}


.hero-description {
    max-width: 620px;

    margin: 0 auto 32px;

    color: var(--muted);

    font-size: 17px;
}


.tool-search {
    max-width: 680px;

    margin: auto;

    display: flex;
    align-items: center;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 7px;

    box-shadow: var(--shadow);
}


.tool-search input {
    flex: 1;

    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;

    padding: 14px 16px;

    color: var(--dark);

    font-size: 15px;
}


.tool-search input::placeholder {
    color: #999b9f;
}


.tool-search button {
    border: 0;

    background: var(--dark);
    color: white;

    padding: 13px 22px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition: var(--transition);
}


.tool-search button:hover {
    background: #292c33;
}


.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 20px;

    color: #777970;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   4. GENERAL SECTIONS
   ========================================================= */

.popular-tools,
.categories-section,
.dns-info,
.why-section,
.guides-section,
.faq-section {
    padding: 90px 0;
}


.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 35px;
}


.section-heading.centered {
    display: block;
    text-align: center;
}


.section-label {
    display: inline-block;

    color: #806500;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 9px;
}


.section-heading h2 {
    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.05;

    letter-spacing: -1.8px;

    color: var(--dark);
}


.section-heading p {
    margin-top: 12px;

    color: var(--muted);
}


.section-link {
    white-space: nowrap;

    font-size: 13px;
    font-weight: 700;

    color: var(--dark);

    border-bottom: 1px solid var(--dark);

    padding-bottom: 3px;
}


/* =========================================================
   5. POPULAR TOOLS
   ========================================================= */

.popular-tools {
    background: var(--surface);
}


.tools-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


.tool-card {
    position: relative;

    display: flex;
    gap: 17px;

    padding: 24px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.tool-card:hover {
    transform: translateY(-4px);

    border-color: rgba(244, 196, 48, 0.8);

    box-shadow: var(--shadow-hover);
}


.tool-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--dark);
    color: var(--yellow);

    font-size: 14px;
    font-weight: 800;
}


.tool-content {
    position: relative;

    padding-right: 18px;
}


.tool-content h3 {
    font-size: 17px;

    line-height: 1.2;

    margin-bottom: 7px;

    color: var(--dark);
}


.tool-content p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.55;
}


.tool-arrow {
    position: absolute;

    right: 0;
    top: 2px;

    color: #8c8e92;

    transition: var(--transition);
}


.tool-card:hover .tool-arrow {
    color: var(--dark);

    transform: translateX(4px);
}


/* =========================================================
   6. CATEGORIES
   ========================================================= */

.categories-section {
    background: var(--bg);
}


.category-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


.category-card {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}


.category-card:hover {
    transform: translateY(-3px);

    border-color: var(--dark);

    box-shadow: var(--shadow);
}


.category-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--surface-soft);

    font-size: 20px;
}


.category-card h3 {
    font-size: 17px;

    color: var(--dark);

    margin-bottom: 6px;
}


.category-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 10px;
}


.category-card span {
    color: #806500;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   7. DNS INFORMATION
   ========================================================= */

.dns-info {
    background: var(--dark);

    color: white;
}


.info-layout {
    display: grid;

    grid-template-columns: 1fr 0.85fr;

    align-items: center;

    gap: 80px;
}


.dns-info .section-label {
    color: var(--yellow);
}


.info-content h2 {
    color: white;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1;

    letter-spacing: -2px;

    margin-bottom: 24px;
}


.info-content p {
    max-width: 590px;

    color: #b7bac1;

    font-size: 15px;

    margin-bottom: 16px;
}


.primary-link {
    display: inline-block;

    margin-top: 12px;

    color: var(--yellow);

    font-size: 14px;
    font-weight: 700;
}


.dns-records-card {
    padding: 25px;

    background: #1a1c21;

    border: 1px solid #30333a;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}


.record-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: white;

    font-size: 13px;
    font-weight: 700;

    padding-bottom: 18px;

    border-bottom: 1px solid #30333a;
}


.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--yellow);

    box-shadow: 0 0 0 5px rgba(244, 196, 48, 0.1);
}


.record-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid #292c32;

    font-size: 13px;
}


.record-row:last-child {
    border-bottom: 0;
}


.record-row strong {
    color: var(--yellow);

    font-size: 12px;
}


.record-row span {
    color: #c7c9ce;

    font-family: monospace;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   8. WHY AICORES
   ========================================================= */

.why-section {
    background: var(--surface);
}


.benefits-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}


.benefit-card {
    padding: 28px 24px;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: var(--radius);
}


.benefit-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--dark);

    color: var(--yellow);

    border-radius: 12px;

    margin-bottom: 20px;
}


.benefit-card h3 {
    color: var(--dark);

    font-size: 17px;

    margin-bottom: 8px;
}


.benefit-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   9. GUIDES
   ========================================================= */

.guides-section {
    background: var(--bg);
}


.guides-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}


.guide-card {
    display: flex;
    flex-direction: column;

    min-height: 260px;

    padding: 24px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}


.guide-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);

    border-color: var(--dark);
}


.guide-number {
    color: #9b8a52;

    font-size: 11px;
    font-weight: 800;

    margin-bottom: 35px;
}


.guide-card h3 {
    color: var(--dark);

    font-size: 18px;

    line-height: 1.3;

    margin-bottom: 10px;
}


.guide-card p {
    color: var(--muted);

    font-size: 13px;
}


.read-more {
    margin-top: auto;

    padding-top: 22px;

    color: var(--dark);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   10. FAQ
   ========================================================= */

.faq-section {
    background: var(--surface);
}


.faq-list {
    max-width: 850px;

    margin: 0 auto;

    border-top: 1px solid var(--border);
}


.faq-item {
    border-bottom: 1px solid var(--border);
}


.faq-item summary {
    position: relative;

    list-style: none;

    cursor: pointer;

    padding: 22px 45px 22px 0;

    color: var(--dark);

    font-size: 15px;
    font-weight: 700;
}


.faq-item summary::-webkit-details-marker {
    display: none;
}


.faq-item summary::after {
    content: "+";

    position: absolute;

    right: 4px;
    top: 18px;

    font-size: 22px;

    color: #888;
}


.faq-item[open] summary::after {
    content: "−";
}


.faq-item p {
    color: var(--muted);

    font-size: 14px;

    padding: 0 45px 22px 0;
}


/* =========================================================
   11. CTA
   ========================================================= */

.cta-section {
    padding: 50px 0 90px;

    background: var(--surface);
}


.cta-box {
    position: relative;

    overflow: hidden;

    padding: 70px 40px;

    text-align: center;

    background: var(--yellow);

    border-radius: 24px;
}


.cta-box::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    top: -120px;
    right: -50px;
}


.cta-box .section-label {
    color: #655000;
}


.cta-box h2 {
    position: relative;

    color: var(--dark);

    font-size: clamp(30px, 5vw, 48px);

    line-height: 1;

    letter-spacing: -2px;

    margin-bottom: 15px;
}


.cta-box p {
    position: relative;

    color: #514300;

    max-width: 520px;

    margin: 0 auto 25px;

    font-size: 14px;
}


.cta-button {
    position: relative;

    display: inline-flex;

    padding: 13px 21px;

    border-radius: 10px;

    background: var(--dark);

    color: white;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}


.cta-button:hover {
    transform: translateY(-2px);

    background: #292c32;
}


/* =========================================================
   12. FOOTER
   ========================================================= */

.site-footer {
    padding-top: 65px;

    background: var(--dark);

    color: white;
}


.footer-grid {
    display: grid;

    grid-template-columns: 1.6fr repeat(4, 1fr);

    gap: 40px;

    padding-bottom: 55px;
}


.footer-brand .logo {
    color: white;

    margin-bottom: 13px;
}


.footer-brand p {
    color: #94979e;

    font-size: 13px;

    max-width: 180px;
}


.footer-column {
    display: flex;
    flex-direction: column;

    gap: 11px;
}


.footer-column h3 {
    color: white;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;
}


.footer-column a {
    color: #9699a0;

    font-size: 12px;

    transition: color var(--transition);
}


.footer-column a:hover {
    color: var(--yellow);
}


.footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid #292c32;

    color: #777a81;

    font-size: 11px;
}


/* =========================================================
   13. TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 18px;
    }


    .tools-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .info-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   14. MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, var(--container));
    }


    .site-header {
        position: sticky;
    }


    .header-inner {
        min-height: 66px;

        gap: 12px;
    }


    .logo {
        font-size: 23px;
    }


    .main-nav {
        display: none;
    }


    .search-btn {
        display: none;
    }


    .menu-btn {
        display: grid;
        place-items: center;
    }


    .hero {
        padding: 65px 0 55px;
    }


    .hero h1 {
        font-size: clamp(43px, 13vw, 62px);

        letter-spacing: -3px;
    }


    .hero-description {
        font-size: 15px;

        margin-bottom: 25px;
    }


    .tool-search {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        padding: 7px;
    }


    .tool-search input {
        width: 100%;

        padding: 14px;
    }


    .tool-search button {
        width: 100%;
    }


    .hero-features {
        gap: 10px 14px;

        font-size: 11px;
    }


    .popular-tools,
    .categories-section,
    .dns-info,
    .why-section,
    .guides-section,
    .faq-section {
        padding: 65px 0;
    }


    .section-heading {
        display: block;

        margin-bottom: 25px;
    }


    .section-heading h2 {
        font-size: 32px;
    }


    .section-link {
        display: inline-block;

        margin-top: 14px;
    }


    .tools-grid,
    .category-grid,
    .benefits-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }


    .tool-card {
        padding: 20px;
    }


    .category-card {
        padding: 20px;
    }


    .dns-info .info-content h2 {
        font-size: 38px;
    }


    .dns-records-card {
        padding: 20px;
    }


    .record-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }


    .record-row span {
        max-width: 100%;
    }


    .benefit-card {
        padding: 23px;
    }


    .guide-card {
        min-height: 230px;
    }


    .faq-item summary {
        font-size: 14px;

        padding: 19px 35px 19px 0;
    }


    .faq-item p {
        font-size: 13px;
    }


    .cta-section {
        padding: 30px 0 65px;
    }


    .cta-box {
        padding: 55px 22px;

        border-radius: 18px;
    }


    .cta-box h2 {
        font-size: 34px;
    }


    .footer-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 35px 25px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        padding: 18px 0;
    }

}


/* =========================================================
   15. SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .container {
        width: min(100% - 22px, var(--container));
    }


    .hero h1 {
        font-size: 42px;
    }


    .hero-badge {
        font-size: 10px;
    }


    .tool-card {
        gap: 13px;
    }


    .tool-icon {
        flex-basis: 42px;

        width: 42px;
        height: 42px;
    }


    .tool-content h3 {
        font-size: 16px;
    }


    .section-heading h2 {
        font-size: 29px;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}
