/* ============================================
   PRODUCT PAGE STYLES
   ============================================ */

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --dark-bg: #0a0e27;
    --darker-bg: #050612;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #1a202c;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: rgba(10, 14, 39, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.btn-back {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ============================================
   PRODUCT PAGE
   ============================================ */

.product-page {
    padding: 4rem 0;
}

.product-page h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.product-hero {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 0, 110, 0.1) 100%);
    border-radius: 15px;
    padding: 4rem;
    text-align: center;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    margin-bottom: 4rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.endpoints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.endpoint-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.endpoint-card:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.endpoint-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.endpoint-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.endpoint-card code {
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* ============================================
   SPECS SECTION
   ============================================ */

.specs {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 4rem;
}

.specs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.spec-item {
    text-align: center;
}

.spec-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.spec-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.spec-item p {
    color: var(--text-secondary);
}

/* ============================================
   CTA FOOTER
   ============================================ */

.cta-footer {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 0, 110, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 4rem;
}

.cta-footer h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-footer p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .product-page h1 {
        font-size: 2rem;
    }

    .product-hero {
        padding: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .features h2,
    .specs h2,
    .cta-footer h2 {
        font-size: 1.8rem;
    }

    .endpoints-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
