:root {
    --primary-color: #1ABC4A;
    --primary-dark: #41d86a;
    --primary-light: #10b981;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    --gradient-pink: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    --gradient-orange: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-red: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Header */
.header {
    background: var(--gradient-primary);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(99, 102, 241, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    padding: 10rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-icon i {
    font-size: 3rem;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Table of Contents */
.toc-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.toc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    list-style: none;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toc-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

.toc-item a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.toc-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.toc-item:hover .toc-number {
    background: white;
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-section:hover {
    box-shadow: var(--shadow-xl);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon i {
    font-size: 1.5rem;
    color: white;
}

.section-icon.green { background: var(--gradient-secondary); }
.section-icon.orange { background: var(--gradient-orange); }
.section-icon.blue { background: var(--gradient-blue); }
.section-icon.purple { background: var(--gradient-purple); }
.section-icon.pink { background: var(--gradient-pink); }
.section-icon.cyan { background: var(--gradient-cyan); }
.section-icon.red { background: var(--gradient-red); }

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.section-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Subsections */
.subsection {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.subsection:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subsection-number {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 16px;
    

    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.25rem;
    border-right: 4px solid var(--primary-color);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    color: white;
    font-size: 1.25rem;
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Note Boxes */
.note-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    border-right: 4px solid var(--accent-color);
}

.note-box i {
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.note-box p {
    color: #92400e;
    margin: 0;
    font-size: 0.95rem;
}

.note-box.info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-right-color: var(--info-color);
}

.note-box.info i {
    color: var(--info-color);
}

.note-box.info p {
    color: #1e40af;
}

.note-box.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-right-color: var(--secondary-color);
}

.note-box.success i {
    color: var(--secondary-color);
}

.note-box.success p {
    color: #065f46;
}

.note-box.danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-right-color: var(--danger-color);
}

.note-box.danger i {
    color: var(--danger-color);
}

.note-box.danger p {
    color: #991b1b;
}

.note-box.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-right-color: var(--warning-color);
}

.note-box.warning i {
    color: var(--warning-color);
}

.note-box.warning p {
    color: #92400e;
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.principle-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.principle-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.principle-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.principle-icon i {
    font-size: 2rem;
    color: white;
}

.principle-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--danger-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.principle-badge i {
    font-size: 0.75rem;
    color: white;
}

.principle-badge.success {
    background: var(--secondary-color);
}

.principle-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.principle-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: #eef2ff;
    transform: translateX(-5px);
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list .icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list .icon i {
    color: white;
    font-size: 1rem;
}

.feature-list .content {
    flex: 1;
}

.feature-list .content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.feature-list .content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Legal Purposes */
.legal-purposes {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.legal-purposes h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-purposes h4 i {
    color: var(--primary-color);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Message Types */
.message-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.message-type-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.message-type-card:hover {
    border-color: var(--primary-light);
}

.message-type-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.message-type-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.message-type-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.message-type-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.check-list li i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary-color);
    color: white;
}

.feature-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover i {
    color: white;
}

.feature-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Location Features */
.location-features {
    margin: 1.5rem 0;
}

.location-feature {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon i {
    color: white;
    font-size: 1.25rem;
}

.location-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.location-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Cookie Info */
.cookie-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.cookie-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
}

.cookie-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cookie-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.security-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.security-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.security-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.security-icon i {
    color: white;
    font-size: 1.5rem;
}

.security-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.security-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Metadata Info */
.metadata-info {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.metadata-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metadata-info h4 i {
    color: var(--primary-color);
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.metadata-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metadata-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.metadata-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.metadata-item span {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.25rem;
    border-right: 4px solid var(--warning-color);
}

.warning-icon {
    width: 50px;
    height: 50px;
    background: var(--warning-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.warning-icon i {
    color: white;
    font-size: 1.25rem;
}

.warning-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.75rem;
}

.warning-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warning-content ul li {
    padding: 0.25rem 0;
    color: #92400e;
    font-size: 0.95rem;
}

/* Feature Example */
.feature-example {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.25rem;
}

.feature-example-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-example-icon i {
    color: white;
    font-size: 1.25rem;
}

.feature-example-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-example-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Path Display */
.path-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.path-display span {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.path-display i {
    color: var(--text-light);
    font-size: 0.75rem;
}

.path-display.large {
    font-size: 1rem;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.path-display.large span {
    padding: 0.375rem 1rem;
}

/* Bot Interaction Grid */
.bot-interaction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.bot-interaction-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.bot-interaction-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.bot-interaction-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.bot-interaction-item:hover i {
    color: white;
}

.bot-interaction-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Bot Data List */
.bot-data-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.bot-data-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.bot-data-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.bot-data-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-data-icon i {
    color: white;
    font-size: 1.1rem;
}

.bot-data-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.bot-data-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    border-right: 4px solid var(--info-color);
}

.notice-icon {
    width: 50px;
    height: 50px;
    background: var(--info-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-icon i {
    color: white;
    font-size: 1.25rem;
}

.notice-content p {
    color: #1e40af;
    font-size: 0.95rem;
    margin: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.right-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.right-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.right-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.right-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.right-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Deletion Warning */
.deletion-warning {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.25rem;
    border-right: 4px solid var(--danger-color);
}

.deletion-icon {
    width: 50px;
    height: 50px;
    background: var(--danger-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deletion-icon i {
    color: white;
    font-size: 1.25rem;
}

.deletion-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 0.75rem;
}

.deletion-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.deletion-content ul li {
    padding: 0.375rem 0;
    color: #991b1b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deletion-content ul li i {
    color: var(--danger-color);
}

.deletion-note {
    background: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #991b1b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deletion-note i {
    color: var(--danger-color);
}

/* Message Deletion Grid */
.message-deletion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.message-deletion-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
}

.message-deletion-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.message-deletion-card .card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.message-deletion-card .card-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.message-deletion-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.message-deletion-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    padding-right: 1.5rem;
    position: relative;
}

.message-deletion-card ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Self Destruct Info */
.self-destruct-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    border-right: 4px solid var(--warning-color);
}

.self-destruct-icon {
    width: 50px;
    height: 50px;
    background: var(--warning-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.self-destruct-icon i {
    color: white;
    font-size: 1.25rem;
}

.self-destruct-content p {
    color: #92400e;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.self-destruct-content p strong {
    color: #78350f;
}

/* Contact Section */
.contact-section {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.contact-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Last Updated */
.last-updated {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.last-updated i {
    color: var(--primary-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu-links {
    list-style: none;
}

.mobile-menu-links li {
    margin-bottom: 0.5rem;
}

.mobile-menu-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-links a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.75rem;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        padding: 8rem 1.5rem 5rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .section-icon {
        margin-bottom: 0.5rem;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .path-display {
        flex-direction: column;
        text-align: center;
    }

    .path-display i {
        transform: rotate(-90deg);
    }

    .highlight-box,
    .feature-example,
    .deletion-warning,
    .self-destruct-info,
    .important-notice,
    .warning-box,
    .location-feature {
        flex-direction: column;
        text-align: center;
    }

    .highlight-icon,
    .feature-example-icon,
    .deletion-icon,
    .self-destruct-icon,
    .notice-icon,
    .warning-icon,
    .location-icon {
        margin: 0 auto;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .back-to-top, .mobile-menu, .overlay {
        display: none;
    }

    .hero {
        padding: 2rem;
        background: white;
    }

    .hero h1 {
        color: var(--text-dark);
    }

    .hero p {
        color: var(--text-light);
    }

    .content-section {
        box-shadow: none;
        border: 1px solid var(--border-color);
        page-break-inside: avoid;
    }
}













