/* RLQQR Legal - Professional Legal Tools Site */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #2d3748; line-height: 1.7; background: #ffffff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #1a2744; text-decoration: none; } a:hover { color: #c9a84c; }

/* Header */
.site-header { background: #1a2744; color: white; padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.4rem; font-weight: 700; color: white; letter-spacing: -0.5px; }
.logo-accent { color: #c9a84c; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > a, .main-nav > .nav-dropdown > a { color: rgba(255,255,255,.85); padding: 20px 16px; display: block; font-size: .95rem; transition: all .2s; }
.main-nav > a:hover, .main-nav > .nav-dropdown > a:hover { color: white; background: rgba(255,255,255,.08); }
.caret { font-size: .75rem; margin-left: 4px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: white; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.15); padding: 20px; min-width: 700px; z-index: 1001; }
.nav-dropdown:hover .nav-dropdown-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nav-dropdown-group strong { display: block; color: #1a2744; margin-bottom: 6px; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.nav-dropdown-group a { display: block; color: #64748b; padding: 4px 0; font-size: .9rem; }
.nav-dropdown-group a:hover { color: #c9a84c; }
.view-all { grid-column: 1 / -1; color: #c9a84c; font-weight: 600; padding-top: 12px; border-top: 1px solid #eee; margin-top: 4px; }

/* Mobile */
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 900px) {
  .mobile-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #1a2744; flex-direction: column; padding: 10px 0; }
  .main-nav.active { display: flex; }
  .main-nav > a, .main-nav > .nav-dropdown > a { padding: 12px 20px; }
  .nav-dropdown-content { position: static; min-width: 100%; box-shadow: none; background: rgba(255,255,255,.05); padding: 10px 20px; display: none !important; }
  .nav-dropdown.open .nav-dropdown-content { display: block !important; grid-template-columns: 1fr !important; }
  .nav-dropdown-group a, .nav-dropdown-group strong { color: rgba(255,255,255,.7); }
}

/* Hero */
.hero { background: linear-gradient(135deg, #1a2744 0%, #2d4a7a 100%); color: white; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 1.15rem; max-width: 650px; margin: 0 auto 30px; opacity: .9; }
.hero .btn { display: inline-block; background: #c9a84c; color: #1a2744; padding: 14px 32px; border-radius: 6px; font-weight: 600; font-size: 1rem; transition: all .2s; }
.hero .btn:hover { background: #d4b45a; transform: translateY(-1px); }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: #f8f9fa; }
.section h2 { font-size: 2rem; margin-bottom: 8px; color: #1a2744; }
.section > .container > p { color: #64748b; margin-bottom: 30px; max-width: 700px; }

/* Grids */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.tool-card { background: white; border: 1px solid #e2e8f0; border-radius: 10px; padding: 24px; transition: all .2s; }
.tool-card:hover { border-color: #c9a84c; box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.tool-card .icon { font-size: 2rem; margin-bottom: 12px; }
.tool-card h3 { font-size: 1.1rem; color: #1a2744; margin-bottom: 8px; }
.tool-card p { font-size: .9rem; color: #64748b; line-height: 1.6; }
.tool-card a { display: inline-block; margin-top: 12px; color: #c9a84c; font-weight: 600; font-size: .9rem; }
.tool-card a:hover { color: #b08a30; }

/* Category tabs */
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.category-tab { padding: 8px 18px; border-radius: 20px; border: 1px solid #e2e8f0; background: white; cursor: pointer; font-size: .9rem; transition: all .2s; }
.category-tab:hover, .category-tab.active { background: #1a2744; color: white; border-color: #1a2744; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.blog-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: all .2s; }
.blog-card:hover { box-shadow: 0 6px 25px rgba(0,0,0,.1); transform: translateY(-2px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card .content { padding: 20px; }
.blog-card .badge { display: inline-block; background: #1a2744; color: white; padding: 3px 10px; border-radius: 12px; font-size: .75rem; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.15rem; color: #1a2744; margin-bottom: 8px; }
.blog-card p { color: #64748b; font-size: .9rem; }
.blog-card a.read-more { display: inline-block; margin-top: 10px; color: #c9a84c; font-weight: 600; font-size: .9rem; }

/* Article page */
.article-content { max-width: 800px; margin: 0 auto; }
.article-content h1 { font-size: 2.2rem; color: #1a2744; line-height: 1.3; margin-bottom: 16px; }
.article-content .meta { color: #64748b; font-size: .9rem; margin-bottom: 20px; }
.article-content img { width: 100%; border-radius: 10px; margin: 24px 0; }
.article-content h2 { font-size: 1.5rem; color: #1a2744; margin: 32px 0 12px; padding-top: 16px; border-top: 1px solid #eee; }
.article-content h3 { font-size: 1.2rem; color: #1a2744; margin: 24px 0 8px; }
.article-content p { margin-bottom: 16px; line-height: 1.8; }
.article-content ul, .article-content ol { margin: 16px 0 16px 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content blockquote { border-left: 4px solid #c9a84c; padding: 16px 20px; background: #f8f9fa; border-radius: 0 8px 8px 0; margin: 20px 0; font-style: italic; color: #64748b; }

/* Tool page */
.tool-page { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.tool-page h1 { font-size: 2rem; color: #1a2744; margin-bottom: 8px; }
.tool-page .tool-icon { font-size: 3rem; margin-bottom: 12px; }
.tool-page .category-badge { display: inline-block; background: #f8f9fa; color: #1a2744; padding: 4px 12px; border-radius: 12px; font-size: .85rem; margin-bottom: 16px; }
.tool-page .desc { font-size: 1.1rem; color: #64748b; margin-bottom: 30px; line-height: 1.7; }
.tool-section { margin-bottom: 40px; }
.tool-section h2 { color: #1a2744; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #c9a84c; }
.related-tools { background: #f8f9fa; padding: 24px; border-radius: 10px; margin-top: 40px; }
.related-tools h3 { color: #1a2744; margin-bottom: 12px; }
.related-tools ul { list-style: none; }
.related-tools li { padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
.related-tools li:last-child { border-bottom: none; }

/* Sidebar layout */
.page-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0; }
@media (max-width: 768px) { .page-with-sidebar { grid-template-columns: 1fr; } }
.sidebar { background: #f8f9fa; padding: 24px; border-radius: 10px; align-self: start; position: sticky; top: 84px; }
.sidebar h3 { color: #1a2744; margin-bottom: 12px; font-size: 1rem; }
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 8px; }
.sidebar a { font-size: .9rem; color: #64748b; }
.sidebar a:hover { color: #c9a84c; }

/* Static pages */
.static-page { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.static-page h1 { font-size: 2rem; color: #1a2744; margin-bottom: 20px; }
.static-page h2 { font-size: 1.4rem; color: #1a2744; margin: 30px 0 12px; }
.static-page p, .static-page li { margin-bottom: 12px; line-height: 1.8; }
.static-page ul, .static-page ol { margin: 12px 0 12px 24px; }

/* Contact form */
.contact-form { max-width: 600px; margin: 30px 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: #1a2744; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1rem; font-family: inherit; }
.form-group textarea { min-height: 150px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #c9a84c; box-shadow: 0 0 0 3px rgba(201,168,76,.2); }
.btn-submit { background: #1a2744; color: white; padding: 12px 32px; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.btn-submit:hover { background: #243a60; }

/* Breadcrumbs */
.breadcrumbs { padding: 16px 0; font-size: .85rem; color: #64748b; }
.breadcrumbs a { color: #64748b; }
.breadcrumbs a:hover { color: #c9a84c; }
.breadcrumb-sep { margin: 0 8px; }
.breadcrumb-current { color: #1a2744; font-weight: 600; }

/* Stats */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.stat-item { text-align: center; }
.stat-item .number { font-size: 2.5rem; font-weight: 800; color: #c9a84c; }
.stat-item .label { font-size: .9rem; color: #64748b; margin-top: 4px; }
@media (max-width: 600px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-item { text-align: center; padding: 30px; }
.feature-item .icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-item h3 { color: #1a2744; margin-bottom: 8px; }
.feature-item p { color: #64748b; font-size: .9rem; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 2rem; } .blog-grid { grid-template-columns: 1fr; } }
