:root {
    /* Colors */
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-secondary: #f1f5f9;
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-text-light: #64748b;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-primary-dark: #1e40af;
    --color-accent: #3b82f6;
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-warning: #f59e0b;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    --color-overlay: rgba(15, 23, 42, 0.05);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 70px;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.fade-in-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection styling */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease-out;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}

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

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

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

.section {
    padding: var(--spacing-lg) 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
    background-image: radial-gradient(circle at top right, #f1f5f9 0%, transparent 40%),
        radial-gradient(circle at bottom left, #f1f5f9 0%, transparent 40%);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    font-family: var(--font-sans);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3), 0 2px 4px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4), 0 4px 6px -2px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    border: 2px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

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

/* Header */
.site-header {
    height: var(--header-height);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-main {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text);
    letter-spacing: -0.03em;
    font-family: var(--font-display);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

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

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    width: 60%;
}

.nav-cta {
    margin-left: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: var(--color-primary);
}

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

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

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

/* Footer */
.site-footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand p {
    max-width: 300px;
    margin-top: var(--spacing-sm);
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--color-text);
}

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

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Typewriter */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--color-primary);
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-xl) + 2rem) 0 var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%),
        url('hero_bg_modern_office.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    transition: all 0.3s ease;
}

.badge-pill:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.badge-pill svg {
    color: var(--color-primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: var(--spacing-md);
    align-items: center;
    justify-content: center;
    margin: var(--spacing-lg) auto;
    padding: var(--spacing-md);
    max-width: 900px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.stat-item {
    text-align: center;
    padding: 0 var(--spacing-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-number::after {
    content: '%';
    font-size: 1.5rem;
    margin-left: 2px;
}

.stat-item:nth-child(3) .stat-number::after {
    content: '+';
}

.stat-item:nth-child(5) .stat-number::after {
    content: 'x';
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Floating Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 70%);
}

.shape-2 {
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
    animation-delay: -5s;
}

@keyframes float {

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

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

.hero-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* Hero Visual (Abstract UI) */
.hero-visual {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatCard 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px) !important;
}

.floating-card .card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.floating-card .card-title {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.floating-card .card-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-display);
}

.card-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 5%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

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

.ui-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ui-card:hover {
    transform: translateY(-5px);
}

.ui-header {
    background: var(--color-bg-alt);
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* Timeline (How it Works) */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
    z-index: 1;
    flex-shrink: 0;
}

.timeline-content {
    padding-top: 0.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

/* Accordion (FAQ) */
.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--spacing-md) 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-trigger::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.2s;
}

.accordion-item.open .accordion-trigger::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: var(--spacing-md);
    color: var(--color-text-muted);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

.ui-body {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.msg-row {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-end;
}

.msg-row.reply {
    flex-direction: row-reverse;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
}

.avatar.self {
    background: var(--color-primary);
    opacity: 0.2;
}

.msg-bubble {
    background: var(--color-bg-alt);
    padding: 0.75rem 1rem;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.9rem;
    max-width: 80%;
}

.msg-row.reply .msg-bubble {
    border-radius: 16px 16px 4px 16px;
}

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

.status-badge {
    align-self: center;
    margin-top: var(--spacing-sm);
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Headers */
.section-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: var(--color-primary-dark);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Pipeline Process Section - Revolutionary Design */
.process-section {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.process-section .section-header h2,
.process-section .section-header p {
    color: var(--color-text);
}

.process-section .section-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Pipeline Container */
.pipeline-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

/* Pipeline Stage Cards */
.pipeline-stage {
    position: relative;
    min-height: 500px;
}

.stage-background {
    position: absolute;
    inset: 0;
    background: var(--color-white);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.stage-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stage-header {
    margin-bottom: 1.5rem;
}

.stage-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.stage-header h3 {
    color: var(--color-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Stage Visuals */
.stage-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.metric-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.metric-large {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Bar Graph Animation */
.stage-graph {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    height: 80px;
}

.bar {
    width: 20px;
    background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 4px 4px 0 0;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.bar.active {
    opacity: 1;
    animation: barPulse 2s ease-in-out infinite;
}

@keyframes barPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Message Flow Animation */
.message-flow {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 150px;
}

.message-line {
    height: 4px;
    background: #1e293b;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.message-line.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: messageFlow 2s ease-in-out infinite;
}

@keyframes messageFlow {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Filter Animation */
.filter-animation {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.filter-item {
    width: 20px;
    height: 20px;
    background: #1e293b;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.filter-item.qualified {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: filterPulse 2s ease-in-out infinite;
}

@keyframes filterPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Conversion Circle */
.conversion-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    width: 100%;
    height: 100%;
}

.circle-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.conversion-rate {
    font-size: 1.75rem;
    font-weight: 700;
    color: #3b82f6;
}

.conversion-label {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Stage Details */
.stage-details {
    margin-top: auto;
}

.stage-details p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.stage-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mini-metric {
    text-align: center;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.mini-metric .value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.mini-metric .label {
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stage Connectors */
.stage-connector {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 50px;
    z-index: 2;
}

.pipeline-stage.final .stage-connector {
    display: none;
}

.connector-svg {
    width: 100%;
    height: 100%;
}

/* Hover Effects */
.pipeline-stage:hover .stage-background {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.15), rgba(30, 58, 138, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
}

.pipeline-stage:hover .metric-large {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Split Layout (Why LinkedIn) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.check-list {
    margin-top: var(--spacing-md);
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.split-visual {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-val {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Plans Section */
.plans-section {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.plans-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    align-items: stretch;
}

.plan-col {
    background: var(--color-white);
    padding: var(--spacing-md) 1.75rem var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.plan-col:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.plan-col.featured {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: scale(1.05);
}

.plan-col.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.25);
}

.plan-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.plan-badge.popular {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
}

.plan-col h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-muted);
    min-height: 60px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-border);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-display);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.plan-features {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.5;
}

.plan-features li svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 0.125rem;
}

.plan-col .btn {
    width: 100%;
    margin-top: auto;
}

.mt-md {
    margin-top: var(--spacing-md);
}

.link-arrow {
    font-weight: 500;
    color: var(--color-primary);
}

.link-arrow:hover {
    text-decoration: underline;
}

/* Audience Band */
.audience-band {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.audience-item h4 {
    margin-bottom: 0.5rem;
}

/* Credibility Section */
.credibility-section {
    background: var(--color-bg-alt);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.trust-item {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
}

.trust-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Final CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.cta-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content>p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-benefit svg {
    flex-shrink: 0;
    color: #4ade80;
}

.cta-actions {
    margin-top: var(--spacing-md);
}

.cta-note {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-stat-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.cta-stat {
    text-align: center;
    padding: var(--spacing-sm);
}

.cta-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.cta-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Results & Metrics Section */
.results-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.metric-card {
    background: var(--color-white);
    padding: var(--spacing-md) 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: var(--color-primary);
}

.metric-card:hover .metric-icon,
.metric-card:hover .metric-value,
.metric-card:hover .metric-label,
.metric-card:hover .metric-desc {
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.metric-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    transition: transform 0.4s ease;
}

.metric-icon svg {
    width: 100%;
    height: 100%;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotateZ(5deg);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.metric-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    transition: color 0.4s ease;
}

/* FAQ Section */
.faq-section {
    background: var(--color-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 2px solid var(--color-border);
    transition: border-color 0.3s ease;
}

.accordion-item:hover {
    border-bottom-color: var(--color-primary);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--spacing-md) 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    transition: color 0.3s ease;
}

.accordion-trigger:hover {
    color: var(--color-primary);
}

.accordion-trigger::after {
    content: "+";
    font-size: 1.75rem;
    font-weight: 300;
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-item.open .accordion-trigger::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding-bottom: var(--spacing-md);
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-md) 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.testimonial-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border: none;
}

.testimonial-card.featured .testimonial-text,
.testimonial-card.featured .author-title,
.testimonial-card.featured .tstat-label {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card.featured .author-name,
.testimonial-card.featured .tstat-value {
    color: var(--color-white);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #fbbf24;
    font-size: 1.125rem;
}

.testimonial-card.featured .star {
    color: #fcd34d;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--color-text);
    flex-grow: 1;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-card.featured .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.author-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: var(--font-display);
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.125rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tstat {
    text-align: center;
}

.tstat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.tstat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .pipeline-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonial-card.featured {
        grid-column: span 1;
    }

    .cta-box {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .cta-visual {
        order: -1;
    }

    .plan-col.featured {
        transform: scale(1);
    }

    .plan-col.featured:hover {
        transform: scale(1) translateY(-8px);
    }
}

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

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: var(--spacing-sm);
    }

    .stat-divider {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .hero-visual {
        margin-top: var(--spacing-md);
    }

    .pipeline-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .pipeline-stage {
        min-height: 400px;
    }

    .stage-connector {
        display: none;
    }

    .stage-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .mini-metric {
        padding: 0.5rem;
    }

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

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

    .split-visual {
        order: -1;
        order: 0;
        height: 200px;
    }

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

    .plans-strip {
        grid-template-columns: 1fr;
    }

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

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

    .cta-box {
        grid-template-columns: 1fr;
    }

    .cta-visual {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Mobile menu styles */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 300px;
    }

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

    .logo-tagline {
        display: none;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .logo-main {
        font-size: 1rem;
    }
}


/* Animated Calendar Visual */
.calendar-visual {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    /* Phone-like width */
    margin: 0 auto;
    font-family: var(--font-sans);
    position: relative;
}

.cal-header {
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cal-month {
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.1rem;
}

.cal-body {
    padding: 1.5rem;
    position: relative;
    min-height: 320px;
    background: #fff;
}

.time-slot {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    height: 60px;
    border-bottom: 1px dashed #f1f5f9;
}

.time-label {
    color: #94a3b8;
    font-size: 0.8rem;
    width: 45px;
    flex-shrink: 0;
    padding-top: 0.5rem;
}

.event-card {
    flex: 1;
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    border-radius: 6px;
    padding: 0.75rem;
    opacity: 0;
    transform: translateX(20px);
    animation: slideInEvent 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.event-card.delay-1 {
    animation-delay: 0.5s;
}

.event-card.delay-2 {
    animation-delay: 1.5s;
}

.event-card.delay-3 {
    animation-delay: 2.5s;
}

.event-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.event-type {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Notification Pop */
.cal-notification {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: popNotification 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 3.2s;
    white-space: nowrap;
}

@keyframes slideInEvent {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popNotification {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* Advanced Calendar Animation */
.cal-content-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

/* Week View */
.cal-view-week {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: #fff;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    height: 100%;
}

.day-col {
    background: #f8fafc;
    border-radius: 4px;
    padding: 0.5rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.3s ease;
}

.day-col.active {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.day-header {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.mini-event {
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    width: 100%;
}

.day-col.active .mini-event {
    background: #60a5fa;
}

/* Day View */
.cal-view-day {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #fff;
    pointer-events: none; /* Prevent interaction when hidden */
}

/* Animation States */
.calendar-visual.animate .cal-view-week {
    opacity: 0;
    transform: scale(1.5);
    pointer-events: none;
}

.calendar-visual.animate .cal-view-day {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    transition-delay: 0.5s;
}

/* Reset original animations to wait for .animate class */
.event-card {
    opacity: 0;
    transform: translateX(20px);
    animation: none; /* Remove default animation */
}

.calendar-visual.animate .event-card {
    animation: slideInEvent 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.calendar-visual.animate .event-card.delay-1 { animation-delay: 1.2s; }
.calendar-visual.animate .event-card.delay-2 { animation-delay: 2.2s; }
.calendar-visual.animate .event-card.delay-3 { animation-delay: 3.2s; }

.cal-notification {
    opacity: 0;
    animation: none;
}

.calendar-visual.animate .cal-notification {
    animation: popNotification 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 4.0s;
}

/* Scrolling Effect for Day View */
.calendar-visual.animate .cal-body {
    animation: scrollDay 4s ease-in-out forwards;
    animation-delay: 1s;
}

@keyframes scrollDay {
    0% { transform: translateY(0); }
    20% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Extended 12s Calendar Animation */

/* Animation States */
.calendar-visual.animate .cal-view-week {
    opacity: 0;
    transform: scale(1.5);
    pointer-events: none;
    transition-delay: 2s; /* Hold week view for 2s */
    transition-duration: 1s;
}

.calendar-visual.animate .cal-view-day {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    transition-delay: 2.5s; /* Start appearing as week fades */
    transition-duration: 1s;
}

/* Event Cards - Staggered over time */
.calendar-visual.animate .event-card {
    animation: slideInEvent 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.calendar-visual.animate .event-card.delay-1 { animation-delay: 4s; }
.calendar-visual.animate .event-card.delay-2 { animation-delay: 6s; }
.calendar-visual.animate .event-card.delay-3 { animation-delay: 8s; }

/* Notification */
.calendar-visual.animate .cal-notification {
    animation: popNotification 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 9.5s;
}

/* Scrolling Effect - Slower and more deliberate */
.calendar-visual.animate .cal-body {
    animation: scrollDayExtended 10s ease-in-out forwards;
    animation-delay: 3s;
}

@keyframes scrollDayExtended {
    0% { transform: translateY(0); }
    15% { transform: translateY(-10px); } /* Slight scroll down */
    30% { transform: translateY(-10px); } /* Pause */
    45% { transform: translateY(-40px); } /* Scroll to next slot */
    60% { transform: translateY(-40px); } /* Pause */
    75% { transform: translateY(-80px); } /* Scroll to last slot */
    100% { transform: translateY(-80px); }
}

/* Final Overlay */
.cal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.calendar-visual.animate .cal-overlay {
    animation: fadeInOverlay 1s ease forwards;
    animation-delay: 11s; /* Appear at the very end */
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
}

.calendar-visual.animate .overlay-content {
    animation: slideUpOverlay 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 11.2s;
}

.overlay-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
}

.overlay-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.4;
}

@keyframes fadeInOverlay {
    to { opacity: 1; pointer-events: auto; }
}

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

/* --- Micro-Animations & Soft Transitions --- */

/* 1. Global Smoothness */
a, button, .btn, input, select, textarea, .card, .metric-card, .plan-card, .feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Card Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
}

.metric-card:hover, .plan-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* 3. Icon Animations */
.metric-card:hover .metric-icon svg,
.feature-card:hover .feature-icon svg {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--color-primary);
}

/* 4. Input Focus Ring */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* 5. Footer Link Slide */
.footer-col ul li a {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-col ul li a:hover {
    transform: translateX(4px);
    color: var(--color-primary);
}

/* 6. Button Click Press */
.btn:active {
    transform: scale(0.96) translateY(0);
}

/* 7. Gradient Text Shimmer */
.gradient-text {
    background-size: 200% auto;
    transition: background-position 0.5s ease;
}

.gradient-text:hover {
    background-position: right center;
}

/* 8. Accordion Trigger Hover */
.accordion-trigger:hover {
    background-color: #f8fafc;
    padding-left: 1.25rem; /* Slight slide right */
}

.accordion-trigger {
    transition: all 0.3s ease;
}

/* 9. Check List Item Slide */
.check-list li {
    transition: transform 0.2s ease;
}

.check-list li:hover {
    transform: translateX(4px);
}

/* 10. Logo Hover Pulse */
.logo:hover .logo-icon {
    animation: pulse 1s infinite;
}
