/* Yaber T2 Plus Review Website Styles */

:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --accent-color: #f59e0b;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.header .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Navigation */
.nav {
  background: var(--bg-white);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* Main Content */
.main {
  background: var(--bg-white);
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

.content {
  padding: 3rem;
  max-width: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 0.95rem;
}

th {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #1d4ed8;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

tr:nth-child(even) {
  background: var(--bg-light);
}

tr:hover {
  background: #e0f2fe;
}

/* Rating Stars */
.stars {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin: 0.25rem 0;
}

/* Highlight Boxes */
.highlight-box {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.highlight-box h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pros, .cons {
  padding: 1.5rem;
  border-radius: 8px;
}

.pros {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-left: 4px solid var(--success-color);
}

.cons {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-left: 4px solid var(--error-color);
}

.pros h3 {
  color: var(--success-color);
  margin-top: 0;
}

.cons h3 {
  color: var(--error-color);
  margin-top: 0;
}

/* Rating Badge */
.rating-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Recommendation Boxes */
.recommendation {
  background: linear-gradient(135deg, #f0f9ff, #dbeafe);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.recommendation h4 {
  color: var(--primary-color);
  margin-top: 0;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer p {
  color: #94a3b8;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .header .subtitle {
    font-size: 1rem;
  }
  
  .content {
    padding: 2rem 1.5rem;
  }
  
  .nav-container {
    gap: 1rem;
  }
  
  .nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .table-container {
    font-size: 0.85rem;
  }
  
  th, td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .content {
    padding: 1.5rem 1rem;
  }
  
  .header h1 {
    font-size: 1.75rem;
  }
  
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Print Styles */
@media print {
  .nav, .footer {
    display: none;
  }
  
  .main {
    box-shadow: none;
    margin: 0;
  }
  
  .content {
    padding: 1rem;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  table {
    page-break-inside: avoid;
  }
  
  .pros-cons {
    page-break-inside: avoid;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
  background: var(--primary-color);
  color: white;
}

/* Focus Styles */
a:focus, button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}