/* Product Landing Page Styles */

/* Page Layout */
.product-page {
    padding-top: 100px;
}

/* Product Hero */
.product-hero {
    padding: 4rem 2rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f7f9fb 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
}

.product-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.product-hero .product-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, #c41e3a 0%, #8b1a2e 100%);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.product-hero h1 {
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.product-hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.cta-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.3px;
}

.cta-primary:hover {
    background: linear-gradient(135deg, #232345 0%, #2a2a5e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.3);
}

.cta-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.3px;
}

.cta-secondary:hover {
    color: #ffffff;
    background: var(--primary-color);
    transform: translateY(-1px);
}

/* Product Sections */
.product-section {
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.product-section:last-child {
    border-bottom: none;
}

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

.product-section h2 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    text-align: center;
}

.product-section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: linear-gradient(135deg, #f7f9fb 0%, #ffffff 100%);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(196, 30, 58, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

svg.feature-icon {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.7;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Use Case Grid */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.usecase-card {
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: linear-gradient(135deg, #f7f9fb 0%, #ffffff 100%);
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.usecase-card:hover {
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.1);
    transform: translateY(-2px);
}

svg.usecase-icon {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

.usecase-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.usecase-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Specs Table */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.specs-group h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 0.4rem 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.specs-list li::before {
    content: "\2713";
    color: #50c878;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Live Preview */
.preview-container {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    background: #f7f9fb;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f0f0f0;
    border-bottom: 1px solid var(--border-color);
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4d4d4;
}

.preview-dot:nth-child(1) { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #febc2e; }
.preview-dot:nth-child(3) { background: #28c840; }

.preview-url {
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    background: #ffffff;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 320px;
}

.preview-map {
    position: relative;
    width: 100%;
    height: 450px;
}

.preview-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .preview-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .preview-map {
        height: 280px;
    }
}

/* SDK Grid */
.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.sdk-card {
    padding: 1.25rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #f7f9fb;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.sdk-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.sdk-card .sdk-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.sdk-card .sdk-platform {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Deployment Options */
.deployment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.deployment-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: linear-gradient(135deg, #f7f9fb 0%, #ffffff 100%);
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.deployment-card:hover {
    border-color: rgba(196, 30, 58, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.deployment-card.featured {
    border-color: rgba(196, 30, 58, 0.3);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.1);
}

svg.deployment-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

.deployment-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.deployment-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.deployment-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.deployment-features li {
    font-size: 0.85rem;
    color: var(--text-color);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deployment-features li::before {
    content: "\2713";
    color: #50c878;
    font-weight: 600;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f7f9fb 0%, #ffffff 100%);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.cta-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.cta-note a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .product-page {
        padding-top: 80px;
    }

    .product-hero {
        padding: 3rem 1.5rem 2rem;
    }

    .product-hero h1 {
        font-size: 2rem;
    }

    .product-section {
        padding: 3rem 1.5rem;
    }

    .product-section h2 {
        font-size: 1.5rem;
    }

    .feature-grid,
    .deployment-grid {
        grid-template-columns: 1fr;
    }

    .usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sdk-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-hero h1 {
        font-size: 1.75rem;
    }

    .product-hero-tagline {
        font-size: 1rem;
    }

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

    .sdk-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
    }
}
