/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #1a365d;
    --primary-dark: #0f2442;
    --primary-light: #2c5282;
    --accent-color: #c53030;
    --accent-light: #e53e3e;
    --warning-color: #d69e2e;
    --success-color: #2f855a;
    --text-color: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #edf2f7;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-light);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container.nav-centered {
    justify-content: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav-logo:hover {
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    border-bottom-color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-light);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Alert Banner */
.alert-banner {
    background-color: var(--accent-color);
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

.alert-banner strong {
    display: block;
    margin-bottom: 0.25rem;
}

.alert-banner p {
    margin: 0;
    opacity: 0.95;
}

.alert-banner a {
    color: #fff;
    text-decoration: underline;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.stats-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 0.5rem;
}

.stat-detail {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
}

.info-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.info-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Company Section */
.company-section {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.company-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.company-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.company-info {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.company-info p {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.company-info p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.company-note {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--warning-color);
}

.company-note p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Section */
.legal-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.legal-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.laws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.law-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.law-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.law-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Content Section with Sidebar */
.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.main-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.main-content h2:first-child {
    margin-top: 0;
}

/* Info Box */
.info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.info-table td:first-child {
    width: 200px;
    color: var(--text-muted);
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* Process Steps */
.process-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.sidebar-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sidebar-box ul {
    margin-bottom: 0;
}

.sidebar-box p:last-child {
    margin-bottom: 0;
}

.warning-box {
    background: #fffaf0;
    border-left: 4px solid var(--warning-color);
}

.cta-box {
    background: var(--primary-color);
    color: #fff;
}

.cta-box h3 {
    color: #fff;
}

.cta-box p {
    opacity: 0.9;
}

.phone-list {
    font-family: monospace;
    font-size: 0.9rem;
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Tactics Page */
.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.tactics-grid {
    display: grid;
    gap: 2rem;
}

.tactic-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tactic-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
}

.tactic-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tactic-icon svg {
    width: 28px;
    height: 28px;
}

.tactic-icon.danger {
    background: #fed7d7;
    color: var(--accent-color);
}

.tactic-icon.warning {
    background: #fefcbf;
    color: var(--warning-color);
}

.tactic-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.tactic-content {
    padding: 1.5rem;
}

.tactic-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.tactic-content h4:first-child {
    margin-top: 0;
}

.tactic-content p {
    color: var(--text-light);
}

.tactic-content ul {
    color: var(--text-light);
}

/* Protect Section */
.protect-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.protect-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.protect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.protect-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.protect-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.protect-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Legal Page */
.case-info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.case-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.case-info-box p {
    margin-bottom: 0.5rem;
}

.case-info-box p:last-child {
    margin-bottom: 0;
}

.law-detail {
    margin: 2rem 0;
}

.law-detail h3 {
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.law-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.law-item h4 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.law-item p {
    color: var(--text-light);
}

.law-item ul {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.penalty {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--accent-color);
}

.violations-summary {
    margin: 2rem 0;
    overflow-x: auto;
}

.violations-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.violations-table th,
.violations-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.violations-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.violations-table tbody tr:hover {
    background: var(--bg-light);
}

.violations-table tfoot td {
    background: var(--bg-dark);
    font-weight: 600;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.right-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.right-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.right-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.agency-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.agency-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.agency-item h4 {
    flex: 1;
    min-width: 200px;
    margin: 0;
}

.agency-item p {
    flex: 2;
    min-width: 200px;
    margin: 0;
    color: var(--text-light);
}

.agency-item .btn {
    flex-shrink: 0;
}

/* Submission Type Selector */
.submission-type-selector {
    text-align: center;
    margin-bottom: 2rem;
}

.submission-type-selector h2 {
    margin-bottom: 1.5rem;
}

.type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.type-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.type-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.type-card.selected {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.type-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-card:hover .type-icon {
    background: var(--primary-color);
}

.type-card:hover .type-icon svg {
    color: #fff;
}

.type-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.type-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.type-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Form Styles */
.form-container {
    margin-top: 2rem;
}

.intro-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.intro-box h2 {
    margin-top: 0;
}

.report-form {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group {
    flex-direction: column;
    gap: 0.75rem;
}

.consent-label {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.form-actions {
    padding: 2rem;
    background: var(--bg-light);
    text-align: center;
}

.success-message {
    background: #f0fff4;
    border: 1px solid var(--success-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.success-message h3 {
    color: var(--success-color);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }

    .company-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .violations-table {
        font-size: 0.85rem;
    }

    .violations-table th,
    .violations-table td {
        padding: 0.75rem 0.5rem;
    }

    .agency-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
