
:root {
    --primary-color: #fff564;
    --hover-color: #ffe96b;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --button-text: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-primary: rgb(255, 237, 74);
    --glow-secondary: rgb(255, 234, 138);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 90px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}


.particles {
    display: none;
}


.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 157, 0.1);
}

.toast i {
    color: #2ecc71;
    font-size: 20px;
    animation: checkmarkPop 0.4s ease;
}

@keyframes checkmarkPop {
    0% { transform: scale(0) rotate(-45deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.toast span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 107, 157, 0.05);
    padding: 12px 50px;
}


.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-color), #c44569);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.logo-section:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.4);
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 50%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logo-section:hover .logo-text {
    text-shadow: 0 0 30px rgba(255, 107, 157, 0.5);
}


.nav-center {
    display: flex;
    gap: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 30px;
    color: var(--button-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 253, 108, 0.15), rgba(248, 250, 138, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 30px;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
}

.nav-btn:hover::after {
    animation: shine 0.6s ease-out;
}

@keyframes shine {
    0% { transform: translateX(-200%) skewX(-25deg); opacity: 0; }
    20% { opacity: 0.6; }
    100% { transform: translateX(400%) skewX(-25deg); opacity: 0; }
}

.nav-btn:hover {
    border-color: transparent;
    color: var(--button-text);
    transform: translateY(-2px);
}

.nav-btn:hover::before {
    opacity: 1;
}

.nav-btn:hover::after {
    opacity: 1;
}

.nav-btn.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 0 30px var(--glow-primary), inset 0 0 20px rgba(255, 255, 255, 0.05);
    color: var(--button-text);
}

.nav-btn.active::after {
    opacity: 0;
}

.nav-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.nav-btn:hover i {
    transform: scale(1.1);
}

.nav-icon {
    font-size: 14px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    transition: transform 0.3s ease;
}

.nav-btn:hover .nav-icon {
    transform: scale(1.1);
}


.settings-btn {
    margin-left: auto;
}


.main-content {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}


.main-content::before {
    content: '';
    position: absolute;
    top: 200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}


.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


.search-hero {
    text-align: center;
    padding-top: 60px;
}

.main-title {
    font-size: 90px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffeb77 0%, #ffffff 40%, #fff27d 70%, #fff34e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 10px;
    filter: drop-shadow(0 0 40px var(--glow-primary));
    min-height: 1.2em;
}

.main-title .cursor {
    display: inline-block;
    width: 4px;
    height: 0.8em;
    background: var(--primary-color);
    margin-left: 8px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}


.search-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--button-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.toggle-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
}

.toggle-btn:hover::after {
    animation: shine 0.6s ease-out;
}

.toggle-btn:hover {
    border-color: transparent;
    color: var(--button-text);
}

.toggle-btn:hover::after {
    opacity: 1;
}

.toggle-btn.active {
    border-color: var(--primary-color);
    color: var(--button-text);
}

.toggle-btn.active::after {
    opacity: 0;
}

.toggle-btn.active::before {
    opacity: 1;
}

.toggle-btn i {
    font-size: 14px;
}


.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.search-bar::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-bar:focus-within {
    border-color: transparent;
    box-shadow: 
        0 0 40px var(--glow-primary),
        0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(1.02);
}

.search-bar:focus-within::before {
    opacity: 1;
}

.search-icon {
    color: #ffffff;
    font-size: 18px;
    margin-left: 20px;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    padding: 15px 20px;
    cursor: text;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.search-arrow {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #c44569);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.search-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.search-arrow:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 0 30px var(--glow-primary),
        0 10px 40px rgba(255, 107, 157, 0.4);
}

.search-arrow:hover::before {
    transform: translateX(100%);
}

.search-arrow:active {
    transform: scale(0.95);
}


.advanced-search-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.7), rgba(20, 20, 25, 0.5));
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.advanced-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--hover-color), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.advanced-search-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
}

.advanced-search-container:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px var(--glow-primary),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.advanced-search-container:hover::before {
    opacity: 1;
}

.advanced-search-container:hover::after {
    animation: shine 0.6s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.advanced-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.advanced-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #c44569);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.title-icon i {
    color: #ffffff;
    font-size: 22px;
}

.title-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.title-main {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.title-sub {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
}

.reset-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 25px;
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    border-color: #ff4444;
    color: #ffffff;
    background: rgba(255, 68, 68, 0.2);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
}

.advanced-fields {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.field-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.field-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: none;
}

.field-section:hover {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-label i {
    font-size: 14px;
}

.field-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.field-row:last-child {
    margin-bottom: 0;
}

.field-group {
    flex: 1;
    text-align: left;
}

.field-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 2;
}

.input-wrapper.full {
    width: 100%;
}

.advanced-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.advanced-input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.15);
}

.advanced-input:focus + i,
.input-wrapper:focus-within i {
    color: var(--primary-color);
}

.advanced-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.launch-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    margin-top: 30px;
    background: linear-gradient(135deg, var(--primary-color), #c44569);
    border: none;
    border-radius: 14px;
    color: var(--button-text);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.3);
}

.launch-search-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.launch-search-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(255, 107, 157, 0.5),
        0 0 60px var(--glow-primary);
    background: linear-gradient(135deg, var(--hover-color), #d45377);
}

.launch-search-btn:hover::before {
    transform: translateX(100%);
}

.launch-search-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.launch-search-btn i {
    font-size: 16px;
}


.hidden {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
    transform: translateY(-10px);
}

.transition-container {
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}


.api-hero {
    text-align: center;
    padding-top: 40px;
}

.api-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.api-header i {
    color: var(--primary-color);
    font-size: 32px;
}

.api-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.api-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}


.api-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}


.api-content {
    animation: fadeIn 0.4s ease;
}


.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    width: 350px;
    background: linear-gradient(135deg, rgba(35, 35, 45, 0.7), rgba(20, 20, 25, 0.5));
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--hover-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
}

.pricing-card:hover::after {
    animation: shine 0.6s ease-out;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:hover {
    border-color: transparent;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(255, 253, 108, 0.15),
        0 0 40px var(--glow-secondary);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.plan-desc {
    color: #888888;
    font-size: 14px;
    margin-bottom: 25px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.period {
    color: #ffffff;
    font-size: 14px;
}

.price {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.searches {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.pricing-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}


.docs-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.docs-header i {
    color: var(--primary-color);
    font-size: 28px;
}

.docs-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
}

.docs-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.docs-card {
    max-width: 800px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(35, 35, 45, 0.7), rgba(20, 20, 25, 0.5));
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    text-align: left;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.docs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--hover-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.docs-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
}

.docs-card:hover::before {
    opacity: 1;
}

.docs-card:hover::after {
    animation: shine 0.6s ease-out;
}



.docs-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.docs-card-header i {
    color: var(--primary-color);
    font-size: 20px;
}

.docs-card-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.docs-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.method-block {
    margin-bottom: 20px;
}

.method-label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
}

.code-block {
    background: #111111;
    border-radius: 10px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    overflow-x: auto;
}

.code-block.multiline {
    line-height: 1.8;
}

.code-method {
    color: #f1c40f;
    font-weight: bold;
}

.code-method-pink {
    color: var(--primary-color);
    font-weight: bold;
}

.code-url {
    color: #ffffff;
}

.code-key {
    color: #e67e22;
}

.code-param {
    color: #2ecc71;
}

.code-pink {
    color: var(--primary-color);
}

.code-white {
    color: #ffffff;
}

.code-orange {
    color: #e67e22;
}

.json-block pre {
    color: #2ecc71;
    margin: 0;
    white-space: pre-wrap;
}


.about-hero {
    text-align: center;
    padding-top: 40px;
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.about-header i {
    color: var(--primary-color);
    font-size: 32px;
}

.about-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.about-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 50px;
}


.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    width: 270px;
    background: linear-gradient(135deg, rgba(35, 35, 45, 0.7), rgba(20, 20, 25, 0.5));
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px 35px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--hover-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
}

.stat-card:hover::after {
    animation: shine 0.6s ease-out;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:hover {
    border-color: transparent;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 
        0 20px 50px rgba(255, 253, 108, 0.15),
        0 0 35px var(--glow-secondary);
}

.stat-card i {
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}


.privacy-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(35, 35, 45, 0.7), rgba(20, 20, 25, 0.5));
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 50px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--hover-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
}

.privacy-card:hover::before {
    opacity: 1;
}

.privacy-card:hover::after {
    animation: shine 0.6s ease-out;
}

.privacy-card:hover {
    border-color: transparent;
    transform: scale(1.02) translateY(-3px);
    box-shadow: 
        0 25px 60px rgba(255, 107, 157, 0.25),
        0 0 40px var(--glow-secondary);
}

.privacy-card i {
    color: var(--primary-color);
    font-size: 48px;
    margin-bottom: 20px;
}

.privacy-card h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.privacy-card p {
    color: var(--text-secondary);
    font-size: 14px;
}


.settings-hero {
    text-align: center;
    padding-top: 40px;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.settings-header i {
    color: var(--primary-color);
    font-size: 32px;
}

.settings-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.settings-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}


.settings-card {
    max-width: 800px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(35, 35, 45, 0.7), rgba(20, 20, 25, 0.5));
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.settings-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--hover-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.settings-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-200%) skewX(-25deg);
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
}

.settings-card:hover::before {
    opacity: 1;
}

.settings-card:hover::after {
    animation: shine 0.6s ease-out;
}

.settings-card:hover {
    border-color: transparent;
    transform: scale(1.02) translateY(-3px);
    box-shadow: 
        0 25px 70px rgba(255, 107, 157, 0.25),
        0 0 40px var(--glow-secondary);
}



.settings-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.settings-card-header i {
    color: var(--primary-color);
    font-size: 24px;
}

.settings-card-header h3 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
}

.settings-card-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}


.color-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.color-section.single {
    gap: 0;
}

.color-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.color-label-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.color-title {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.color-desc {
    color: var(--text-secondary);
    font-size: 12px;
}

.color-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
}


.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-picker {
    width: 50px;
    height: 50px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    background: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.color-picker:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.color-code-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 18px;
    color: #ffffff;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 13px;
    min-width: 100px;
    text-align: center;
    letter-spacing: 0.5px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.color-code-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--glow-primary);
}


.reset-colors-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: #ff0000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 30px auto 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
}

.reset-colors-btn:hover {
    border-color: #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.reset-colors-btn:hover i {
    color: #ff4444;
}


.docs-card {
    transition: all 0.4s ease;
}

.docs-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.01) translateY(-2px);
    box-shadow: 
        0 20px 50px rgba(255, 107, 157, 0.2),
        0 0 30px var(--glow-secondary);
}

@keyframes floatDocs {
    0%, 100% { transform: scale(1.01) translateY(-2px); }
    50% { transform: scale(1.01) translateY(-6px); }
}


@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .header {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        padding: 10px 15px;
        justify-content: space-between;
        align-items: center;
    }

    .desktop-only {
        display: none;
    }

    .logo-section {
        order: 1;
        padding: 0;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }

    .nav-center {
        position: static;
        transform: none;
        order: 2;
        width: auto;
        justify-content: center;
        gap: 12px;
        flex: 1;
    }

    .nav-btn {
        padding: 6px;
        font-size: 14px;
        min-width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.15s ease;
    }

    .nav-btn:active {
        transform: scale(0.95);
    }

    .nav-text {
        display: none;
    }

    .settings-btn {
        order: 3;
        margin-left: 0;
        padding: 8px;
        min-width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-title {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .subtitle {
        font-size: 14px;
        padding: 0 20px;
    }

    .search-toggle {
        flex-direction: row;
        gap: 10px;
    }

    .toggle-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .search-bar {
        margin: 0 15px;
        padding: 6px;
    }

    .search-bar input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .search-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .search-icon {
        margin-left: 15px;
        font-size: 16px;
    }

    .advanced-search-container {
        margin: 0 15px;
        padding: 25px;
    }

    .advanced-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .field-row {
        flex-direction: column;
        gap: 15px;
    }

    .field-section {
        padding: 15px;
    }

    .advanced-fields {
        gap: 20px;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        gap: 15px;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .api-toggle {
        flex-direction: row;
        gap: 10px;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }

    .stat-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .settings-card {
        margin: 0 15px 15px;
        padding: 20px;
    }

    .color-section {
        flex-direction: column;
        gap: 15px;
    }

    .privacy-card {
        margin: 0 15px;
        padding: 25px;
    }

    .docs-card {
        margin: 0 15px 15px;
        padding: 20px;
    }

    .color-code-input {
        min-width: 80px;
        padding: 10px 12px;
        font-size: 12px;
    }
}
