@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

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

:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --header-height: 80px;
    --container-width: 1200px;
    --theme-color: #6366f1;
    --secondary-color: #4f46e5;
    --accent-color: #a855f7;
    --card-bg: #1e293b;
    --border-color: #6366f133;
}

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

body #__nuxt {
    height: 100dvh;
    min-width: 360px;
    width: 100vw;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.navbar {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav-logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--theme-color);
    text-decoration: none;
    font-family: Inter, sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-family: Inter, sans-serif;
    transition: color 0.3s ease;
}

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

/* Test Container - OTHER AI STYLE */
.test-container {
    width: 100%;
    padding: 60px 20px;
}

.test-area {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.2), inset 0 0 20px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.test-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.test-area h1 {
    color: var(--theme-color);
    font-family: Inter, sans-serif;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
}

.test-area p {
    color: var(--text-color);
    font-family: Inter, sans-serif;
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.click-button {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: 2px solid var(--theme-color);
    border-radius: 12px;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.click-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.click-button:hover::before {
    left: 100%;
}

.click-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.click-button:active {
    transform: translateY(0);
}

.click-button.active {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border-color: #a855f7;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.timer-display {
    font-size: 48px;
    font-weight: 900;
    color: var(--theme-color);
    font-family: Inter, sans-serif;
    margin: 20px 0;
}

.result-display {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    font-family: Inter, sans-serif;
    margin: 20px 0;
    min-height: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card h4 {
    color: var(--text-color);
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-card .value {
    font-size: 28px;
    font-weight: 900;
    color: var(--theme-color);
    font-family: Inter, sans-serif;
}

/* Tool Items - OTHER AI STYLE */
.more-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tool-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: linear-gradient(135deg, #ff6b3515, #ff8c4225);
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.tool-item h4 {
    color: var(--theme-color);
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tool-item p {
    color: var(--text-color);
    font-family: Inter, sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.tool-item a {
    color: var(--theme-color);
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tool-item a:hover {
    color: var(--text-color);
}

/* Content Sections */
.content-section {
    padding: 60px 20px;
    width: 100%;
}

.content-section .container {
    margin: 0 auto;
    max-width: var(--container-width);
}

.content-section h2 {
    color: var(--theme-color);
    font-family: Inter, sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1em;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.content-section h3 {
    color: var(--theme-color);
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.content-section p {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.content-section strong {
    font-weight: 700;
}

/* Result Section */
.result-section {
    background: linear-gradient(180deg, #ff6b3520, #2d1810 30%, #2d1810);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    margin: 30px 0;
}

/* Table Styles */
.tier-chart {
    margin: 30px 0;
    overflow-x: auto;
}

.tier-chart table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.tier-chart th,
.tier-chart td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-family: Inter, sans-serif;
}

.tier-chart th {
    background: linear-gradient(135deg, #ff6b3515, #ff8c4225);
    color: var(--text-color);
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
}

.tier-chart tr:hover {
    background: linear-gradient(135deg, #ff6b3510, #ff8c4220);
}

.tier-chart tr:hover td {
    color: var(--text-color);
}

.tier-chart tr:hover td.cps-value,
.tier-chart tr:hover td.clicks-value {
    color: var(--theme-color);
    font-size: 16px;
    font-weight: 900;
    line-height: 1em;
}

.tier-chart tr:hover td.level-value {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--theme-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: rgba(255, 107, 53, 0.2);
    color: var(--theme-color);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: linear-gradient(135deg, #ff6b3515, #ff8c4225);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ff6b35, #ff8c42);
    border: 2px solid #ff6b35;
    border-radius: 100px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    color: var(--theme-color);
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.info-content p {
    color: var(--text-color);
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* More Tools Section */
.more-tools {
    padding: 60px 20px;
    width: 100%;
}

.more-tools .container {
    margin: 0 auto;
    max-width: var(--container-width);
}

.more-tools h2 {
    color: var(--theme-color);
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1em;
    margin-bottom: 40px;
    text-align: center;
}

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

.tool-card {
    align-items: center;
    backdrop-filter: blur(6px);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    display: flex;
    flex-shrink: 0;
    gap: 24px;
    height: 72px;
    padding: 12px 36px 12px 12px;
    transition: all 0.3s ease;
    width: 344px;
    text-decoration: none;
    color: var(--text-color);
}

.tool-card:hover {
    background: linear-gradient(135deg, #ff6b3515, #ff8c4225);
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.tool-card:hover .tool-card-title {
    color: var(--theme-color);
}

.tool-card:hover .tool-card-arrow {
    transform: translate(4px);
}

.tool-card .icon-box {
    align-items: center;
    background: linear-gradient(180deg, #ff6b35, #ff8c42);
    border: 2px solid #ff6b35;
    border-radius: 100px;
    display: flex;
    flex-shrink: 0;
    height: 48px;
    justify-content: center;
    width: 48px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.tool-card .icon-box svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.tool-card .content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.tool-card .tool-card-title {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.tool-card .tool-card-description {
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.9;
}

.tool-card .tool-card-arrow {
    transition: transform 0.3s ease;
    color: var(--text-color);
    opacity: 0.9;
    font-size: 18px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--text-color);
    padding: 60px 20px 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

.footer-section h4 {
    margin-bottom: 15px;
    color: #f1f5f9;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: Inter, sans-serif;
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--theme-color);
}

.footer-bottom {
    border-top: 1px solid var(--theme-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-color);
    font-family: Inter, sans-serif;
    background: rgba(15, 23, 42, 0.5);
    margin: 30px -20px -20px;
    padding: 20px;
}

/* Animations */
@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-30px); }
    70% { transform: translateY(-15px); }
}

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

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.delay-500 {
    animation-delay: 500ms;
}

.delay-1000 {
    animation-delay: 1000ms;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #6366f1, #a855f7, #6366f1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .test-bench .test-area {
        align-items: center;
        flex-direction: column;
    }
    
    .test-bench .duration-column,
    .test-bench .stats-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .test-bench .click-area,
    .test-bench .result-wrapper {
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        gap: 15px;
        min-width: 200px;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        min-width: auto;
    }
    
    .nav-menu.active .nav-dropdown .dropdown-menu {
        display: block;
    }
    
    .test-bench {
        padding: 40px 20px;
    }
    
    .test-bench .title-section {
        margin-bottom: 40px;
    }
    
    .test-bench .title-section .main-title {
        font-size: 28px;
        line-height: 36px;
        white-space: normal;
    }
    
    .test-bench .title-section .subtitle {
        font-size: 12px;
    }
    
    .test-bench .duration-btn,
    .test-bench .stat-box {
        width: 160px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .test-bench {
        padding: 32px 16px;
    }
    
    .test-bench .title-section .main-title {
        font-size: 24px;
    }
    
    .test-bench .click-area {
        padding: 20px;
        border-radius: 12px;
    }
    
    .test-bench .click-area .click-text .click-action {
        font-size: 24px;
    }
    
    .footer {
        padding: 40px 15px;
    }
}

/* Duration Button Styles */
.duration-btn {
    transition: all 0.3s ease;
}

.duration-btn:hover {
    transform: translateY(-2px);
}

.duration-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
    color: white !important;
    border-color: #6366f1 !important;
}

/* Click Area Animation */
#click-area:active {
    transform: scale(0.98);
}
