/* ============================
           1. CORE VARIABLES (Theme)
           ============================ */
        :root {
            --bg-body: #f8fafc;
            --bg-card: #ffffff;
            --text-main: #1f2937;
            --text-muted: #64748b;
            --primary: #FF6534; /* Primary Color */
            --primary-hover: #e55520;
            --border: #e2e8f0;
            --radius-lg: 16px;
            --radius-sm: 8px;
            --shadow-sm: 0 4px 15px rgba(0,0,0,0.03);
            --shadow-md: 0 10px 25px rgba(0,0,0,0.06);
            --ease: cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Base Reset */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
        
        html, body { width: 100%; overflow-x: hidden; position: relative; }
        body { background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
        a { text-decoration: none; color: inherit; }

        /* ============================
           2. ANNOUNCEMENT BAR & NAV
           ============================ */
        .announcement-bar {
            position: fixed; top: 0; left: 0; width: 100%; height: 30px;
            background: linear-gradient(90deg, var(--primary) 0%, #ff8c66 100%);
            color: #ffffff; display: flex; justify-content: center; align-items: center;
            padding: 0 5%; z-index: 1002; font-size: 12px; font-weight: 500;
            box-shadow: 0 2px 10px rgba(255, 101, 52, 0.2); transition: transform 0.3s ease;
        }
        .announcement-bar .badge { background: rgba(255, 255, 255, 0.25); padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-right: 10px; letter-spacing: 0.5px; }
        .announcement-bar p { margin: 0; display: flex; align-items: center; }
        .announcement-bar a { color: #ffffff; font-weight: 700; text-decoration: none; margin-left: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.5); transition: border-color 0.3s; }
        .announcement-bar a:hover { border-color: #ffffff; }

        nav {
            position: fixed; top: 30px; width: 100%; background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
            padding: 15px 5%; display: flex; justify-content: space-between; align-items: center;
            z-index: 1000; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); transition: top 0.3s ease;
        }
        .logo { font-size: 24px; font-weight: 700; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -0.5px; }
        .logo i { color: var(--primary); }

        .nav-links { display: flex; align-items: center; margin-left: auto; }
        .nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; margin-left: 30px; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
        .nav-links a:hover, .nav-links a.active { color: var(--primary); }
        .nav-links .close-btn, .nav-links .menu-header { display: none; }

        .hamburger { display: none; background: none; border: none; font-size: 24px; color: var(--text-main); cursor: pointer; transition: color 0.3s; margin-left: 20px; }
        .hamburger:hover { color: var(--primary); }
        .menu-overlay { display: none; }

        /* ============================
           3. LEGAL PAGE LAYOUT
           ============================ */
        .legal-wrapper {
            padding: 140px 5% 80px;
            max-width: 850px;
            margin: 0 auto;
            flex-grow: 1;
        }

        .legal-header {
            text-align: center;
            margin-bottom: 50px;
            padding-bottom: 30px;
            border-bottom: 1px solid var(--border);
        }

        .legal-header h1 {
            font-size: clamp(36px, 5vw, 48px);
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 15px;
            letter-spacing: -0.5px;
        }

        .legal-header h1 span {
            position: relative;
            display: inline-block;
        }

        .heading-underline {
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 12px;
            z-index: -1;
        }

        .legal-header p {
            font-size: 16px;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* Typography for Legal Content */
        .legal-content {
            background: var(--bg-card);
            padding: 50px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
        }

        .legal-content h2 {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-main);
            margin: 40px 0 15px;
        }

        .legal-content h2:first-child {
            margin-top: 0;
        }

        .legal-content p {
            font-size: 16px;
            line-height: 1.8;
            color: var(--text-muted);
            margin-bottom: 20px;
        }

        .legal-content ul {
            margin-bottom: 25px;
            padding-left: 25px;
        }

        .legal-content li {
            font-size: 16px;
            line-height: 1.8;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .legal-content strong {
            color: var(--text-main);
            font-weight: 600;
        }

        .legal-content a {
            color: var(--primary);
            font-weight: 500;
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        
        .legal-content a:hover {
            color: var(--primary-hover);
        }

        .highlight-box {
            background: rgba(255, 101, 52, 0.05);
            border-left: 4px solid var(--primary);
            padding: 20px 25px;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            margin: 30px 0;
        }

        .highlight-box p {
            margin: 0;
            color: var(--text-main);
            font-weight: 500;
        }

        /* ============================
           4. FOOTER & RESPONSIVE
           ============================ */
        footer { background-color: #ffffff; border-top: 1px solid var(--border); padding: 60px 5% 20px; box-shadow: 0 -4px 20px rgba(0,0,0,0.02); margin-top: auto; }
        .footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 2fr; gap: 50px; margin-bottom: 50px; }
        .footer-brand .footer-logo { font-size: 24px; font-weight: 700; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
        .footer-brand .footer-logo i { color: var(--primary); }
        .footer-desc { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 25px; max-width: 380px; }
        .social-icons { display: flex; gap: 12px; }
        .social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--bg-body); color: var(--text-muted); border-radius: 50%; font-size: 18px; transition: all 0.3s ease; }
        .social-icons a:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 101, 52, 0.2); }
        .footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .footer-col h4 { color: var(--text-main); font-size: 17px; font-weight: 600; margin-bottom: 20px; }
        .footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 15px; margin-bottom: 12px; transition: all 0.3s ease; }
        .footer-col a:hover { color: var(--primary); transform: translateX(4px); }
        .footer-bottom { max-width: 1200px; margin: 0 auto; text-align: center; color: var(--text-muted); font-size: 14px; padding-top: 25px; border-top: 1px solid var(--border); }

        @media (max-width: 768px) {
            .announcement-bar { font-size: 11px; }
            .legal-wrapper { padding-top: 120px; }
            .legal-content { padding: 30px 20px; }
            
            /* Mobile Nav Logic */
            .hamburger { display: block; }
            .nav-links {
                position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background-color: #ffffff;
                flex-direction: column; align-items: flex-start; padding: 25px; box-shadow: 4px 0 20px rgba(0,0,0,0.1);
                transition: left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1); z-index: 1005; margin-left: 0;
            }
            .nav-links.active { left: 0; }
            .nav-links .menu-header { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 20px; font-weight: 700; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
            .nav-links .close-btn { display: block; background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
            .nav-links a { margin: 0 0 25px 0; font-size: 18px; width: 100%; }
            .menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 1004; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
            .menu-overlay.active { opacity: 1; visibility: visible; }
            
            .footer-top { grid-template-columns: 1fr; gap: 40px; }
            .footer-nav { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 480px) {
            .footer-nav { grid-template-columns: 1fr; gap: 25px; }
        }