/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #212529; line-height: 1.7; background: #fff; }
a { color: #00b4d8; text-decoration: none; transition: color .2s; }
a:hover { color: #0096b7; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: #0d1b2a; }

/* === CONTAINER === */
.tas-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
.tas-header { background: #ffffff; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,.15); border-bottom: 3px solid #00b4d8; }
.tas-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.tas-logo img { height: 40px; width: auto; }
.tas-nav .tas-menu { display: flex; gap: 8px; list-style: none; }
.tas-nav .tas-menu li a { color: #0d1b2a; font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: all .2s; }
.tas-nav .tas-menu li a:hover, .tas-nav .tas-menu li.current-menu-item a { color: #00b4d8; background: rgba(0,180,216,.1); }
.tas-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.tas-menu-toggle span { display: block; width: 24px; height: 2px; background: #0d1b2a; margin: 5px 0; transition: .3s; }

/* === HERO === */
.tas-hero { background: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 50%, #00b4d8 100%); color: #fff; padding: 80px 0; text-align: center; }
.tas-hero h1 { font-size: 2.8rem; margin-bottom: 16px; font-weight: 800; }
.tas-hero p { font-size: 1.2rem; max-width: 650px; margin: 0 auto 30px; opacity: .9; }
.tas-btn { display: inline-block; background: #00b4d8; color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 1rem; transition: all .2s; }
.tas-btn:hover { background: #0096b7; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,180,216,.4); }
.tas-btn-outline { background: transparent; border: 2px solid #00b4d8; color: #00b4d8; margin-left: 12px; }
.tas-btn-outline:hover { background: #00b4d8; color: #fff; }

/* === SECTIONS === */
.tas-section { padding: 60px 0; }
.tas-section-alt { background: #f8f9fa; }
.tas-section-title { font-size: 1.8rem; margin-bottom: 30px; padding-bottom: 12px; border-bottom: 3px solid #00b4d8; display: inline-block; }
.tas-page-title { font-size: 2rem; margin: 30px 0; }

/* === GRID === */
.tas-grid { display: grid; gap: 24px; }
.tas-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tas-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tas-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === CARDS === */
.tas-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); transition: all .3s; }
.tas-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.tas-card-image { display: block; position: relative; overflow: hidden; aspect-ratio: 3/2; }
.tas-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tas-card:hover .tas-card-image img { transform: scale(1.05); }
.tas-card-body { padding: 20px; }
.tas-card-body h2, .tas-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tas-card-body h2 a, .tas-card-body h3 a { color: #0d1b2a; }
.tas-card-body h2 a:hover, .tas-card-body h3 a:hover { color: #00b4d8; }
.tas-card-body p { color: #6c757d; font-size: .9rem; }
.tas-card-cat { display: inline-block; background: #90e0ef; color: #0d1b2a; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }

/* === RATING BADGE === */
.tas-rating-badge { position: absolute; top: 12px; right: 12px; background: #0d1b2a; color: #00b4d8; border-radius: 8px; padding: 6px 10px; font-weight: 700; z-index: 2; line-height: 1; }
.tas-rating-number { font-size: 1.3rem; font-family: 'Courier New', monospace; }
.tas-rating-max { font-size: .75rem; color: #6c757d; }
.tas-rating-excellent .tas-rating-number { color: #00b4d8; }
.tas-rating-good .tas-rating-number { color: #90e0ef; }
.tas-rating-average .tas-rating-number { color: #ffc107; }

/* === CATEGORY BLOCKS (Homepage) === */
.tas-cat-block { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.tas-cat-title { font-size: 1.4rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #00b4d8; }
.tas-cat-title a { color: #0d1b2a; }
.tas-cat-title a:hover { color: #00b4d8; }
.tas-cat-list { margin-bottom: 16px; }
.tas-cat-list li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 12px; }
.tas-cat-list li:last-child { border-bottom: none; }
.tas-cat-list li a { color: #212529; font-weight: 500; }
.tas-cat-list li a:hover { color: #00b4d8; }
.tas-cat-list .tas-rating-badge { position: static; padding: 3px 8px; font-size: .8rem; flex-shrink: 0; }
.tas-cat-list .tas-rating-number { font-size: .9rem; }
.tas-more-link { color: #00b4d8; font-weight: 600; font-size: .9rem; }

/* === SINGLE REVIEW === */
.tas-single { padding: 30px 0 60px; max-width: 900px; }
.tas-review-header { margin-bottom: 30px; }
.tas-review-header h1 { font-size: 2.2rem; margin: 12px 0; }
.tas-badge { display: inline-block; background: #00b4d8; color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.tas-meta { color: #6c757d; font-size: .9rem; display: flex; gap: 20px; }
.tas-review-hero { margin-bottom: 30px; border-radius: 12px; overflow: hidden; }
.tas-review-hero img { width: 100%; }

/* Rating Summary Box */
.tas-review-summary { background: #f8f9fa; border-radius: 12px; padding: 28px; margin-bottom: 40px; display: flex; gap: 30px; align-items: flex-start; border: 1px solid #e9ecef; }
.tas-review-score { text-align: center; flex-shrink: 0; min-width: 120px; }
.tas-review-score .tas-rating-badge { position: static; display: inline-block; padding: 12px 18px; border-radius: 12px; margin-bottom: 8px; }
.tas-review-score .tas-rating-number { font-size: 2rem; }
.tas-review-score .tas-rating-max { font-size: 1rem; }
.tas-review-stars { color: #ffc107; font-size: 1.2rem; margin: 8px 0; }
.tas-review-price { color: #0d1b2a; font-weight: 700; font-size: 1.1rem; }

/* Pros & Cons */
.tas-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; flex: 1; }
.tas-pros h3, .tas-cons h3 { font-size: 1rem; margin-bottom: 12px; }
.tas-pros h3 { color: #198754; }
.tas-cons h3 { color: #dc3545; }
.tas-pros ul, .tas-cons ul { list-style: none; }
.tas-pros li, .tas-cons li { padding: 6px 0; font-size: .95rem; }
.tas-pros li::before { content: '✓ '; color: #198754; font-weight: 700; }
.tas-cons li::before { content: '✗ '; color: #dc3545; font-weight: 700; }

/* Content */
.tas-content { font-size: 1.05rem; }
.tas-content h2 { font-size: 1.6rem; margin: 40px 0 16px; padding-top: 20px; border-top: 1px solid #e9ecef; }
.tas-content h3 { font-size: 1.3rem; margin: 30px 0 12px; }
.tas-content p { margin-bottom: 16px; }
.tas-content ul, .tas-content ol { margin: 0 0 16px 24px; }
.tas-content li { margin-bottom: 6px; }
.tas-content img { border-radius: 8px; margin: 20px 0; }
.tas-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.tas-content th, .tas-content td { padding: 12px 16px; border: 1px solid #e9ecef; text-align: left; }
.tas-content th { background: #f8f9fa; font-weight: 600; }

/* Verdict */
.tas-verdict { background: linear-gradient(135deg, #0d1b2a, #1b3a5c); color: #fff; padding: 30px; border-radius: 12px; margin: 40px 0; }
.tas-verdict h2 { color: #00b4d8; margin-bottom: 12px; border: none; padding: 0; }

/* Related */
.tas-related { margin-top: 60px; padding-top: 40px; border-top: 2px solid #e9ecef; }
.tas-related h2 { font-size: 1.5rem; margin-bottom: 24px; }

/* === BREADCRUMBS === */
.tas-breadcrumbs { padding: 16px 0; font-size: .85rem; color: #6c757d; }
.tas-breadcrumbs a { color: #00b4d8; }
.tas-breadcrumbs .sep { margin: 0 8px; color: #ccc; }

/* === FOOTER === */
.tas-footer { background: #0d1b2a; color: #adb5bd; padding: 60px 0 0; margin-top: 60px; }
.tas-footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.tas-footer-brand img { margin-bottom: 16px; }
.tas-footer-brand p { font-size: .9rem; line-height: 1.6; }
.tas-footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.tas-footer-links ul { list-style: none; }
.tas-footer-links li { margin-bottom: 8px; }
.tas-footer-links a { color: #adb5bd; font-size: .9rem; }
.tas-footer-links a:hover { color: #00b4d8; }
.tas-footer-bottom { padding: 20px 0; text-align: center; font-size: .85rem; }

/* === PAGE STYLES === */
.tas-page h1 { font-size: 2rem; margin-bottom: 24px; }
.tas-page .tas-content { max-width: 800px; }

/* === PAGINATION === */
.nav-links { display: flex; gap: 8px; justify-content: center; margin: 40px 0; }
.nav-links a, .nav-links span { padding: 10px 16px; border-radius: 6px; font-weight: 500; }
.nav-links a { background: #f8f9fa; color: #0d1b2a; }
.nav-links a:hover { background: #00b4d8; color: #fff; }
.nav-links .current { background: #0d1b2a; color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .tas-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .tas-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .tas-hero h1 { font-size: 2rem; }
    .tas-hero p { font-size: 1rem; }
    .tas-grid-2, .tas-grid-3, .tas-grid-4 { grid-template-columns: 1fr; }
    .tas-footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .tas-review-summary { flex-direction: column; }
    .tas-pros-cons { grid-template-columns: 1fr; }
    .tas-review-header h1 { font-size: 1.6rem; }

    /* Mobile menu */
    .tas-menu-toggle { display: block; }
    .tas-nav { position: absolute; top: 64px; left: 0; right: 0; background: #0d1b2a; padding: 20px; display: none; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
    .tas-nav.active { display: block; }
    .tas-nav .tas-menu { flex-direction: column; gap: 4px; }
    .tas-nav .tas-menu li a { display: block; padding: 12px 16px; color: #fff; }
}
