/* =========================================================
   DIGISADHAN.COM
   DAILY INSPIRATIONAL QUOTES
========================================================= */

:root {

    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;

    --secondary: #7c3aed;

    --dark: #111827;
    --text: #374151;
    --muted: #6b7280;

    --white: #ffffff;

    --background: #f6f7fb;

    --border: #e5e7eb;

    --green: #059669;
    --red: #dc2626;

    --shadow:
        0 15px 45px rgba(15, 23, 42, .08);

}


/* =========================================================
   RESET
========================================================= */

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);

    background:
        var(--background);

    line-height: 1.65;

}


button,
input,
select {

    font: inherit;

}


button {

    cursor: pointer;

}


a {

    color: inherit;

    text-decoration: none;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255,255,255,.96);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(12px);

}


.header-inner {

    width:
        min(1100px,calc(100% - 30px));

    min-height: 68px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.brand {

    display: flex;

    align-items: center;

    gap: 10px;

}


.brand-logo {

    width: 41px;

    height: 41px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border-radius: 11px;

    font-size: 13px;

    font-weight: 900;

}


.brand-text {

    display: flex;

    flex-direction: column;

}


.brand-text strong {

    color: var(--dark);

    font-size: 17px;

    line-height: 1.1;

}


.brand-text span {

    color: var(--muted);

    font-size: 8px;

}


.main-nav {

    display: flex;

    gap: 25px;

}


.main-nav a {

    color: var(--text);

    font-size: 12px;

    font-weight: 650;

}


.main-nav a:hover {

    color:
        var(--primary);

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width:
        min(1050px,calc(100% - 30px));

    margin: auto;

    padding:
        25px 0 80px;

}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 25px;

    color: var(--muted);

    font-size: 10px;

}


.breadcrumb a:hover {

    color:
        var(--primary);

}


.breadcrumb strong {

    color:
        var(--text);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 30px;

}


.hero-icon {

    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border-radius: 17px;

    font-size: 30px;

}


.eyebrow {

    color:
        var(--primary);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 1.7px;

}


.hero h1 {

    margin-top: 3px;

    color:
        var(--dark);

    font-size:
        clamp(27px,4vw,40px);

    line-height: 1.2;

}


.hero p {

    max-width: 760px;

    margin-top: 7px;

    color:
        var(--muted);

    font-size: 14px;

}


/* =========================================================
   QUOTE TOOL
========================================================= */

.quote-tool {

    padding:
        clamp(20px,4vw,38px);

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius: 20px;

    box-shadow:
        var(--shadow);

}


/* =========================================================
   TOOL HEADER
========================================================= */

.tool-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.tool-header > div:first-child > span {

    color:
        var(--primary);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 1.6px;

}


.tool-header h2 {

    margin-top: 3px;

    color:
        var(--dark);

    font-size: 24px;

}


.quote-count {

    min-width: 90px;

    padding: 10px 14px;

    text-align: center;

    background:
        var(--primary-light);

    border-radius: 10px;

}


.quote-count strong {

    display: block;

    color:
        var(--primary);

    font-size: 18px;

}


.quote-count small {

    color:
        var(--muted);

    font-size: 8px;

}


/* =========================================================
   FILTERS
========================================================= */

.filters {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-top: 25px;

}


.filter-group label {

    display: block;

    margin-bottom: 6px;

    color:
        var(--dark);

    font-size: 11px;

    font-weight: 750;

}


.filter-group select {

    width: 100%;

    height: 45px;

    padding:
        0 12px;

    color:
        var(--text);

    background:
        white;

    border:
        1px solid var(--border);

    border-radius: 8px;

    outline: none;

    font-size: 11px;

}


.filter-group select:focus {

    border-color:
        var(--primary);

}


/* =========================================================
   QUOTE CARD
========================================================= */

.quote-card {

    position: relative;

    min-height: 370px;

    margin-top: 25px;

    padding:
        55px
        clamp(25px,6vw,80px)
        45px;

    overflow: hidden;

    color: white;

    background:
        linear-gradient(
            135deg,
            #312e81 0%,
            #4f46e5 45%,
            #7c3aed 100%
        );

    border-radius: 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    box-shadow:
        0 20px 50px
        rgba(79,70,229,.22);

}


.quote-card::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    top: -130px;

    right: -80px;

    background:
        rgba(255,255,255,.07);

    border-radius: 50%;

}


.quote-card::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    bottom: -100px;

    left: -60px;

    background:
        rgba(255,255,255,.07);

    border-radius: 50%;

}


.quote-decoration {

    position: absolute;

    top: 15px;

    left: 28px;

    color:
        rgba(255,255,255,.14);

    font-family:
        Georgia,
        serif;

    font-size: 120px;

    line-height: 1;

}


.language-badge {

    position: relative;

    z-index: 2;

    padding:
        5px 11px;

    color:
        rgba(255,255,255,.9);

    background:
        rgba(255,255,255,.13);

    border:
        1px solid
        rgba(255,255,255,.2);

    border-radius: 20px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.3px;

}


.quote-text {

    position: relative;

    z-index: 2;

    max-width: 850px;

    margin-top: 20px;

    font-family:
        Georgia,
        "Noto Serif",
        serif;

    font-size:
        clamp(27px,4vw,46px);

    font-weight: 600;

    line-height: 1.35;

    letter-spacing: -.4px;

}


.quote-author {

    position: relative;

    z-index: 2;

    margin-top: 24px;

    color:
        rgba(255,255,255,.9);

    font-size: 12px;

    font-weight: 650;

}


.quote-category {

    position: relative;

    z-index: 2;

    margin-top: 10px;

    padding:
        4px 10px;

    color:
        rgba(255,255,255,.75);

    background:
        rgba(255,255,255,.08);

    border-radius: 20px;

    font-size: 8px;

}


/* =========================================================
   QUOTE ACTIONS
========================================================= */

.quote-actions {

    display: flex;

    justify-content: center;

    gap: 9px;

    margin-top: 20px;

}


.quote-actions button {

    min-height: 43px;

    padding:
        0 18px;

    border-radius: 8px;

    font-size: 10px;

    font-weight: 750;

}


.primary-action {

    color: white;

    background:
        var(--primary);

    border:
        1px solid var(--primary);

}


.primary-action:hover {

    background:
        var(--primary-dark);

}


.secondary-action {

    color:
        var(--text);

    background:
        white;

    border:
        1px solid var(--border);

}


.secondary-action:hover {

    background:
        #f8fafc;

}


/* =========================================================
   SHARE
========================================================= */

.share-section {

    margin-top: 25px;

    padding-top: 22px;

    border-top:
        1px solid var(--border);

    text-align: center;

}


.share-title {

    color:
        var(--dark);

    font-size: 11px;

    font-weight: 750;

}


.share-buttons {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;

    margin-top: 10px;

}


.share-btn {

    min-height: 39px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding:
        0 13px;

    border: none;

    border-radius: 7px;

    color: white;

    font-size: 9px;

    font-weight: 750;

}


.share-btn.copy {

    color:
        var(--text);

    background:
        #f1f5f9;

}


.share-btn.x {

    background:
        #111827;

}


.share-btn.facebook {

    background:
        #1877f2;

}


.share-btn.instagram {

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #ec4899,
            #f59e0b
        );

}


.share-btn.system-share {

    color:
        var(--text);

    background:
        #f1f5f9;

}


.share-btn:hover {

    transform:
        translateY(-1px);

    filter:
        brightness(.96);

}


/* =========================================================
   EXTRA ACTIONS
========================================================= */

.extra-actions {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;

    margin-top: 15px;

}


.extra-btn {

    min-height: 37px;

    padding:
        0 13px;

    color:
        var(--muted);

    background:
        white;

    border:
        1px solid var(--border);

    border-radius: 7px;

    font-size: 9px;

    font-weight: 650;

}


.extra-btn:hover {

    color:
        var(--primary);

    border-color:
        #c7d2fe;

    background:
        var(--primary-light);

}


.extra-btn.favorite-active {

    color:
        #dc2626;

    background:
        #fef2f2;

    border-color:
        #fecaca;

}


/* =========================================================
   MESSAGE
========================================================= */

.message {

    min-height: 20px;

    margin-top: 10px;

    color:
        var(--green);

    font-size: 10px;

    font-weight: 650;

    text-align: center;

}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title span {

    color:
        var(--primary);

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 1.6px;

}


.section-title h2 {

    margin-top: 4px;

    color:
        var(--dark);

    font-size: 28px;

}


/* =========================================================
   FAVORITES
========================================================= */

.favorites-section {

    margin-top: 65px;

}


.favorites-list {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 12px;

    margin-top: 20px;

}


.favorite-item {

    position: relative;

    padding:
        20px;

    background:
        white;

    border:
        1px solid var(--border);

    border-radius: 10px;

}


.favorite-item p {

    color:
        var(--dark);

    font-family:
        Georgia,
        serif;

    font-size: 15px;

    line-height: 1.55;

}


.favorite-item small {

    display: block;

    margin-top: 9px;

    color:
        var(--muted);

    font-size: 9px;

}


.remove-favorite {

    position: absolute;

    top: 10px;

    right: 10px;

    width: 25px;

    height: 25px;

    color:
        var(--red);

    background:
        #fef2f2;

    border: none;

    border-radius: 50%;

}


.empty-favorites {

    padding:
        25px;

    color:
        var(--muted);

    background:
        white;

    border:
        1px dashed var(--border);

    border-radius: 10px;

    font-size: 11px;

    text-align: center;

}


/* =========================================================
   SEO CONTENT
========================================================= */

.seo-content {

    margin-top: 70px;

}


.seo-content > p {

    max-width: 920px;

    margin-top: 16px;

    color:
        var(--text);

    font-size: 13px;

}


.seo-content strong {

    color:
        var(--dark);

}


/* =========================================================
   BENEFITS
========================================================= */

.benefits-section {

    margin-top: 65px;

}


.benefit-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 13px;

    margin-top: 20px;

}


.benefit-grid article {

    padding:
        23px;

    background:
        white;

    border:
        1px solid var(--border);

    border-radius: 11px;

    transition: .2s;

}


.benefit-grid article:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow);

}


.benefit-grid article > div {

    font-size: 25px;

}


.benefit-grid h3 {

    margin-top: 10px;

    color:
        var(--dark);

    font-size: 15px;

}


.benefit-grid p {

    margin-top: 5px;

    color:
        var(--muted);

    font-size: 10px;

}


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

.faq-section {

    margin-top: 65px;

}


.faq-list {

    margin-top: 20px;

    border-top:
        1px solid var(--border);

}


details {

    border-bottom:
        1px solid var(--border);

}


summary {

    padding:
        18px 3px;

    color:
        var(--dark);

    cursor: pointer;

    font-size: 13px;

    font-weight: 750;

    list-style: none;

}


summary::-webkit-details-marker {

    display: none;

}


summary::after {

    content: "+";

    float: right;

    color:
        var(--primary);

    font-size: 18px;

}


details[open] summary::after {

    content: "−";

}


details p {

    padding:
        0 30px 20px 3px;

    color:
        var(--muted);

    font-size: 12px;

}


/* =========================================================
   BRAND CTA
========================================================= */

.brand-cta {

    margin-top: 70px;

    padding:
        45px 20px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #111827,
            #312e81
        );

    border-radius: 16px;

    text-align: center;

}


.cta-logo {

    width: 53px;

    height: 53px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin:
        0 auto 12px;

    color: white;

    background:
        var(--primary);

    border-radius: 13px;

    font-size: 14px;

    font-weight: 850;

}


.brand-cta h2 {

    font-size: 26px;

}


.brand-cta p {

    margin-top: 4px;

    color:
        #cbd5e1;

    font-size: 11px;

}


.brand-cta a {

    display: inline-block;

    margin-top: 17px;

    padding:
        9px 15px;

    color: white;

    background:
        var(--primary);

    border-radius: 7px;

    font-size: 10px;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding:
        35px 0 20px;

    color:
        #cbd5e1;

    background:
        #0f172a;

}


.footer-inner {

    width:
        min(1050px,calc(100% - 30px));

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.footer-inner strong {

    color: white;

    font-size: 15px;

}


.footer-inner p {

    margin-top: 3px;

    font-size: 9px;

}


.footer-links {

    display: flex;

    gap: 18px;

}


.footer-links a {

    font-size: 9px;

}


.footer-links a:hover {

    color: white;

}


.copyright {

    width:
        min(1050px,calc(100% - 30px));

    margin:
        22px auto 0;

    padding-top: 17px;

    border-top:
        1px solid
        rgba(255,255,255,.1);

    color:
        #94a3b8;

    font-size: 9px;

    text-align: center;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .benefit-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

}


@media (max-width: 700px) {

    .filters {

        grid-template-columns:
            1fr;

    }


    .favorites-list {

        grid-template-columns:
            1fr;

    }

}


@media (max-width: 600px) {

    .container {

        width:
            calc(100% - 20px);

    }


    .header-inner {

        width:
            calc(100% - 20px);

    }


    .main-nav {

        display: none;

    }


    .hero {

        align-items:
            flex-start;

    }


    .hero-icon {

        width: 53px;

        height: 53px;

        font-size: 25px;

    }


    .hero h1 {

        font-size: 26px;

    }


    .hero p {

        font-size: 12px;

    }


    .tool-header {

        align-items:
            flex-start;

    }


    .quote-count {

        display: none;

    }


    .quote-card {

        min-height: 390px;

        padding:
            55px 20px 40px;

    }


    .quote-text {

        font-size:
            clamp(25px,7vw,34px);

    }


    .quote-actions {

        display: grid;

        grid-template-columns:
            1fr 1.3fr 1fr;

    }


    .quote-actions button {

        padding:
            0 6px;

    }


    .share-buttons {

        display: grid;

        grid-template-columns:
            repeat(2,1fr);

    }


    .share-btn {

        width: 100%;

    }


    .benefit-grid {

        grid-template-columns:
            1fr;

    }


    .footer-inner {

        width:
            calc(100% - 20px);

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .copyright {

        width:
            calc(100% - 20px);

    }

}