
:root {
    --primary: #6957e8;
    --primary-dark: #5140ce;
    --blue: #3979e8;
    --navy: #17213c;
    --text: #59647b;
    --muted: #818ba0;
    --border: #e7eaf2;
    --surface: #ffffff;
    --background: #f8f9ff;
    --radius: 20px;
    --shadow: 0 15px 45px rgba(31, 40, 90, .07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Arial, sans-serif;
    color: var(--navy);
    background: #fff;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a,
label {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.section-padding {
    padding: 90px 0;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(231, 234, 242, .9);
    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.8px;
    white-space: nowrap;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #8975ff, #5b49dc);
    box-shadow: 0 5px 15px rgba(105, 87, 232, .25);
}

.brand-highlight {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a,
.footer-links a {
    color: #606b81;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s;
}

.main-nav a:hover,
.footer-links a:hover {
    color: var(--primary);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border-radius: 10px;
    color: #fff;
    background: var(--primary);
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.nav-button:hover,
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 25px;
    cursor: pointer;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 76px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, #efedff 0%, transparent 58%),
        linear-gradient(180deg, #fbfaff, #fff);
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 30px;
    left: -190px;
    border-radius: 50%;
    background: #e4e0ff;
    filter: blur(90px);
    opacity: .55;
    pointer-events: none;
}

.hero-content {
    position: relative;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.eyebrow {
    padding: 8px 13px;
    border: 1px solid #e5e0ff;
    border-radius: 30px;
    background: rgba(255,255,255,.75);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #48be88;
}

.hero h1 {
    margin: 25px 0 18px;
    color: var(--navy);
    font-size: clamp(38px, 5.5vw, 65px);
    line-height: 1.13;
    letter-spacing: -2.7px;
    font-weight: 850;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 630px;
    margin: 0 auto;
    color: var(--text);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.btn {
    min-height: 48px;
    padding: 13px 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s, background .2s, box-shadow .2s;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 8px 18px rgba(105, 87, 232, .18);
}

.btn-outline {
    border-color: #dfe2ed;
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 32px;
    color: #69748a;
    font-size: 12px;
    font-weight: 600;
}

.check {
    margin-right: 4px;
    color: #27a875;
    font-weight: 900;
}

/* Section headings */

.section-heading {
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0 10px;
    font-size: clamp(27px, 3.5vw, 39px);
    line-height: 1.25;
    letter-spacing: -1.2px;
}

.section-heading p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
}

/* Tool cards */

.tools-section {
    background: #fff;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tool-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(31, 40, 90, .11);
}

.tool-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tool-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
}

.tool-icon svg {
    width: 37px;
    height: 37px;
}

.pdf-icon {
    color: #7058e9;
    background: #f0edff;
}

.image-icon {
    color: #3979e8;
    background: #eaf2ff;
}

.tool-badge {
    padding: 5px 9px;
    border-radius: 6px;
    color: #7058e9;
    background: #f2efff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .7px;
}

.blue-badge {
    color: #3979e8;
    background: #edf4ff;
}

.tool-card h3 {
    margin: 22px 0 8px;
    font-size: 24px;
    letter-spacing: -.5px;
}

.tool-description {
    min-height: 48px;
    margin: 0;
    color: var(--text);
    font-size: 14px;
}

.tool-benefits {
    display: grid;
    gap: 7px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
    color: #4c5870;
    font-size: 13px;
}

.tool-benefits li::first-letter {
    color: #25a978;
}

.upload-zone {
    display: flex;
    min-height: 165px;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1.5px dashed #d4cffa;
    border-radius: 13px;
    background: #faf9ff;
    cursor: pointer;
    text-align: center;
    transition: background .2s, border-color .2s;
}

.image-card .upload-zone {
    border-color: #cfdefb;
    background: #f8fbff;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--primary);
    background: #f0edff;
}

.image-card .upload-zone:hover,
.image-card .upload-zone.drag-over {
    border-color: var(--blue);
    background: #edf4ff;
}

.upload-symbol {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--primary);
    background: #ebe7ff;
    font-size: 22px;
    font-weight: 500;
}

.image-card .upload-symbol {
    color: var(--blue);
    background: #e2edff;
}

.upload-zone strong {
    margin-top: 4px;
    font-size: 13px;
}

.upload-zone > span:not(.upload-symbol):not(.file-types) {
    color: var(--muted);
    font-size: 11px;
}

.file-types {
    margin-top: 4px;
    color: #8a80d4;
    font-size: 10px;
    font-weight: 750;
}

.selected-file {
    margin-top: 12px;
    padding: 11px 13px;
    overflow-wrap: anywhere;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    background: #fbfcff;
    font-size: 12px;
}

.selected-file[hidden] {
    display: none;
}

.tool-button {
    width: 100%;
    margin-top: 17px;
}

.btn-blue {
    color: #fff;
    background: var(--blue);
}

.btn-blue:hover {
    background: #2765cf;
    transform: translateY(-2px);
}

.tools-note {
    margin: 25px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

/* Features */

.features-section {
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-item {
    padding: 25px 20px;
    border: 1px solid #eceefa;
    border-radius: 16px;
    background: #fff;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    font-size: 22px;
    font-weight: 800;
}

.purple-feature {
    color: #7058e9;
    background: #f0edff;
}

.blue-feature {
    color: #3979e8;
    background: #eaf2ff;
}

.green-feature {
    color: #20a477;
    background: #e7f9f1;
}

.orange-feature {
    color: #dc8b31;
    background: #fff3e4;
}

.feature-item h3,
.step-item h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.feature-item p,
.step-item p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.step-item {
    position: relative;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
}

.step-number {
    margin-bottom: 17px;
    color: var(--primary);
    font-size: 31px;
    font-weight: 850;
    letter-spacing: -1px;
}

/* FAQ */

.faq-section {
    background: #fafbff;
}

.faq-container {
    max-width: 850px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 0 21px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.faq-item summary {
    position: relative;
    padding: 19px 25px 19px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 15px;
    right: 0;
    color: var(--primary);
    font-size: 22px;
    font-weight: 500;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 0 20px;
    color: var(--text);
    font-size: 13px;
}

/* Bottom CTA */

.bottom-cta {
    padding: 48px 0;
    color: #fff;
    background: linear-gradient(120deg, #6552df, #3979e8);
}

.bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.bottom-cta h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.8px;
}

.bottom-cta p {
    margin: 0;
    color: #e7e6ff;
    font-size: 14px;
}

.btn-white {
    flex-shrink: 0;
    color: var(--primary);
    background: #fff;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* Footer */

.site-footer {
    padding-top: 42px;
    background: #fff;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
}

.footer-brand p {
    max-width: 310px;
    margin: 12px 0 0;
    color: var(--text);
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.footer-links a {
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Responsive */

@media (max-width: 900px) {
    .main-nav {
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-card {
        padding: 23px;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 30px, 540px);
    }

    .section-padding {
        padding: 65px 0;
    }

    .nav-container {
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        padding: 15px 20px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--border);
        background: #fff;
        box-shadow: 0 12px 18px rgba(31,40,90,.06);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
    }

    .nav-button {
        padding: 9px 11px;
        gap: 5px;
        font-size: 12px;
    }

    .hero {
        padding: 67px 0 55px;
    }

    .hero h1 {
        font-size: clamp(35px, 9vw, 48px);
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-trust {
        gap: 10px 16px;
        font-size: 11px;
    }

    .tools-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .tool-card {
        padding: 22px;
    }

    .features-grid {
        gap: 12px;
    }

    .feature-item {
        padding: 19px 15px;
    }

    .feature-item h3 {
        font-size: 14px;
    }

    .feature-item p {
        font-size: 12px;
    }

    .steps-grid {
        gap: 13px;
    }

    .step-item {
        padding: 20px;
    }

    .bottom-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 380px) {
    .brand {
        font-size: 16px;
        gap: 6px;
    }

    .nav-button {
        font-size: 11px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

button.restart-button {
    background-color: #6c757d !important;
    color: #ffffff !important;
    border: none !important;
}

button.restart-button:hover {
    background-color: #495057 !important;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 576px) {
    .brand-logo {
        height: 30px;
        max-width: 150px;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 991px) {
    .brand-logo {
        height: 38px;
        max-width: 200px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .brand-logo {
        height: 48px;
        max-width: 240px;
    }
}


/* Compact homepage tool cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.tool-card {
    padding: 22px 18px;
    border-radius: 16px;
    min-width: 0;
}

.tool-top {
    margin-bottom: 16px;
}

.tool-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.tool-icon svg {
    width: 34px;
    height: 34px;
}

.tool-badge {
    font-size: 10px;
    padding: 5px 8px;
}

.tool-card h3 {
    font-size: 19px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.tool-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 45px;
}

.tool-benefits {
    font-size: 13px;
    line-height: 1.6;
    padding-left: 0;
    margin: 0 0 18px;
}

.tool-benefits li {
    margin-bottom: 5px;
}

.tool-button {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
    justify-content: center;
    white-space: normal;
}

/* Tablet */
@media (max-width: 1000px) {
    .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tool-card {
        padding: 20px;
    }

    .tool-description {
        min-height: 0;
    }
}



