:root {
    /* Colors */
    /* Colors */
    --primary: #8b5cf6;
    /* Shifted towards purple to match logo */
    --primary-dark: #7c3aed;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --bg-dark: #f7f8fc;
    --bg-darker: #edf2fb;
    --bg-card: rgba(255, 255, 255, 0.88);
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: rgba(148, 163, 184, 0.28);
    --purple: #a855f7;
    --surface-strong: rgba(255, 255, 255, 0.96);
    --surface-soft: rgba(255, 255, 255, 0.72);
    --surface-tint: rgba(139, 92, 246, 0.08);
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 24px 60px rgba(15, 23, 42, 0.08);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    /* More vibrant purple-pink gradient */
    --gradient-glow: conic-gradient(from 180deg at 50% 50%, #8b5cf6 0deg, #06b6d4 180deg, #8b5cf6 360deg);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.overline {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-padding {
    padding: 6rem 0;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1), transparent 28%),
        linear-gradient(180deg, #fbfcff 0%, var(--bg-dark) 48%, #f1f5ff 100%);
}

.background-glow::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, rgba(247, 248, 252, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse-glow 10s ease-in-out infinite alternate;
}

.background-glow::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(247, 248, 252, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-glow 8s ease-in-out infinite alternate-reverse;
}

/* Subtle Grid Pattern Overlay */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

@keyframes pulse-glow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1) translate(-20px, 10px);
        opacity: 0.8;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-glow {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.08);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.88;
}

.logo-image {
    display: block;
    height: 42px;
    width: auto;
    filter: none;
}


.logo-text {
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

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

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

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.16);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Browser Mockup */
.browser-mockup {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.browser-header {
    background: rgba(148, 163, 184, 0.12);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.browser-url {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 4px;
    margin-left: 10px;
    flex: 1;
    text-align: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #22c55e;
}

.browser-content {
    height: 350px;
    position: relative;
}

/* Abstract UI for Mockup */
.placeholder-ui {
    height: 100%;
    display: flex;
}

.sidebar {
    width: 60px;
    border-right: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.08);
}

.canvas {
    flex: 1;
    position: relative;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 20px 20px;
}

.node {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid var(--text-muted);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.start {
    top: 40%;
    left: 10%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-color: var(--secondary);
    background: transparent;
}

.task {
    top: 38%;
    left: 30%;
    border-color: var(--primary);
}

.gateway {
    top: 40%;
    left: 60%;
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    border-color: #f59e0b;
}

.connection {
    position: absolute;
    height: 2px;
    background: var(--text-muted);
    top: 45%;
    opacity: 0.5;
}

.connection:first-of-type {
    left: 15%;
    width: 14%;
}

.connection:last-of-type {
    left: 50%;
    width: 9%;
}

.ai-popup {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--primary);
    padding: 1rem;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 18px 40px rgba(139, 92, 246, 0.14);
    animation: float 3s ease-in-out infinite;
}

.ai-header {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ai-input {
    background: rgba(148, 163, 184, 0.12);
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.ai-generating {
    font-size: 0.7rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ai-generating::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 1s infinite;
}

/* Info Grid Section (Everything You Need To Know) */
.grid-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.card-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.06);
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: var(--font-heading);
    pointer-events: none;
}

.grid-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

/* Simulation Section */
.simulation-display {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 255, 0.92) 100%);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    margin-top: 4rem;
}

.bpmn-svg {
    width: 100%;
    height: auto;
    max-height: 300px;
    display: block;
    filter: none;
}

.token-main {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}

.simulation-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

/* Features Grid */
.features-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Features Grid (Existing) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-soft);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.gradient-1 {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.gradient-2 {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.gradient-3 {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
}

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

/* What Is BPMN Section */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-image {
    height: 200px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.mini-ui-preview {
    position: relative;
}

.ui-drag .cursor-hand {
    font-size: 2rem;
    position: absolute;
    top: 10px;
    left: 10px;
    animation: moveHand 2s infinite;
}

.ui-drag .node-ghost {
    width: 50px;
    height: 30px;
    border: 2px dashed var(--text-muted);
    border-radius: 4px;
}

.ui-custom .swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 5px;
}

.ui-custom .s1 {
    background: #ef4444;
}

.ui-custom .s2 {
    background: #3b82f6;
}

.ui-custom .s3 {
    background: #22c55e;
}

.ui-scale .mini-map {
    width: 80px;
    height: 60px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--text-muted);
}

/* Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 4rem auto 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--surface-soft);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: 0.3s;
}

.step-item:hover {
    background: var(--surface-strong);
    border-color: rgba(139, 92, 246, 0.16);
    box-shadow: var(--shadow-soft);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.12);
    font-family: var(--font-heading);
    line-height: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-soft);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, var(--bg-card) 100%);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
}

.price .period {
    color: var(--text-muted);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list .check {
    color: var(--secondary);
    font-weight: 700;
}

.btn-full {
    width: 100%;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* Remove default summary marker */
}

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

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
    /* Hidden by default */
}

.faq-item.active .faq-answer {
    display: block;
    /* Show when active */
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA */
.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(139, 92, 246, 0.12) 100%);
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: var(--shadow-card);
}

.cta-card .btn {
    margin-top: 2.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    background: var(--bg-darker);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: space-around;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Legal Pages */
.legal-main {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
}

.legal-hero {
    margin-bottom: 2rem;
}

.legal-hero h1 {
    max-width: 12ch;
    margin-bottom: 1rem;
}

.legal-intro {
    max-width: 760px;
    font-size: 1.05rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-card,
.legal-article {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.legal-card {
    padding: 1.25rem;
}

.legal-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

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

.legal-card code,
.legal-article code {
    font-size: 0.95em;
    padding: 0.12rem 0.35rem;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.14);
    color: var(--text-main);
}

.legal-card ul,
.legal-article ul {
    margin: 0;
    padding-left: 1.1rem;
}

.legal-card li + li,
.legal-article li + li {
    margin-top: 0.5rem;
}

.legal-meta {
    display: grid;
    gap: 0.85rem;
}

.legal-meta-item span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.legal-nav {
    list-style: none;
    padding-left: 0;
}

.legal-nav li + li {
    margin-top: 0.75rem;
}

.legal-nav a,
.legal-link {
    color: #3358d4;
}

.legal-nav a:hover,
.legal-link:hover {
    color: var(--primary);
}

.legal-article {
    padding: 2rem;
}

.legal-article h2 {
    font-size: 1.45rem;
    margin-top: 2.5rem;
    margin-bottom: 0.9rem;
}

.legal-article h2:first-child {
    margin-top: 0;
}

.legal-article p + p,
.legal-article ul + p,
.legal-article p + ul {
    margin-top: 1rem;
}

.legal-callout {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.14);
}

.legal-callout strong {
    color: var(--text-main);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes moveHand {

    0%,
    100% {
        transform: translate(10px, 10px);
    }

    50% {
        transform: translate(40px, 30px);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fade-up"].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="zoom-in"].visible {
    opacity: 1;
    transform: scale(1);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="zoom-in"] {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .logo {
        justify-content: flex-start;
    }

    .logo-image {
        height: 36px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .legal-main {
        padding-top: calc(var(--header-height) + 2rem);
    }

    .legal-article {
        padding: 1.5rem;
    }
}
