/* ==================== Products Page Styles ==================== */

/* Hero Section */
.products-hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 50% 0%, #17243b 0%, #0c1322 65%, #080d17 100%);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.products-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(21, 94, 254, 0.25) 0%, rgba(14, 165, 233, 0.1) 45%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.products-hero .hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.products-hero .container {
    position: relative;
    z-index: 1;
}

.products-hero .breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.products-hero .breadcrumb-nav a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.products-hero .breadcrumb-nav a:hover {
    color: #38bdf8;
}

.products-hero .breadcrumb-nav span.sep {
    color: #64748b;
}

.products-hero .breadcrumb-nav span.current {
    color: #38bdf8;
    font-weight: 500;
}

.products-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(21, 94, 254, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.products-hero .hero-badge svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
    flex-shrink: 0;
}

.products-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.products-hero h1 .text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products-hero p.lead-txt {
    font-size: 18px;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 760px;
    margin: 0 auto 36px;
}

/* Hero Stat Pills */
.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.hero-stat-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 20px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-stat-pill:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    background: rgba(15, 23, 42, 0.85);
}

.hero-stat-pill .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat-pill .stat-icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-stat-pill .stat-icon.cyan { background: rgba(14, 165, 233, 0.2); color: #38bdf8; }
.hero-stat-pill .stat-icon.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.hero-stat-pill .stat-icon.purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.hero-stat-pill .stat-icon.emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.hero-stat-pill .stat-info {
    text-align: left;
}

.hero-stat-pill .stat-num {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hero-stat-pill .stat-lbl {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.2;
}

/* Main Products Showcase Section */
.products-overview-section {
    padding: 90px 0 60px;
    background: #f8fafc;
    position: relative;
}

.section-title-wrap {
    margin-bottom: 50px;
}

.section-eyebrow {
    display: inline-block;
    color: #155efe;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-desc {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced Product Cards */
.products-page-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.products-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: height 0.3s ease;
}

.products-page-card.card-tool::before {
    background: linear-gradient(90deg, #00b4db, #0083b0);
}

.products-page-card.card-seo::before {
    background: linear-gradient(90deg, #155efe, #00d2ff);
}

.products-page-card.card-module::before {
    background: linear-gradient(90deg, #8e2de2, #4a00e0);
}

.products-page-card:hover {
    transform: translateY(-8px);
    border-color: #cbd5e1;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
}

.products-page-card:hover::before {
    height: 6px;
}

.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-icon-box svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.card-icon-box.tool { background: linear-gradient(135deg, #00b4db, #0083b0); }
.card-icon-box.seo { background: linear-gradient(135deg, #155efe, #00d2ff); }
.card-icon-box.module { background: linear-gradient(135deg, #8e2de2, #4a00e0); }

.card-type-badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-type-badge.cyan { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.card-type-badge.blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.card-type-badge.purple { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }

.card-title-link {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
    display: inline-block;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title-link:hover {
    color: #155efe;
}

.card-tagline {
    font-size: 13px;
    font-weight: 700;
    color: #155efe;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.card-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Feature Check List */
.card-feature-list {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
}

.card-feature-item svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Tech Tags */
.card-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.tech-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Card CTA Button */
.card-launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 22px;
    border-radius: 14px;
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.card-launch-btn svg {
    transition: transform 0.3s ease;
}

.card-launch-btn:hover {
    background: #155efe;
    border-color: #155efe;
    box-shadow: 0 8px 24px rgba(21, 94, 254, 0.35);
}

.card-launch-btn:hover svg {
    transform: translate(4px, -4px);
}

/* ==================== Deep-Dive Section ==================== */
.product-deepdive-section {
    padding: 90px 0;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
}

.deepdive-block {
    padding: 60px 0;
    border-bottom: 1px solid #f1f5f9;
}

.deepdive-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.deepdive-block:first-child {
    padding-top: 0;
}

.deepdive-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.deepdive-header-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.deepdive-header-badge.cyan { background: #e0f2fe; color: #0284c7; }
.deepdive-header-badge.blue { background: #eff6ff; color: #2563eb; }
.deepdive-header-badge.purple { background: #faf5ff; color: #9333ea; }

.deepdive-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
}

.deepdive-lead {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 28px;
}

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

.feature-mini-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-mini-box:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.feature-mini-box .box-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-mini-box .box-icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feature-mini-box .box-icon.cyan { background: #e0f2fe; color: #0284c7; }
.feature-mini-box .box-icon.blue { background: #eff6ff; color: #2563eb; }
.feature-mini-box .box-icon.purple { background: #faf5ff; color: #9333ea; }

.feature-mini-box h5 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.feature-mini-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Interactive Preview Box */
.product-preview-card {
    background: #0f172a;
    border-radius: 24px;
    padding: 32px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.preview-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span.red { background: #ef4444; }
.preview-dots span.yellow { background: #f59e0b; }
.preview-dots span.green { background: #10b981; }

.preview-domain {
    font-size: 12px;
    color: #94a3b8;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 6px;
}

.preview-content-mockup {
    margin-bottom: 24px;
}

.mockup-highlight-metric {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
}

.mockup-metric-card .label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mockup-metric-card .value {
    font-size: 18px;
    font-weight: 700;
    color: #38bdf8;
}

.mockup-snippet {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    font-family: monospace;
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: auto;
}

.mockup-snippet .kw { color: #f43f5e; }
.mockup-snippet .fn { color: #38bdf8; }
.mockup-snippet .str { color: #34d399; }
.mockup-snippet .comment { color: #64748b; }

.preview-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #155efe 0%, #0284c7 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.preview-action-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.preview-action-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #0369a1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 94, 254, 0.4);
}

/* ==================== Philosophy Section ==================== */
.philosophy-section {
    padding: 90px 0;
    background: #0b1120;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.philosophy-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 26px;
    height: 100%;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-6px);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.philosophy-card .philo-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(21, 94, 254, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.philosophy-card .philo-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.philosophy-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.philosophy-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==================== FAQ Section ==================== */
.products-faq-section {
    padding: 90px 0;
    background: #f8fafc;
}

.products-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.products-faq-card:hover {
    border-color: #cbd5e1;
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 26px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
}

.faq-question-btn svg.faq-chevron {
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-question-btn[aria-expanded="true"] svg.faq-chevron {
    transform: rotate(180deg);
    color: #155efe;
}

.faq-answer-body {
    padding: 0 26px 22px;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

/* ==================== CTA Section ==================== */
.products-cta-section {
    padding: 90px 0;
    background: radial-gradient(circle at center, #172554 0%, #0f172a 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.products-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.products-cta-box {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.products-cta-box h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 18px;
}

.products-cta-box p {
    font-size: 17px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-btn-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 999px;
    background: #155efe;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(21, 94, 254, 0.4);
}

.cta-primary-btn svg, .cta-secondary-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cta-primary-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(21, 94, 254, 0.5);
}

.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ==================== Responsive Queries ==================== */
@media (max-width: 991px) {
    .products-hero {
        padding: 140px 0 80px;
    }
    .products-hero h1 {
        font-size: 36px;
    }
    .deepdive-features-grid {
        grid-template-columns: 1fr;
    }
    .product-preview-card {
        margin-top: 40px;
    }
    .section-heading {
        font-size: 30px;
    }
    .deepdive-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .products-hero h1 {
        font-size: 28px;
    }
    .products-hero p.lead-txt {
        font-size: 15px;
    }
    .hero-stats-row {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-stat-pill {
        justify-content: flex-start;
    }
    .products-page-card {
        margin-bottom: 24px;
        padding: 26px 20px;
    }
    .products-cta-box h2 {
        font-size: 28px;
    }
    .cta-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-primary-btn, .cta-secondary-btn {
        width: 100%;
        justify-content: center;
    }
}
