:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.06);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --dark: #030712;
    --border: #e2e8f0;
    --success: #10b981;
    --drawing-stroke: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px -1px rgba(0, 0, 0, 0.05);
    --btn-muted-bg: rgba(100, 116, 139, 0.1);
    --btn-muted-hover: rgba(100, 116, 139, 0.2);
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-main: #030712;
    --bg-alt: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --white: #030712;
    --dark: #f8fafc;
    --border: #1e293b;
    --drawing-stroke: rgba(255, 255, 255, 0.1);
    --btn-muted-bg: rgba(255, 255, 255, 0.05);
    --btn-muted-hover: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    overflow-x: hidden;
    scroll-padding-top: 60px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-main);
    opacity: 0.95;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0);
    transition: filter 0.5s ease;
}

body.dark-theme .nav-logo-img {
    filter: brightness(1);
}


.nav-text-img {
    height: 18px;
    width: auto;
    filter: brightness(0);
    transition: filter 0.5s ease;
}

body.dark-theme .nav-text-img {
    filter: brightness(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.theme-toggle {
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--card-border);
    transform: rotate(15deg);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

body.dark-theme .theme-toggle .sun-icon {
    display: block;
}

body.dark-theme .theme-toggle .moon-icon {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 220px 0 160px;
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.1), transparent 80%);
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: background-color 0.5s ease;
}

/* Smooth transition to the next section */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    z-index: 1;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero h1.hero-title {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero-logo-text {
    height: 84px;
    width: auto;
    filter: brightness(0) drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
    transition: filter 0.5s ease;
}


body.dark-theme .hero-logo-text {
    filter: brightness(1) drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 64px;
    line-height: 1.5;
}

.hero .section-tag {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    margin: 0 auto 48px;
    /* Centered with margin auto and more bottom space */
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

/* --- Sections --- */
section {
    padding: 70px 0;
    background: var(--bg-main);
    transition: background-color 0.5s ease;
}

.section-dark {
    background: var(--bg-main) !important;
    color: var(--text-main);
}

.section-dark .section-title {
    color: var(--text-main);
}

.section-dark .section-subtitle {
    color: var(--text-muted);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 48px;
}

.section-tag {
    display: block;
    width: fit-content;
    margin: 0 16px 16px 0;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.section-footer-note {
    text-align: center;
    margin: 56px auto 0;
    padding-top: 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 720px;
    font-weight: 500;
    position: relative;
}

.section-footer-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
    margin-top: 40px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}


.bento-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(59, 130, 246, 0.25);
}


.bento-wide {
    grid-column: span 2;
    flex-direction: row;
}

.bento-content {
    padding: 40px;
    flex: 1;
}

.bento-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.bento-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.content-top {
    flex-direction: column-reverse;
}

.bento-visual {
    background: var(--bg-alt);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.bento-card:hover .bento-img {
    transform: scale(1.05);
    opacity: 1;
}

.bento-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 23, 42, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-label {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mock UI Elements */
.mock-ui {
    width: 80%;
    height: 140px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 15px;
}

.chart-bar {
    width: 20%;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
}

.chart-bar.pulse {
    background: #60a5fa;
    opacity: 1;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
    animation: barPulse 2s infinite alternate;
}

@keyframes barPulse {
    from {
        transform: scaleY(1);
    }

    to {
        transform: scaleY(1.1);
    }
}

.mock-dash .ui-row {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 80%;
}

.ui-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
}

.ui-line {
    height: 4px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.ui-grid-block {
    width: 90%;
    height: 60%;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 10px 10px;
}

.mock-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-center {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    transform: rotate(45deg);
}

.node {
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    position: absolute;
}

.node.x1 {
    transform: translate(-60px, -30px);
}

.node.x2 {
    transform: translate(60px, 30px);
}

.bento-list-full {
    list-style: none;
    margin-top: 20px;
}

.bento-list-full li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.bento-list-full li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.problems-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 600px) {
    .problems-grid-full {
        grid-template-columns: 1fr;
    }
}

.problem-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 12.5px;
    color: #f87171;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    min-height: 56px;
}

.problem-item span {
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

/* Process Section Premium */
.process-container {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: 32px;
}

.process-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-main);
}

.process-steps-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.p-step {
    text-align: center;
    position: relative;
    z-index: 5;
}

.p-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-main);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 12px;
    transition: var(--transition);
}

.p-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.p-connector {
    flex: 1;
    height: 2px;
    background: var(--card-border);
    margin: 0 15px;
    margin-bottom: 25px;
    position: relative;
}

.p-step:hover .p-icon,
.p-step.highlight .p-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
}

.p-step:hover .p-text,
.p-step.highlight .p-text {
    color: var(--primary);
}

/* Auto-animation for process steps - Synced with stagger appearance */
.stagger-container.active .p-step .p-icon {
    animation: iconHoverAnim 5s infinite;
    animation-delay: var(--delay);
}

.stagger-container.active .p-step .p-text {
    animation: textHoverAnim 5s infinite;
    animation-delay: var(--delay);
}

/* Custom delays for process steps - High specificity to override generic stagger */
.process-steps-premium.stagger-container.active .p-step:nth-child(1) {
    --delay: 0.2s;
    transition-delay: 0.2s;
}

.process-steps-premium.stagger-container.active .p-step:nth-child(3) {
    --delay: 1.2s;
    transition-delay: 1.2s;
}

.process-steps-premium.stagger-container.active .p-step:nth-child(5) {
    --delay: 2.2s;
    transition-delay: 2.2s;
}

.process-steps-premium.stagger-container.active .p-step:nth-child(7) {
    --delay: 3.2s;
    transition-delay: 3.2s;
}

.process-steps-premium.stagger-container.active .p-step:nth-child(9) {
    --delay: 4.2s;
    transition-delay: 4.2s;
}

/* Connector filling animation */
.p-connector {
    overflow: hidden;
    position: relative;
}

.p-connector::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease-out;
}

.process-steps-premium.stagger-container.active .p-connector:nth-child(2)::after {
    transition-delay: 0.7s;
    transform: scaleX(1);
}

.process-steps-premium.stagger-container.active .p-connector:nth-child(4)::after {
    transition-delay: 1.7s;
    transform: scaleX(1);
}

.process-steps-premium.stagger-container.active .p-connector:nth-child(6)::after {
    transition-delay: 2.7s;
    transform: scaleX(1);
}

.process-steps-premium.stagger-container.active .p-connector:nth-child(8)::after {
    transition-delay: 3.7s;
    transform: scaleX(1);
}



@keyframes iconHoverAnim {

    0%,
    20% {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
        transform: translateY(-8px) scale(1.1);
    }

    30%,
    100% {
        background: var(--bg-main);
        border-color: var(--card-border);
        color: var(--text-muted);
        box-shadow: none;
        transform: translateY(0) scale(1);
    }
}

@keyframes textHoverAnim {

    0%,
    20% {
        color: var(--primary);
        transform: scale(1.05);
    }

    30%,
    100% {
        color: var(--text-muted);
        transform: scale(1);
    }
}

/* Solutions Bento Section - Asymmetric Layout */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 20px;
    margin-top: 48px;
}

.sol-card-wide {
    grid-column: span 2;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}


.solution-card:hover {
    border-color: var(--primary);
    background: var(--bg-alt);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.2);
}


.sol-visual {
    height: 200px;
    background: var(--bg-alt);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sol-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.solution-card:hover .sol-img {
    opacity: 1;
    transform: scale(1.05);
}



.sol-content {
    padding: 24px;
    background: linear-gradient(to bottom, transparent, var(--bg-alt));
    flex: 1;
}

.sol-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sol-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    stroke-width: 2.5;
}

.sol-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
}

.sol-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.sol-list {
    margin-top: 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sol-list li {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-main);
}

.sol-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-alt);
    backdrop-filter: blur(4px);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 30px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sol-card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.bento-features {
    list-style: none;
    margin-top: 24px;
    display: flex;
    gap: 16px;
}

.bento-features li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-features span {
    color: var(--primary);
    font-weight: 800;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
        flex-direction: column;
    }
}

.card h2,
.card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.card p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.card ul {
    list-style: none;
    margin-top: 16px;
}

.card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

/* --- Metrics Section --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.metric-card-premium {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    isolation: isolate;
}

.metric-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.metric-card-premium:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

.metric-card-premium:hover::before {
    opacity: 1;
}

.metric-visual-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card-premium:hover .metric-visual-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.metric-number-large {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.metric-card-premium h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 16px 0 8px;
    color: var(--text-main);
}

.metric-card-premium p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.metric-trend {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
}

.trend-up {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.trend-down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.metric-chart-mini {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    opacity: 0.6;
    mask-image: linear-gradient(to top, black, transparent);
    overflow: hidden;
    pointer-events: none;
}

.chart-canvas {
    width: 100%;
    height: 100%;
    display: block;
}



@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

/* --- Audience Section --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.audience-card-premium {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.audience-card-premium:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
    transform: translateY(-8px);
}


.audience-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.audience-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.audience-card-premium p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* --- Integrations Logic --- */
.int-nodes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.int-node {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.int-node::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}


.int-node h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.int-node p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.int-node:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 30px 60px -12px rgba(59, 130, 246, 0.25);
}

.int-node:hover::before {
    opacity: 1;
}


/* --- Team Section --- */
.team-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.member-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 40px;
    border: 1px solid var(--card-border);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}


.member-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.member-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.member-card:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

.member-card:hover::before {
    opacity: 1;
}


.member-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Steps Section --- */
.steps-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    gap: 30px;
}

/* Remove global timeline lines */
.steps-timeline::before,
.steps-timeline::after {
    display: none;
}

/* Individual Connectors for Segmented Look */
.step-card-v2:not(:last-child)::before,
.step-card-v2:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(50% + 60px);
    /* Gap after circle */
    width: calc(100% - 120px);
    /* Stop before next circle */
    height: 2px;
    z-index: 0;
}

.step-card-v2:not(:last-child)::before {
    background: var(--card-border);
}

.step-card-v2:not(:last-child)::after {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    transform: scaleX(0);
    transform-origin: left;
}

/* Specific Segment Animations */
.stagger-container.active .step-card-v2:nth-child(1)::after {
    animation: segmentFill 0.8s forwards;
    animation-delay: 0.6s;
}

.stagger-container.active .step-card-v2:nth-child(2)::after {
    animation: segmentFill 0.8s forwards;
    animation-delay: 2.6s;
}

@keyframes segmentFill {
    to {
        transform: scaleX(1);
    }
}



.step-card-v2 {
    position: relative;
    width: 33%;
    padding-top: 100px;
    text-align: center;
}

.steps-timeline.stagger-container.active .step-card-v2:nth-child(1) {
    transition-delay: 0s;
}

.steps-timeline.stagger-container.active .step-card-v2:nth-child(2) {
    transition-delay: 1.4s;
}

.steps-timeline.stagger-container.active .step-card-v2:nth-child(3) {
    transition-delay: 3.4s;
}

.step-v2-circle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--bg-main);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-steps.stagger-container.active .step-card-v2:nth-child(1) .step-v2-circle {
    animation: stepHighlightOnce1 4s forwards;
}

.animated-steps.stagger-container.active .step-card-v2:nth-child(2) .step-v2-circle {
    animation: stepHighlightOnce2 4s forwards;
}

.animated-steps.stagger-container.active .step-card-v2:nth-child(3) .step-v2-circle {
    animation: stepHighlightOnce3 4s forwards;
}

@keyframes stepHighlightOnce1 {
    0% {
        background: var(--bg-main);
        border-color: var(--card-border);
        color: var(--text-main);
    }

    10%,
    100% {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    }
}

@keyframes stepHighlightOnce2 {

    0%,
    35% {
        background: var(--bg-main);
        border-color: var(--card-border);
        color: var(--text-main);
    }

    45%,
    100% {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    }
}

@keyframes stepHighlightOnce3 {

    0%,
    85% {
        background: var(--bg-main);
        border-color: var(--card-border);
        color: var(--text-main);
    }

    95%,
    100% {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    }
}



.animated-steps.stagger-container.active .step-card-v2:nth-child(1) h3 {
    animation: textHighlightOnce1 4s forwards;
}

.animated-steps.stagger-container.active .step-card-v2:nth-child(2) h3 {
    animation: textHighlightOnce2 4s forwards;
}

.animated-steps.stagger-container.active .step-card-v2:nth-child(3) h3 {
    animation: textHighlightOnce3 4s forwards;
}

@keyframes textHighlightOnce1 {
    0% {
        color: var(--text-main);
    }

    10%,
    100% {
        color: var(--primary);
        font-weight: 800;
    }
}

@keyframes textHighlightOnce2 {

    0%,
    35% {
        color: var(--text-main);
    }

    45%,
    100% {
        color: var(--primary);
        font-weight: 800;
    }
}

@keyframes textHighlightOnce3 {

    0%,
    85% {
        color: var(--text-main);
    }

    95%,
    100% {
        color: var(--primary);
        font-weight: 800;
    }
}

@keyframes textHighlight2 {

    0%,
    30% {
        color: var(--text-main);
    }

    40%,
    75% {
        color: var(--primary);
    }

    85%,
    100% {
        color: var(--text-main);
    }
}

@keyframes textHighlight3 {

    0%,
    55% {
        color: var(--text-main);
    }

    65%,
    75% {
        color: var(--primary);
    }

    85%,
    100% {
        color: var(--text-main);
    }
}

.impact-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.impact-grid-premium .audience-card-premium h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

/* --- Contact & Footer --- */
.contact-grid-premium {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    display: grid;
    margin-top: 48px;
}

.contact-card-glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 48px;
}

.form-group.floating-group {
    position: relative;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 24px 20px 8px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: var(--bg-alt);
    color: var(--text-main);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.floating-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Float label up on focus or when input has content */
.form-input:focus~.floating-label,
.form-input:not(:placeholder-shown)~.floating-label {
    top: 14px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
}

.form-input:focus {
    border-color: var(--primary);
    background: var(--bg-main);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.15), 0 0 0 1px var(--primary);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: transparent;
}

.download-side {
    background: var(--bg-alt);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.download-side h3 {
    color: var(--text-main) !important;
}

.download-side p {
    color: var(--text-muted) !important;
}

.materials-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.material-item:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Светлее при наведении */
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.2);
}

.material-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.material-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.material-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.material-limit {
    font-size: 12px;
    color: var(--text-muted);
}

.material-action {
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.material-item:hover .material-action {
    color: var(--primary);
    opacity: 1;
    transform: translateX(4px);
}


.download-side::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--primary), transparent 60%);
    opacity: 0.05;
    pointer-events: none;
}

/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 2px;
    /* For the inner border effect */
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card-inner {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.3);
}

.pricing-card.highlighted {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.pricing-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pricing-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
}

.pricing-pop-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlighted .pricing-pop-badge {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.pricing-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 30px;
}

.pricing-price-box {
    margin-bottom: 40px;
}

.price-old {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
    margin-bottom: 4px;
}

.price-main {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-type {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-list {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-muted);
}

.check-circle {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1.5px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--text-main);
}

.highlighted .check-circle {
    border-color: var(--primary);
    color: var(--primary);
}

.pricing-buy-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--btn-muted-bg);
    color: var(--text-main);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pricing-buy-btn:hover {
    transform: translateY(-2px);
    background: var(--btn-muted-hover);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.pricing-buy-btn.primary {
    background: var(--primary);
    color: white;
}

.pricing-buy-btn.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.footer {
    padding: 60px 0 30px;
    background: var(--bg-main);
    border-top: 1px solid var(--card-border);
    transition: background-color 0.5s ease, border-color 0.5s ease;
    position: relative;
    z-index: 10;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}





.footer-brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}



.footer-product-by {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.footer-link-highlight {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.footer-link-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-link-highlight:hover::after {
    width: 100%;
}

.footer-header {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-nav-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-contacts-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}




.footer-contact-link:hover {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}


.footer-social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}


.footer-copyright,
.footer-developer {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--text-main);
}


/* --- Side Navigation --- */
.side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(100px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.side-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.side-nav-item {
    display: flex;
    padding: 6px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    backdrop-filter: blur(10px);
}

.side-nav-item span {
    display: none;
}

.side-nav-item::after {
    content: attr(data-label);
}

.side-nav-item:hover {
    opacity: 1;
    background: var(--border);
    color: var(--text-main);
    transform: translateX(-4px);
}

.side-nav-item.active {
    opacity: 1;
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateX(-10px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

@media (max-width: 1400px) {
    .side-nav {
        right: 24px;
    }
}

@media (max-width: 1100px) {
    .side-nav {
        display: none;
    }
}

@media (max-width: 1024px) {

    .audience-grid,
    .impact-grid-premium,
    .team-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid-premium {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Навигация */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-logo-img {
        height: 24px;
    }

    .nav-text-img {
        height: 14px;
    }

    .navbar {
        height: 60px;
    }

    /* Главный экран (Hero) */
    .hero {
        padding: 140px 0 80px;
    }

    .hero-logo-text {
        height: auto;
        max-height: 48px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .btn-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 16px;
    }

    /* Типографика */
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    /* Карточкиento */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
        flex-direction: column;
    }

    .bento-content {
        padding: 16px;
    }

    .bento-visual {
        min-height: 150px;
    }

    .bento-img {
        object-fit: contain;
    }

    #projects .stagger-item {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Шаги процесса */
    .process-steps-premium {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px 16px;
    }

    .p-connector {
        display: none;
    }

    .p-step {
        width: 40%;
    }

    /* Гриды */
    .audience-grid,
    .impact-grid-premium,
    .team-grid-premium,
    .metrics-grid,
    .pricing-grid,
    .int-nodes-container {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .footer-contacts-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Существующие стили */
    .audience-grid,
    .impact-grid-premium,
    .team-grid-premium,
    .steps-timeline,
    .footer-content {
        flex-direction: column;
        display: flex;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        margin-top: 30px;
    }

    .step-card-v2 {
        width: 100%;
        padding-top: 0;
        padding-left: 80px;
        text-align: left;
        margin-bottom: 40px;
    }

    .step-card-v2:not(:last-child)::before,
    .step-card-v2:not(:last-child)::after {
        display: none;
    }

    .step-v2-circle {
        left: 0;
        transform: none;
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .step-card-v2:hover .step-v2-circle {
        transform: scale(1.05);
    }

    .steps-timeline::before {
        left: 30px;
        width: 2px;
        height: 100%;
        top: 0;
    }

    .contact-card-glass,
    .download-side,
    .pricing-card-inner,
    .metric-card-premium {
        padding: 16px;
    }

    .metric-number-large {
        font-size: 36px;
    }
}

/* --- Advanced Animations --- */

/* Base Observer Class */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

/* Animation Types default state */
.fade-up {
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-fluid {
    transform: translateY(50px);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in {
    transition: opacity 1.5s ease-out;
}

.scale-up {
    transform: scale(0.95);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left {
    transform: translateX(-30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right {
    transform: translateX(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active States */
.animate-on-scroll.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger Logic for Grouped Elements */
.stagger-container .stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
    z-index: 1;
}

.stagger-container.active .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.stagger-container.active .stagger-item:nth-child(1) {
    transition-delay: 0.2s;
}

.stagger-container.active .stagger-item:nth-child(2) {
    transition-delay: 0.4s;
}

.stagger-container.active .stagger-item:nth-child(3) {
    transition-delay: 0.6s;
}

.stagger-container.active .stagger-item:nth-child(4) {
    transition-delay: 0.8s;
}

.stagger-container.active .stagger-item:nth-child(5) {
    transition-delay: 1.0s;
}

.stagger-container.active .stagger-item:nth-child(6) {
    transition-delay: 1.2s;
}

.stagger-container.active .stagger-item:nth-child(7) {
    transition-delay: 1.4s;
}

.stagger-container.active .stagger-item:nth-child(8) {
    transition-delay: 1.6s;
}

.stagger-container.active .stagger-item:nth-child(9) {
    transition-delay: 1.8s;
}

.stagger-container.active .stagger-item:nth-child(10) {
    transition-delay: 2.0s;
}

/* Persistent Animations (Micro-interactions) */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pulse-glow {
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* --- Registry Check Block --- */
.registry-card-v2 {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.registry-card-v2:hover {
    border-color: var(--primary);
    box-shadow: 0 30px 60px -12px rgba(59, 130, 246, 0.25);
}

.registry-doc-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    transition: var(--transition);
    line-height: 1.3;
}

.registry-doc-link:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary);
    transform: translateX(4px);
}

.registry-doc-link .rdl-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: var(--transition);
    flex-shrink: 0;
}

.registry-doc-link:hover .rdl-icon {
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.3);
}

.registry-price-tag {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}