/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f1419 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass Effect Base */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 184, 212, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00acc1 0%, #0288d1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 184, 212, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-discord {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.nav-brand i {
    font-size: 24px;
    color: #00b8d4;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00b8d4;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00b8d4;
    border-radius: 2px;
}

/* Admin Link Styles */
.nav-link.admin-link {
    color: #ef4444 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link.admin-link:hover,
.nav-link.admin-link.active {
    color: #fca5a5 !important;
}

.nav-link.admin-link i {
    font-size: 14px;
}

/* User Dropdown */
.nav-user {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.username {
    font-weight: 600;
    font-size: 14px;
}

.membership {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
}

.membership.free {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.membership.enterprise {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.membership.team_pro {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-user:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f1419 100%);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0, 184, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 60%, rgba(88, 101, 242, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 100px;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #00b8d4 0%, #5865f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Card */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Card Animations */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes gentleGlow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 20px rgba(99, 102, 241, 0.1);
    }
    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.3);
    }
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    animation: gentleFloat 4s ease-in-out infinite, gentleGlow 3s ease-in-out infinite;
}



.card-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.card-title {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.card-content {
    padding: 20px;
}

.webhook-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.webhook-item:last-child {
    border-bottom: none;
}

.webhook-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.webhook-status.active {
    background: #28ca42;
    box-shadow: 0 0 10px rgba(40, 202, 66, 0.5);
}

.webhook-status.pending {
    background: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}

.webhook-info {
    flex: 1;
}

.webhook-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.webhook-ip {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.webhook-stats {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.1) 0%, rgba(88, 101, 242, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 184, 212, 0.3);
    box-shadow: 0 20px 60px rgba(0, 184, 212, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #00b8d4 0%, #5865f2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.1) 0%, rgba(88, 101, 242, 0.1) 100%);
    border-radius: 32px;
    margin: 0 20px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
    margin-top: 120px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00b8d4;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00b8d4;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 20px;
    padding: 20px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #00b8d4;
    text-shadow: 0 0 10px rgba(0, 184, 212, 0.3);
}

.footer-title i {
    font-size: 20px;
    color: #00b8d4;
    text-shadow: 0 0 10px rgba(0, 184, 212, 0.3);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-status i {
    color: #00b8d4;
    text-shadow: 0 0 8px rgba(0, 184, 212, 0.2);
}

.separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-text.online {
    color: #22c55e;
    font-weight: 500;
}

.heart-icon {
    color: #00b8d4 !important;
    margin: 0 4px;
    text-shadow: 0 0 8px rgba(0, 184, 212, 0.3);
    animation: heartbeat 2s ease-in-out infinite;
}

.team-name {
    color: #00b8d4;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 184, 212, 0.2);
}

.footer-bottom i {
    color: #00b8d4;
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 20px;
}

.error-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #00b8d4;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.error-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-status {
        font-size: 12px;
        gap: 6px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 24px;
    }
} 

/* Global Dark Theme for Select Elements */
select {
    background: rgba(30, 30, 30, 0.9) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
}

select:focus {
    outline: none !important;
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3) !important;
    background: rgba(30, 30, 30, 0.95) !important;
}

select option {
    background: rgba(30, 30, 30, 0.95) !important;
    color: white !important;
    padding: 8px 12px !important;
    border: none !important;
    font-family: inherit !important;
}

select option:hover {
    background: rgba(139, 92, 246, 0.8) !important;
    color: white !important;
}

select option:checked,
select option:focus {
    background: rgba(139, 92, 246, 0.8) !important;
    color: white !important;
}

/* Panel specific selects */
.form-group select,
.modal select {
    width: 100% !important;
    background: rgba(40, 40, 40, 0.9) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
}

.form-group select:focus,
.modal select:focus {
    border-color: rgba(139, 92, 246, 0.6) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4) !important;
    outline: none !important;
}

/* Dropdown arrow styling for all selects */
select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Legal Pages Styles - Modern Design */
.legal-content {
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f1419 100%);
}

/* Legal Hero Section - Only for legal pages */
.legal-content .legal-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.1) 0%, rgba(2, 119, 189, 0.1) 100%);
}

.legal-content .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.legal-content .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.legal-content .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.1), rgba(2, 119, 189, 0.1));
    animation: float 6s ease-in-out infinite;
}

.legal-content .shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 0;
    animation-delay: 0s;
}

.legal-content .shape-2 {
    width: 120px;
    height: 120px;
    top: 65%;
    right: 0;
    animation-delay: 2s;
}

.legal-content .shape-3 {
    width: 60px;
    height: 60px;
    top: 85%;
    left: 0;
    animation-delay: 4s;
}

.legal-content .shape-4 {
    width: 100px;
    height: 100px;
    top: 35%;
    right: 0;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.legal-content .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content .legal-icon-box {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 184, 212, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.legal-content .legal-icon-box i {
    font-size: 3rem;
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.legal-content .legal-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.legal-content .legal-subtitle {
    font-size: 1.3rem;
    color: #a0a0a0;
    font-weight: 400;
    margin-bottom: 32px;
}

.legal-content .legal-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.legal-content .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-content .meta-item i {
    color: #00b8d4;
    font-size: 1.1rem;
}

.legal-content .meta-item span {
    color: #e0e0e0;
    font-weight: 500;
}

/* Table of Contents */
.toc-container {
    margin: 60px auto;
    max-width: 900px;
    padding: 0 20px;
}

.toc-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.toc-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #00b8d4;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
}

.toc-list li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-list li a:hover {
    background: rgba(0, 184, 212, 0.1);
    border-color: rgba(0, 184, 212, 0.3);
    color: #00b8d4;
    transform: translateX(8px);
}

/* Legal Body */
.legal-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.legal-section {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.legal-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 184, 212, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 32px 24px;
    background: linear-gradient(135deg, rgba(0, 184, 212, 0.1), rgba(2, 119, 189, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 184, 212, 0.3);
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.section-content {
    padding: 32px;
}

/* Info Boxes */
.info-box, .warning-box, .security-box, .maintenance-box, .liability-box, .changes-box, .termination-box, .law-box, .contact-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box i, .warning-box i, .security-box i, .maintenance-box i, .liability-box i, .changes-box i, .termination-box i, .law-box i, .contact-box i {
    font-size: 1.5rem;
    margin-top: 4px;
}

.info-box i { color: #00b8d4; }
.warning-box i { color: #ff9800; }
.security-box i { color: #4caf50; }
.maintenance-box i { color: #ff9800; }
.liability-box i { color: #f44336; }
.changes-box i { color: #9c27b0; }
.termination-box i { color: #f44336; }
.law-box i { color: #ff9800; }
.contact-box i { color: #5865f2; }

.info-box p, .warning-box p, .security-box p, .maintenance-box p, .liability-box p, .changes-box p, .termination-box p, .law-box p, .contact-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0;
}

/* Terms Grid */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.term-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.term-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 184, 212, 0.3);
    transform: translateY(-4px);
}

.term-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.term-icon i {
    font-size: 1.5rem;
    color: white;
}

.term-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.term-card p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Plan Limits */
.limits-container {
    margin-top: 24px;
}

.plan-limits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.plan-card.free {
    border-color: rgba(76, 175, 80, 0.3);
}

.plan-card.pro {
    border-color: rgba(255, 193, 7, 0.3);
}

.plan-card.enterprise {
    border-color: rgba(156, 39, 176, 0.3);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.plan-header i {
    font-size: 1.5rem;
}

.plan-card.free .plan-header i { color: #4caf50; }
.plan-card.pro .plan-header i { color: #ffc107; }
.plan-card.enterprise .plan-header i { color: #9c27b0; }

.plan-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.feature-item i {
    color: #00b8d4;
    font-size: 1rem;
}

.feature-item span {
    color: #e0e0e0;
    font-size: 0.95rem;
}

/* Payment Info */
.payment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.info-card i {
    font-size: 2rem;
    color: #00b8d4;
    margin-bottom: 16px;
}

.info-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.security-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.security-item i {
    font-size: 2rem;
    margin-bottom: 16px;
}

.security-item:nth-child(1) i { color: #4caf50; }
.security-item:nth-child(2) i { color: #00b8d4; }
.security-item:nth-child(3) i { color: #ff9800; }

.security-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.security-item p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.legal-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 20px;
    margin-top: 80px;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-actions .btn {
    min-width: 200px;
    padding: 16px 32px;
    font-size: 1rem;
}

.footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-note i {
    color: #00b8d4;
    font-size: 1.2rem;
}

.footer-note p {
    color: #d0d0d0;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content .legal-hero {
        padding: 80px 0 60px;
    }
    
    .legal-content .legal-title {
        font-size: 2.5rem;
    }
    
    .legal-content .legal-subtitle {
        font-size: 1.1rem;
    }
    
    .legal-content .legal-meta {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .terms-grid, .plan-limits, .payment-info, .security-features {
        grid-template-columns: 1fr;
    }
    
    .footer-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-note {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-content .legal-title {
        font-size: 2rem;
    }
    
    .legal-content .legal-icon-box {
        width: 100px;
        height: 100px;
    }
    
    .legal-content .legal-icon-box i {
        font-size: 2.5rem;
    }
    
    .section-content {
        padding: 24px;
    }
    
    .section-header {
        padding: 24px 24px 20px;
    }
    
    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Privacy Policy Specific Styles */
.data-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.data-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.data-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 184, 212, 0.3);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.category-header i {
    font-size: 1.5rem;
    color: #00b8d4;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.data-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.data-item i {
    color: #00b8d4;
    font-size: 1rem;
    width: 20px;
}

.data-item span {
    color: #e0e0e0;
    font-size: 0.95rem;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.usage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.usage-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 184, 212, 0.3);
    transform: translateY(-4px);
}

.usage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.usage-icon i {
    font-size: 1.5rem;
    color: white;
}

.usage-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.usage-card p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Sharing Exceptions */
.sharing-exceptions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.exception-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.exception-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.exception-item i {
    font-size: 2rem;
    color: #00b8d4;
    margin-bottom: 16px;
}

.exception-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.exception-item p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.measure-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.measure-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.measure-item i {
    font-size: 2rem;
    margin-bottom: 16px;
}

.measure-item:nth-child(1) i { color: #4caf50; }
.measure-item:nth-child(2) i { color: #00b8d4; }
.measure-item:nth-child(3) i { color: #ff9800; }
.measure-item:nth-child(4) i { color: #9c27b0; }
.measure-item:nth-child(5) i { color: #f44336; }
.measure-item:nth-child(6) i { color: #00b8d4; }

.measure-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.measure-item p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Retention Timeline */
.retention-timeline {
    margin-top: 24px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-left: 2px solid rgba(0, 184, 212, 0.3);
    padding-left: 24px;
    margin-left: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    width: 14px;
    height: 14px;
    background: #00b8d4;
    border-radius: 50%;
    border: 3px solid rgba(0, 184, 212, 0.3);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-icon i {
    font-size: 1.2rem;
    color: white;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #d0d0d0;
    margin: 0;
}

/* Cookies Grid */
.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.cookie-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.cookie-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.cookie-card.essential {
    border-color: rgba(76, 175, 80, 0.3);
}

.cookie-card.analytics {
    border-color: rgba(255, 193, 7, 0.3);
}

.cookie-card.security {
    border-color: rgba(244, 67, 54, 0.3);
}

.cookie-card.preferences {
    border-color: rgba(156, 39, 176, 0.3);
}

.cookie-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cookie-icon i {
    font-size: 1.5rem;
    color: white;
}

.cookie-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.cookie-card p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.right-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.right-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 184, 212, 0.3);
    transform: translateY(-4px);
}

.right-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.right-icon i {
    font-size: 1.5rem;
    color: white;
}

.right-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.right-card p {
    font-size: 0.95rem;
    color: #d0d0d0;
    line-height: 1.6;
    margin: 0;
}

/* Additional Info Boxes */
.retention-box, .cookies-box, .rights-box, .children-box, .transfer-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.retention-box:hover, .cookies-box:hover, .rights-box:hover, .children-box:hover, .transfer-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 184, 212, 0.3);
    transform: translateY(-2px);
}

.retention-box i, .cookies-box i, .rights-box i, .children-box i, .transfer-box i {
    color: #00b8d4;
    font-size: 1.5rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.retention-box p, .cookies-box p, .rights-box p, .children-box p, .transfer-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Retention Timeline */
.retention-timeline {
    margin-top: 24px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-left: 2px solid rgba(0, 184, 212, 0.3);
    padding-left: 24px;
    margin-left: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 24px;
    width: 10px;
    height: 10px;
    background: #00b8d4;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 184, 212, 0.5);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00b8d4 0%, #0277bd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-icon i {
    font-size: 1.2rem;
    color: white;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive adjustments for privacy page */
@media (max-width: 768px) {
    .data-categories, .usage-grid, .sharing-exceptions, .security-measures, .cookies-grid, .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .retention-box, .cookies-box, .rights-box, .children-box, .transfer-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .retention-box i, .cookies-box i, .rights-box i, .children-box i, .transfer-box i {
        margin-top: 0;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        border-left: none;
        border-bottom: 2px solid rgba(0, 184, 212, 0.3);
        padding-left: 0;
        padding-bottom: 16px;
        margin-left: 0;
    }
    
    .timeline-item::before {
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -6px;
    }
    
    .timeline-icon {
        margin-top: 0;
    }
} 