/* Base Styles & Variables */
:root {
    --bg-color: #0B0E14;
    --text-color: #E2E8F0;
    --text-muted: #94A3B8;
    --primary-color: #FF3366;
    --secondary-color: #FF9933;
    --accent-color: #3B82F6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255,51,102,0.6) 0%, rgba(255,51,102,0) 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59,130,246,0.5) 0%, rgba(59,130,246,0) 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(255,153,51,0.4) 0%, rgba(255,153,51,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, 10%) scale(1.1); }
    66% { transform: translate(-5%, 5%) scale(0.9); }
    100% { transform: translate(10%, -5%) scale(1.05); }
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

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

/* Glassmorphism Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), inset 0 1px 1px var(--glass-highlight);
    position: relative;
    overflow: hidden;
}

/* Typography & Colors */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #60A5FA;
    text-decoration: underline;
}

/* Hero Section (index.html) */
.hero-card {
    padding: 4rem 2rem;
    margin-top: 10vh;
}

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 15px rgba(255, 51, 102, 0.3));
    animation: bounce 3s infinite ease-in-out;
}

.logo-icon svg {
    width: 80px;
    height: 80px;
}

.main-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 0.5rem;
}

.welcome-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-4px) scale(1.02);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.5);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-highlight);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.btn:hover .btn-glow {
    opacity: 1;
}

/* Legal Pages Styling */
.legal-page .orb-1 { background: radial-gradient(circle, rgba(255,51,102,0.3) 0%, rgba(255,51,102,0) 70%); }
.legal-page .orb-2 { background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, rgba(59,130,246,0) 70%); }

.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    padding: 0 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    background: var(--glass-bg);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-link:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-highlight);
    transform: translateX(-5px);
    text-decoration: none;
}

.legal-header {
    padding: 4rem 2rem 2rem;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,51,102,0.1), rgba(255,153,51,0.1));
    border: 1px solid rgba(255, 51, 102, 0.2);
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 24px rgba(255, 51, 102, 0.1);
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.header-icon svg {
    width: 36px;
    height: 36px;
}

.legal-header .main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.legal-header .lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.justify-center {
    justify-content: center;
}

.meta-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.legal-container {
    padding-bottom: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.policy-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.policy-card:nth-child(1) { animation-delay: 0.1s; }
.policy-card:nth-child(2) { animation-delay: 0.2s; }
.policy-card:nth-child(3) { animation-delay: 0.3s; }
.policy-card:nth-child(4) { animation-delay: 0.4s; }
.policy-card:nth-child(5) { animation-delay: 0.5s; }
.policy-card:nth-child(6) { animation-delay: 0.6s; }
.policy-card:nth-child(7) { animation-delay: 0.7s; }
.policy-card:nth-child(8) { animation-delay: 0.8s; }
.policy-card:nth-child(9) { animation-delay: 0.9s; }
.policy-card:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-card {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 51, 102, 0.3);
    font-size: 1.1rem;
    color: var(--text-color);
}

.intro-card p {
    margin-bottom: 0;
}

.policy-card h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--primary-color);
}

.section-icon svg {
    width: 20px;
    height: 20px;
}

.styled-list {
    list-style: none;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.styled-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.danger-list li::before {
    background: #EF4444;
    box-shadow: 0 0 8px #EF4444;
}

.styled-list strong {
    color: var(--text-color);
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 1.5rem;
}

.policy-card h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0.8;
}

.card-footer-text {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--glass-border);
    font-style: italic;
    margin-bottom: 0;
}

.alert-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-card .section-icon {
    color: #EF4444;
}

.warning-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.warning-card .section-icon {
    color: #F59E0B;
}

.legal-shout {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-weight: 500;
}

.contact-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
}

.developer-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .policy-card {
        padding: 1.5rem;
    }
    
    .legal-header {
        padding: 2rem 1rem 1rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }

}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    opacity: 0.8;
}

.site-footer p {
    margin-bottom: 0;
}

/* Glass Accordion FAQ */
.faq-section {
    max-width: 800px;
    margin: 4rem auto 2rem;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: 0.3s;
}

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

.glass-accordion {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-accordion:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-accordion summary {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glass-accordion summary::-webkit-details-marker {
    display: none;
}

.glass-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.glass-accordion[open] summary::after {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.glass-accordion[open] summary {
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.accordion-content {
    padding: 1.5rem 2rem;
    color: var(--text-muted);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.accordion-content ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    list-style: none;
    padding-left: 0;
}

.accordion-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.accordion-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
