* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #faf8f5; color: #3d352e; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: #ffffff; border-bottom: 1px solid #f0ebe3; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.logo { font-size: 24px; font-weight: 700; color: #e8743b; }
.logo span { color: #3d352e; }
.nav { display: flex; gap: 25px; }
.nav-link { color: #6b5d52; text-decoration: none; font-size: 15px; transition: color 0.2s; }
.nav-link:hover { color: #e8743b; }
.nav-vip { color: #d4a017; font-weight: 600; }
.header-actions { display: flex; gap: 10px; }

/* Buttons */
.btn { padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.2s; }
.btn-primary { background: #e8743b; color: #ffffff; }
.btn-primary:hover { background: #d4632a; }
.btn-outline { background: transparent; color: #e8743b; border: 1px solid #e8743b; }
.btn-outline:hover { background: rgba(232,116,59,0.05); }
.btn-vip { background: linear-gradient(135deg, #d4a017, #b8860b); color: #ffffff; }
.btn-vip:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(212,160,23,0.3); }
.btn-full { width: 100%; padding: 14px; }

/* Hero */
.hero { background: linear-gradient(135deg, #e8743b 0%, #f5a662 50%, #e8743b 100%); padding: 20px 0; text-align: center; color: #ffffff; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); color: #fff; padding: 8px 20px; border-radius: 20px; font-size: 14px; margin-bottom: 10px; }
.hero h1 { font-size: 30px; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.hero-subtitle { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 15px; line-height: 1.6; }
.hero-stats { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.stat-number { font-size: 36px; font-weight: 800; color: #fff; }
.stat-label { font-size: 14px; color: #ffe8d6; margin-top: 5px; }

/* Sections */
.section { padding: 20px 0; }
.section-alt { background: #f5f2ed; }
.section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 10px; color: #3d352e; }
.section-subtitle { text-align: center; color: #6b5d52; margin-bottom: 40px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }

/* Filter */
.filter-bar { display: flex; gap: 10px; }
.filter-btn { padding: 8px 16px; border-radius: 20px; border: 1px solid #e0d8cc; background: transparent; color: #6b5d52; cursor: pointer; font-size: 13px; }
.filter-btn.active { background: #e8743b; color: #fff; border-color: #e8743b; }

/* Tool Grid */
.tool-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:15px;}
.tools-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:15px;}
.tool-card{background:#fff;border-radius:12px;padding:15px;text-align:center;cursor:pointer;transition:all 0.2s;box-shadow:0 2px 8px rgba(0,0,0,0.08);;position:relative}
.tool-card:hover { transform: translateY(-3px); border-color: #e8743b; box-shadow: 0 8px 24px rgba(232,116,59,0.12); }
.tool-icon{font-size:32px;margin-bottom:8px;}
.tool-card h3{font-size:14px;margin-bottom:6px;color:#333;}
.tool-card p{font-size:12px;color:#666;line-height:1.4;}
.tool-tag { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; z-index: 10; }
.tool-tag.Free { background: rgba(232,116,59,0.1); color: #e8743b; }
.tool-tag.VIP { background: rgba(212,160,23,0.15); color: #b8860b; }

/* Content Grid */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.content-card { background: #ffffff; border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.2s; border: 1px solid #f0ebe3; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.content-card:hover { transform: translateY(-3px); border-color: #e8743b; box-shadow: 0 8px 24px rgba(232,116,59,0.12); }
.content-cover { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.content-body { padding: 15px 25px; }
.content-category { font-size: 12px; color: #e8743b; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.content-title { font-size: 17px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; color: #3d352e; }
.content-desc { font-size: 13px; color: #6b5d52; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.content-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #9a8b7e; }
.vip-badge { background: rgba(212,160,23,0.15); color: #b8860b; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; }

/* VIP Section */
.vip-section { background: linear-gradient(135deg, #faf5e8, #f5edd8); }
.vip-card { background: #ffffff; border: 2px solid #d4a017; border-radius: 20px; padding: 50px; box-shadow: 0 8px 32px rgba(212,160,23,0.15); }
.vip-badge { display: inline-block; background: rgba(212,160,23,0.15); color: #b8860b; padding: 8px 20px; border-radius: 20px; font-size: 14px; margin-bottom: 10px; }
.vip-card h2 { font-size: 32px; margin-bottom: 30px; color: #3d352e; }
.vip-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.vip-features { display: flex; flex-direction: column; gap: 15px; }
.feature-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #3d352e; }
.check { color: #e8743b; font-weight: 700; }
.vip-pricing { text-align: center; }
.price { font-size: 48px; font-weight: 800; color: #d4a017; }
.price span { font-size: 18px; color: #6b5d52; }
.price-note { color: #6b5d52; margin: 10px 0 20px; font-size: 14px; }
.secure-note { font-size: 12px; color: #9a8b7e; margin-top: 15px; }

/* Footer */
.footer { background: #3d352e; padding: 50px 0 20px; color: #c8bfb5; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.footer-col h4 { margin-bottom: 15px; color: #f5a662; font-size: 15px; }
.footer-col a { display: block; color: #a89e92; text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-desc { color: #a89e92; font-size: 14px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid #5a4f44; padding-top: 20px; text-align: center; color: #8a7e72; font-size: 13px; }
.footer .logo { color: #f5a662; }
.footer .logo span { color: #fff; }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 15px 25px; }
.modal { background: #ffffff; border-radius: 16px; padding: 30px; max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; border: 1px solid #f0ebe3; box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #9a8b7e; font-size: 28px; cursor: pointer; }
.modal-close:hover { color: #3d352e; }

/* Auth Modal */
.auth-tabs { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid #f0ebe3; }
.auth-tab { background: none; border: none; color: #9a8b7e; font-size: 18px; font-weight: 600; padding: 10px 0; cursor: pointer; border-bottom: 2px solid transparent; }
.auth-tab.active { color: #e8743b; border-bottom-color: #e8743b; }
.form-group { margin-bottom: 10px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: #6b5d52; }
.form-group input, .form-group select { width: 100%; padding: 12px; background: #faf8f5; border: 1px solid #e0d8cc; border-radius: 8px; color: #3d352e; font-size: 15px; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: #e8743b; background: #fff; }

/* Content Modal */
.content-modal { max-width: 800px; }
.content-modal h2 { margin-bottom: 15px; font-size: 26px; color: #3d352e; }
.content-meta-row { display: flex; gap: 15px; margin-bottom: 20px; color: #6b5d52; font-size: 14px; }
.content-modal-body { line-height: 1.8; }
.content-modal-body h3 { color: #e8743b; margin: 20px 0 10px; font-size: 18px; }
.content-modal-body h4 { color: #d4632a; margin: 15px 0 8px; }
.content-modal-body p { margin-bottom: 8px; color: #4d453e; }
.vip-locked { background: #faf5e8; border: 1px solid #d4a017; border-radius: 12px; padding: 30px; text-align: center; margin-top: 20px; }
.vip-locked h4 { color: #b8860b; margin-bottom: 10px; }

/* Tool Modal */
.tool-modal { max-width: 700px; }
.tool-modal h3 { margin-bottom: 20px; color: #e8743b; }
.tool-input-group { margin-bottom: 15px; }
.tool-input-group label { display: block; margin-bottom: 5px; font-size: 14px; color: #6b5d52; }
.tool-input-group input, .tool-input-group select { width: 100%; padding: 10px; background: #faf8f5; border: 1px solid #e0d8cc; border-radius: 8px; color: #3d352e; }
.tool-input-group input:focus { outline: none; border-color: #e8743b; }
.tool-result { background: #fef5ee; border: 1px solid #e8743b; border-radius: 10px; padding: 15px 25px; margin-top: 20px; }
.tool-result h4 { color: #e8743b; margin-bottom: 10px; }
.tool-result p { margin: 5px 0; color: #3d352e; }

/* VIP Modal */
.vip-modal-content { text-align: center; }
.vip-modal-icon { font-size: 50px; margin-bottom: 15px; }
.vip-modal-content h3 { color: #3d352e; }
.vip-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 25px 0; }
.plan-card { background: #faf8f5; border: 1px solid #f0ebe3; border-radius: 12px; padding: 25px; position: relative; }
.plan-card.best-value { border-color: #d4a017; background: #faf5e8; }
.plan-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #d4a017; color: #fff; padding: 3px 12px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.plan-name { font-size: 16px; color: #6b5d52; margin-bottom: 10px; }
.plan-price { font-size: 36px; font-weight: 800; margin-bottom: 15px; color: #e8743b; }
.plan-price span { font-size: 14px; color: #9a8b7e; }

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 25px; }
    .vip-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .vip-plans { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tool-grid { grid-template-columns: 1fr; }
}
