:root {
    --bg: #081018;
    --card: #111c27;
    --primary: #3b82f6;
    --primary: #8b5cf6;
    --primary-2: #06b6d4;
    --primary-3: #22c55e;
    --primary-hover: #2563eb;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --success: #34d399;
    --error: #f87171;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(8, 16, 24, 0.72);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a:hover {
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 2001;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: white;
    transition: 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: rgba(8, 16, 24, 0.98);
    border-bottom: 1px solid var(--border);
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 320px;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

.mobile-menu a {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    width: 100%;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.4rem;
    border-radius: 14px;
    font-weight: 600;
    transition: 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

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

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
    background: rgba(255, 255, 255, 0.02);
}

.hero {
    padding: 7rem 0 4rem;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.15);
    filter: blur(100px);
    top: -200px;
    right: -150px;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.hero h1 {
    font-size: clamp(3rem, 6.8vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    margin-bottom: 1.4rem;
    max-width: 11ch;
}

.hero p {
    color: var(--muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-point {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.35);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card p,
.card li {
    color: var(--muted);
}

.card ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 14px 34px rgba(124, 58, 237, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.workflow-gallery {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.workflow-shot {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.workflow-shot img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.shot-label {
    padding: 1rem 1.1rem 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.shot-desc {
    padding: 0 1.1rem 1.2rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 4rem;
}

.showcase-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.showcase-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.showcase-list {
    display: grid;
    gap: 1rem;
}

.showcase-list div {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--muted);
}

.cta {
    text-align: center;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.03));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-box {
    max-width: 760px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.demo-form {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    text-align: left;
}

.demo-form input,
.demo-form textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    outline: none;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: #94a3b8;
}

.demo-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    min-height: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--error);
}

footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-content p,
.footer-links a {
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 980px) {

    .hero-grid,
    .showcase,
    .workflow,
    .workflow-gallery,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}
