/* style.css - UWS Search Landing Page */

:root {
    --bg-main: #0f111a;
    --bg-card: #161822;
    --bg-code: #0f111a;
    --border-color: #1f2233;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --color-primary: #bae6fd;
    --color-primary-hover: #e0f2fe;
    --color-btn-text: #0f172a;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: opacity 0.2s;
}

.btn-link:hover {
    opacity: 0.8;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-btn-text);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
}

.w-full {
    width: 100%;
}

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-content { background: var(--bg-card); padding: 32px; border-radius: 12px; width: 100%; max-width: 400px; border: 1px solid var(--border-color); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.modal-content h2 { margin-bottom: 24px; font-size: 24px; }
.modal-content .form-control { width: 100%; background: var(--bg-code); border: 1px solid var(--border-color); color: var(--text-primary); padding: 12px 14px; border-radius: 8px; font-size: 14px; outline: none; box-sizing: border-box; }
.modal-content .form-control:focus { border-color: var(--color-primary); }

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

.visual-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.visual-left {
    flex: 0.8;
    min-width: 0;
}

.visual-right {
    flex: 1.3;
    min-width: 0;
}

.visual-arrow {
    color: var(--text-secondary);
}

.visual-arrow svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.mock-browser {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mock-dots {
    display: flex;
    gap: 6px;
    margin-bottom: -10px;
}

.mock-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mock-search-bar {
    background: var(--bg-card);
    height: 36px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

.mock-search-bar span {
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
}
.mock-search-bar span:nth-child(1) { width: 40px; }
.mock-search-bar span:nth-child(2) { width: 30px; }
.mock-search-bar span:nth-child(3) { width: 35px; }
.mock-search-bar span:nth-child(4) { width: 25px; }

.mock-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-link {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-card);
}

.mock-title {
    width: 60%;
    height: 12px;
    background: var(--color-primary);
    border-radius: 6px;
    opacity: 0.8;
}

.mock-desc {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.code-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.tabs {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.tab {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--color-primary);
}

.code-search-bar {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.code-search-bar input {
    flex: 1;
    background: var(--bg-code);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

.code-search-bar select {
    background: var(--bg-code);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 8px;
    outline: none;
    appearance: none;
}

.code-search-bar button {
    padding: 8px 16px;
}

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: auto;
    overflow-y: auto;
    min-height: 450px;
    max-height: 450px;
}

.code-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.code-content::-webkit-scrollbar-track {
    background: transparent;
}
.code-content::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
.code-content::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.code-content .key { color: var(--color-primary); }
.code-content .string { color: #fdba74; }

/* Logo Cloud */
.logo-cloud {
    text-align: center;
    padding: 60px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-cloud p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 40px;
}

.logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
    gap: 40px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-img {
    height: 32px;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.6;
    filter: invert(100%) grayscale(100%) brightness(120%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-img:hover {
    opacity: 1;
    filter: invert(100%) grayscale(100%) brightness(150%);
}

/* Pricing Section */
.pricing {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.p-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.p-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-align: center;
}

.price {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.asterisk {
    font-size: 16px;
    vertical-align: super;
}

.credits {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.features svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 2;
}

.pricing-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ */
.faq {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

details {
    border-bottom: 1px solid var(--border-color);
}

summary {
    list-style: none;
    padding: 24px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

details[open] summary svg {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 0 24px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Bottom CTA */
.bottom-cta {
    text-align: center;
    padding: 100px 24px;
}

.bottom-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.bottom-cta p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 24px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.link-group a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-group a:hover {
    color: var(--text-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .pricing-cards { grid-template-columns: repeat(2, 1fr); }
    .visual-container { flex-direction: column; gap: 24px; }
    .visual-arrow { transform: rotate(90deg); margin: 16px 0; }
    .visual-left, .visual-right { width: 100%; }
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 16px; }
    .nav-actions { width: 100%; justify-content: center; gap: 16px; }
    .hero { padding: 40px 20px; }
    .hero-title { font-size: 32px; line-height: 1.3; }
    .hero-subtitle { font-size: 15px; }
    .hero-title br, .hero-subtitle br, .pricing-header p br, .bottom-cta p br { display: none; }
    .pricing-cards { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; gap: 48px; align-items: center; text-align: center; }
    .footer-links { flex-direction: column; gap: 32px; align-items: center; width: 100%; }
    .link-group { align-items: center; }
    .cta-buttons { flex-direction: column; width: 100%; gap: 12px; }
    .cta-buttons a { width: 100%; box-sizing: border-box; text-align: center; }
    .code-search-bar { flex-direction: column; gap: 8px; padding: 12px 16px; }
    .code-search-bar input, .code-search-bar select, .code-search-bar button { width: 100%; flex: none; margin: 0; box-sizing: border-box; }
    .code-header { padding: 12px 16px 4px; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; gap: 16px; }
    .tab { white-space: nowrap; }
    .code-content { padding: 16px; font-size: 11px; min-height: 350px; max-height: 350px; }
    .logos { 
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 32px; 
    }
}
```