/* =================================================================
   TOOL DETAILS PAGE - MODERN REDESIGN
   Cyan/Teal gradient theme with clean, polished styling
   Matching Course Details page design patterns
   ================================================================= */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e1e5eb;
    background-color: #0a0e13;
    min-height: 100vh;
}

/* Color Variables */
:root {
    --primary-bg: #0a0e13;
    --secondary-bg: #1a1f26;
    --card-bg: #252b33;
    --border-color: #2d3340;
    --text-primary: #e1e5eb;
    --text-secondary: #a8b3c1;
    --text-muted: #6b7684;
    --accent-primary: #00d4ff;
    --accent-secondary: #00ff88;
    --accent-tertiary: #a855f7;
    --danger: #ff4757;
    --warning: #ffa502;
    --success: #2ed573;
    --hover-bg: rgba(0, 212, 255, 0.1);
    --shadow-light: rgba(0, 212, 255, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
    
    /* Tool-specific variables */
    --tool-primary: #00d4ff;
    --tool-secondary: #00ff88;
    --tool-accent: #00ffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
    text-decoration: none;
}

/* =================================================================
   HEADER & NAVIGATION
   ================================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 19, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0;
}

.logo a {
    color: inherit;
    display: flex;
    align-items: center;
}

.logo a:hover {
    color: var(--accent-secondary);
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
}

.nav-link.active {
    color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.1));
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--accent-primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--accent-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.back-btn {
    background: var(--secondary-bg);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px var(--shadow-heavy);
    text-decoration: none;
}

.back-btn:hover {
    background: var(--card-bg);
    box-shadow: 0 6px 20px var(--shadow-heavy);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    transform: translateY(-2px);
}

/* Breadcrumbs in Hero Section */
.tool-hero-content .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    row-gap: 0.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.tool-hero-content .breadcrumbs .current {
    overflow-wrap: anywhere;
}

.tool-hero-content .breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.tool-hero-content .breadcrumbs a:hover {
    color: var(--tool-primary);
}

.tool-hero-content .breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.25rem;
}

.tool-hero-content .breadcrumbs .current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* =================================================================
   PAGE LAYOUT
   ================================================================= */

.tool-detail-page {
    background: linear-gradient(135deg, #0a0e13 0%, #1a1f26 100%);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tool-detail-content {
    /* Offset content below the fixed header (value is set by assets/js/mobile-nav.js) */
    padding-top: var(--fixed-header-height, 80px);
}

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

.tool-hero {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 50%, rgba(0, 255, 255, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3.5rem 0;
    margin-bottom: 3rem;
    /* Content is already offset by .tool-detail-content padding-top */
    margin-top: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.tool-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tool-primary) 0%, var(--tool-secondary) 50%, var(--tool-accent) 100%);
}

.tool-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.tool-logo-large {
    flex: 0 0 auto;
}

.tool-title-section {
    flex: 1 1 420px;
    min-width: 0;
}

.share-btn {
    flex: 0 0 auto;
    margin-left: auto;
}

.tool-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.tool-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tool-primary), var(--tool-secondary));
    color: var(--primary-bg);
    font-weight: 700;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.tool-title-section {
    min-width: 0;
}

.tool-title {
    font-size: clamp(1.75rem, 4.2vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 70ch;
}

.tool-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-rating {
    display: flex;
    gap: 2px;
    align-items: center;
}

.star {
    font-size: 1rem;
    line-height: 1;
}

.star.full {
    color: var(--tool-secondary);
}

.star.half {
    color: var(--tool-secondary);
    opacity: 0.6;
}

.star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.rating-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tool-secondary);
}

.review-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.share-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* Primary CTA Section */
.conversion-section {
    text-align: center;
    padding: 2rem 0;
}

.conversion-section .primary-cta-btn {
    width: min(100%, 560px);
    white-space: normal;
    line-height: 1.3;
}

.primary-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--tool-primary) 0%, var(--tool-secondary) 100%);
    color: #0a0e13;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    text-decoration: none;
}

.primary-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, #00e0ff 0%, #00ff98 100%);
    color: #0a0e13;
}

.affiliate-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* =================================================================
   MAIN CONTENT AREA WITH SIDEBAR LAYOUT
   ================================================================= */

.tool-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

/* Left column - Main content */
.tool-main-content {
    min-width: 0;
}

/* Common section styling */
.key-info-section,
.description-section,
.tool-extra-details,
.support-section,
.updates-section,
.reviews-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Consistent h2 styling with vertical gradient line */
.description-section h2,
.support-section h2,
.updates-section h2,
.reviews-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.description-section h2::before,
.support-section h2::before,
.updates-section h2::before,
.reviews-section h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, var(--tool-primary), var(--tool-secondary));
    border-radius: 2px;
}

/* Key Information Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.info-card h3 {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tag-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag.primary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 255, 0.1));
    color: var(--tool-primary);
    border-color: rgba(0, 212, 255, 0.3);
}

.tag.secondary {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 255, 200, 0.1));
    color: var(--tool-secondary);
    border-color: rgba(0, 255, 136, 0.3);
}

.tag.platform {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 136, 0.1));
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.2);
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

/* Pricing Display */
.pricing-display {
    display: flex;
    align-items: center;
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-badge.free {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    color: var(--tool-secondary);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.pricing-badge.freemium {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
    color: var(--tool-primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.pricing-badge.premium,
.pricing-badge.paid {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Developer Info */
.developer-info {
    display: flex;
    align-items: center;
}

.developer-name {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 255, 0.1));
    color: var(--tool-primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.no-info {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    font-size: 0.9rem;
}

/* Rating Display */
.rating-display {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tool-secondary);
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =================================================================
   DESCRIPTION SECTION
   ================================================================= */

.description-content {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.description-content p {
    margin-bottom: 1rem;
}

.description-content ol.description-list {
    margin: 0 0 1rem 1.5rem;
    padding-left: 1rem;
	color: var(--text-secondary);
}

.description-content ol.description-list li {
    margin-bottom: 0.4rem;
}

/* Subsections under About (Key Features, Use Cases, How to Use, Pros, Cons) */
.description-subsection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.description-subsection h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.description-subsection h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--tool-primary), var(--tool-secondary));
    border-radius: 2px;
}

/* Tags Section */
.tags-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tags-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tool-tags-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--tag-color, #00d4ff);
    border: 2px solid var(--tag-color, #00d4ff);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--tag-color, #00d4ff);
    opacity: 0.1;
    z-index: -1;
}

.tool-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* =================================================================
   SUPPORT SECTION
   ================================================================= */

.support-content {
    display: grid;
    gap: 1.5rem;
}

.support-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.support-item h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.support-email {
    color: var(--tool-primary);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.support-email:hover {
    color: var(--tool-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--tool-primary), var(--tool-secondary));
    color: #0a0e13;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    color: #0a0e13;
}

/* =================================================================
   UPDATES SECTION
   ================================================================= */

.updates-list {
    display: grid;
    gap: 1.5rem;
}

.update-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.update-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(4px);
}

.update-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--tool-primary), var(--tool-secondary));
    border-radius: 0 3px 3px 0;
}

.update-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 100px;
    padding-top: 0.25rem;
}

.update-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.update-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* =================================================================
   REVIEWS SECTION
   ================================================================= */

/* Review Summary */
.review-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--tool-primary);
}

.review-summary h3 {
    color: var(--tool-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.summary-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Add Review Section */
.add-review-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.add-review-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tool-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Star Rating Input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: var(--tool-secondary);
    transform: scale(1.1);
}

.submit-review-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--tool-primary) 0%, var(--tool-secondary) 100%);
    color: #0a0e13;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    align-self: flex-start;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, #00e0ff 0%, #00ff98 100%);
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.review-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(4px);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.review-rating {
    font-size: 1.125rem;
}

.review-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.no-reviews {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =================================================================
   SECONDARY CTA SECTION
   ================================================================= */

.secondary-cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.secondary-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--tool-secondary) 0%, var(--tool-accent) 100%);
    color: #0a0e13;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    text-decoration: none;
}

.secondary-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
    background: linear-gradient(135deg, #00ff98 0%, #00ffff 100%);
    color: #0a0e13;
}

/* =================================================================
   SIDEBAR - QUICK INFO
   ================================================================= */

.tool-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.sidebar-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tool-primary);
    text-align: right;
}

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

/* Mobile Navigation */
@media (max-width: 968px) {
    .tool-detail-content {
        padding-top: var(--fixed-header-height, 120px);
    }
    
    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 3.5rem 1rem 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }
    
    .logo {
        order: 1;
        margin: 0 auto 1.5rem;
    }
    
    .header-actions {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .back-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .main-nav {
        order: 3;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 19, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateY(-20px);
        animation: slideInDown 0.3s ease forwards;
    }
    
    .nav-menu.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) { animation-delay: 0.5s; }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:hover {
        background: rgba(0, 212, 255, 0.1);
        transform: none;
        box-shadow: none;
    }
    
    .nav-link.active::after {
        display: none;
    }
}

@keyframes slideInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .tool-header {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    /* Put share button on its own row and align it to the right */
    .share-btn {
        flex-basis: 100%;
        margin-left: auto;
        justify-content: center;
        max-width: fit-content;
    }

    .tool-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 992px) {
    .tool-hero-content {
        padding: 0 1.25rem;
    }

    /* Tighten hero header spacing for smaller screens */
    .tool-header {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .tool-subtitle {
        margin-bottom: 0.75rem;
    }

    .tool-meta {
        margin-bottom: 0.25rem;
    }

    .share-btn {
        width: min(100%, 360px);
    }

    .tool-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tool-sidebar {
        position: static;
        order: -1;
    }

    .tool-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    /* Prevent the title section from stretching vertically and pushing Share down */
    .tool-title-section {
        flex: 0 1 auto;
    }

    .tool-title-section {
        width: 100%;
    }

    .tool-meta {
        justify-content: center;
    }

    .tool-logo-large {
        justify-self: center;
        width: 100px;
        height: 100px;
    }

    .share-btn {
        margin-left: 0;
        width: auto;
        flex-basis: auto;
        max-width: none;
    }

    .conversion-section {
        padding-top: 1.25rem;
        padding-bottom: 0;
    }

    .primary-cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 0.3px;
    }

    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .update-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .update-date {
        min-width: auto;
        font-weight: 600;
        color: var(--tool-primary);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }

    .tool-extra-grid {
        grid-template-columns: 1fr;
    }

    /* Tighten hero spacing on mobile widths */
    .tool-header {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .tool-title-section {
        flex: 0 1 auto;
    }

    .tool-subtitle {
        max-width: 100%;
        margin-bottom: 0.75rem;
    }

    .tool-meta {
        margin-bottom: 0.25rem;
    }

    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 3.5rem 1rem 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }
    
    .logo {
        order: 1;
        margin: 0 auto 1.5rem;
    }
    
    .header-actions {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .back-btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .main-nav {
        order: 3;
    }

    .tool-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .tool-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .tool-hero {
        padding: 2rem 0;
        margin-top: 0;
    }

    .tool-hero-content {
        padding: 0 1rem;
    }

    .tool-hero-content .breadcrumbs {
        font-size: 0.8rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .tool-content-wrapper {
        padding: 0 1rem 4rem;
    }

    .tool-logo-large {
        width: 80px;
        height: 80px;
    }

    .primary-cta-btn,
    .secondary-cta-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 320px;
    }

    .description-section,
    .key-info-section,
    .support-section,
    .updates-section,
    .reviews-section,
    .secondary-cta-section {
        padding: 1.5rem 1rem;
    }

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

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tool-tags-list {
        gap: 0.5rem;
    }

    .social-links {
        flex-direction: column;
        width: 100%;
    }

    .social-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tool-header {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }

    .tool-title-section {
        flex: 0 1 auto;
    }

    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 340px;
        margin-top: 0.25rem;
    }

    .header-container {
        padding: 4rem 0.75rem 0;
    }
    
    .mobile-menu-toggle {
        top: 0.75rem;
    }
    
    .logo {
        margin: 0 auto 1rem;
        max-width: 200px;
    }
    
    .logo img {
        max-height: 40px;
    }

    .tool-hero-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .tool-content-wrapper {
        padding: 0 0.75rem 3rem;
    }

    .tool-hero-content .breadcrumbs {
        font-size: 0.75rem;
        gap: 0.35rem;
    }

    .tool-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .tool-subtitle {
        font-size: 0.9rem;
    }

    .tool-logo-large {
        width: 70px;
        height: 70px;
    }

    .logo-placeholder-large {
        font-size: 1.5rem;
    }

    .tool-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .primary-cta-btn,
    .secondary-cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
    }

    .description-section,
    .key-info-section,
    .support-section,
    .updates-section,
    .reviews-section,
    .secondary-cta-section {
        padding: 1.25rem 0.75rem;
    }

    .cta-content h3 {
        font-size: 1.35rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .info-card h3 {
        font-size: 0.8rem;
    }

    .tag,
    .tool-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .header-container {
        gap: 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .back-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* =================================================================
   BACK TO TOP BUTTON
   ================================================================= */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--tool-primary), var(--tool-secondary));
    border: none;
    border-radius: 50%;
    color: #0a0e13;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, var(--tool-secondary), var(--tool-accent));
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* =================================================================
   CUSTOM SCROLLBAR
   ================================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tool-primary);
}

/* =================================================================
   RELATED AI TIPS CAROUSEL SECTION
   ================================================================= */

/* Related Tips Wrapper - matches tool-content-wrapper alignment */
.related-tips-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.related-tips-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.related-tips-header {
    margin-bottom: 2rem;
}

.related-tips-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.related-tips-title-content {
    flex: 1;
    min-width: 0;
}

.related-tips-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.related-tips-header h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, var(--tool-primary), var(--tool-secondary));
    border-radius: 2px;
    flex-shrink: 0;
}

.related-tips-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    padding-left: calc(4px + 0.75rem);
    line-height: 1.5;
}

/* Carousel Wrapper */
.tips-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(20, 184, 166, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.carousel-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #8B5CF6, #14B8A6);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.carousel-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.carousel-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Container */
.tips-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.tips-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carousel Cards */
.tip-carousel-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 280px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tip-carousel-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.2), 0 6px 15px rgba(20, 184, 166, 0.15);
}

/* Card Image */
.tip-carousel-image-link {
    display: block;
    text-decoration: none;
}

.tip-carousel-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.tip-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tip-carousel-card:hover .tip-carousel-image img {
    transform: scale(1.08);
}

.tip-carousel-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(20, 184, 166, 0.9));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

/* Card Content */
.tip-carousel-content {
    padding: 1.25rem;
}

.tip-carousel-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tip-carousel-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tip-carousel-title a:hover {
    color: #8B5CF6;
}

.tip-carousel-excerpt {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.tip-carousel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tip-carousel-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.tip-carousel-read-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: #14B8A6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tip-carousel-read-more:hover {
    color: #8B5CF6;
    transform: translateX(3px);
}

/* Carousel Dots */
.tips-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(139, 92, 246, 0.5);
}

.carousel-dot.active {
    background: linear-gradient(135deg, #8B5CF6, #14B8A6);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* View All Tips Button */
.view-all-tips-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--tool-primary), var(--tool-secondary));
    border: none;
    border-radius: 10px;
    color: #0a0e13;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.view-all-tips-btn svg {
    transition: transform 0.2s ease;
}

.view-all-tips-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    color: #0a0e13;
}

.view-all-tips-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .tip-carousel-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .related-tips-wrapper {
        padding: 0 1rem 4rem;
    }
    
    .related-tips-section {
        padding: 1.5rem 1rem;
    }
    
    .related-tips-title-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .view-all-tips-btn {
        align-self: flex-start;
        margin-left: calc(4px + 0.75rem);
    }
    
    .related-tips-header h2 {
        font-size: 1.35rem;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .tip-carousel-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: 220px;
    }
    
    .tip-carousel-image {
        height: 140px;
    }
    
    .tip-carousel-content {
        padding: 1rem;
    }
    
    .tip-carousel-title {
        font-size: 0.9rem;
    }
    
    .tip-carousel-excerpt {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .related-tips-wrapper {
        padding: 0 0.75rem 3rem;
    }
    
    .related-tips-section {
        padding: 1.25rem 0.75rem;
    }
    
    .related-tips-header {
        margin-bottom: 1.5rem;
    }
    
    .related-tips-header h2 {
        font-size: 1.2rem;
    }
    
    .view-all-tips-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .tips-carousel-wrapper {
        gap: 0.5rem;
    }
    
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .tip-carousel-card {
        flex: 0 0 100%;
        min-width: 0;
    }
    
    .tip-carousel-image {
        height: 160px;
    }
    
    .view-all-tips-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* =================================================================
   ACCESSIBILITY
   ================================================================= */

/* Remove focus outline on click */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus,
*:focus {
    outline: none !important;
}

/* Maintain focus visibility for keyboard navigation */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
*:focus-visible {
    outline: 2px solid var(--tool-primary) !important;
    outline-offset: 2px !important;
}
