@font-face {
    font-family: 'Lexend';
    src: url('./lexend.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-bg: #000000;
    --secondary-bg: #3a3a3a;
    --tertiary-bg: #2b2b2b;
    --input-bg: #2a2a2a;
    --card-bg: #1a1a1a;
    --border-color: #333333;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --accent-primary: #ffffff;
    --accent-secondary: #e5e5e5;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #0f172a 30%, #1e293b 60%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #10b981 100%);
    --gradient-section: linear-gradient(135deg, #000000 0%, #0c1420 50%, #111827 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-lexend: 'Lexend', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(96px + env(safe-area-inset-top));
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: calc(1rem + env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1200px;
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo {
    height: 30px;
    width: auto;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-lexend);
    transition: color 0.3s ease;
}



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

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    padding-top: calc(6rem + env(safe-area-inset-top));
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000 0%, #00000080 90%, #000000 100%);

}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('bg7.jpg');
    z-index: -1;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    filter: blur(200px);

}

.hero::after {
    content: '';
    position: absolute;
    top: 20vh;
    left: 20vw;
    right: 0;
    bottom: 0;
    background-image: url('large_logo.png');
    background-position: top left;
    background-repeat: no-repeat;
    opacity: 0.1;
    transform: scale(1.2);

}



.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 2rem;

}

.hero-content {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-lexend);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: #000000;
    box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.2);
}

.cta-button.primary:hover {
    box-shadow: 0 0px 20px 0 rgba(255, 255, 255, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.cta-button.secondary:hover {
    box-shadow: 0 0px 10px 0 rgba(255, 255, 255, 0.5);
}

.hero-workflow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workflow-grid {
    display: grid;
    grid-template-columns: 4fr 1fr 4fr;
    gap: 1.5rem;
    max-width: 600px;
    width: 100%;
    align-items: center;
}

.workflow-card {
    background-color: #1a1a1ac4;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 85px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Navigate Page - Soft Blue */
.workflow-card.card-navigate::before {
    background: radial-gradient(circle at 50% 0%, rgba(91, 155, 213, 0.08) 0%, transparent 50%);
}

.workflow-card.card-navigate:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 155, 213, 0.4);
    box-shadow: 0 8px 32px rgba(91, 155, 213, 0.15);
}

.workflow-card.card-navigate .workflow-icon {
    color: #5b9bd5;
}

/* Get Elements - Soft Purple */
.workflow-card.card-elements::before {
    background: radial-gradient(circle at 50% 0%, rgba(142, 124, 195, 0.08) 0%, transparent 50%);
}

.workflow-card.card-elements:hover {
    transform: translateY(-4px);
    border-color: rgba(142, 124, 195, 0.4);
    box-shadow: 0 8px 32px rgba(142, 124, 195, 0.15);
}

.workflow-card.card-elements .workflow-icon {
    color: #8e7cc3;
}

/* Find Actions - Soft Orange */
.workflow-card.card-actions::before {
    background: radial-gradient(circle at 50% 0%, rgba(209, 151, 84, 0.08) 0%, transparent 50%);
}

.workflow-card.card-actions:hover {
    transform: translateY(-4px);
    border-color: rgba(209, 151, 84, 0.4);
    box-shadow: 0 8px 32px rgba(209, 151, 84, 0.15);
}

.workflow-card.card-actions .workflow-icon {
    color: #d19754;
}

/* Click Element - Soft Green */
.workflow-card.card-click::before {
    background: radial-gradient(circle at 50% 0%, rgba(112, 173, 71, 0.08) 0%, transparent 50%);
}

.workflow-card.card-click:hover {
    transform: translateY(-4px);
    border-color: rgba(112, 173, 71, 0.4);
    box-shadow: 0 8px 32px rgba(112, 173, 71, 0.15);
}

.workflow-card.card-click .workflow-icon {
    color: #70ad47;
}

/* Extract Data - Soft Teal */
.workflow-card.card-extract::before {
    background: radial-gradient(circle at 50% 0%, rgba(75, 172, 198, 0.08) 0%, transparent 50%);
}

.workflow-card.card-extract:hover {
    transform: translateY(-4px);
    border-color: rgba(75, 172, 198, 0.4);
    box-shadow: 0 8px 32px rgba(75, 172, 198, 0.15);
}

.workflow-card.card-extract .workflow-icon {
    color: #4bacc6;
}

/* Return Results - Soft Indigo */
.workflow-card.card-results::before {
    background: radial-gradient(circle at 50% 0%, rgba(112, 48, 160, 0.08) 0%, transparent 50%);
}

.workflow-card.card-results:hover {
    transform: translateY(-4px);
    border-color: rgba(112, 48, 160, 0.4);
    box-shadow: 0 8px 32px rgba(112, 48, 160, 0.15);
}

.workflow-card.card-results .workflow-icon {
    color: #7030a0;
}

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

.workflow-icon {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.workflow-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    text-align: center;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-icon:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* Browser Mockup Styles */
.hero-browser {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.browser-mockup {
    width: 1400px;
    max-width: 1400px;
    min-width: 1400px;
    height: 60vh;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    z-index: 1;
    transform-origin: center;
}

.browser-header {
    background: #1f1f1f;
    padding: 0.3rem 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.browser-controls {
    display: flex;
    gap: 0.5rem;
}

.browser-tabs {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    margin: 0 1rem;
}

.tab {
    border-radius: 10px;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    min-width: 110px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.tab:hover {
    background: var(--tertiary-bg);
}

.tab.active {
    background: var(--secondary-bg);
    color: var(--text-primary);
}

.tab i {
    font-size: 0.75rem;
}

.tab-add {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-add:hover {
    background: var(--tertiary-bg);
    color: var(--text-primary);
}

.browser-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.browser-actions i {
    transition: all 0.2s ease-in-out;
}

.browser-actions i:hover {
    color: var(--text-primary);
    cursor: pointer;
}

.browser-address-bar {
    background: var(--secondary-bg);
    padding: 0.3rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.address-controls {
    display: flex;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.address-controls i {
    cursor: pointer;
    transition: color 0.2s ease;
}

.address-controls i:hover {
    color: var(--text-primary);
}

.address-input {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.address-input i {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.browser-menu {
    display: flex;
    gap: 0.75rem;
    color: var(--text-secondary);
}

/* Hero Background Blobs */
.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}



@keyframes breathe {

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

    50% {
        transform: scale(1.2) translate(10px, -15px);
        opacity: 0.6;
    }
}

@keyframes breathe-reverse {

    0%,
    100% {
        transform: scale(1.1) translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: scale(0.9) translate(-15px, 10px);
        opacity: 0.2;
    }
}

.browser-content {
    display: flex;
    background: #1f1f1f;
    min-height: calc(100% - 38px)
}

.webpage-area {
    flex: 2;
    background: #111111;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
    margin: 0rem 0rem 0.5rem 0.5rem;
}

.webpage-header {
    background: #2a2a2a;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav span {
    color: #cccccc;
    font-weight: 500;
    cursor: pointer;
}

.webpage-content {
    padding: 1.5rem;
}

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

.product-card {
    background: #2a2a2a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
    position: relative;
}

.product-card.highlighted {
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
    transform: scale(1.02);
}

.product-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    background: #0052a3;
}

.product-card.highlighted .add-to-cart-btn {
    background: #28a745;
}

.ai-chat-panel {
    flex: 1;
    background: #1f1f1f;
    display: flex;
    flex-direction: column;
}

.ai-action {
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 0.4rem !important;
    font-size: 0.7rem;
    color: #9c9c9c;

}

.ai-tab {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 7px;
    color: var(--text-primary);
    cursor: pointer;

}

.ai-sub-action {
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: #7a7a7a;
}

.card-primary {
    background: #363636 !important;
    color: #bdbdc2 !important;
    padding-top: 2.5px !important;
}

.ai-action-group {
    width: 1px;
    height: 100%;
    background: #5a5a5a;
}

.ai-action-block {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-left: 0.9rem;
}

.ai-sub-action-card {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    background: #2a2a2a;
    padding: 0.1rem 0.3rem;
    border-radius: 7px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    flex-shrink: 0;
    vertical-align: baseline;
    margin-right: 0.2rem;
}

.ai-sub-action-card-text {
    font-weight: 600;
    color: var(--text-tertiary);
}

.ai-actions-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.2rem;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 0 0.8rem 0.8rem 0.8rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    /* Hide scrollbars */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

.chat-messages::-webkit-scrollbar {
    display: none;
    /* WebKit */
}

/* Hide scrollbars on What's happening textarea */
#whats-happening-input {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

#whats-happening-input::-webkit-scrollbar {
    display: none;
    /* WebKit */
}

.message {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-message {
    align-items: flex-start;
}

.user-message .message-content {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    width: 100%;
    font-size: 0.75rem;
    line-height: 1.4;
}

.ai-message {
    align-items: flex-start;
    margin: 0 0.6rem;
}

.ai-message .message-content {
    background: transparent;
    color: #e2e2e2;
    padding: 0.25rem 0;
    border-radius: 0;
    max-width: 100%;
    font-size: 0.75rem;
    line-height: 1.4;
    border: none;
    display: inline;
    gap: 0.2rem;
}

.ai-insert {
    background: #161616;
    padding: 0.3rem;
    border-radius: 12px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.ai-insert-text {
    color: var(--text-secondary);
}

.code-snippet {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.snippet-header {
    background: #1f1f1f;
    padding: 0.5rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.snippet-header i {
    color: var(--success-color);
}

.snippet-content {
    padding: 0.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.65rem;
    color: var(--text-primary);
    line-height: 1.4;
    overflow-x: auto;
}

.chat-input {
    margin: 0.4rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.75rem;
    overflow-x: auto;
}

.input-container {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    padding: 0.3rem 0;
    min-height: 24px;
}

.input-container input {
    color: var(--text-primary);
    font-size: 0.75rem;
    background: transparent;
    border: none;
    width: 100%;
}

.input-container input:focus {
    outline: none;
}

.input-container input::placeholder {
    color: var(--text-tertiary);
}

.input-tools {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.input-tool {
    background: var(--secondary-bg);
    padding: 5px 7px;
    border-radius: 5px;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.75rem;
}

.input-tool:hover {
    background: var(--tertiary-bg);
}


.send-btn {
    background: rgb(131, 131, 131);
    border: none;
    border-radius: 25px;
    min-width: 25px;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    margin-top: 0.6rem;
}

.send-btn:hover {
    background: #ffffff;
}

.send-btn.active {
    background: #ffffff;
}

.send-btn.inactive {
    background: rgb(131, 131, 131);
}

.message-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
    opacity: 0.3;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease-in-out !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgb(255, 255, 255, 0);
}



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

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0px 32px rgb(255, 255, 255, 0.2);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Capabilities List */
.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.capability-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.capability-item:last-child {
    border-bottom: none;
}

.capability-item:hover {
    transform: translateX(8px);
}

.capability-question {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex: 1;
}

.capability-answer {
    font-size: 3rem;
    font-weight: 800;
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* Section Closing */
.section-closing {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.closing-statement {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.closing-statement strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Code Preview Section */
.code-preview {
    padding: 6rem 2rem;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.code-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.code-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.code-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-top: 3rem;
    text-align: left;
}

.code-header {
    background: #1f1f1f;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

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

.code-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #28ca42;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: auto;
}

/* Workflow Container */
.workflow-container {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.workflow-step {
    text-align: left;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem 0.75rem 0 0;
}



.step-info {
    flex: 1;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.step-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.step-direction {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-direction.input {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-direction.output {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Workflow Arrows */
.workflow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    color: white !important;
}

.workflow-arrow i {
    font-size: 1.5rem;
}

.workflow-arrow span {
    font-size: 0.875rem;
    font-style: italic;
}

/* Workflow Code Blocks */
.workflow-step .code-block {
    border-radius: 0 0 0.75rem 0.75rem;
    border-top: none;
    margin-top: 0;
}

/* Signup Section */
.signup {
    padding: 6rem 2rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 75% 25%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.signup-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.signup-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.signup-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 0.5rem;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Discord Banner */
.discord-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.discord-banner i {
    font-size: 1.1rem;
}

.discord-banner:hover {
    transform: translateY(-2px);
}

.success-message {
    background: var(--card-bg);
    border: 1px solid var(--success-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.success-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-icon {
    height: 24px;
    width: auto;
}

.footer-brand {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-text {
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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



/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 1rem);
        top: 0.5rem;
        border-radius: 0.75rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }




    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .nav-icon {
        display: none;
    }

    .workflow-card {
        padding: 1.25rem;
    }

    .signup-title {
        font-size: 2rem;
    }

    .form-group {
        flex-direction: column;
    }

    .submit-button {
        justify-content: center;
    }

}

@media (max-width: 480px) {


    .features {
        padding: 4rem 1rem;
    }

    .code-preview {
        padding: 4rem 1rem;
    }

    .signup {
        padding: 4rem 1rem;
    }



    .section-title {
        font-size: 2rem;
    }

    .code-content {
        font-size: 0.75rem;
    }

    .workflow-container {
        gap: 1.5rem;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }



    .workflow-arrow {
        margin: 0.75rem 0;
    }

    .workflow-card {
        padding: 1rem;
    }

    .workflow-card h3 {
        font-size: 1rem;
    }

    .workflow-card p {
        font-size: 0.8rem;
    }

    .capability-question,
    .capability-answer {
        font-size: 1.2rem;
    }

    .capability-item {
        padding: 1rem 0;
    }

    .site-nav {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .webpage-content {
        padding: 1rem;
    }

    .chat-messages {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .chat-input {
        padding: 0.75rem;
    }

}

/* Responsive zoom levels based on screen width */
.responsive-zoom {
    zoom: 0.9;
}

@media (max-width: 1500px) {
    .browser-mockup {
        transform: scale(0.95);
        width: 90vw;
        min-width: 90vw;
        max-width: 90vw;
    }
}

@media (max-width: 1350px) {
    .browser-mockup {
        transform: scale(0.9);
        width: 93vw;
        min-width: 93vw;
        max-width: 93vw;
    }
}

@media (max-width: 1200px) {
    .browser-mockup {
        transform: scale(0.8);
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
    }
}

@media (max-width: 991px) {


    .browser-mockup {
        transform: scale(0.7);
        width: 120vw;
        min-width: 120vw;
        max-width: 120vw;

    }

    .hero-container {
        max-width: 90vw;
    }
}

@media (max-width: 767px) {


    .browser-mockup {
        transform: scale(0.5);
        width: 180vw;
        min-width: 180vw;
        max-width: 180vw;
    }
}

@media (max-width: 670px) {


    .browser-mockup {
        transform: scale(0.4);
        width: 230vw;
        min-width: 230vw;
        max-width: 230vw;
    }

    .hero-browser {
        max-height: 30vh !important;
    }

    .hero {
        min-height: 80vh !important;
    }

}

@media (max-width: 479px) {

    .browser-mockup {
        transform: scale(0.3);
        width: 280vw;
        min-width: 280vw;
        max-width: 280vw;
        margin-left: -7vw;
        height: 90vh;
    }

    .hero-title {
        padding-top: 10vh !important;
    }

}

/* AI Message Animations - Only when triggered */
.ai-message,
.ai-action-block,
.ai-insert {
    opacity: 0;
    transform: translateY(10px);
}

/* Animation only when chat has animate-ai class */
.chat-messages.animate-ai .ai-message,
.chat-messages.animate-ai .ai-action-block,
.chat-messages.animate-ai .ai-insert {
    animation: slideInMessage 0.5s ease-out forwards;
}

/* Reload button animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.reload-spin {
    animation: spin 0.7s ease-in-out;
}

/* Keep user message hidden initially, show after typing */
.user-message {
    opacity: 0;
    transform: translateY(10px);
    animation: none;
}

.user-message.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Typing cursor animation for input */
.input-container input.input-typing {
    /* Remove border styling */
    border-color: var(--border-color) !important;
    box-shadow: none !important;
}

/* Remove the cursor from the right side */
.input-container.typing-active::after {
    display: none;
}

/* Add cursor after text */
.input-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--text-primary);
    margin-left: 1px;
    vertical-align: middle;
    animation: typing-cursor 1s infinite;
}

.input-container.typing-active {
    position: relative;
}

/* Make input expand to multiple lines */
.chat-input .input-container {
    min-height: 24px;
    height: auto;
    max-height: 80px;
    overflow-y: auto;
}

@keyframes typing-cursor {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}



/* Individual message animation delays - only when animate-ai class is active */
.chat-messages.animate-ai>*:nth-child(2) {
    animation-delay: 0.5s;
}

.chat-messages.animate-ai>*:nth-child(3) {
    animation-delay: 1.5s;
}

.chat-messages.animate-ai>*:nth-child(4) {
    animation-delay: 3s;
}

.chat-messages.animate-ai>*:nth-child(5) {
    animation-delay: 4s;
}

.chat-messages.animate-ai>*:nth-child(6) {
    animation-delay: 4.5s;
}

.chat-messages.animate-ai>*:nth-child(7) {
    animation-delay: 6s;
}

.chat-messages.animate-ai>*:nth-child(8) {
    animation-delay: 7s;
}

.chat-messages.animate-ai>*:nth-child(9) {
    animation-delay: 8s;
}

.chat-messages.animate-ai>*:nth-child(10) {
    animation-delay: 9s;
}

.chat-messages.animate-ai>*:nth-child(11) {
    animation-delay: 10s;
}

/* Completion time animation */
#completion-badge {
    transition: opacity 0.5s ease-in-out;
}

#completion-badge.show {
    opacity: 1 !important;
}

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

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

/* Typing indicator animation for more realistic effect */
.ai-message.typing::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--text-primary);
    margin-left: 2px;
    animation: blink 1s infinite;
}

/* AI typing text styles */
.ai-typing-text {
    position: relative;
    display: inline;
    vertical-align: baseline;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}