@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');
body, html { margin: 0; padding: 0; font-family: 'Roboto', sans-serif; color: #1a1a1a; background: #f4f6f8; display: flex; flex-direction: column; min-height: 100vh; }
.masthead { background: white; border-top: 5px solid #2980b9; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.top-nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; max-width: 1200px; margin: 0 auto; box-sizing: border-box; width: 100%; }
.logo-box { font-size: 2rem; font-weight: 900; cursor: pointer; letter-spacing: -1px; display: flex; align-items: center; }
.g-letter { background: #2980b9; color: white; display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 4px; margin-right: 8px; font-size: 1.8rem; }
.light { font-weight: 400; color: #7f8c8d; }
.search-bar { display: flex; }
.search-bar input { padding: 10px 15px; border: 1px solid #ccc; border-right: none; border-radius: 4px 0 0 4px; width: 300px; font-family: 'Roboto'; }
.search-bar button { padding: 10px 20px; background: #2c3e50; color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-weight: 500; }
.category-nav { background: #2c3e50; display: flex; justify-content: center; gap: 30px; }
.category-nav a { color: white; text-decoration: none; padding: 15px 20px; text-transform: uppercase; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.category-nav a:hover, .category-nav a.active { background: #2980b9; }
.page { display: none; padding: 40px 5%; max-width: 1200px; margin: 0 auto; box-sizing: border-box; width: 100%; flex: 1; }
.page.active { display: block; animation: fade 0.3s; }
.magazine-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.featured-story { height: 500px; background-size: cover; background-position: center; border-radius: 8px; display: flex; align-items: flex-end; padding: 40px; color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.badge { background: #2980b9; color: white; padding: 5px 10px; font-size: 0.75rem; text-transform: uppercase; font-weight: bold; border-radius: 3px; display: inline-block; margin-bottom: 15px; }
.badge.grey { background: #7f8c8d; }
.badge.blue { background: #3498db; }
.badge.purple { background: #9b59b6; }
.story-content h2 { font-size: 2.5rem; margin: 0 0 10px 0; line-height: 1.1; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.story-content p { font-size: 1.1rem; opacity: 0.9; margin: 0; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); }
.sidebar-stories { display: flex; flex-direction: column; gap: 20px; }
.mini-story { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.mini-story h3 { margin: 10px 0 0 0; font-size: 1.2rem; line-height: 1.3; color: #2c3e50; cursor: pointer; }
.mini-story h3:hover { color: #2980b9; }
.review-layout h2, .tip-layout h2 { font-size: 2rem; color: #2c3e50; margin-bottom: 30px; border-bottom: 2px solid #2980b9; padding-bottom: 10px; display: inline-block; }
.review-list { display: flex; flex-direction: column; gap: 20px; }
.review-card { display: flex; background: white; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); overflow: hidden; }
.score { background: #2980b9; color: white; width: 100px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 900; }
.review-text { padding: 30px; flex: 1; }
.review-text h3 { margin: 0 0 10px 0; font-size: 1.5rem; color: #2c3e50; }
.review-text p { margin: 0; color: #555; line-height: 1.6; }
.tip-layout { max-width: 600px; }
.tech-form { display: flex; flex-direction: column; gap: 20px; background: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-top: 20px; }
.tech-form input[type="email"], .tech-form textarea { padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Roboto'; font-size: 1rem; width: 100%; box-sizing: border-box; }
.checkbox-row { display: flex; align-items: center; gap: 10px; color: #555; }
.tech-form button { background: #e74c3c; color: white; border: none; padding: 15px; font-size: 1.1rem; font-weight: bold; border-radius: 4px; cursor: pointer; }
.tech-form button:hover { background: #c0392b; }
.tech-footer { background: #2c3e50; color: white; padding: 50px 5% 20px 5%; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; }
.footer-grid strong { display: block; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; color: #bdc3c7; }
.footer-grid a { display: block; color: #ecf0f1; text-decoration: none; margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: #3498db; }
.small { font-size: 0.9rem; color: #bdc3c7; margin-top: 10px; }
.copyright { text-align: center; font-size: 0.85rem; color: #7f8c8d; padding-top: 20px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
