/* =========================================================
   EVERYDAY TOOLS
   Luxury 3D Website Styles
   ========================================================= */


/* =========================
   1. ROOT VARIABLES
   ========================= */

:root {
    --bg: #07080c;
    --bg-soft: #0c0e14;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-hover: rgba(255, 255, 255, 0.085);

    --text: #f5f7fb;
    --text-soft: #a9afbd;
    --text-muted: #777e8d;

    --accent: #b9a7ff;
    --accent-light: #ddd5ff;
    --accent-dark: #7562d9;

    --border: rgba(255, 255, 255, 0.10);
    --border-light: rgba(255, 255, 255, 0.16);

    --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
    --shadow-small: 0 12px 35px rgba(0, 0, 0, 0.25);

    --radius: 24px;
    --radius-small: 14px;

    --container: 1180px;

    --transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* =========================
   2. RESET
   ========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(117, 98, 217, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(185, 167, 255, 0.06),
            transparent 28%
        ),
        var(--bg);

    color: var(--text);

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

    line-height: 1.6;

    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 80%
    );

    z-index: -2;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================
   3. CONTAINER
   ========================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================
   4. HEADER
   ========================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    border-bottom: 1px solid transparent;

    background: rgba(7, 8, 12, 0.55);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(7, 8, 12, 0.86);
    border-color: var(--border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================
   LOGO
   ========================= */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;

    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

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

    border-radius: 10px;

    color: var(--accent-light);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 25px rgba(117, 98, 217, 0.18);
}

.logo-text span {
    color: var(--accent-light);
}


/* =========================
   NAVIGATION
   ========================= */

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

.main-nav a {
    position: relative;

    color: var(--text-soft);

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        color var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 1px;

    transform: scaleX(0);
    transform-origin: right;

    background: var(--accent);

    transition: transform var(--transition);
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================
   MOBILE MENU BUTTON
   ========================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

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

    background: var(--surface);

    align-items: center;
    justify-content: center;

    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 19px;
    height: 2px;

    border-radius: 10px;

    background: var(--text);
}


/* =========================
   5. HERO
   ========================= */

.hero {
    position: relative;

    min-height: 820px;

    display: flex;
    align-items: center;

    padding:
        150px
        0
        110px;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    pointer-events: none;
}


/* =========================
   3D ORBS
   ========================= */

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);

    opacity: 0.75;

    transform-style: preserve-3d;

    animation:
        floatingOrb 9s ease-in-out infinite;
}

.orb-one {
    width: 420px;
    height: 420px;

    top: 10%;
    left: -130px;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(221, 213, 255, 0.55),
            rgba(117, 98, 217, 0.16) 38%,
            transparent 70%
        );

    filter: blur(8px);
}

.orb-two {
    width: 330px;
    height: 330px;

    top: 20%;
    right: -90px;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(185, 167, 255, 0.32),
            rgba(117, 98, 217, 0.09) 45%,
            transparent 72%
        );

    filter: blur(12px);

    animation-delay: -3s;
}

.orb-three {
    width: 200px;
    height: 200px;

    bottom: 4%;
    left: 46%;

    background:
        radial-gradient(
            circle,
            rgba(185, 167, 255, 0.18),
            transparent 70%
        );

    filter: blur(15px);

    animation-delay: -6s;
}

@keyframes floatingOrb {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(0, -25px, 30px)
            scale(1.04);
    }
}


/* =========================
   GRID OVERLAY
   ========================= */

.grid-overlay {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 65px 65px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 10%,
            transparent 72%
        );

    opacity: 0.55;
}


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

.hero-content {
    position: relative;

    max-width: 850px;

    text-align: center;

    z-index: 2;
}

.hero-badge {
    width: fit-content;

    margin:
        0
        auto
        24px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding:
        8px
        14px;

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

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.045);

    color: var(--text-soft);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 10px 35px rgba(0, 0, 0, 0.18);
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 5px rgba(185, 167, 255, 0.08),
        0 0 18px rgba(185, 167, 255, 0.55);

    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}


.hero h1 {
    max-width: 850px;

    margin-inline: auto;

    font-size:
        clamp(
            3.2rem,
            8vw,
            6.8rem
        );

    line-height: 0.96;

    letter-spacing: -0.065em;

    font-weight: 850;

    text-wrap: balance;
}

.hero h1 span {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            120deg,
            #ffffff 5%,
            var(--accent-light) 42%,
            #8875e8 85%
        );

    -webkit-background-clip: text;
    background-clip: text;

    text-shadow:
        0 0 50px rgba(185, 167, 255, 0.08);
}

.hero-description {
    max-width: 650px;

    margin:
        30px
        auto
        0;

    color: var(--text-soft);

    font-size:
        clamp(
            1rem,
            2vw,
            1.15rem
        );

    line-height: 1.8;
}


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

.hero-actions {
    margin-top: 38px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 14px;
}

.btn {
    min-height: 52px;

    padding:
        0
        22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 14px;

    font-size: 0.9rem;
    font-weight: 750;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.btn:hover {
    transform:
        translateY(-3px)
        translateZ(10px);
}

.btn-primary {
    color: #0b0a12;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            var(--accent-light)
        );

    box-shadow:
        0 12px 35px rgba(185, 167, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-primary:hover {
    box-shadow:
        0 18px 50px rgba(185, 167, 255, 0.3);
}

.btn-secondary {
    border: 1px solid var(--border-light);

    background: rgba(255, 255, 255, 0.045);

    color: var(--text);

    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    border-color: rgba(185, 167, 255, 0.35);
    background: rgba(255, 255, 255, 0.075);
}


/* =========================
   6. SECTION GLOBAL
   ========================= */

section {
    position: relative;
}

.tools-section,
.guides-section,
.faq-section {
    padding:
        120px
        0;
}

.section-heading {
    max-width: 720px;

    margin:
        0
        auto
        60px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--accent-light);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size:
        clamp(
            2.2rem,
            5vw,
            4rem
        );

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.section-heading h2 span {
    color: var(--accent-light);
}

.section-heading p {
    max-width: 600px;

    margin:
        20px
        auto
        0;

    color: var(--text-soft);

    font-size: 1rem;
}


/* =========================
   7. TOOLS GRID
   ========================= */

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;

    perspective: 1200px;
}

.tool-card {
    position: relative;

    min-height: 290px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;

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

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        var(--shadow-small);

    transform-style: preserve-3d;

    transition:
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.tool-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(185, 167, 255, 0.17),
            transparent 70%
        );

    transition:
        transform 0.6s ease;
}

.tool-card:hover {
    transform:
        perspective(900px)
        rotateX(2deg)
        rotateY(-2deg)
        translateY(-8px);

    border-color:
        rgba(185, 167, 255, 0.27);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.4),
        0 0 45px rgba(117, 98, 217, 0.07);
}

.tool-card:hover::before {
    transform: scale(1.4);
}

.tool-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(185, 167, 255, 0.2);

    border-radius: 15px;

    color: var(--accent-light);

    background:
        rgba(185, 167, 255, 0.06);

    font-size: 0.8rem;
    font-weight: 850;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    transform: translateZ(25px);
}

.tool-content {
    position: relative;

    z-index: 2;

    transform: translateZ(20px);
}

.tool-content h3 {
    margin-top: 28px;

    font-size: 1.35rem;

    letter-spacing: -0.025em;
}

.tool-content p {
    margin-top: 10px;

    color: var(--text-soft);

    font-size: 0.9rem;

    line-height: 1.7;
}

.tool-link,
.guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;

    color: var(--accent-light);

    font-size: 0.82rem;
    font-weight: 750;

    transition:
        gap var(--transition),
        color var(--transition);
}

.tool-link:hover,
.guide-link:hover {
    gap: 13px;
    color: #ffffff;
}


/* =========================
   8. INFORMATION SECTION
   ========================= */

.information-section {
    padding:
        120px
        0;

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

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

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.015),
            transparent
        );
}

.information-layout {
    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 80px;

    align-items: start;
}

.information-heading {
    position: sticky;

    top: 120px;
}

.information-heading h2 {
    max-width: 520px;

    font-size:
        clamp(
            2.2rem,
            5vw,
            4rem
        );

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.information-heading h2 span {
    color: var(--accent-light);
}

.information-content {
    max-width: 650px;
}

.information-content p {
    margin-bottom: 25px;

    color: var(--text-soft);

    font-size: 1.03rem;

    line-height: 1.9;
}


/* =========================
   9. GUIDES
   ========================= */

.guides-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}

.guide-card {
    position: relative;

    min-height: 300px;

    padding: 32px;

    overflow: hidden;

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

    border-radius: var(--radius);

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);

    transform-style: preserve-3d;
}

.guide-card:hover {
    transform:
        translateY(-7px)
        rotateX(1deg);

    border-color:
        rgba(185, 167, 255, 0.24);

    background:
        rgba(255, 255, 255, 0.06);
}

.guide-number {
    display: block;

    color: var(--accent);

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.guide-card h3 {
    margin-top: 55px;

    font-size: 1.25rem;

    line-height: 1.3;

    letter-spacing: -0.025em;
}

.guide-card p {
    margin-top: 12px;

    color: var(--text-soft);

    font-size: 0.9rem;

    line-height: 1.7;
}


/* =========================
   10. FAQ
   ========================= */

.faq-list {
    max-width: 850px;

    margin-inline: auto;
}

.faq-item {
    border-bottom:
        1px solid
        var(--border);
}

.faq-item:first-child {
    border-top:
        1px solid
        var(--border);
}

.faq-item summary {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    list-style: none;

    cursor: pointer;

    color: var(--text);

    font-size: 1rem;
    font-weight: 650;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    color: var(--accent-light);

    font-size: 1.4rem;

    transition:
        transform var(--transition);
}

.faq-item[open] summary span {
    transform: rotate(45deg);
}

.faq-item p {
    max-width: 750px;

    padding:
        0
        50px
        25px
        0;

    color: var(--text-soft);

    font-size: 0.92rem;

    line-height: 1.8;
}


/* =========================
   11. FOOTER
   ========================= */

.site-footer {
    padding:
        80px
        0
        25px;

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

    background:
        rgba(0, 0, 0, 0.18);
}

.footer-grid {
    display: grid;

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

    gap: 60px;

    padding-bottom: 60px;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand p {
    margin-top: 18px;

    color: var(--text-muted);

    font-size: 0.9rem;

    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
}

.footer-column h3 {
    margin-bottom: 6px;

    color: var(--text);

    font-size: 0.82rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}

.footer-column a {
    color: var(--text-muted);

    font-size: 0.88rem;

    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-column a:hover {
    color: var(--text);
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 22px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

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

    color: var(--text-muted);

    font-size: 0.78rem;
}


/* =========================
   12. SCROLLBAR
   ========================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;

    background:
        rgba(185, 167, 255, 0.25);
}

::-webkit-scrollbar-thumb:hover {
    background:
        rgba(185, 167, 255, 0.4);
}


/* =========================
   13. SELECTION
   ========================= */

::selection {
    background: rgba(185, 167, 255, 0.25);
    color: #ffffff;
}


/* =========================
   14. FOCUS
   ========================= */

:focus-visible {
    outline:
        2px solid
        var(--accent-light);

    outline-offset: 4px;
}


/* =========================
   15. RESPONSIVE TABLET
   ========================= */

@media (max-width: 980px) {

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

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

    .information-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .information-heading {
        position: static;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr
            1fr
            1fr;
    }

}


/* =========================
   16. RESPONSIVE MOBILE
   ========================= */

@media (max-width: 720px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;

        top: calc(100% + 10px);
        left: 14px;
        right: 14px;

        padding: 18px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 4px;

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

        border-radius: 18px;

        background:
            rgba(10, 11, 17, 0.95);

        backdrop-filter: blur(25px);

        box-shadow:
            0 25px 60px
            rgba(0, 0, 0, 0.45);

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;

        transform:
            translateY(0);
    }

    .main-nav a {
        padding: 13px 12px;

        border-radius: 10px;
    }

    .main-nav a:hover {
        background:
            rgba(255, 255, 255, 0.05);
    }

    .main-nav a::after {
        display: none;
    }


    /* Hero */

    .hero {
        min-height: 730px;

        padding:
            130px
            0
            90px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.8rem,
                14vw,
                4.6rem
            );
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .orb-one {
        width: 280px;
        height: 280px;

        left: -140px;
    }

    .orb-two {
        width: 240px;
        height: 240px;

        right: -120px;
    }


    /* Sections */

    .tools-section,
    .guides-section,
    .faq-section,
    .information-section {
        padding:
            85px
            0;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .section-heading h2 {
        font-size:
            clamp(
                2rem,
                10vw,
                3rem
            );
    }


    /* Cards */

    .tools-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        min-height: 275px;

        padding: 25px;
    }

    .guide-card {
        min-height: 280px;

        padding: 26px;
    }


    /* Information */

    .information-heading h2 {
        font-size:
            clamp(
                2.2rem,
                11vw,
                3.2rem
            );
    }

    .information-content p {
        font-size: 0.95rem;
    }


    /* FAQ */

    .faq-item summary {
        min-height: 70px;

        font-size: 0.94rem;
    }

    .faq-item p {
        padding-right: 0;
    }


    /* Footer */

    .site-footer {
        padding-top: 65px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-bottom: 45px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }

}


/* =========================
   17. REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}
