:root {
    --primary: #0077B6;
    --primary-dark: #023E8A;
    --secondary: #90E0EF;
    --secondary-light: #CAF0F8;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); line-height: 1.6; background: var(--bg-light); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin-bottom: 1rem; color: var(--primary-dark); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-accent { background: #FF9F1C; color: white; }
.btn-accent:hover { background: #F48C06; color: white; transform: translateY(-2px); }

/* Header */
.main-header { background: var(--bg-white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); display: flex; align-items: center; gap: 0.5rem; }
.logo:hover { color: var(--primary); }
.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a { color: var(--text-main); font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-dark); }

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: 1rem; box-shadow: var(--shadow); gap: 1rem; border-top: 1px solid #eee; }
    .main-nav.active { display: flex; }
}

/* Breadcrumb */
.breadcrumb { font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span.separator { color: #ccc; display: flex; align-items: center; }
.breadcrumb span.current { color: var(--text-main); font-weight: 600; }

/* Hero Section */
.hero { background: linear-gradient(rgba(2, 62, 138, 0.8), rgba(0, 119, 182, 0.8)), url('https://images.pexels.com/photos/6235648/pexels-photo-6235648.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover; color: white; padding: 6rem 1rem; text-align: center; }
.hero h1 { color: white; font-size: 3rem; margin-bottom: 1.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5);}
.hero p { font-size: 1.25rem; max-width: 800px; margin: 0 auto 2rem; opacity: 0.95; }
.hero-search { background: white; padding: 0.5rem; border-radius: var(--radius); max-width: 600px; margin: 0 auto; display: flex; gap: 0.5rem; flex-wrap: wrap; box-shadow: var(--shadow); }
.hero-search input { flex: 1; min-width: 200px; padding: 0.75rem 1rem; border: 1px solid transparent; border-radius: 4px; font-size: 1rem; outline: none; }
.hero-search button { flex-shrink: 0; padding: 0.75rem 1.5rem; border-radius: 4px; }

/* Sections */
section { padding: 5rem 0; }
.bg-white { background: var(--bg-white); }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 3rem; }

/* Cards Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; border: 1px solid #eaeaea; display: block; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.card-content { padding: 1.5rem; }
.card-title { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--primary-dark); }
.card-meta { display: flex; gap: 1rem; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.card-meta span { display: flex; align-items: center; gap: 0.25rem; }

.company-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.company-address { color: var(--text-muted); margin: 0.5rem 0 0.75rem; }
.company-meta { color: var(--text-muted); font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: center; }

.notice { background: #FFF3CD; border: 1px solid #FFECB5; padding: 1rem 1.25rem; border-radius: var(--radius); color: #7A4B00; margin: 1.5rem auto; max-width: 900px; }

/* Affiliation Banner */
.affiliate-banner { background: var(--secondary-light); border: 2px dashed var(--primary); padding: 2rem; border-radius: var(--radius); text-align: center; margin: 3rem 0; }
.affiliate-banner h3 { color: var(--primary-dark); font-size: 1.5rem; }
.affiliate-banner p { margin-bottom: 1.5rem; font-size: 1.1rem; }

/* SEO Content */
.page-header { background: var(--primary); color: white; padding: 4rem 0; text-align: center; }
.page-header h1 { color: white; margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

.content-wrapper { max-width: 800px; margin: 0 auto; background: white; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.content-wrapper h2 { margin-top: 2rem; border-bottom: 2px solid var(--secondary-light); padding-bottom: 0.5rem; display: inline-block; color: var(--primary-dark); }
.content-wrapper ul { margin: 1rem 0 1rem 2rem; }
.content-wrapper li { margin-bottom: 0.5rem; }
.content-wrapper img { margin: 2rem 0; border-radius: var(--radius); }

/* Table */
.data-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.data-table th, .data-table td { padding: 1rem; border-bottom: 1px solid #eaeaea; text-align: left; }
.data-table th { background: var(--bg-light); color: var(--primary-dark); font-weight: 600; }

/* Footer */
.main-footer { background: var(--primary-dark); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--secondary); font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: #E0E0E0; }
.footer-col a:hover { color: white; padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; color: #BBB; }

/* Animations */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }