/* Base Variables & Reset */
:root { --primary: #4f46e5; --primary-hover: #4338ca; --secondary: #0f172a; --bg: #f8fafc; --text: #334155; --border: #e2e8f0; --accent: #f59e0b; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--text); margin: 0; padding: 0; line-height: 1.6; }
a { text-decoration: none; }

/* Hero Section */
.hero { background: var(--secondary); color: white; padding: 80px 20px 100px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 60%); z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-label { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: #cbd5e1; }
.hero h1 { font-size: 3.5rem; margin: 0 0 20px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.hero p { font-size: 1.25rem; color: #94a3b8; margin: 0; }

/* Tools Layout Container */
.container { max-width: 1000px; margin: -60px auto 60px; padding: 0 20px; position: relative; z-index: 10; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* General Card Styles */
.tool-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 30px; transition: all 0.3s ease; display: flex; flex-direction: column; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.tool-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.tool-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; }
.tool-title { font-size: 1.3rem; color: var(--secondary); margin: 0 0 10px; font-weight: 700; }
.tool-desc { color: #64748b; font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.tool-btn { color: var(--primary); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; }
.tool-btn::after { content: '→'; margin-left: 5px; transition: margin 0.2s; }
.tool-card:hover .tool-btn::after { margin-left: 10px; }

/* Row 1: Featured Card */
.featured-card { grid-column: 1 / -1; border: 2px solid var(--primary); position: relative; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.featured-badge { position: absolute; top: -12px; left: 30px; background: var(--accent); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.featured-card .tool-icon { font-size: 4rem; margin: 0; background: #e0e7ff; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; border-radius: 20px; }
.featured-content { display: flex; flex-direction: column; align-items: flex-start; }
.featured-card .tool-title { font-size: 1.8rem; }

/* Award Banner */
.award-banner { margin-top: 40px; background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); border-radius: 16px; padding: 30px; color: white; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); flex-wrap: wrap; gap: 20px; }
.award-content h3 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 800; }
.award-content p { margin: 0; font-size: 1rem; opacity: 0.9; max-width: 600px; }
.btn-award { background: white; color: #d97706; padding: 12px 24px; border-radius: 8px; font-weight: 700; transition: transform 0.2s; white-space: nowrap; }
.btn-award:hover { transform: scale(1.05); }

/* Content & FAQ Sections */
.content-section { margin-top: 40px; background: white; padding: 50px; border-radius: 20px; border: 1px solid var(--border); }
.content-section h2 { color: var(--secondary); margin-top: 0; font-size: 2rem; letter-spacing: -0.5px; }
.about-box { background: #f1f5f9; border-left: 4px solid var(--primary); padding: 25px; border-radius: 0 12px 12px 0; margin: 20px 0; }
.about-box h3 { color: var(--primary); margin-top: 0; }
.brand-link { color: var(--primary); font-weight: 700; text-decoration: underline; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-weight: 700; color: var(--secondary); font-size: 1.1rem; margin-bottom: 10px; }
.faq-answer { color: #475569; }

/* Footer & Modal */
footer { text-align: center; padding: 40px 20px; color: #94a3b8; font-size: 0.9rem; margin-bottom: 40px; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 999; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.show { display: flex; opacity: 1; }
.modal-box { background: white; width: 90%; max-width: 500px; border-radius: 20px; padding: 40px; text-align: center; position: relative; transform: translateY(20px); transition: transform 0.3s ease; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.modal-overlay.show .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 1.5rem; color: #94a3b8; cursor: pointer; border: none; background: none; }
.modal-icon { font-size: 3rem; margin-bottom: 15px; }
.modal-box h2 { color: var(--secondary); margin-top: 0; font-size: 1.8rem; }
.modal-box p { color: #475569; margin-bottom: 25px; }
.btn-primary { display: inline-block; background: var(--primary); color: white; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 1.1rem; transition: background 0.2s; }
.btn-primary:hover { background: var(--primary-hover); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .tools-grid { grid-template-columns: 1fr; }
    .featured-card { grid-template-columns: 1fr; text-align: center; }
    .featured-badge { left: 50%; transform: translateX(-50%); }
    .featured-card .tool-icon { margin: 0 auto 20px; }
    .featured-content { align-items: center; text-align: center; }
    .content-section { padding: 30px 20px; }
    .award-banner { flex-direction: column; text-align: center; }
}