@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: #fef3e2;
    --text-color: #3d2817;
    --header-height: 68px;
    --container-width: 1200px;
    --theme-color: #ff6b35;
    --secondary-color: #ff8c42;
    --accent-color: #ffb347;
    --card-bg: #ffffff;
    --border-color: #ff6b3533;
}

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: var(--bg-color);
    border-bottom: 1px solid rgba(61, 40, 23, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.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, #ff6b3510, #ff8c4220);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.3), inset 0 0 20px rgba(255, 140, 66, 0.2);
}

.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(180deg, #ff6b35, #ff8c42);
    border: 3px solid #ff6b35;
    border-radius: 100px;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 900;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.click-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.6);
    background: linear-gradient(180deg, #ff8c42, #ffb347);
}

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

.click-button.active {
    background: linear-gradient(180deg, #ff6b6b, #ff6b6bcc);
    border-color: #ff6b6b;
}

.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: var(--bg-color);
    color: var(--text-color);
    padding: 60px 20px 20px;
}

.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 rgba(61, 40, 23, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--text-color);
    font-family: Inter, sans-serif;
}

/* Mobile Menu Button */
.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;
    }
}
