/* Common Product Page Styles */

/* Make nav bar transparent with white text for product pages */
body.product-page nav {
    background-color: transparent !important;
}

body.product-page {
    padding-top: 0 !important;
}

body.product-page nav .logo-image,
body.product-page nav .item {
    color: white !important;
}

body.product-page nav.nav-secondary {
    background-color: #fff !important;
}

body.product-page nav.nav-secondary .logo-image,
body.product-page nav.nav-secondary .item {
    color: var(--primary-color) !important;
}

.product-hero {
    background: radial-gradient(circle at 50% 20%, #33A9DD 0%, #145ea0 100%);
    color: white;
    padding: 8rem 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .product-hero {
        padding: 8rem 1rem;
    }
}

.product-hero>div {
    max-width: var(--container-width);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 968px) {
    .product-hero>div {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.product-hero .hero-content {
    text-align: left;
}

.product-hero .hero-content h1,
.product-hero .hero-content .tagline,
.product-hero .hero-content p {
    text-align: left;
}

@media (max-width: 968px) {
    .product-hero .hero-content {
        text-align: center;
    }

    .product-hero .hero-content h1,
    .product-hero .hero-content .tagline,
    .product-hero .hero-content p {
        text-align: center;
    }
}

.product-hero h1 {
    font-size: 4rem;
    margin: 0 0 2rem 0;
    font-weight: 300;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2.5rem;
        margin: 0 0 1.5rem 0;
    }
}

.product-hero .tagline {
    font-size: 2rem !important;
    margin: 0 0 2.5rem 0;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-hero .tagline {
        font-size: 1.4rem;
        margin: 0 0 1.5rem 0;
    }
}

.product-hero .hero-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
    max-width: 600px;
}

@media (max-width: 968px) {
    .product-hero .hero-content p {
        max-width: 100%;
    }
}

.product-hero .stats {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

@media (max-width: 968px) {
    .product-hero .stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 3rem;
    }
}

.product-hero .stat-item {
    text-align: right;
}

@media (max-width: 968px) {
    .product-hero .stat-item {
        text-align: center;
    }
}

.product-hero .stat-item a {
    display: block;
    color: white;
    text-decoration: none;
}

.product-hero .stat-item a:hover {
    opacity: 0.9;
}

.product-hero .stat-number {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.product-hero .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.content-section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 1rem;
    }
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 400;
    text-align: left;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 3rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
    }
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-card ul li {
    padding: 0.5rem 0;
    color: #666;
}

.feature-card ul li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.cta-section {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem;
    transition: background 0.3s;
}

@media (max-width: 768px) {
    .cta-button {
        display: block;
        margin: 1rem auto;
        max-width: 300px;
    }
}

.cta-button:hover {
    background: var(--primary-color-darker);
}

.cta-button.secondary {
    background: var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--secondary-color-darker);
}

.integrations-section {
    background: #fafbfc;
    padding: 4rem 2rem;
}

.integration-card {
    background: white;
    border: 1px solid #e1e8ed;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.integration-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.integration-card .badge {
    display: inline-block;
    background: var(--primary-color-lightest);
    color: var(--primary-color-darkest);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
}

.media-section {
    background: white;
    padding: 4rem 2rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.media-card {
    background: #fafbfc;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #e1e8ed;
}

.media-card .source {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.media-card .source:before {
    content: "🔗";
    margin-right: 0.5rem;
}

.media-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.media-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.media-card a:hover {
    text-decoration: underline;
}

.how-it-works {
    background: #fafbfc;
    padding: 4rem 2rem;
}

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

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.step p {
    color: #666;
    line-height: 1.6;
}

.supported-platforms {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
}

.supported-platforms h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.platform-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.platform-item {
    background: var(--primary-color-lightest);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-color-darkest);
    font-size: 0.9rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

.video-item video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-item h3 {
    margin-top: 1rem;
    color: #2d3748;
    font-size: 1.2rem;
}

.video-item p {
    color: #718096;
    line-height: 1.6;
}

.video-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .video-demo {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Video Showcase - Horizontal Layout */
.video-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .video-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.video-showcase-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-showcase-item video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-showcase-item .video-description {
    text-align: center;
}

.video-showcase-item .video-description h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.video-showcase-item .video-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Deployment Steps - Horizontal Layout */
.deployment-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0 0;
}

@media (max-width: 968px) {
    .deployment-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.deployment-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.deployment-step .step-number {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.deployment-step .step-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.deployment-step .step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {

    .integrations-section,
    .media-section,
    .how-it-works,
    .cta-section {
        padding-left: 0;
        padding-right: 0;
    }
}