/* --- DESIGN TOKENS --- */
:root {
    --primary: #FF2E63;
    --primary-dark: #D11046; /* High contrast variant for text headers/links */
    --primary-soft: #fff1f3;
    --secondary: #1A1D23;
    --bg-hero: #FFF5F7;
    --bg-tools: #fcf8f7; 
    --white: #ffffff;
    --text-main: #111827; /* Near black for maximum contrast */
    --text-light: #374151; /* Darkened to significantly exceed WCAG AA standards */
    --border: #f0e6e8;
    --radius: 16px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    --transition: all 0.2s ease;
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.5;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* --- NON-STICKY HEADER --- */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: relative; 
    z-index: 2000;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: var(--secondary); 
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.logo span { color: var(--primary-dark); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-light); }
.nav-links a:hover { color: var(--primary-dark); }

/* --- MOBILE MENU --- */
.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--secondary); }
.mobile-nav {
    display: none;
    position: absolute; 
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 1999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-weight: 600; color: var(--text-light); }
.mobile-nav a:hover { color: var(--primary-dark); padding-left: 5px; }

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--bg-hero);
}
.hero h1 { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
    color: var(--secondary);
    letter-spacing: -1.2px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-dark);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(209, 16, 70, 0.2);
    margin-top: 30px;
    transition: transform 0.2s;
}
.cta-btn:hover { transform: translateY(-3px); background: #b00d3a; }
.cta-btn b { font-weight: 800; }
.cta-btn span { font-weight: 500; opacity: 1; margin-left: 5px; color: #ffffff; }
.cta-btn .arrow { margin-left: 15px; font-weight: bold; }

.tools-link-wrapper { margin-top: 25px; }
.tools-link { color: var(--text-light); font-size: 0.95rem; display: inline-block; text-decoration: underline; font-weight: 600; }
.tools-link:hover { color: var(--primary-dark); }
.arrow-down { display: block; margin: 10px auto 0; font-size: 1.2rem; color: var(--text-light); }

/* --- TOOLS GRID --- */
.tools-container { background-color: var(--bg-tools); padding: 60px 0 100px; }

.category-header {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-dark); /* Darkened for accessibility contrast */
    margin: 50px 0 20px;
    text-align: left;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.tool-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    align-items: start;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    text-align: left;
}
.tool-card:hover { border-color: var(--primary); transform: scale(1.02); }

.tool-icon-circle {
    width: 44px;
    height: 44px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-dark);
}
.tool-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--secondary); }
.tool-content p { font-size: 0.9rem; color: var(--text-light); line-height: 1.4; font-weight: 500; }

/* --- GUIDES SECTION --- */
.guide-section { padding: 90px 0; border-top: 1px solid var(--border); }
.guide-section.alt { background-color: #fafbfc; }
.guide-title { font-size: 2.2rem; text-align: center; margin-bottom: 50px; font-weight: 800; }

.steps-container { max-width: 800px; margin: 0 auto; }
.step-row { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.step-bullet { width: 8px; height: 8px; background: var(--primary-dark); border-radius: 50%; margin-top: 10px; flex-shrink: 0; }
.step-row p { font-size: 1.05rem; color: var(--text-main); font-weight: 500; }

.guide-cta { display: block; text-align: center; margin-top: 40px; color: var(--primary-dark); font-weight: 800; font-size: 1.1rem; text-decoration: underline; }
.link-cta { color: var(--primary-dark); font-weight: 700; font-size: 1.1rem; text-decoration: underline; }
/* --- FAQ --- */
.faq-section { padding: 90px 0; background: var(--secondary); color: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.faq-item h3 { color: var(--primary); font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; }
.faq-item p { color: #E5E7EB; font-size: 0.95rem; line-height: 1.6; } 

/* --- FOOTER --- */
footer { background: var(--secondary); color: #D1D5DB; padding: 60px 0 30px; border-top: 1px solid #343a40; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 25px; }
.footer-links a { color: #ffffff; font-weight: 700; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { font-size: 0.85rem; border-top: 1px solid #4B5563; padding-top: 25px; color: #9CA3AF; }

@media (max-width: 992px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .tools-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .tool-card { padding: 20px; }
}