/* Tool Detail Page Styles */

/* Tool Hero Section */
.tool-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: center;
}

.hero-main {
    flex: 1;
}

.hero-tool-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-tool-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-tool-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 1.25rem;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

.hero-cta-box {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cta-box-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cta-box-price {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cta-box-price strong {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 1rem 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-tool-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.sticky-tool-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.sticky-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--warning-color);
}

/* Content Layout */
.tool-content {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

/* Main Content */
.main-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.tool-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Special Offer Banner */
.special-offer {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 1.5rem;
}

.offer-icon {
    font-size: 3rem;
    color: #f59e0b;
}

.offer-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.offer-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.offer-code {
    font-size: 1rem;
    color: var(--text-dark);
}

.code-badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 2px dashed #f59e0b;
    font-family: monospace;
    font-size: 1.25rem;
    color: #f59e0b;
}

/* Features Tags */
.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Pros & Cons Grid */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pros-section h3,
.cons-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pros-section h3 {
    color: var(--success-color);
}

.cons-section h3 {
    color: var(--error-color);
}

.pros-section h3 i,
.cons-section h3 i {
    font-size: 1.5rem;
}

.pros-list,
.cons-list {
    list-style: none;
}

.pros-list li,
.cons-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-light);
}

.pros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.cons-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--error-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.use-case-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
    color: var(--text-dark);
}

/* Examples Section */
.section-intro {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.example-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.example-item:hover {
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.example-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.example-content {
    flex: 1;
}

.example-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.example-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Content CTA */
.content-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.content-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.content-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Affiliate Disclosure */
.affiliate-disclosure {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.affiliate-disclosure h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.affiliate-disclosure p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Quick Info */
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-light);
}

.info-value {
    font-weight: 700;
    color: var(--text-dark);
}

/* CTA Card */
.cta-card {
    background: var(--bg-lighter);
    border: 2px solid var(--border-color);
}

.cta-badge {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.btn-block {
    width: 100%;
    text-align: center;
    display: block;
}

.cta-benefits {
    list-style: none;
    margin-top: 1.5rem;
}

.cta-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.cta-benefits i {
    color: var(--success-color);
}

/* Related Tools */
.related-tool {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-tool:hover {
    background: var(--border-color);
    transform: translateX(5px);
}

.related-tool-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-tool-info {
    flex: 1;
}

.related-tool-name {
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.related-tool-rating {
    font-size: 0.875rem;
    color: var(--warning-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-cta-box {
        max-width: 500px;
        margin: 0 auto;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }

    .pros-cons-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-tool-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .special-offer {
        flex-direction: column;
        text-align: center;
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: 1rem;
    }

    .sticky-cta-btn {
        width: 100%;
    }
    
    .examples-grid {
        gap: 0.75rem;
    }
    
    .example-item {
        padding: 1rem;
    }
}
