/**
 * Disclaimer Page Styles
 * SkoolBeez - Matching Login Theme
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --disc-bg-dark: #0d1b2a;
    --disc-bg-mid: #1b263b;
    --disc-bg-light: #415a77;
    --disc-accent: #ffed00;
    --disc-accent-alt: #ffc300;
    --disc-warning: #f59e0b;
    --disc-warning-light: rgba(245, 158, 11, 0.1);
    --disc-text: #ffffff;
    --disc-text-muted: rgba(255, 255, 255, 0.6);
    --disc-text-dim: rgba(255, 255, 255, 0.4);
    --disc-border: rgba(255, 255, 255, 0.1);
    --disc-card-bg: rgba(255, 255, 255, 0.03);
}

/* ========================================
   Page Layout
   ======================================== */
.disclaimer-page {
    min-height: 100vh;
    margin-top: -80px;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--disc-bg-dark) 0%, var(--disc-bg-mid) 50%, var(--disc-bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.disclaimer-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255, 237, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.disclaimer-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* ========================================
   Honeycomb Pattern Background
   ======================================== */
.honeycomb-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0-12l20-12V22L28 10 8 22v20l20 12z' fill='%23ffed00' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    animation: honeycombFloat 20s ease-in-out infinite;
}

@keyframes honeycombFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* ========================================
   Flying Bees Decoration
   ======================================== */
.flying-bee {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.15;
    animation: flyAround 15s linear infinite;
    z-index: 1;
}

.flying-bee:nth-child(1) {
    top: 12%;
    left: 7%;
    animation-delay: 0s;
    animation-duration: 21s;
}

.flying-bee:nth-child(2) {
    top: 35%;
    right: 9%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.flying-bee:nth-child(3) {
    bottom: 28%;
    left: 12%;
    animation-delay: -11s;
    animation-duration: 19s;
}

.flying-bee:nth-child(4) {
    top: 62%;
    right: 7%;
    animation-delay: -8s;
    animation-duration: 23s;
}

@keyframes flyAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(10deg); }
    50% { transform: translate(100px, 20px) rotate(-5deg); }
    75% { transform: translate(50px, 50px) rotate(15deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* ========================================
   Main Container
   ======================================== */
.disclaimer-container {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 80px);
    padding: 3rem 1rem;
}

/* ========================================
   Page Header
   ======================================== */
.disclaimer-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.disclaimer-header .header-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(145deg, var(--disc-warning) 0%, #d97706 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    color: white;
    box-shadow: 0 15px 40px -10px rgba(245, 158, 11, 0.4);
    animation: warningPulse 2s ease-in-out infinite;
    position: relative;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.disclaimer-header h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--disc-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.disclaimer-header .subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: var(--disc-text-muted);
    font-weight: 600;
    max-width: 550px;
    margin: 0 auto;
}

.disclaimer-header .last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 1rem;
    background: var(--disc-warning-light);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: var(--disc-warning);
    font-weight: 600;
}

/* ========================================
   Notice Banner
   ======================================== */
.notice-banner {
    max-width: 900px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-left: 4px solid var(--disc-warning);
    border-radius: 0 16px 16px 0;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notice-banner .notice-icon {
    width: 44px;
    height: 44px;
    background: var(--disc-warning);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.notice-banner .notice-text {
    flex: 1;
}

.notice-banner .notice-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--disc-warning);
    margin-bottom: 0.25rem;
}

.notice-banner .notice-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--disc-text-muted);
    margin: 0;
}

@media (max-width: 640px) {
    .notice-banner {
        flex-direction: column;
    }
}

/* ========================================
   Language Switcher
   ======================================== */
.language-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lang-btn {
    padding: 0.75rem 1.5rem;
    background: var(--disc-card-bg);
    border: 2px solid var(--disc-border);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--disc-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--disc-text);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--disc-accent) 0%, var(--disc-accent-alt) 100%);
    border-color: var(--disc-accent);
    color: var(--disc-bg-mid);
}

.lang-btn .flag {
    font-size: 1.2rem;
}

/* ========================================
   Content Card
   ======================================== */
.disclaimer-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--disc-card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--disc-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 237, 0, 0.05);
}

@media (max-width: 768px) {
    .disclaimer-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

/* ========================================
   Content Sections
   ======================================== */
.disclaimer-content {
    display: none;
}

.disclaimer-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* ========================================
   Intro Section
   ======================================== */
.disclaimer-intro {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--disc-border);
    border-radius: 16px;
}

.disclaimer-intro p {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--disc-text-muted);
    margin: 0;
}

/* ========================================
   Disclaimer Sections
   ======================================== */
.disclaimer-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--disc-border);
}

.disclaimer-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--disc-accent) 0%, var(--disc-accent-alt) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--disc-bg-mid);
    flex-shrink: 0;
}

.section-title-group {
    flex: 1;
}

.section-number {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--disc-warning);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.125rem;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--disc-text);
    margin: 0;
    line-height: 1.3;
}

/* ========================================
   Lists
   ======================================== */
.disclaimer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.disclaimer-list li {
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--disc-border);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--disc-text-muted);
    transition: all 0.3s ease;
}

.disclaimer-list li:last-child {
    margin-bottom: 0;
}

.disclaimer-list li::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 1.35rem;
    width: 8px;
    height: 8px;
    background: var(--disc-warning);
    border-radius: 50%;
}

.disclaimer-list li:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(245, 158, 11, 0.2);
}

/* ========================================
   Acceptance Box
   ======================================== */
.acceptance-box {
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.08) 0%, rgba(255, 237, 0, 0.03) 100%);
    border: 1px solid rgba(255, 237, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.acceptance-box .acceptance-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--disc-accent) 0%, var(--disc-accent-alt) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--disc-bg-mid);
}

.acceptance-box p {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--disc-text-muted);
    margin: 0;
}

.acceptance-box strong {
    color: var(--disc-accent);
}

/* ========================================
   Contact Box
   ======================================== */
.contact-section {
    margin-top: 2rem;
}

.contact-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--disc-text-muted);
    margin-bottom: 1rem;
}

.contact-box {
    background: rgba(255, 237, 0, 0.05);
    border: 1px solid rgba(255, 237, 0, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
}

.contact-box .company-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--disc-accent);
    margin-bottom: 0.75rem;
}

.contact-box address {
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--disc-text-muted);
    margin: 0;
}

.contact-box a {
    color: var(--disc-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-box a:hover {
    color: var(--disc-accent-alt);
    text-decoration: underline;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-row i {
    color: var(--disc-accent);
    font-size: 1rem;
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2.5rem auto 0;
    padding: 0.875rem 1.5rem;
    background: var(--disc-card-bg);
    border: 2px solid var(--disc-border);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--disc-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: rgba(255, 237, 0, 0.1);
    border-color: var(--disc-accent);
    color: var(--disc-accent);
    transform: translateY(-2px);
}

/* ========================================
   Footer Note
   ======================================== */
.disclaimer-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--disc-border);
}

.disclaimer-footer p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: var(--disc-text-dim);
    margin: 0;
}

.disclaimer-footer .logo {
    height: 30px;
    margin-bottom: 0.75rem;
    opacity: 0.5;
    filter: brightness(0) invert(1);
}

/* ========================================
   Section Icons Mapping
   ======================================== */
.icon-accuracy { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important; }
.icon-responsibility { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important; }
.icon-links { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important; }
.icon-security { background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; }
.icon-access { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important; }
.icon-copyright { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%) !important; }

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 640px) {
    .disclaimer-header h1 {
        font-size: 1.875rem;
    }
    
    .disclaimer-header .subtitle {
        font-size: 1rem;
    }
    
    .language-switcher {
        flex-direction: column;
        align-items: center;
    }
    
    .lang-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .disclaimer-list li {
        padding-left: 2.5rem;
    }

    .disclaimer-list li::before {
        left: 1rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .disclaimer-page {
        background: white;
        margin-top: 0;
        padding-top: 0;
    }
    
    .honeycomb-pattern,
    .flying-bee,
    .language-switcher,
    .back-to-top,
    .notice-banner {
        display: none !important;
    }
    
    .disclaimer-card {
        background: white;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .disclaimer-content {
        display: block !important;
    }
    
    .section-icon {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .section-title,
    .disclaimer-list li,
    .disclaimer-intro p {
        color: #333 !important;
    }
}
