* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: #0f172a;
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 30%),
        #f8fafc;
}

/* NAVBAR */

.topbar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    display: grid;
    place-items: center;
    font-size: 13px;
    letter-spacing: -0.5px;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.topnav a {
    text-decoration: none;
    color: #475569;
    font-weight: 650;
    font-size: 15px;
}

.topnav a:hover {
    color: #2563eb;
}

.soon {
    margin-left: 5px;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #ede9fe;
    color: #7c3aed;
}

.nav-button {
    text-decoration: none;
    background: #0f172a;
    color: white;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 750;
}

/* HERO */

.hero-v2 {
    max-width: 1180px;
    margin: 38px auto 28px;
    padding: 60px 28px 72px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 54px;
}

.hero-left h1 {
    font-size: 64px;
    line-height: 0.98;
    letter-spacing: -2.5px;
    margin: 0 0 24px;
}

.hero-left p {
    font-size: 21px;
    line-height: 1.55;
    color: #64748b;
    max-width: 620px;
    margin: 0 0 34px;
}

.big-button {
    display: inline-block;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 850;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.big-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(37, 99, 235, 0.35);
}

.mini-trust {
    margin-top: 18px;
    color: #475569;
    font-weight: 650;
}

/* APP PREVIEW */

.hero-right {
    display: flex;
    justify-content: center;
}

.app-preview {
    width: 100%;
    max-width: 500px;
    min-height: 330px;
    display: grid;
    grid-template-columns: 150px 1fr;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
}

.sidebar-preview {
    background: #0f172a;
    color: white;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-preview strong {
    margin-bottom: 8px;
}

.sidebar-preview span {
    color: #cbd5e1;
    font-size: 14px;
}

.preview-main {
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-icon {
    width: 88px;
    height: 108px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #ede9fe);
    border: 1px solid #dbeafe;
    color: #2563eb;
    font-weight: 900;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}

.preview-main h3 {
    margin: 0 0 18px;
    font-size: 22px;
}

.preview-main button {
    background: #2563eb;
    color: white;
    border: 0;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
}

/* TRUST BAR */

.trust-bar {
    max-width: 1060px;
    margin: 0 auto 72px;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    text-align: center;
    font-weight: 850;
}

.trust-bar span {
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
}

/* TOOLS */

.tools-v2 {
    max-width: 1180px;
    margin: 0 auto 90px;
    padding: 0 28px;
}

.tools-v2 h2,
.ai-section h2 {
    font-size: 42px;
    letter-spacing: -1px;
    margin: 0 0 10px;
}

.tools-v2 > p,
.ai-section p {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 30px;
}

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

.workflow-card {
    position: relative;
    min-height: 190px;
    background: white;
    padding: 26px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.workflow-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 50px rgba(37, 99, 235, 0.13);
}

.workflow-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-size: 22px;
}

.workflow-icon.pink { background: #fce7f3; }
.workflow-icon.purple { background: #ede9fe; }
.workflow-icon.green { background: #dcfce7; }
.workflow-icon.orange { background: #ffedd5; }
.workflow-icon.red { background: #fee2e2; }
.workflow-icon.blue { background: #dbeafe; }

.workflow-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.workflow-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.45;
}

.workflow-card span {
    position: absolute;
    right: 24px;
    bottom: 22px;
    font-size: 26px;
    color: #2563eb;
}

.muted {
    opacity: 0.66;
}

/* AI SECTION */

.ai-section {
    max-width: 1180px;
    margin: 0 auto 90px;
    padding: 48px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: center;
    background: #0f172a;
    color: white;
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.ai-section p {
    color: #cbd5e1;
}

.soon-label {
    display: inline-block;
    background: rgba(124, 58, 237, 0.22);
    color: #c4b5fd;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 850;
    font-size: 12px;
    margin-bottom: 18px;
}

.secondary-link {
    color: white;
    font-weight: 800;
    text-decoration: none;
}

.ai-flow {
    display: grid;
    gap: 14px;
}

.ai-flow span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 18px;
    border-radius: 18px;
    color: #e2e8f0;
}

/* FOOTER */

.footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 28px 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    color: #64748b;
}

.footer strong {
    color: #0f172a;
}

.footer a {
    display: block;
    color: #64748b;
    text-decoration: none;
    margin-top: 10px;
}

.footer a:hover {
    color: #2563eb;
}

/* TOOL PAGES */

main {
    max-width: 760px;
    margin: 60px auto;
    background: white;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 11px 18px;
    cursor: pointer;
    font-weight: 800;
}

button:hover {
    background: #1d4ed8;
}

button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

input[type="file"],
input[type="text"],
select {
    padding: 14px;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    width: 100%;
}

select {
    border-style: solid;
    font-size: 15px;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
    background: #f8fafc;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

li button {
    margin-left: 6px;
    padding: 6px 10px;
    font-size: 13px;
}

.drop-zone {
    border: 2px dashed #94a3b8;
    border-radius: 18px;
    padding: 34px;
    text-align: center;
    background: #f8fafc;
    margin-bottom: 20px;
}

.drop-zone.drag-over {
    border-color: #2563eb;
    background: #eff6ff;
}

.upload-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    border-radius: 12px;
    padding: 11px 18px;
    cursor: pointer;
    font-weight: 800;
}

.upload-button:hover {
    background: #1d4ed8;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .topbar {
        flex-direction: column;
        gap: 18px;
    }

    .topnav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-v2,
    .ai-section {
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 44px;
    }

    .trust-bar,
    .workflow-grid,
    .footer {
        grid-template-columns: 1fr;
    }

    .app-preview {
        grid-template-columns: 1fr;
    }

    .sidebar-preview {
        display: none;
    }
}