/*
Theme Name: WeKey Premium Theme
Theme URI: https://wekey.local
Description: Premium WordPress theme for WeKey - The Wikipedia of Keys
Version: 1.0.0
Author: WeKey Team
Author URI: https://wekey.local
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wekey-premium-theme
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

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

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background-color: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #d4af37;
    font-weight: 700;
    font-size: 24px;
    border: 2px solid #d4af37;
    padding: 8px 12px;
    border-radius: 8px;
}

.logo svg {
    width: 24px;
    height: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #f0e68c;
}

.sign-in-btn {
    background-color: #d4af37;
    color: #0a0a0a;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-in-btn:hover {
    background-color: #e5c158;
}

/* Hero Section */
.hero {
    background-color: #0a0a0a;
    padding: 120px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 18px;
    color: #999;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.search-bar {
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #333;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-bar input::placeholder {
    color: #666;
}

.search-bar input:focus {
    outline: none;
    border-color: #d4af37;
}

/* Features Section */
.features {
    background-color: #0a0a0a;
    padding: 100px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    background-color: rgba(212, 175, 55, 0.02);
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    border-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: #d4af37;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #d4af37;
    margin-top: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Section Titles */
.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 16px;
    color: #888;
    font-style: italic;
    margin-top: -30px;
    margin-bottom: 40px;
}

/* Popular Guides */
.popular-guides {
    background-color: #0a0a0a;
    padding: 100px 30px;
}

.popular-guides > div {
    max-width: 1400px;
    margin: 0 auto;
}

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

.guide-item {
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background-color: rgba(212, 175, 55, 0.02);
    transition: all 0.3s;
    cursor: pointer;
}

.guide-item:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
}

.guide-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: #d4af37;
}

.guide-icon svg {
    width: 100%;
    height: 100%;
}

.guide-item span {
    display: block;
    color: #d4af37;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.guide-item.active {
    border-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.08);
}

/* Lookup Results */
.lookup-page {
    background-color: #0a0a0a;
    padding: 60px 30px;
    min-height: 100vh;
}

.lookup-container {
    max-width: 1000px;
    margin: 0 auto;
}

.lookup-title {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.lookup-search {
    margin-bottom: 50px;
}

.lookup-search input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #333;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
}

.result-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 20px;
    background-color: rgba(212, 175, 55, 0.02);
    cursor: pointer;
    transition: all 0.3s;
}

.result-item:hover {
    border-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.05);
}

.result-image {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.result-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d4af37;
    font-size: 14px;
}

.spec-icon {
    width: 18px;
    height: 18px;
}

.fcc-id {
    border: 1px solid #d4af37;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: #d4af37;
}

.result-arrow {
    align-self: center;
    color: #d4af37;
    font-size: 24px;
}

/* Tutorials Section */
.tutorials {
    background-color: #0a0a0a;
    padding: 100px 30px;
}

.tutorials > div {
    max-width: 1400px;
    margin: 0 auto;
}

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

.tutorial-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(212, 175, 55, 0.02);
    border: 1px solid #333;
    transition: all 0.3s;
    cursor: pointer;
}

.tutorial-card:hover {
    border-color: #d4af37;
    transform: translateY(-10px);
}

.tutorial-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.tutorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutorial-content {
    padding: 30px;
}

.tutorial-tag {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tutorial-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.tutorial-card p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* Tools Section */
.tools {
    background-color: #0a0a0a;
    padding: 100px 30px;
}

.tools > div {
    max-width: 1400px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tool-card {
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px 30px;
    background-color: rgba(212, 175, 55, 0.02);
    transition: all 0.3s;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.tool-card:hover {
    border-color: #d4af37;
}

.tool-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
}

.tool-icon svg {
    width: 32px;
    height: 32px;
}

.tool-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.tool-content p {
    color: #999;
    font-size: 14px;
}

/* Pricing Section */
.pricing {
    background-color: #0a0a0a;
    padding: 100px 30px;
}

.pricing > div {
    max-width: 1400px;
    margin: 0 auto;
}

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

.pricing-intro h2 {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.pricing-intro p {
    font-size: 16px;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    border: 1px solid #333;
    border-radius: 16px;
    padding: 50px 40px;
    background-color: rgba(212, 175, 55, 0.02);
    position: relative;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: #d4af37;
}

.pricing-card.featured {
    border-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #d4af37;
    color: #0a0a0a;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    width: 120px;
}

.pricing-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 10px;
}

.pricing-period {
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li.included::before {
    content: '✦';
    color: #d4af37;
    font-size: 16px;
}

.pricing-features li.excluded {
    opacity: 0.5;
}

.pricing-features li.excluded::before {
    content: '✕';
    color: #666;
}

.pricing-btn {
    width: 100%;
    padding: 14px 0;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-btn.primary {
    background-color: #d4af37;
    color: #0a0a0a;
}

.pricing-btn.primary:hover {
    background-color: #e5c158;
}

.pricing-btn.secondary {
    background-color: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
}

.pricing-btn.secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* Footer */
footer {
    background-color: #000000;
    border-top: 1px solid #1a1a1a;
    padding: 50px 30px 30px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d4af37;
    font-weight: 700;
    font-size: 18px;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
}

.footer-copyright {
    color: #666;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #d4af37;
}

/* Chatbot */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chatbot-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #d4af37;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.chatbot-btn:hover {
    background-color: #e5c158;
    transform: scale(1.1);
}

.chatbot-btn svg {
    width: 36px;
    height: 36px;
    color: #0a0a0a;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    nav ul {
        gap: 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .guides-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .result-item {
        flex-direction: column;
    }

    .result-image {
        width: 100%;
        height: auto;
    }

    .footer-container {
        justify-content: center;
        text-align: center;
    }
}
