/* ===================================
   GUIDES.CSS - Drone Decision Website
   Buying Guides & Features Page Styles
   (Excludes Header & Footer - those are in main CSS)
   ================================= */
section {
    padding: var(--spacing-4xl) var(--spacing-xl);
}
/* ===================================
   Guide Hero Section
   ================================= */
.guides-hero {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: var(--white);
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-3xl);
}

.guide-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: drift 20s linear infinite;
}

@keyframes drift {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-10px) translateY(-10px);
    }
}

.guide-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.guide-hero p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
    position: relative;
    z-index: 2;
}

.guide-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* ===================================
   Quick Navigation Cards
   ================================= */
.quick-nav {
    margin-bottom: var(--spacing-4xl);
}

.nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    gap: var(--spacing-2xl);
}

.nav-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.nav-card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.nav-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.nav-card p {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.guide-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
}

.professional-applications {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-4xl);
}

/* ===================================
   Content Cards & Guide Sections
   ================================= */
.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.content-card h2,
.content-card h3 {
    color: var(--text-dark);
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--primary-color);
}

/* ===================================
   Budget Guide Sections
   ================================= */
.budget-section {
    background: var(--bg-light);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-4xl);
    border: 1px solid var(--border-color);
}

.budget-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-dark);
    position: relative;
    border: none;
}

.budget-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: 2px;
}

.budget-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.budget-tier {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.budget-tier.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.budget-tier.popular::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.budget-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tier-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.tier-price {
    font-size: var(--font-size-3xl);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.tier-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.tier-description {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.drone-recommendations {
    list-style: none;
}

.drone-recommendation {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.drone-recommendation:hover {
    background: var(--white);
    border-color: var(--primary-color);
}

.drone-recommendation:last-child {
    margin-bottom: 0;
}

.drone-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.drone-info .price {
    font-size: var(--font-size-xl);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.drone-specs {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.drone-specs span {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    background: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.best-for {
    font-size: var(--font-size-sm);
    color: var(--success-color);
    font-weight: 600;
    font-style: italic;
}

.budget-tips {
    background: var(--bg-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.budget-tips h3 {
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-dark);
    text-align: center;
    border: none;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.tip-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.tip-card h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.tip-card ul {
    list-style: none;
}

.tip-card li {
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-lg);
}

.tip-card li::before {
    content: "💡";
    position: absolute;
    left: 0;
    font-size: var(--font-size-sm);
}

/* ===================================
   Features Guide Styles
   ================================= */
.features-sections {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.feature-section h3 {
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-dark);
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: var(--white);
    border-radius: var(--radius-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.feature-detail {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.feature-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.feature-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: var(--white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.feature-title {
    flex: 1;
}

.feature-title h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.priority-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-high {
    background: var(--error-color);
    color: var(--white);
}

.priority-medium {
    background: var(--warning-color);
    color: var(--white);
}

.priority-low {
    background: var(--success-color);
    color: var(--white);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-xl);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===================================
   Professional Use Cases
   ================================= */
.use-cases-section {
    background: var(--bg-light);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-4xl);
    border: 1px solid var(--border-color);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.use-case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.use-case-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.use-case-card:hover::before {
    transform: scaleX(1);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.use-case-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: var(--white);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.use-case-title h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.use-case-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.requirements-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.requirements-list li {
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-xl);
}

.requirements-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.recommended-drones {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.recommended-drones h5 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.drone-suggestions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.drone-suggestion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.drone-suggestion:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.drone-name {
    font-weight: 600;
    color: var(--text-dark);
}

.drone-price {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===================================
   FAQ Section
   ================================= */
.faq-section {
    margin-bottom: var(--spacing-4xl);
}

.faq-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    color: var(--text-dark);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: var(--spacing-xl);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    border: none;
    width: 100%;
    text-align: left;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-xl);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer.active {
    padding: var(--spacing-xl);
    max-height: 500px;
}

/* ===================================
   Comparison Tables
   ================================= */
.comparison-table,
.drone-comparison-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-3xl);
    width: 100%;
}

.comparison-table table,
.drone-comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.table-header {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: var(--white);
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 600;
    font-size: var(--font-size-lg);
    border: none;
}

.table-header div {
    color: var(--white);
    font-weight: 600;
    font-size: var(--font-size-md);
}

.comparison-table td,
.table-row {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    background: var(--white);
}

.table-row:hover {
    background: var(--bg-light);
}

.table-row div {
    padding: var(--spacing-sm) 0;
    color: var(--text-dark);
}

.spec-value {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-label {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

/* Star ratings */
.stars {
    color: #ffd700;
    font-size: var(--font-size-lg);
    margin-left: var(--spacing-sm);
}

/* ===================================
   Guide Sidebar
   ================================= */
.guide-sidebar {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: sticky;
    top: var(--spacing-xl);
}

.guide-sidebar h4 {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.guide-sidebar ul {
    list-style: none;
}

.guide-sidebar li {
    margin-bottom: var(--spacing-sm);
}

.guide-sidebar a {
    color: var(--text-light);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-sm);
    display: block;
    transition: all 0.3s ease;
}

.guide-sidebar a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* ===================================
   Tabbed Content
   ================================= */
.tabbed-content {
    margin-bottom: var(--spacing-4xl);
}

.tab-navigation {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.tab-button {
    background: none;
    border: none;
    padding: var(--spacing-lg) var(--spacing-xl);
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
}

.tab-button.active {
    background: var(--white);
    color: var(--primary-color);
}

.tab-button:hover:not(.active) {
    background: var(--white);
    color: var(--text-dark);
}

.tab-content {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: var(--spacing-2xl);
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===================================
   Progress Indicators
   ================================= */
.learning-path {
    background: var(--bg-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-3xl);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.progress-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-step {
    background: var(--white);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.completed {
    background: var(--success-color);
    border-color: var(--success-color);
    color: var(--white);
}

.progress-step.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ===================================
   Responsive Design
   ================================= */
@media (max-width: 768px) {
    .guide-hero {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .guide-stats {
        gap: var(--spacing-lg);
    }

    .quick-nav {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .budget-tiers {
        grid-template-columns: 1fr;
    }

    .budget-tier.popular {
        transform: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .tab-navigation {
        flex-direction: column;
    }

    .drone-recommendation {
        flex-direction: column;
        text-align: center;
    }

    .drone-specs {
        justify-content: center;
    }

    .comparison-table,
    .drone-comparison-table {
        font-size: var(--font-size-sm);
    }

    .comparison-table th,
    .comparison-table td,
    .table-header,
    .table-row {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    section {
        padding: var(--spacing-2xl) var(--spacing-xl);
    }
    .nav-grid {
        grid-template-rows: 1fr;
        gap: var(--spacing-lg);
    }

    .guide-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-2xl);
        margin-bottom: var(--spacing-4xl);
    }

    .professional-applications {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-2xl);
        margin-bottom: var(--spacing-4xl);
    }

    .app-header img {
        width: 200px;
    }

    .guide-hero h1 {
        font-size: 2rem;
    }

    .budget-tips {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-2xl);
        padding: 0;
    }

    .tip-card {
        padding: var(--spacing-lg);
    }

    .budget-section,
    .use-cases-section {
        padding: var(--spacing-xl);
    }

    .feature-detail {
        padding: var(--spacing-lg);
    }

    .use-case-card {
        padding: var(--spacing-lg);
    }

    .use-case-header {
        flex-direction: column;
        text-align: center;
    }

    .faq-question {
        padding: var(--spacing-lg);
        font-size: var(--font-size-md);
    }

    .faq-answer.active {
        padding: var(--spacing-lg);
    }
}

/* ===================================
   Print Styles
   ================================= */
@media print {
    .guide-hero {
        background: none !important;
        color: var(--text-dark) !important;
    }

    .nav-card,
    .budget-tier,
    .feature-detail,
    .use-case-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid var(--border-color) !important;
    }

    .faq-answer {
        max-height: none !important;
        padding: var(--spacing-lg) !important;
    }

    .tab-content {
        display: block !important;
    }
}

/* ===================================
   High Contrast Mode Support
   ================================= */
@media (prefers-contrast: high) {
    .guide-hero {
        background: var(--text-dark);
        color: var(--white);
    }

    .nav-card,
    .budget-tier,
    .feature-detail,
    .use-case-card {
        border-width: 2px;
    }

    .priority-badge {
        border: 1px solid var(--text-dark);
    }
}

/* ===================================
   Reduced Motion Support
   ================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .guide-hero::before {
        animation: none;
    }
}

/* ===================================
   Racing/FPV Drone Specific Styles
   ================================= */
.racing-components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.racing-component {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.racing-component:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.racing-component h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.racing-component h4::before {
    content: "🏁";
    font-size: 1.5rem;
}

.component-specs {
    list-style: none;
}

.component-specs li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
    font-size: var(--font-size-sm);
    display: flex;
    justify-content: space-between;
}

.component-specs li strong {
    color: var(--text-dark);
}

/* ===================================
   Photography Drone Specs
   ================================= */
.photo-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.photo-spec-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.photo-spec-card .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.photo-spec-card h5 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.photo-spec-card .value {
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--primary-color);
}

.recommendation-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--success-color);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

/* ===================================
   Comparison Chart Styles
   ================================= */
.comparison-chart {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-3xl);
}

.comparison-chart h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
    text-align: center;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.chart-label {
    min-width: 150px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.chart-bar-fill {
    flex: 1;
    height: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.chart-bar-inner {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--spacing-sm);
    color: var(--white);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: width 0.8s ease;
}

/* ===================================
   Pros and Cons Lists
   ================================= */
.pros-cons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.pros-list,
.cons-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
}

.pros-list h4,
.cons-list h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.pros-list h4 {
    color: var(--success-color);
}

.pros-list h4::before {
    content: "✓";
    font-size: 1.5rem;
}

.cons-list h4 {
    color: var(--error-color);
}

.cons-list h4::before {
    content: "✗";
    font-size: 1.5rem;
}

.pros-list ul,
.cons-list ul {
    list-style: none;
}

.pros-list li,
.cons-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-xl);
    color: var(--text-light);
    position: relative;
}

.pros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.cons-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--error-color);
    font-weight: bold;
}

/* ===================================
   Call-to-Action Boxes
   ================================= */
.cta-box {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    text-align: center;
    margin: var(--spacing-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta-box h3 {
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: var(--spacing-lg) var(--spacing-3xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Info Boxes / Alerts
   ================================= */
.info-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.info-box.warning {
    border-left-color: var(--warning-color);
    background: #fff8e1;
}

.info-box.success {
    border-left-color: var(--success-color);
    background: #e8f5e9;
}

.info-box.error {
    border-left-color: var(--error-color);
    background: #ffebee;
}

.info-box h5 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-box h5::before {
    content: "ℹ️";
    font-size: 1.2rem;
}

.info-box.warning h5::before {
    content: "⚠️";
}

.info-box.success h5::before {
    content: "✓";
}

.info-box.error h5::before {
    content: "✗";
}

.info-box p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Price Comparison Widget
   ================================= */
.price-comparison {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-2xl);
}

.price-comparison h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.price-option:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.retailer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.price-tag {
    font-weight: bold;
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.price-option.best-deal {
    background: var(--success-color);
    color: var(--white);
}

.price-option.best-deal .retailer-name,
.price-option.best-deal .price-tag {
    color: var(--white);
}

.price-option.best-deal::after {
    content: "Best Deal";
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* ===================================
   Video Guide Embeds
   ================================= */
.video-guide {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-2xl);
}

.video-guide h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   Glossary / Terminology Section
   ================================= */
.glossary-section {
    background: var(--bg-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-3xl);
}

.glossary-section h3 {
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin-bottom: var(--spacing-xl);
    color: var(--text-dark);
    text-align: center;
}

.glossary-terms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.glossary-term {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.glossary-term dt {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.glossary-term dd {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   Additional Responsive Adjustments
   ================================= */
@media (max-width: 640px) {
    .racing-components-grid,
    .photo-specs-grid,
    .pros-cons-container,
    .glossary-terms {
        grid-template-columns: 1fr;
    }

    .chart-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .chart-label {
        min-width: auto;
        width: 100%;
    }

    .cta-box {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
}
