/* Font Face Declarations - Using Variable Fonts */
@font-face {
    font-family: 'Lexend Deca';
    src: url('../shared-assets/fonts/LexendDeca-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Public Sans';
    src: url('../shared-assets/fonts/PublicSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.nav-logo .logo-img {
    height: 51.2px;
    width: auto;
    display: block;
    opacity: 1 !important;
    position: relative;
    z-index: 1002;
    transform: scale(1.1);
    transform-origin: center;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    font-family: 'Lexend Deca', sans-serif;
}

.nav-logo .logo-text:hover {
    color: #014CC4;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #014CC4;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #014CC4;
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #F8F9FA;
    color: #014CC4;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #333333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 导航栏滚动效果 */
.header.scrolled {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-link {
    color: #333333;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: #4A90E2;
}

.header.scrolled .nav-link.active::after {
    background: #4A90E2;
}

.header.scrolled .nav-logo {
    left: 20px;
}

.header.scrolled .logo-img {
    height: 64px;
    transform: scale(0.84);
    transform-origin: center;
}

.header.scrolled .dropdown-menu {
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header.scrolled .dropdown-menu a {
    color: #333333;
}

.header.scrolled .dropdown-menu a:hover {
    background: #F8F9FA;
    color: #4A90E2;
}

.header.scrolled .nav-toggle .bar {
    background: #333333;
}


/* Hero Banner Section */
.hero-banner {
    background-image: url('assets/images/providence-kv.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: max(100vh, 800px);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
    position: relative;
    opacity: 0;
    animation: heroBackgroundEntrance 2s ease-out forwards;
}

.hero-container {
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    position: relative;
    gap: 1rem;
}

.providence-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-30px);
}

.providence-icon {
    max-width: 720px;
    max-height: 720px;
    width: auto;
    height: auto;
    border-radius: 16px;
    opacity: 0;
    transform: scale(0.6) translateY(20px);
    animation: heroIconEntrance 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    object-fit: contain;
    aspect-ratio: auto;
}

.hero-cta {
    position: absolute;
    right: -15px;
    top: calc(50% + 100px);
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.cta-button {
    background: transparent;
    color: #014CC4;
    border: none;
    padding: 8px 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Public Sans', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    height: 48px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(50px);
    animation: heroButtonEntrance 1.0s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

.cta-button img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.cta-button:active {
    transform: scale(0.98);
}

/* Section 1: Product Introduction */
.product-intro {
    background: #f8f9fa;
    min-height: max(100vh, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    transform: translateY(-10px);
}

.intro-title {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: #000;
    line-height: 120%;
    margin: 0;
    text-align: center;
    font-style: normal;
}

.intro-title .highlight {
    color: #000;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}

.intro-gif-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-20px);
}

.intro-gif-placeholder {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    text-align: center;
    width: min(1200px, 90vw);
    height: min(700px, 60vh);
    max-width: 1200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.intro-gif-placeholder p {
    font-family: 'Public Sans', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #ccc;
    margin: 0;
}

.intro-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    max-width: 100%;
    max-height: 100%;
}

.nl-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    max-width: 100%;
    max-height: 100%;
}

.scenarios-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    max-width: 100%;
    max-height: 100%;
}

/* Section 2: Natural Language Processing */
.natural-language {
    background: #fff;
    min-height: max(100vh, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.nl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
}

.nl-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.nl-description {
    color: #000;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    margin: 0;
    max-width: 800px;
}

.highlight-bold {
    color: #000;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}

.nl-gif-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-20px);
}

.nl-gif-placeholder {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    text-align: center;
    width: min(1200px, 90vw);
    height: min(700px, 60vh);
    max-width: 1200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.nl-gif-placeholder p {
    font-family: 'Public Sans', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #ccc;
    margin: 0;
}

/* Section 3: Platform Scenarios */
.platform-scenarios {
    background: #f8f9fa;
    min-height: max(100vh, 800px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding: 80px 0;
}

.scenarios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
}

.scenarios-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
}

.scenarios-text-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.scenarios-description {
    color: #000;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    margin: 60px 0 0 0;
}

.generators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 1000px;
    margin: 20px auto;
    box-sizing: border-box;
}

.generator-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 160px;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid #E8EAED;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100px);
}

.generator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #D1D5DB;
    background: #FFFFFF;
}

.generator-label {
    color: #000;
    font-family: "Lexend Deca";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 29px;
    text-align: center;
    padding: 0;
}

.generate-btn {
    background: #000;
    color: #FFF;
    border: none;
    border-radius: 0 0 12px 12px;
    padding: 14px 0;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(100% + 40px);
    margin: 0 -20px -20px -20px;
    align-self: stretch;
}

.generate-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.scenarios-gif-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.scenarios-gif-placeholder {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    text-align: center;
    width: min(1200px, 90vw);
    height: min(700px, 60vh);
    max-width: 1200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenarios-gif-placeholder p {
    font-family: 'Public Sans', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #ccc;
    margin: 0;
}

.gif-content {
    padding: 30px;
    height: 100%;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

.gif-content.slide-up {
    transform: translateY(-100%);
}

.gif-content.slide-in {
    transform: translateY(0);
}

.gif-content.generated-content {
    opacity: 0;
    transform: translateY(0);
    min-height: 700px;
    justify-content: flex-start;
    gap: 30px;
}

.gif-content.generated-content.active {
    opacity: 1;
    transform: translateY(0);
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    min-height: 50px;
}

.providence-logo-text {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.user-text {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.interface-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 20px;
}

.export-text {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

/* GIF Animation Styles */
.gif-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Public Sans', sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: #ccc;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
}

.gif-placeholder.active {
    transform: translateY(0);
}

.gif-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

/* Generator Button Active States */
.generate-btn.active {
    background: #014CC4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 76, 196, 0.3);
}

.generator-card.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== ADVANCED PLATFORM SCENARIOS STYLES ===== */
/* Enhanced Card States for Advanced Demo */
.generator-card.active {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(219, 182, 86, 0.25) !important;
    border-color: #DBB656 !important;
    background: #FFFFFF;
}

.generator-card.dimmed {
    opacity: 0.4;
    transform: scale(0.98);
}

.generator-card.glow {
    box-shadow: 0 0 30px rgba(219, 182, 86, 0.4) !important;
    border-color: #DBB656 !important;
}

/* Ensure active state maintains yellow border during loading */
.generator-card.active.glow {
    box-shadow: 0 0 30px rgba(219, 182, 86, 0.4) !important;
    border-color: #DBB656 !important;
}

/* Button Loading State */
.generate-btn .btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.generate-btn.loading .btn-text {
    display: none;
}

.generate-btn.loading .btn-loading {
    display: flex;
}

.generate-btn.loading {
    background: #DBB656;
    color: white;
    cursor: not-allowed;
}

.loading-icon {
    width: 20px;
    height: 20px;
    color: white;
}

/* Generated Button State */
.generate-btn.generated {
    background: #4CAF50;
    color: white;
}

/* Generated Card State - Green Border for Current/Generated Cards */
.generator-card.generated {
    border-color: #4CAF50 !important;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.25) !important;
    transform: translateY(-8px);
}

.generator-card.generated.glow {
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.4) !important;
    border-color: #4CAF50 !important;
}

/* Ensure generated state overrides active state */
.generator-card.generated.active {
    border-color: #4CAF50 !important;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.25) !important;
}

/* Providence Logo Styling - Small version for Platform Scenarios */
.providence-logo-small {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 1 !important;
    vertical-align: middle;
}

/* Generated Content Styles */
.generated-title {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #DBB656;
    margin-bottom: 20px;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.generated-text-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.generated-text-container.fading-out {
    opacity: 0;
    transform: translateY(-10px);
}

.generated-text-container.fading-in {
    opacity: 1;
    transform: translateY(0);
}

.generated-text {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    min-height: 200px;
    max-height: 400px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow-y: auto;
    position: relative;
    scroll-behavior: smooth;
    transition: opacity 0.3s ease;
}

/* Custom Scrollbar Styles */
.generated-text::-webkit-scrollbar {
    width: 8px;
}

.generated-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.generated-text::-webkit-scrollbar-thumb {
    background: #DBB656;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.generated-text::-webkit-scrollbar-thumb:hover {
    background: #c9a347;
}

/* Firefox Scrollbar */
.generated-text {
    scrollbar-width: thin;
    scrollbar-color: #DBB656 #f1f1f1;
}

/* Gradient Fade Effect for Scrollable Content */
.generated-text-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, rgba(248, 249, 250, 0.9));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.generated-text-container.has-scroll::after {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(219, 182, 86, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.scroll-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typing Cursor Animation */
.typing-cursor {
    display: inline-block;
    font-weight: 100;
    font-size: 16px;
    color: #DBB656;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typing-cursor.hidden {
    display: none;
}

/* Enhanced Visual Effects */
.generator-card.processing {
    animation: pulse 2s ease-in-out infinite;
}

.scenarios-gif-placeholder.generating {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Loading Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Section 4: AI Agents Value */
.ai-agents-value {
    background: #fff;
    min-height: max(100vh, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.value-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
}

.value-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.value-description {
    color: #000;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    margin: 0;
}

.highlight-white {
    color: #000;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}

/* AI Agents Cards Grid */
.ai-agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.ai-agent-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 160px;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid #E8EAED;
    position: relative;
    overflow: visible;
    /* Initial state for entrance animation - floating up from below */
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

/* Entrance Animation - Floating Up Effect */
.ai-agent-card.entrance-animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ai-agent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #D1D5DB;
}

/* Pipeline Card States */
.pipeline-card {
    border: 2px solid transparent;
}

.pipeline-card.processing {
    border-color: #2196F3;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
    transform: translateY(-8px) scale(1.05);
}

.pipeline-card.completed {
    border-color: #4CAF50;
    background: #f8fff8;
}

.pipeline-card.chain-highlight {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(1, 76, 196, 0.2);
    border-color: rgba(1, 76, 196, 0.3);
}

/* Completion Check Mark */
.completion-check {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.pipeline-card.completed .completion-check {
    opacity: 1;
    transform: scale(1);
    animation: checkBounce 0.6s ease-out;
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.agent-label {
    color: #000;
    font-family: "Lexend Deca";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 29px;
    text-align: center;
    padding: 0;
}

.agent-btn {
    border: none;
    border-radius: 0 0 12px 12px;
    padding: 14px 0;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(100% + 40px);
    margin: 0 -20px -20px -20px;
    align-self: stretch;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Initial gray state */
    background: #999;
}

.agent-btn:hover {
    background: #777;
    transform: translateY(-1px);
}

/* Enhanced Button Effects for Pipeline */
.pipeline-card.processing .agent-btn {
    background: #2196F3 !important;
    color: white;
    animation: buttonPulse 1s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
}

.pipeline-card.completed .agent-btn {
    background: #4CAF50 !important;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.copy-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Search Card Special Styling */
.search-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.search-placeholder {
    color: #666;
    font-family: "Lexend Deca";
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 12px;
    }
    
    .hero-banner {
        padding: 2rem 1rem;
        margin-top: 70px;
    }
    
    .providence-icon {
        max-width: 480px;
        max-height: 480px;
        width: auto;
        height: auto;
    }
    
    .hero-cta {
        position: absolute;
        right: -15px;
        top: calc(50% + 100px);
        transform: translateY(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* New sections responsive - maintain full height */
    .product-intro,
    .natural-language,
    .platform-scenarios,
    .ai-agents-value {
        min-height: 100vh;
    }
    
    
    .intro-container,
    .nl-container,
    .scenarios-container,
    .value-container {
        padding: 0 1rem;
    }
    
    .intro-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .nl-description,
    .scenarios-description,
    .value-description {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .generators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .generator-card {
        padding: 15px;
        min-height: 140px;
    }
    
    .generator-label {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .generate-btn {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* AI Agents Grid Responsive */
    .ai-agents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .ai-agent-card {
        padding: 15px;
        min-height: 140px;
    }
    
    .agent-label {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .agent-btn {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-container {
        padding: 12px;
    }
    
    .search-placeholder {
        font-size: 14px;
    }
    
    .scenarios-gif-placeholder {
        min-height: 400px !important;
        max-width: 90% !important;
    }
    
    .gif-content {
        padding: 20px !important;
        min-height: 400px !important;
    }
    
    .providence-logo-text {
        font-size: 14px;
    }
    
    .user-text {
        font-size: 12px;
    }
    
    .export-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .providence-icon {
        max-width: 360px;
        max-height: 360px;
        width: auto;
        height: auto;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        position: absolute;
        right: -15px;
        top: calc(50% + 80px);
        transform: translateY(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* New sections mobile responsive - maintain full height */
    .product-intro,
    .natural-language,
    .platform-scenarios,
    .ai-agents-value {
        min-height: 100vh;
    }
    
    
    .intro-title {
        font-size: 20px;
    }
    
    .nl-description,
    .scenarios-description,
    .value-description {
        font-size: 16px;
    }
    
    .generators-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .generator-card {
        padding: 12px;
        min-height: 80px;
    }
    
    .intro-gif-placeholder,
    .nl-gif-placeholder {
        width: 95% !important;
        max-width: 800px !important;
        height: 400px !important;
        padding: 60px 20px;
    }
    
    .intro-gif-placeholder p,
    .nl-gif-placeholder p {
        font-size: 18px;
    }
    
    .scenarios-gif-placeholder {
        min-height: 300px !important;
        max-width: 95% !important;
    }
    
    .gif-content {
        padding: 20px !important;
        min-height: 300px !important;
    }
    
    .gif-placeholder {
        border-radius: 15px 15px 0 0 !important;
    }
    
    .gif-placeholder img {
        border-radius: 15px 15px 0 0 !important;
    }
    
    .providence-logo-text {
        font-size: 12px;
    }
    
    .user-text {
        font-size: 10px;
    }
    
    .export-text {
        font-size: 12px;
    }
}

/* Animation Keyframes */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sectionEnter {
    0% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Banner Animation Keyframes */
@keyframes heroBackgroundEntrance {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroIconEntrance {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(20px);
    }
    70% {
        opacity: 1;
        transform: scale(1.02) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes heroButtonEntrance {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Hover Effects */
.providence-icon:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05) !important;
    background: transparent;
    color: #014CC4;
    border: none;
    box-shadow: 0 0 20px rgba(1, 76, 196, 0.3);
}

/* Text Content Initial States - No Auto Animation */
.intro-title,
.nl-description,
.scenarios-description,
.value-description {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* GIF Placeholder Initial States - No Auto Animation */
.intro-gif-placeholder,
.nl-gif-placeholder {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Animation Classes - Applied via JavaScript */
.animate-fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-scale-in {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.animate-slide-in-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Section Active Animation */
.section-active {
    animation: sectionEnter 0.8s ease-out;
}

/* Animation for GIF switching */
.gif-placeholder.switching {
    background: #014CC4;
    color: #fff;
    border-color: #014CC4;
}

.gif-placeholder.switching p {
    color: #fff;
}

.gif-placeholder.switching .gif-label {
    color: #ccc;
}

/* Footer */
.footer-new {
    background: #000;
    color: white;
    padding: 60px 0 40px;
}

.footer-new .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-new .footer-left {
    flex: 1;
    max-width: 600px;
}

.footer-new .footer-logo-new {
    height: 50px;
    width: auto;
    margin-bottom: 24px;
    opacity: 1 !important;
}

.footer-new .footer-mission {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: white;
    max-width: 500px;
    margin-bottom: 32px;
    margin-top: 0;
}

/* Footer Contact Styles */
.footer-new .footer-contact {
    margin-top: 0;
}

.footer-new .contact-title {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-bottom: 16px;
}

.footer-new .contact-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-new .contact-email {
    color: white;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-new .contact-email:hover {
    color: #ccc;
    transform: translateY(-1px);
}

.footer-new .contact-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(100%);
    opacity: 1 !important;
}

.footer-new .linkedin-link {
    color: white;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-new .linkedin-link:hover {
    color: #ccc;
    transform: translateY(-1px);
}

.footer-new .linkedin-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: #0077B5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.footer-new .linkedin-icon::before {
    content: 'in';
}

.footer-new .footer-right {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 74px;
}

.footer-new .footer-nav {
    display: flex;
    justify-content: flex-end;
}

.footer-new .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-new .footer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-new .footer-link {
    color: white;
    font-family: 'Lexend Deca', sans-serif;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.footer-new .footer-link:hover {
    color: #ccc;
    transform: translateY(-2px);
}

.footer-new .footer-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: flex-start;
    margin-left: 0;
    margin-top: -4px;
}

.footer-new .footer-sublink {
    color: #ccc;
    font-family: 'Lexend Deca', sans-serif;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    display: block;
}

.footer-new .footer-sublink:hover {
    color: white;
    transform: translateY(-2px);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-new .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-new .footer-nav {
        justify-content: center;
    }
    
    .footer-new .footer-menu {
        align-items: center;
    }
    
    .footer-new .footer-menu-item {
        align-items: center;
    }
    
    .footer-new .footer-submenu {
        align-items: center;
    }
    
    .footer-new .contact-info {
        justify-content: center;
    }
}


/* Section Transition Effects */
.section-transitioning {
    pointer-events: none;
}

.section-transitioning .hero-banner,
.section-transitioning .product-intro,
.section-transitioning .natural-language,
.section-transitioning .platform-scenarios,
.section-transitioning .ai-agents-value,
.section-transitioning .footer-new {
    transition: none;
}
