/*
 * Theme Name: ThrivinBiz
 * Theme URI: https://simpma.com/thrivinbiz
 * Author: Simpma Assistant
 * Description: Premium One Page WordPress 
 * ThemeVersion: 1.0.0
 * Text Domain: bizassistant
 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0d0c;
    color: #f5f5f2;
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

article {
	padding-top: 100px;
}

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

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

button {
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

::selection {
    background: #8da44a;
    color: #111;
}

:root {
    --bg: #0b0d0c;
    --bg-soft: #111514;
    --surface: #171c19;
    --surface-2: #1d2320;
    --text: #f5f5f2;
    --muted: #aab0aa;
    --primary: #889b49;
    --primary-light: #adc56a;
    --primary-dark: #6e8138;
    --border: rgba(255, 255, 255, .08);
    --radius: 24px;
    --container: 1240px;
    --transition: .35s cubic-bezier(.2, .8, .2, 1);
    --shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(136, 155, 73, .10), transparent 28%), radial-gradient(circle at 85% 10%, rgba(136, 155, 73, .08), transparent 24%), radial-gradient(circle at 50% 120%, rgba(136, 155, 73, .05), transparent 45%);
    pointer-events: none;
    z-index: -3;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: .25;
    mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
    z-index: -2;
}

.cursor-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(136, 155, 73, .14), transparent 70%);
    filter: blur(35px);
    z-index: -1;
    transition: left .08s linear, top .08s linear;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

section {
    padding: 80px 0;
    position: relative;
}

.page-wrapper {
    padding: 120px 0;
}

.page-content {
    max-width: 820px;
    margin: auto;
}

.page-content h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}

h1,
h2,
h3,
.logo {
    font-family: Manrope, sans-serif;
    font-weight: 800;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 1.02;
    letter-spacing: -3px;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--muted);
}

.gradient {
    color: var(--primary-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-bottom: 28px;
    color: var(--primary-light);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 34px;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    color: #111;
    background: var(--primary);
    box-shadow: 0 15px 45px rgba(136, 155, 73, .25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    background: var(--primary-light);
}

.btn-secondary {
    color: #fff;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(16px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .06);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 24px 0;
}

.site-header.scrolled {
    padding: 14px 0;
    backdrop-filter: blur(18px);
    background: rgba(11, 13, 12, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    font-size: 1.7rem;
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex;
    gap: 34px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 170px;
}

.hero>.container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center;
}

.hero-content p {
    max-width: 640px;
    margin: 32px 0;
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-chat {
    position: relative;
}

.chat {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
}

.chat-header span {
    margin-left: 10px;
    font-weight: 600;
    color: var(--muted);
}

.chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .65;
}

.chat-body {
    padding: 28px;
    max-height: 640px;
    overflow: auto;
}

.chat-body::-webkit-scrollbar {
    width: 8px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.message {
    margin-bottom: 26px;
}

.message strong {
    display: block;
    margin-bottom: 10px;
    font-size: .9rem;
    color: #fff;
}

.ai {
    background: rgba(136, 155, 73, .08);
    border-left: 3px solid var(--primary);
    padding: 18px 22px;
    border-radius: 16px;
    color: var(--text);
    line-height: 1.8;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(136, 155, 73, .35);
}

.card-padding {
    padding: 36px;
}

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

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: rgba(136, 155, 73, .1);
    color: var(--primary-light);
    font-weight: 800;
    font-size: .95rem;
}

.feature-title {
    margin-bottom: 16px;
}

.features-grid p {
    line-height: 1.8;
}

.assistant-section {
    position: relative;
}

.assistant-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
}

.prompt-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.prompt-item {
    width: 100%;
    text-align: left;
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    transition: var(--transition);
}

.prompt-item:hover {
    transform: translateX(8px);
    border-color: rgba(136, 155, 73, .35);
    background: rgba(136, 155, 73, .08);
}

.prompt-item.active {
    background: rgba(136, 155, 73, .12);
    border-color: var(--primary);
}

.assistant-response {
    min-height: 520px;
    padding: 40px;
}

.assistant-header {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 24px;
    font-weight: 700;
}

.assistant-body {
    color: var(--text);
    line-height: 1.9;
    white-space: pre-line;
}

.workflow-grid {
    max-width: 900px;
    margin: 0 auto;
}

.workflow-card {
    padding: 34px;
}

.workflow-card h3 {
    margin-bottom: 12px;
}

.workflow-step {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: var(--primary);
    color: #111;
    font-weight: 800;
}

.workflow-line {
    width: 2px;
    height: 54px;
    margin: 12px auto;
    background: linear-gradient(to bottom, var(--primary), rgba(136, 155, 73, .15));
}

.cta-section {
    padding-top: 40px;
    padding-bottom: 120px;
}

.cta-card {
    padding: 90px 70px;
    text-align: center;
}

.cta-card h2 {
    max-width: 820px;
    margin: 0 auto 24px;
}

.cta-card p {
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 60px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-inner>div {
    flex: 1;
    min-width: 220px;
}

.footer-inner p {
    margin-top: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .9s ease, transform .9s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.hero-content,
.hero-chat,
.card,
.prompt-item,
.workflow-card,
.cta-card {
    position: relative;
}

.card::before,
.workflow-card::before,
.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(136, 155, 73, .10), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-content h1 {
    text-wrap: balance;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
}

.message:last-child {
    margin-bottom: 0;
}

@media (max-width:1024px) {
    .hero>.container {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .assistant-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width:768px) {
    section {
        padding: 80px 0;
    }

    .container {
        width: 94%;
    }

    .site-header {
        padding: 18px 0;
    }

    .navbar {
        gap: 20px;
    }

    .logo {
        font-size: 1.45rem;
    }

    .navbar .btn {
        display: none;
    }

    h1 {
        letter-spacing: -2px;
    }

    h2 {
        letter-spacing: -1px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .chat-body {
        padding: 20px;
    }

    .card-padding {
        padding: 26px;
    }

    .assistant-response {
        padding: 28px;
        min-height: 320px;
    }

    .prompt-item {
        padding: 18px;
    }

    .workflow-card {
        padding: 26px;
    }

    .cta-card {
        padding: 60px 28px;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width:480px) {
    .hero-badge {
        font-size: .72rem;
        letter-spacing: 1px;
        padding: 8px 14px;
    }

    .chat-header {
        padding: 16px 18px;
    }

    .chat-header span {
        font-size: .9rem;
    }

    .btn {
        width: 100%;
    }

    .feature-number {
        width: 46px;
        height: 46px;
    }

    .workflow-step {
        width: 44px;
        height: 44px;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 4px;
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}