/* Global Styles */
:root {
    --primary: #6c5ce7;
    --secondary: #00cec9;
    --accent: #ff7675;
    --background: #18181c;
    --text: #f5f6fa;
    --light-text: #666;
    --border-color: #eee;
    --white: #fff;
    --gradient: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    --chat-bg: #f5f5f5;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Add animated background glow */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(64, 93, 230, 0.2) 0%,
        rgba(88, 81, 219, 0.2) 25%,
        rgba(131, 58, 180, 0.2) 50%,
        rgba(193, 53, 132, 0.2) 75%,
        rgba(225, 48, 108, 0.2) 100%
    );
    animation: glowingBackground 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowingBackground {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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

/* Full width container for header */
.modern-dark-header .container {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 9999;
}

/* Modern Nav Styles */
.modern-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    position: relative;
    z-index: 9999;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

/* Sign Up Button */
.sign-up-btn {
    background: linear-gradient(135deg, #ff7aff, #b983ff);
    border-radius: 4px;
    padding: 8px 15px !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(185, 131, 255, 0.4);
    transition: all 0.3s ease;
}

.sign-up-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 131, 255, 0.6);
}

/* Header Styles */
header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

/* Remove the previously added style overrides */
header, .modern-header, .modern-dark-header, .logo {
    display: block;
}

.modern-header, .modern-dark-header {
    box-shadow: none;
    background: transparent !important;
    width: 100% !important;
    z-index: 9999 !important;
    position: relative;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.1));
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.animated-tools-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 206, 201, 0.7);
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(245, 246, 250, 0.8);
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

/* Tools Section */
.tools {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

#why-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.2);
    text-decoration: none;
    color: var(--text);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
    border-color: var(--primary);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tool-icon i {
    font-size: 32px;
    color: var(--text);
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.tool-card p {
    color: rgba(245, 246, 250, 0.8);
    margin-bottom: 20px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.05));
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 24px;
    color: var(--text);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.step p {
    color: rgba(245, 246, 250, 0.8);
}

/* Footer */
footer {
    background: rgba(24, 24, 28, 0.95);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(245, 246, 250, 0.8);
}

.footer-links h3,
.footer-disclaimer h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(245, 246, 250, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

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

.footer-disclaimer p {
    color: rgba(245, 246, 250, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .animated-tools-title {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .tools-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    }

/* Dynamic Background */
#dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification i {
    color: #4CAF50;
    font-size: 20px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Chat Widget Styles */
.chat-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.chat-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: var(--gradient);
    z-index: -1;
    border-radius: 20px;
    opacity: 0.3;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.chat-widget.active {
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--gradient);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.close-chat {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
}

.chat-messages {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    background: var(--chat-bg);
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
    font-size: 14px;
}

.message.bot {
    background: var(--white);
    border-top-left-radius: 5px;
    margin-right: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message.user {
    background: var(--gradient);
    color: var(--white);
    border-top-right-radius: 5px;
    margin-left: auto;
}

.chat-input {
    padding: 15px;
    background: var(--white);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.chat-input button {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.chat-input button:hover {
    opacity: 0.9;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    header {
        position: fixed;
        width: 100%;
    }

    .hero {
        padding-top: 150px;
    }

    .chat-widget {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .chat-messages {
        height: calc(100vh - 130px);
    }

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

    .tool-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

.hero.ai-hero {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}
.ai-hero-content {
    padding-bottom: 0 !important;
}
.ai-search-bar {
    margin-bottom: 8px !important;
}
.neon-tools-frame {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.tools-grid.modern-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: 200px;
    transition: all 0.3s ease;
}

#no-results-message {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty state styles */
.tools-grid.empty-grid {
    min-height: 300px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* No results message styling */
.no-results-animation {
    text-align: center;
    padding: 40px 20px;
    color: #fff;
    width: 100%;
    animation: fadeInUp 0.4s ease-out;
}

.no-results-animation .search-icon {
    font-size: 48px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.no-results-animation p {
    font-size: 18px;
    margin: 10px 0;
    opacity: 0.9;
}

.no-results-animation .suggestion {
    font-size: 16px;
    opacity: 0.7;
    margin-top: 8px;
}

/* Search bar enhancements */
.ai-search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto 32px auto;
    transition: all 0.3s ease;
}

.ai-search-bar input {
    width: 100%;
    padding: 15px 20px 15px 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.ai-search-bar .ai-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-search-bar input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    padding-left: 50px !important;
}

.ai-search-bar input:focus + .ai-icon {
    color: #fff;
}

.ai-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4);
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-search-btn:hover {
    background: linear-gradient(45deg, #833ab4, #5851db, #405de6);
    transform: translateY(-50%) scale(1.02);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .tools-grid.modern-cards {
        gap: 16px;
    }
    
    .tool-card {
        margin: 0;
        width: 100%;
    }
    
    .ai-search-bar {
        margin: 0 16px 24px 16px;
    }
}

/* Search Results Container with Glowing Effect */
.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 1000;
    margin-top: 10px;
}

.search-results-container.active {
    max-height: 80vh;
    overflow-y: auto;
}

.search-results-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.search-results-wrapper.search-results-animate {
    opacity: 1;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.1);
}

.result-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-right: 15px;
    font-size: 1.2em;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 1.1em;
    margin: 0 0 5px 0;
    color: #fff;
}

.result-description {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.result-action {
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.search-result-item:hover .result-action {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

/* No Results Styling */
.no-results-container {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.no-results-container.search-results-animate {
    opacity: 1;
    transform: translateY(0);
}

.no-results-icon {
    font-size: 3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 1.5em;
    color: #fff;
    margin: 0 0 10px 0;
}

.no-results-message {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.suggested-terms-container {
    margin-top: 20px;
}

.suggested-terms-container h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.suggested-terms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.suggested-term {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggested-term:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.1);
}

.suggested-term i {
    font-size: 0.9em;
    opacity: 0.7;
}

/* Glass Effect Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.glass-effect-light {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .search-results-container {
        margin-top: 5px;
    }

    .search-results-wrapper,
    .no-results-container {
        border-radius: 10px;
        padding: 10px;
    }

    .search-result-item {
        padding: 10px;
        margin: 5px 0;
    }

    .result-icon {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }

    .result-title {
        font-size: 1em;
    }

    .result-description {
        font-size: 0.8em;
    }

    .suggested-term {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

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

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
}

/* Apply animations */
.search-results-animate {
    animation: fadeInUp 0.3s ease-out forwards;
}

.search-result-item:hover {
    animation: glowPulse 1.5s infinite;
}

/* No Results Animation Styles */
.search-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    animation: searchBounce 2s infinite;
}

.search-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.search-pulse.delay-1 {
    animation-delay: 0.4s;
}

.search-pulse.delay-2 {
    animation-delay: 0.8s;
}

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

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Typing Animation */
.typing-text {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgba(255, 255, 255, 0.7) }
}

/* Text Animations */
.highlight-text {
    color: #64B5F6;
    animation: glow 2s ease-in-out infinite;
}

.fade-in-text {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0.5s;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.8s;
}

/* Bounce Animation for Suggested Terms */
.bounce-in {
    opacity: 0;
    transform: scale(0.3);
}

.bounce-in-active {
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
    80% {
        opacity: 1;
        transform: scale(0.89);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Helper Text Styles */
.helper-text {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.helper-text i {
    color: #FFD700;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: brightness(100%);
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% {
        filter: brightness(150%);
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }
}

/* Enhanced No Results Container */
.no-results-container {
    padding: 40px 20px;
}

.no-results-text {
    text-align: center;
    margin: 20px 0;
}

.no-results-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #fff;
}

.no-results-message {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .search-animation {
        width: 60px;
        height: 60px;
    }

    .search-icon {
        font-size: 2em;
    }

    .no-results-container {
        padding: 30px 15px;
    }

    .no-results-title {
        font-size: 1.5em;
    }

    .no-results-message {
        font-size: 1em;
    }

    .helper-text {
        font-size: 0.8em;
    }
}

/* Remove all navigation related styles */
.modern-nav, .modern-menu, .menu, .mobile-menu-btn, nav {
    display: none !important;
}

/* Remove search-related styles */
.ai-search-bar,
.search-results-container,
.search-results-wrapper,
.search-result-item,
.no-results-container,
.ai-icon,
.ai-search-btn {
    display: none !important;
}

#dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Enhanced title animations */
.animated-tools-title {
    text-shadow: 0 0 10px rgba(255,255,255,0.5),
                 0 0 20px rgba(255,255,255,0.3),
                 0 0 30px rgba(255,255,255,0.2);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255,255,255,0.5),
                     0 0 20px rgba(255,255,255,0.3),
                     0 0 30px rgba(255,255,255,0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(255,255,255,0.7),
                     0 0 30px rgba(255,255,255,0.5),
                     0 0 40px rgba(255,255,255,0.3);
    }
}

/* Update Why Choose section title */
#why-heading {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, 
        rgba(127, 83, 172, 0.18) 0%,
        rgba(96, 63, 132, 0.15) 50%,
        rgba(74, 47, 102, 0.18) 100%
    );
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: titleColorChange 8s ease-in-out infinite;
    position: relative;
}

#why-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 50%
    );
    animation: gradientPulse 4s ease-in-out infinite;
}

@keyframes titleColorChange {
    0% { color: #e0e0ff; }
    25% { color: #ffe0ff; }
    50% { color: #e0ffff; }
    75% { color: #fff0e0; }
    100% { color: #e0e0ff; }
}

@keyframes gradientPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .animated-tools-title,
    #why-heading {
        font-size: 2rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .animated-tools-title,
    #why-heading {
        font-size: 1.7rem;
        padding: 12px;
    }
}

/* Floating animation for cards */
.tools-grid .tool-card {
    animation: floatingCard 6s ease-in-out infinite;
    animation-delay: calc(var(--card-index) * 0.2s);
}

@keyframes floatingCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced background particles */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Smooth hover transitions for all interactive elements */
.tool-icon, button, a {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --text-color: #ffffff;
        --light-text: #f0f0f0;
    }

    .tool-card {
        background: rgba(255,255,255,0.1);
        border: 2px solid rgba(255,255,255,0.2);
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #151626, #1f2238, #181925);
    }

    .tool-card {
        background: rgba(255,255,255,0.03);
    }
}

.xoxo-game-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.xoxo-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.4);
}

.xoxo-game-card .tool-icon {
    background: linear-gradient(90deg, #00f0ff, #b983ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.xoxo-game-card .tool-info {
    padding: 1.5rem;
}

.xoxo-game-card h3 {
    color: #00f0ff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.xoxo-game-card .tool-description {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.xoxo-game-card .tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.xoxo-game-card .feature-tag {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    color: #00f0ff;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.xoxo-game-card .tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00f0ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.xoxo-game-card .tool-link:hover {
    color: #ff00cc;
    text-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
}

.xoxo-game-card .tool-link i {
    transition: transform 0.3s ease;
}

.xoxo-game-card .tool-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .xoxo-game-card .tool-features {
        justify-content: center;
    }
    
    .xoxo-game-card .tool-description {
        text-align: center;
    }
    
    .xoxo-game-card .tool-link {
        justify-content: center;
    }
}

.tool-gradient6 {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    position: relative;
    overflow: hidden;
}

.tool-gradient6 .tool-card-glow-bg {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
}

.tool-gradient6:hover {
    background: linear-gradient(135deg, #4ECDC4, #FF6B6B);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.tool-gradient6 .tool-icon {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tool-gradient6 .tool-icon i {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.tool-gradient6 .tool-title {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.tool-gradient6 .tool-desc {
    color: rgba(255, 255, 255, 0.9);
}

.tool-gradient6 .see-plans-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.tool-gradient6 .see-plans-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.features {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.features .container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
}
.feature {
    width: 100%;
    max-width: 340px;
    min-width: 220px;
    text-align: center;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature {
        max-width: 100%;
    }
}

@media (min-width: 700px) {
  .neon-why-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.tool-gradient-call {
    background: linear-gradient(135deg, #ffb347 0%, #ff416c 80%, #1fa2ff 100%);
    box-shadow: 0 4px 32px 0 rgba(255, 180, 71, 0.18), 0 2px 8px 0 rgba(31,162,255,0.13);
    border: 2.5px solid #ff416c;
    position: relative;
    overflow: hidden;
}
.tool-gradient-call .tool-card-glow-bg {
    background: linear-gradient(45deg, rgba(255, 180, 71, 0.18) 0%, rgba(31, 162, 255, 0.12) 100%);
}
.tool-gradient-call:hover {
    background: linear-gradient(135deg, #1fa2ff 0%, #ff416c 80%, #ffb347 100%);
    box-shadow: 0 10px 30px rgba(255, 65, 108, 0.35);
}
.tool-gradient-call .tool-icon {
    background: linear-gradient(135deg, #ffb347, #ff416c);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.tool-gradient-call .tool-icon i {
    color: #fffbe7;
    text-shadow: 0 0 18px rgba(255, 180, 71, 0.7);
}
.tool-gradient-call .tool-title {
    color: #fffbe7;
    text-shadow: 0 0 18px rgba(255, 180, 71, 0.5);
}
.tool-gradient-call .tool-desc {
    color: rgba(255, 255, 255, 0.97);
}
.tool-gradient-call .see-plans-btn {
    background: rgba(255, 180, 71, 0.22);
    color: #fffbe7;
    border: 1.5px solid rgba(255, 180, 71, 0.4);
    box-shadow: 0 0 15px rgba(255, 180, 71, 0.18);
}
.tool-gradient-call .see-plans-btn:hover {
    background: rgba(255, 65, 108, 0.22);
    border-color: rgba(255, 65, 108, 0.4);
    box-shadow: 0 0 20px rgba(255, 65, 108, 0.22);
}

@media (max-width: 600px) {
    #why-heading {
        font-size: 1.2rem;
        padding: 8px 4px;
        margin-bottom: 24px;
        border-radius: 12px;
        width: 100%;
        left: 0;
        transform: none;
        box-sizing: border-box;
        word-break: break-word;
    }
}
