:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary-color: #818cf8;
    --primary-hover: #6366f1;
    --secondary-color: #a78bfa;
    --accent-color: #f472b6;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-card: #1f2937;
    --border-color: #374151;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

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

/* Header Styles */
.header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(var(--bg-primary), 0.8);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .nav-menu a {
        font-size: 0.9rem;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
}

/* Dropdown menu icon colors - same vibrant colors as tool cards */
.dropdown-menu i.fa-file-word {
    color: #2196F3;
}

.dropdown-menu i.fa-file-excel {
    color: #00C853;
}

.dropdown-menu i.fa-file-powerpoint {
    color: #FF6D00;
}

.dropdown-menu i.fa-file-pdf {
    color: #F44336;
}

.dropdown-menu i.fa-file-image {
    color: #FF9100;
}

.dropdown-menu i.fa-image {
    color: #00E5FF;
}

.dropdown-menu i.fa-images {
    color: #E040FB;
}

.dropdown-menu i.fa-book {
    color: #9C27B0;
}

.dropdown-menu i.fa-file-alt {
    color: #757575;
}

.dropdown-menu i.fa-code {
    color: #FF5252;
}

.dropdown-menu i.fa-compress {
    color: #00BCD4;
}

.dropdown-menu i.fa-object-group {
    color: #7C4DFF;
}

.dropdown-menu i.fa-cut {
    color: #FF1744;
}

.dropdown-menu i.fa-sync-alt {
    color: #1DE9B6;
}

.dropdown-menu i.fa-crop {
    color: #D500F9;
}

.dropdown-menu i.fa-pen {
    color: #2979FF;
}

.dropdown-menu i.fa-trash-alt {
    color: #FF4081;
}

.dropdown-menu i.fa-sort {
    color: #651FFF;
}

.dropdown-menu i.fa-lock {
    color: #00E676;
}

.dropdown-menu i.fa-unlock {
    color: #FF9100;
}

.dropdown-menu i.fa-signature {
    color: #536DFE;
}

.dropdown-menu i.fa-stamp {
    color: #E040FB;
}

.dropdown-menu i.fa-list-ol {
    color: #00B0FF;
}

.dropdown-menu i.fa-info-circle {
    color: #448AFF;
}

.dropdown-menu i.fa-layer-group {
    color: #76FF03;
}

.dropdown-menu i.fa-wrench {
    color: #FF6E40;
}

.dropdown-menu i.fa-file-export {
    color: #18FFFF;
}

.dropdown-menu i.fa-text-width {
    color: #8D6E63;
}

.dropdown-menu i.fa-text-height {
    color: #7C4DFF;
}

.dropdown-menu i.fa-font {
    color: #FF3D00;
}

.dropdown-menu i.fa-highlighter {
    color: #FFEA00;
}

.dropdown-menu i.fa-adjust {
    color: #607D8B;
}

.dropdown-menu i.fa-expand-arrows-alt {
    color: #00E676;
}

.dropdown-menu i.fa-eye {
    color: #00B8D4;
}

.dropdown-menu i.fa-plus-circle {
    color: #00E676;
}

.dropdown-menu i.fa-file-signature {
    color: #3D5AFE;
}

.dropdown-menu i.fa-heading {
    color: #6D4C41;
}

.dropdown-menu a:hover {
    background-color: var(--bg-secondary);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-header {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

.dropdown-menu-large {
    min-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    columns: 2;
    column-gap: 2rem;
    padding: 1rem 0;
}

.dropdown-menu-large .dropdown-header,
.dropdown-menu-large .dropdown-divider {
    break-inside: avoid;
    column-span: all;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--bg-secondary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 4rem 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.stat i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Upload Area */
.upload-area {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    border: 2px dashed var(--border-color);
    border-radius: 1rem;
    background-color: var(--bg-card);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.upload-area.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.upload-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.upload-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn-upload {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-upload:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.upload-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Tools Section */
.tools-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.tools-grid {
    display: grid;
    gap: 3rem;
}

.tool-category {
    background-color: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Category icon colors - Vibrant */
.category-title i.fa-file-export {
    color: #FF1744;
}

.category-title i.fa-file-import {
    color: #00E676;
}

.category-title i.fa-edit {
    color: #2979FF;
}

.category-title i.fa-cogs {
    color: #FF6D00;
}

.category-title i.fa-tools {
    color: #D500F9;
}

.category-title i.fa-eye {
    color: #00E5FF;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    background-color: var(--bg-primary);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    min-height: 140px;
    justify-content: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
}

.tool-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* File type icon colors - Vibrant */
.tool-card i.fa-file-word {
    color: #2196F3;
}

/* Microsoft Word bright blue */
.tool-card i.fa-file-excel {
    color: #00C853;
}

/* Microsoft Excel bright green */
.tool-card i.fa-file-powerpoint {
    color: #FF6D00;
}

/* Microsoft PowerPoint bright orange */
.tool-card i.fa-file-pdf {
    color: #F44336;
}

/* PDF bright red */
.tool-card i.fa-file-image {
    color: #FF9100;
}

/* Image bright amber */
.tool-card i.fa-image {
    color: #00E5FF;
}

/* Image bright cyan */
.tool-card i.fa-images {
    color: #E040FB;
}

/* Multiple images bright purple */
.tool-card i.fa-book {
    color: #9C27B0;
}

/* EPUB vibrant purple */
.tool-card i.fa-file-alt {
    color: #757575;
}

/* Text file medium gray */
.tool-card i.fa-code {
    color: #FF5252;
}

/* HTML bright red */

/* Action icon colors - Vibrant */
.tool-card i.fa-compress {
    color: #00BCD4;
}

/* Compress bright cyan */
.tool-card i.fa-object-group {
    color: #7C4DFF;
}

/* Merge bright purple */
.tool-card i.fa-cut {
    color: #FF1744;
}

/* Split bright red */
.tool-card i.fa-sync-alt {
    color: #1DE9B6;
}

/* Rotate bright teal */
.tool-card i.fa-crop {
    color: #D500F9;
}

/* Crop bright purple */
.tool-card i.fa-pen {
    color: #2979FF;
}

/* Edit bright blue */
.tool-card i.fa-trash-alt {
    color: #FF4081;
}

/* Delete bright pink */
.tool-card i.fa-sort {
    color: #651FFF;
}

/* Sort bright indigo */

/* Security icon colors - Vibrant */
.tool-card i.fa-lock {
    color: #00E676;
}

/* Lock bright green */
.tool-card i.fa-unlock {
    color: #FF9100;
}

/* Unlock bright amber */
.tool-card i.fa-signature {
    color: #536DFE;
}

/* Sign bright indigo */
.tool-card i.fa-stamp {
    color: #E040FB;
}

/* Watermark bright purple */

/* Tool icon colors - Vibrant */
.tool-card i.fa-list-ol {
    color: #00B0FF;
}

/* Page numbers bright light blue */
.tool-card i.fa-info-circle {
    color: #448AFF;
}

/* Info bright blue */
.tool-card i.fa-layer-group {
    color: #76FF03;
}

/* Flatten bright light green */
.tool-card i.fa-wrench {
    color: #FF6E40;
}

/* Repair bright deep orange */
.tool-card i.fa-file-export {
    color: #18FFFF;
}

/* Extract bright cyan */
.tool-card i.fa-text-width {
    color: #8D6E63;
}

/* Extract text brown */
.tool-card i.fa-text-height {
    color: #7C4DFF;
}

/* OCR bright purple */
.tool-card i.fa-font {
    color: #FF3D00;
}

/* Add text bright orange-red */
.tool-card i.fa-highlighter {
    color: #FFEA00;
}

/* Annotate bright yellow */
.tool-card i.fa-adjust {
    color: #607D8B;
}

/* Grayscale blue-gray */
.tool-card i.fa-expand-arrows-alt {
    color: #00E676;
}

/* Resize bright green */
.tool-card i.fa-eye {
    color: #00B8D4;
}

/* View bright cyan */
.tool-card i.fa-plus-circle {
    color: #00E676;
}

/* Create bright green */
.tool-card i.fa-file-signature {
    color: #3D5AFE;
}

/* Fill bright indigo */
.tool-card i.fa-heading {
    color: #6D4C41;
}

/* Header brown */

.tool-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.tool-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--bg-primary);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--bg-secondary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    text-align: center;
    background-color: var(--bg-secondary);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

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

.footer-section h4 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    text-align: center;
    list-style: none;
}

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

.footer-section a {
    text-align: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    text-align: center;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 850px) {
    .hero {
        padding: 4rem 15px;
    }

    .upload-area {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        width: calc(100% - 30px);
        max-width: 600px;
    }

    .upload-content {
        text-align: center;
    }

    .upload-content h3,
    .upload-content p {
        text-align: center;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
    }

    /* Mobile dropdown styling */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--bg-secondary);
        margin: 1rem 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 2rem;
    }

    /* Hide desktop theme toggle */
    .nav-actions .theme-toggle {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .tools-list {
        grid-template-columns: 1fr;
    }

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

    /* Mobile theme toggle */
    .mobile-theme-toggle {
        display: block !important;
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .mobile-theme-toggle a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Hide mobile theme toggle on desktop */
@media (min-width: 851px) {
    .mobile-theme-toggle {
        display: none !important;
    }
}

/* Legal Pages Styles */
.legal-page {
    min-height: calc(100vh - 100px);
    padding-bottom: 4rem;
}

.legal-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width=\"60\" height=\"60\" viewBox=\"0 0 60 60\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cg fill=\"none\" fill-rule=\"evenodd\"%3E%3Cg fill=\"%23ffffff\" fill-opacity=\"0.05\"%3E%3Cpath d=\"M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-subtitle {
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.last-updated {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.9;
}

.last-updated i {
    margin-right: 0.5rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.third-party-box {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.third-party-box h3 {
    color: var(--primary-color);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.third-party-box p {
    margin-bottom: 0.5rem;
}

.info-note {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-note i:first-child {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.external-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.external-link i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.contact-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-box p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.contact-box i {
    color: var(--primary-color);
    width: 20px;
}

.contact-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 3rem 0 2rem;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-content {
        padding: 2rem 1.5rem;
        border-radius: 0;
        box-shadow: none;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}