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

/* Floating baseball animations - RANDOM PATHS VIA JS */
.baseball-animation {
    position: fixed;
    font-size: 40px;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
    animation: floatBaseball 22s infinite linear;
}

.baseball-animation-alt {
    position: fixed;
    font-size: 30px;
    opacity: 0.20;
    z-index: 0;
    pointer-events: none;
    animation: floatBaseballAlt 35s infinite linear;
    animation-delay: -17s;
}

/* Default paths - will be overridden by JavaScript */
@keyframes floatBaseball {
    0% {
        left: -50px;
        top: 50%;
        transform: rotate(0deg);
    }
    50% {
        left: 50%;
        top: 30%;
        transform: rotate(360deg);
    }
    100% {
        left: calc(100% + 50px);
        top: 55%;
        transform: rotate(720deg);
    }
}

@keyframes floatBaseballAlt {
    0% {
        right: -50px;
        top: 25%;
        transform: rotate(0deg);
    }
    100% {
        right: calc(100% + 50px);
        top: 35%;
        transform: rotate(-720deg);
    }
}

/* Make baseballs more visible */
@supports (backdrop-filter: blur(10px)) {
    .baseball-animation {
        opacity: 0.3;
    }
    
    .baseball-animation-alt {
        opacity: 0.25;
    }
}

body {
    background-color: #000000;
    color: #00FF00;
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Grid background pattern - more subtle */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.terminal-container {
    width: 90%;
    max-width: 900px;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.terminal-header {
    margin-bottom: 10px;
}

.terminal-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FFFFFF;
}

.terminal-accent {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FFA500;
    margin-left: 10px;
}

.version {
    font-size: 12px;
    color: #666;
    margin-left: 20px;
    vertical-align: super;
}

.subtagline {
    font-size: 12px;
    color: #00FF00;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Who It's For Section */
.who-its-for {
    margin: 80px 0;
    text-align: center;
    padding: 60px 20px;
    background: #0A0A0A;
    border: 1px solid #222;
    border-radius: 4px;
    animation: fadeIn 1s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.section-title {
    color: #FFA500;
    font-size: 28px;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.player-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 968px) {
    .player-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .player-types {
        grid-template-columns: 1fr;
    }
}

.player-type {
    padding: 30px 20px;
    background: rgba(0, 255, 0, 0.02);
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.player-type:hover {
    background: rgba(0, 255, 0, 0.05);
    border-color: #00FF00;
    transform: translateY(-5px);
}

.type-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 15px;
}

.player-type h3 {
    color: #00FF00;
    font-size: 18px;
    margin-bottom: 10px;
}

.player-type p {
    color: #AAA;
    font-size: 13px;
    line-height: 1.5;
}

.universal-value {
    color: #888;
    font-size: 14px;
    margin-top: 30px;
}

/* AI Power Section */
.ai-power-section {
    margin: 60px 0;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #0A0A0A 0%, #0F0F0F 100%);
    border: 1px solid #333;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.ai-power-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    will-change: transform;
}

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

.ai-title {
    color: #FFA500;
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.ai-subtitle {
    color: #AAA;
    font-size: 16px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.ai-feature {
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
}

.ai-feature:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-feature:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-feature:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-feature:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 165, 0, 0.4);
    transform: translateY(-3px);
}

.ai-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-feature h4 {
    color: #FFA500;
    font-size: 16px;
    margin-bottom: 8px;
}

.ai-feature p {
    color: #888;
    font-size: 12px;
    line-height: 1.4;
}

/* Enhanced tagline */
.tagline {
    font-size: 14px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.search-section {
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.search-container {
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 51, 51, 0.5);
    border-radius: 4px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.05);
}

.search-container:focus-within {
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.1);
}

.prompt-symbol {
    color: #00FF00;
    font-size: 20px;
    margin-right: 15px;
    font-weight: 700;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    caret-color: #00FF00;
}

.terminal-input::placeholder {
    color: #666;
}

.execute-btn {
    background: #00FF00;
    color: #000;
    border: none;
    padding: 8px 20px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.execute-btn:hover {
    background: #FFA500;
    transform: translateX(-2px);
}

.suggestions {
    margin-top: 20px;
    text-align: center;
    opacity: 0.6;
}

.suggestion-item {
    display: inline-block;
    margin: 0 10px;
    padding: 5px 10px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(34, 34, 34, 0.5);
    border-radius: 2px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    border-color: #FFA500;
    color: #FFA500;
}

.response-area {
    margin-top: 40px;
    min-height: 200px;
    margin-bottom: 60px;
}

.response-item {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(34, 34, 34, 0.5);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-out;
}

.query {
    color: #FFA500;
    margin-bottom: 15px;
    font-weight: 700;
}

.response {
    color: #FFFFFF;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Features Section */
.features-section {
    margin: 80px 0;
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.features-title {
    color: #FFA500;
    font-size: 24px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(34, 34, 34, 0.5);
    border-radius: 4px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-item:hover {
    border-color: #00FF00;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #00FF00;
    font-size: 16px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #888;
    font-size: 12px;
    line-height: 1.5;
}

/* Early Access Section */
.early-access-section {
    text-align: center;
    margin: 80px 0;
    padding: 60px 20px;
    background: #0A0A0A;
    border: 1px solid #333;
    border-radius: 4px;
    animation: fadeIn 1s ease-out 0.9s both;
}

.early-access-title {
    color: #FFA500;
    font-size: 28px;
    margin-bottom: 10px;
}

.early-access-subtitle {
    color: #888;
    margin-bottom: 30px;
}

.waitlist-form {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 20px;
}

.email-input {
    background: #000;
    border: 1px solid #333;
    color: white;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    border-radius: 2px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: #00FF00;
}

.join-btn {
    background: #00FF00;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

.beta-perks {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.perk-item {
    color: #00FF00;
    font-size: 13px;
    opacity: 0.8;
}

.spots-left {
    color: #FFA500;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
}

.launch-info {
    color: #666;
    font-size: 12px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.footer-text {
    color: #666;
    font-size: 12px;
}

.footer-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFA500;
}

/* Killer Features Section */
.killer-features {
    margin: 80px 0;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0A0A0A 0%, #0F0F0F 100%);
    border: 1px solid #222;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.killer-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFA500, transparent);
    animation: scan 3s linear infinite;
    opacity: 0.8;
}

/* Add similar scanning line to AI section */
.ai-power-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FF00, transparent);
    animation: scan 3s linear infinite;
    animation-delay: 1.5s;
    z-index: 2;
    opacity: 0.8;
}

/* Add scanning line to features section */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFA500, transparent);
    animation: scan 3s linear infinite;
    animation-delay: 0.75s;
    z-index: 2;
    opacity: 0.8;
}

/* Add scanning line to who-its-for section */
.who-its-for::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FF00, transparent);
    animation: scan 3s linear infinite;
    animation-delay: 2.25s;
    z-index: 2;
    opacity: 0.8;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes scanVertical {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.killer-title {
    text-align: center;
    color: #FFA500;
    font-size: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.killer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 968px) {
    .killer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .killer-grid {
        grid-template-columns: 1fr;
    }
}

.killer-item {
    padding: 20px;
    background: rgba(0, 255, 0, 0.02);
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.killer-item:hover {
    background: rgba(0, 255, 0, 0.05);
    border-color: #00FF00;
    transform: translateY(-2px);
}

.killer-item h3 {
    color: #00FF00;
    margin-bottom: 10px;
    font-size: 18px;
}

.killer-item .highlight {
    background: linear-gradient(90deg, #00FF00, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.killer-item p {
    color: #AAA;
    line-height: 1.6;
    font-size: 13px;
}

/* Stat highlighting */
.stat-good {
    color: #00FF00;
}

.stat-bad {
    color: #FF0000;
}

.stat-neutral {
    color: #FFA500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    color: #00FF00;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Success message */
.success-message {
    color: #00FF00;
    padding: 15px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00FF00;
    border-radius: 4px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    /* More visible baseball on mobile */
    .baseball-animation {
        font-size: 30px;
        animation-duration: 30s;
        opacity: 0.2;
    }
    
    .baseball-animation-alt {
        display: none; /* Hide second baseball on mobile */
    }
    
    /* Even subtler grid on mobile */
    body::before {
        background-image: 
            linear-gradient(rgba(0, 255, 0, 0.01) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 0, 0.01) 1px, transparent 1px);
        background-size: 30px 30px;
    }
    
    /* Keep scanning lines on mobile but optimize */
    .ai-power-section::after,
    .features-section::before,
    .who-its-for::after,
    .killer-features::before {
        animation-duration: 5s;
        height: 1.5px;
        opacity: 0.6;
    }
    
    /* Hide vertical line on mobile */
    .terminal-container::before {
        display: none;
    }
    
    .terminal-container {
        padding: 10px;
        width: 100%;
    }
    
    .terminal-title, .terminal-accent {
        font-size: 28px;
    }
    
    .version {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .tagline {
        font-size: 12px;
    }
    
    .subtagline {
        font-size: 11px;
    }
    
    .search-container {
        padding: 12px 15px;
    }
    
    .prompt-symbol {
        font-size: 18px;
        margin-right: 10px;
    }
    
    .terminal-input {
        font-size: 14px;
    }
    
    .execute-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .suggestions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }
    
    .suggestion-item {
        display: inline-block;
        margin: 0;
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ai-features {
        grid-template-columns: 1fr;
    }
    
    .ai-power-section {
        margin: 40px 0;
        padding: 30px 15px;
    }
    
    /* Mobile-optimized animation */
    .ai-power-section::before {
        animation: mobileGlow 4s ease-in-out infinite;
        background: radial-gradient(circle at center, rgba(255, 165, 0, 0.15) 0%, transparent 50%);
        width: 150%;
        height: 150%;
        top: -25%;
        left: -25%;
    }
    
    @keyframes mobileGlow {
        0%, 100% { 
            opacity: 0.3;
            transform: scale(0.8);
        }
        50% { 
            opacity: 0.6;
            transform: scale(1.2);
        }
    }
    
    .ai-title {
        font-size: 24px;
    }
    
    .ai-subtitle {
        font-size: 14px;
    }
    
    .ai-feature {
        animation: mobileFadeIn 0.6s ease-out backwards;
    }
    
    @keyframes mobileFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .ai-icon {
        animation: mobilePulse 3s ease-in-out infinite;
    }
    
    @keyframes mobilePulse {
        0%, 100% { 
            transform: scale(1);
            opacity: 0.8;
        }
        50% { 
            transform: scale(1.05);
            opacity: 1;
        }
    }
    
    .killer-grid {
        grid-template-columns: 1fr;
    }
    
    .waitlist-form {
        flex-direction: column;
        width: 100%;
    }
    
    .email-input {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .join-btn {
        width: 100%;
    }
    
    .response-item {
        padding: 15px;
        font-size: 14px;
    }
    
    .response {
        font-size: 13px;
        line-height: 1.5;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Adjust animations for mobile */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Simplify complex animations on mobile */
    .ai-power-section::before {
        animation: mobileGlow 4s ease-in-out infinite;
    }
    
    .killer-features::before {
        animation: scan 5s linear infinite;
    }
    
    /* Fix feature sections on mobile */
    .feature-item {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
    
    .feature-item h3 {
        font-size: 14px;
    }
    
    .feature-item p {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .killer-title {
        font-size: 22px;
    }
    
    .killer-item h3 {
        font-size: 16px;
    }
    
    .killer-item p {
        font-size: 12px;
    }
    
    /* Beta perks on mobile */
    .beta-perks {
        gap: 15px;
    }
    
    .perk-item {
        font-size: 11px;
    }
    
    /* Ensure proper spacing */
    .header {
        margin-bottom: 40px;
    }
    
    .search-section {
        margin-bottom: 30px;
    }
    
    .response-area {
        margin-bottom: 40px;
        min-height: 150px;
    }
    
    .who-its-for {
        margin: 40px 0;
        padding: 40px 15px;
    }
    
    .features-section {
        margin: 40px 0;
    }
    
    .killer-features {
        margin: 40px 0;
        padding: 40px 15px;
    }
    
    .early-access-section {
        margin: 40px 0;
        padding: 40px 15px;
    }
    
    /* Fix grid background on mobile */
    body::before {
        background-size: 30px 30px;
    }
    
    /* Ensure text doesn't get cut off */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Fix player types grid */
    .player-types {
        gap: 20px;
    }
    
    .player-type {
        padding: 25px 15px;
    }
    
    .type-icon {
        font-size: 32px;
    }
    
    .player-type h3 {
        font-size: 16px;
    }
    
    .player-type p {
        font-size: 12px;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .terminal-title, .terminal-accent {
        font-size: 24px;
    }
    
    .execute-btn {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .suggestion-item {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Border line base styles */
.border-line-top,
.border-line-right,
.border-line-bottom,
.border-line-left {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00FF00, transparent);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

/* Top borders - alternating left/right */
.border-line-top {
    width: 100%;
    height: 2px;
    top: 0;
    left: -100%;
    animation: slideRight 12s infinite; /* Slower: was 5s */
}

.features-section .border-line-top,
.killer-features .border-line-top {
    left: auto;
    right: -100%;
    animation: slideLeft 13s infinite; /* Slower: was 5.5s */
}

/* Right borders - alternating down/up */
.border-line-right {
    width: 2px;
    height: 100%;
    right: 0;
    top: -100%;
    background: linear-gradient(180deg, transparent, #FFA500, transparent);
    animation: slideDown 14s infinite; /* Slower: was 6s */
}

.features-section .border-line-right,
.killer-features .border-line-right {
    top: auto;
    bottom: -100%;
    animation: slideUp 13s infinite; /* Slower: was 5.5s */
}

/* Bottom borders - alternating right/left */
.border-line-bottom {
    width: 100%;
    height: 2px;
    bottom: 0;
    right: -100%;
    background: linear-gradient(90deg, transparent, #FFA500, transparent);
    animation: slideLeft 13s infinite; /* Slower: was 5.5s */
}

.who-its-for .border-line-bottom,
.killer-features .border-line-bottom {
    right: auto;
    left: -100%;
    animation: slideRight 14s infinite; /* Slower: was 6s */
}

/* Left borders - alternating up/down */
.border-line-left {
    width: 2px;
    height: 100%;
    left: 0;
    bottom: -100%;
    background: linear-gradient(180deg, transparent, #00FF00, transparent);
    animation: slideUp 15s infinite; /* Slower: was 6.5s */
}

.who-its-for .border-line-left,
.features-section .border-line-left {
    bottom: auto;
    top: -100%;
    animation: slideDown 12s infinite; /* Slower: was 5s */
}

/* Different delays for each section */
.ai-power-section .border-line-top { animation-delay: 0s; }
.ai-power-section .border-line-right { animation-delay: 2s; }
.ai-power-section .border-line-bottom { animation-delay: 4s; }
.ai-power-section .border-line-left { animation-delay: 6s; }

.features-section .border-line-top { animation-delay: 1s; }
.features-section .border-line-right { animation-delay: 3s; }
.features-section .border-line-bottom { animation-delay: 5s; }
.features-section .border-line-left { animation-delay: 7s; }

.who-its-for .border-line-top { animation-delay: 2s; }
.who-its-for .border-line-right { animation-delay: 4s; }
.who-its-for .border-line-bottom { animation-delay: 6s; }
.who-its-for .border-line-left { animation-delay: 8s; }

.killer-features .border-line-top { animation-delay: 3s; }
.killer-features .border-line-right { animation-delay: 5s; }
.killer-features .border-line-bottom { animation-delay: 7s; }
.killer-features .border-line-left { animation-delay: 9s; }

/* Animations */
@keyframes slideRight {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes slideLeft {
    0% {
        right: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        right: 100%;
        opacity: 0;
    }
}

@keyframes slideDown {
    0% {
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes slideUp {
    0% {
        bottom: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* Mobile - optimize border animations */
@media (max-width: 768px) {
    .border-line-top,
    .border-line-right,
    .border-line-bottom,
    .border-line-left {
        opacity: 0.6; /* Slightly dimmer on mobile */
    }
    
    /* Slower animations on mobile for performance */
    .border-line-top {
        animation-duration: 16s; /* Even slower on mobile */
    }
    
    .border-line-right {
        animation-duration: 18s;
    }
    
    .border-line-bottom {
        animation-duration: 17s;
    }
    
    .border-line-left {
        animation-duration: 19s;
    }
    
    /* Hide vertical lines on very small screens */
    @media (max-width: 480px) {
        .border-line-right,
        .border-line-left {
            display: none; /* Only hide vertical lines on very small phones */
        }
    }
}

/* Ensure parent sections are positioned correctly for border lines */
.ai-power-section,
.features-section,
.who-its-for,
.killer-features {
    position: relative;
    overflow: hidden;
}

/* If the features grid is causing issues, add this */
.features-grid {
    position: relative;
    z-index: 1;
}

/* FINAL FIX - Force search section to be visible */
.search-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    margin-bottom: 40px !important;
    animation: none !important; /* Disable animation temporarily */
}

.search-container {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(10, 10, 10, 0.8) !important;
    border: 1px solid rgba(51, 51, 51, 0.5) !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
}

.suggestions {
    display: block !important;
    visibility: visible !important;
    opacity: 0.6 !important;
}

/* Re-enable animation after 1 second */
@keyframes delayedSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-section {
    animation: delayedSlideUp 0.8s ease-out 0.3s both !important;
}

/* Typing animation cursor */
.typing-cursor {
    color: #00FF00;
    animation: blink 1s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typing-response {
    min-height: 20px;
}