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

        /* ==================== ENHANCED RESPONSIVE DESIGN ==================== */
        
        /* Tablet (768px-1024px) */
        @media (min-width: 768px) and (max-width: 1024px) {
            nav {
                padding: 1rem 2rem;
            }
            
            .hero {
                padding: 5rem 2rem;
            }
            
            main {
                padding: 0 2rem;
            }
            
            .content-wrapper {
                gap: 2rem;
            }
        }
        
        /* Mobile (up to 767px) */
        @media (max-width: 767px) {
            nav {
                padding: 0.75rem 1rem;
            }
            
            .nav-logo {
                font-size: 1.25rem;
            }
            
            .nav-logo svg {
                width: 1.5rem;
                height: 1.5rem;
            }
            
            .nav-right {
                gap: 10px;
            }
            
            .hero {
                padding: 3rem 1rem;
            }
            
            .hero h1 {
                font-size: 1.75rem;
            }
            
            .hero p {
                font-size: 14px;
            }
            
            main {
                margin-top: -40px;
                padding: 0 1rem;
            }
            
            .content-wrapper {
                gap: 2rem;
            }
            
            .content-card {
                padding: 1.5rem;
            }
            
            .intro-text {
                font-size: 16px;
            }
            
            section h2 {
                font-size: 20px;
            }
            
            section p {
                font-size: 14px;
            }
            
            section li {
                font-size: 14px;
                padding-left: 1.5rem;
            }
            
            .notice {
                padding: 1rem;
            }
            
            .acceptance-box {
                padding: 1.5rem;
            }
            
            .acceptance-button {
                font-size: 14px;
                padding: 0.75rem 1.5rem;
            }
            
            .footer-grid {
                gap: 2rem;
            }
            
            .footer-section h4 {
                font-size: 1rem;
            }
            
            .footer-section p,
            .footer-section li {
                font-size: 0.875rem;
            }
        }
        
        /* Very small mobile (320px-480px) */
        @media (max-width: 480px) {
            nav {
                padding: 0.625rem 0.75rem;
            }
            
            .nav-logo {
                font-size: 1.125rem;
            }
            
            .theme-toggle {
                width: 36px;
                height: 36px;
            }
            
            .hero {
                padding: 2rem 0.75rem;
            }
            
            .hero-icon {
                width: 60px;
                height: 60px;
            }
            
            .hero-icon svg {
                width: 30px;
                height: 30px;
            }
            
            .hero h1 {
                font-size: 1.5rem;
            }
            
            .hero p {
                font-size: 13px;
            }
            
            main {
                padding: 0 0.75rem;
            }
            
            .content-card {
                padding: 1rem;
            }
            
            .intro-text {
                font-size: 14px;
            }
            
            section {
                margin-bottom: 2rem;
            }
            
            section h2 {
                font-size: 18px;
            }
            
            section p {
                font-size: 13px;
            }
            
            section li {
                font-size: 13px;
            }
            
            .notice {
                padding: 0.75rem;
            }
            
            .acceptance-box {
                padding: 1rem;
            }
            
            .acceptance-button {
                font-size: 13px;
                padding: 0.625rem 1.25rem;
            }
            
            .social-links {
                gap: 0.5rem;
            }
            
            .social-links a {
                width: 36px;
                height: 36px;
            }
        }
        
        /* Landscape mobile */
        @media (max-height: 600px) and (orientation: landscape) {
            .hero {
                padding: 2rem 1rem;
            }
            
            .hero h1 {
                font-size: 1.75rem;
            }
            
            main {
                margin-top: -30px;
            }
        }

        :root {
            --background: #f8fbfd;
            --foreground: #1a1f36;
            --card: #ffffff;
            --card-foreground: #1a1f36;
            --primary: #3b5bdb;
            --primary-foreground: #f8fbfd;
            --secondary: #f0f4f8;
            --muted-foreground: #64748b;
            --border: #e2e8f0;
            --primary-light: #e8ecf9;
            --warning-bg: #eff6ff;
            --warning-border: #bfdbfe;
            --radius: 12px;
        }

        html.dark {
            --background: #0f1419;
            --foreground: #f0f4f8;
            --card: #1a202c;
            --card-foreground: #f0f4f8;
            --primary: #4f7dff;
            --primary-foreground: #0f1419;
            --secondary: #2d3748;
            --muted-foreground: #cbd5e0;
            --border: #2d3748;
            --primary-light: #1a2847;
            --warning-bg: #1e3a5f;
            --warning-border: #0369a1;
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background-color: var(--background);
            color: var(--foreground);
            line-height: 1.6;
            overflow-x: hidden;
            transition: background-color 0.3s, color 0.3s;
            width: 100%;
            max-width: 100vw;
        }

        html {
            overflow-x: hidden;
            width: 100%;
        }

        /* Navbar */
        nav {
            position: sticky;
            top: 0;
            z-index: 50;
            width: 100%;
            padding: 0 !important;
            border-bottom: 1px solid var(--border);
            background-color: rgba(248, 251, 253, 0.8);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        html.dark nav {
            background-color: rgba(15, 20, 25, 0.8);
        }

        .nav-content {
            max-width: none;
            width: 100%;
            margin: 0;
            padding: 0;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-sizing: border-box;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 700;
            color: #3b82f6;
            text-decoration: none;
            transition: opacity 0.3s;
            line-height: 1;
            margin-left: 0;
            padding-left: 0;
        }

        .nav-logo span {
            display: block;
            line-height: 1;
        }

        .nav-logo:hover {
            opacity: 0.8;
        }

        html.dark .nav-logo,
        html.dark .logo-brand {
            color: #7dd3fc;
            text-shadow: 0 0 12px rgba(125, 211, 252, 0.45);
        }

        .logo-img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }
        
        @media (max-width: 767px) {
            .logo-img {
                width: 30px;
                height: 30px;
            }
        }
        
        @media (max-width: 480px) {
            .logo-img {
                width: 26px;
                height: 26px;
            }
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-left: auto;
            padding-right: 12px;
        }

        .nav-links {
            display: flex;
            gap: 16px;
            font-size: 13px;
            font-weight: 500;
        }

        @media (min-width: 768px) {
            .nav-links {
                gap: 24px;
                font-size: 14px;
            }
        }

        .nav-links a {
            color: var(--muted-foreground);
            text-decoration: none;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        /* Hero Section */
        .hero {
            position: relative;
            height: 40vh;
            min-height: 350px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            padding: 2rem 1rem;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            background: transparent;
        }

        .hero-gradient {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent, var(--background));
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            animation: slideInDown 0.8s ease-out;
        }

        .hero-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px;
            margin-bottom: 24px;
            background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
            border-radius: 50%;
            border: 1px solid #fdba74;
            backdrop-filter: blur(4px);
            box-shadow: 0 6px 14px rgba(217, 119, 6, 0.18);
        }

        .hero-icon svg {
            width: 24px;
            height: 24px;
            color: #9a3412;
        }

        html.dark .hero-icon {
            background: linear-gradient(180deg, #3f2a13 0%, #2b1c0c 100%);
            border-color: #92400e;
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
        }

        html.dark .hero-icon svg {
            color: #fdba74;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 16px;
            letter-spacing: -0.02em;
            color: var(--foreground);
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }
        }

        /* Tablet (768px-1024px) */
        @media (min-width: 768px) and (max-width: 1024px) {
            nav { padding: 0; }
            .nav-content { gap: 16px; }
            .hero { padding: 40px 24px; min-height: 320px; }
            .hero h1 { font-size: 2.2rem; }
            main { padding: 0 24px; margin-top: -40px; }
            .content-wrapper { grid-template-columns: 1fr; }
        }

        .hero p {
            font-size: 16px;
            color: var(--muted-foreground);
            max-width: 600px;
            margin: 0 auto;
            font-weight: 400;
            line-height: 1.5;
        }

        /* Main Content */
        main {
            max-width: 1200px;
            width: 100%;
            margin: -50px auto 0;
            position: relative;
            z-index: 20;
            padding: 0 24px;
            box-sizing: border-box;
        }

        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr;
            gap: 48px;
            width: 100%;
            max-width: 100%;
        }

        @media (min-width: 1024px) {
            .content-wrapper {
                grid-template-columns: 250px 1fr;
            }
        }

        /* Sidebar */
        aside {
            display: none;
        }

        @media (min-width: 1024px) {
            aside {
                display: block;
            }

            .toc {
                position: sticky;
                top: 100px;
                border-left: 2px solid var(--border);
                padding-left: 24px;
            }

            .toc h3 {
                font-family: 'Playfair Display', serif;
                font-size: 18px;
                font-weight: bold;
                margin-bottom: 24px;
                color: var(--foreground);
            }

            .toc a {
                display: block;
                font-size: 14px;
                color: var(--muted-foreground);
                text-decoration: none;
                padding: 8px 0;
                transition: color 0.3s;
                border-left: 2px solid transparent;
                padding-left: 8px;
                margin-left: -8px;
            }

            .toc a:hover {
                color: var(--primary);
            }
        }

        /* Content Card */
        .content-card {
            background-color: var(--card);
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.08);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        @media (max-width: 768px) {
            .content-card {
                padding: 24px;
            }
        }

        /* Mobile (up to 767px) */
        @media (max-width: 767px) {
            nav { padding: 0; }
            .nav-content { padding: 0; }
            .nav-right { gap: 10px; justify-content: flex-end; }
            .nav-links { gap: 12px; font-size: 12px; }
            .nav-links a { padding: 4px 0; }

            .hero { padding: 30px 16px; text-align: center; min-height: 300px; }
            .hero h1 { font-size: 26px; margin-bottom: 12px; }
            .hero p { font-size: 14px; margin-bottom: 10px; }

            main { margin-top: -40px; padding: 0 16px; }
            .content-wrapper { gap: 24px; }
            section { margin-bottom: 32px; }
            section h2 { font-size: 20px; }
            section p { font-size: 14px; }
            .intro-text { font-size: 16px; }
        }

        /* Very small mobile (320px-480px) */
        @media (max-width: 480px) {
            .nav-content { padding: 0; }
            .nav-right { padding-right: 8px; }
            .nav-logo { font-size: 18px; }
            .nav-links { gap: 10px; font-size: 11px; }
            .hero { padding: 25px 12px; min-height: 280px; }
            .hero h1 { font-size: 22px; margin-bottom: 10px; }
            .hero p { font-size: 13px; margin-bottom: 8px; }
            main { padding: 0 12px; }
            section h2 { font-size: 18px; }
            .content-card { padding: 16px; }
        }

        /* Landscape mobile */
        @media (max-height: 600px) and (orientation: landscape) {
            .hero { padding: 20px 16px; min-height: 250px; height: auto; }
            .hero h1 { font-size: 24px; margin-bottom: 8px; }
            .hero p { font-size: 13px; margin-bottom: 6px; }
        }

        .intro-text {
            font-size: 18px;
            color: var(--muted-foreground);
            line-height: 1.8;
            margin-bottom: 48px;
        }

        .intro-text strong {
            color: var(--foreground);
            font-weight: 600;
        }

        /* Sections */
        section {
            margin-bottom: 48px;
            animation: fadeInUp 0.6s ease-out backwards;
        }

        section:nth-child(2) { animation-delay: 0.1s; }
        section:nth-child(3) { animation-delay: 0.2s; }
        section:nth-child(4) { animation-delay: 0.3s; }
        section:nth-child(5) { animation-delay: 0.4s; }
        section:nth-child(6) { animation-delay: 0.5s; }
        section:nth-child(7) { animation-delay: 0.6s; }
        section:nth-child(8) { animation-delay: 0.7s; }

        section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: bold;
            color: var(--foreground);
            margin-bottom: 16px;
            border-left: 4px solid var(--primary);
            padding-left: 16px;
        }

        section p {
            color: var(--muted-foreground);
            margin-bottom: 16px;
            line-height: 1.8;
        }

        section strong {
            color: var(--foreground);
            font-weight: 600;
        }

        section ul {
            list-style: none;
            margin-left: 0;
            margin-top: 16px;
        }

        section li {
            color: var(--muted-foreground);
            margin-bottom: 12px;
            padding-left: 24px;
            position: relative;
            line-height: 1.6;
        }

        section li::before {
            content: '•';
            position: absolute;
            left: 8px;
            color: var(--primary);
            font-weight: bold;
        }

        /* Notice/Warning Box */
        .notice {
            background-color: var(--warning-bg);
            border: 1px solid var(--warning-border);
            border-radius: 12px;
            padding: 24px;
            margin-top: 24px;
            font-size: 14px;
            line-height: 1.7;
            color: var(--muted-foreground);
        }

        .notice strong {
            color: var(--primary);
        }

        /* Acceptance Box */
        .acceptance-box {
            background-color: var(--secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px;
            margin-top: 32px;
            animation: fadeInUp 0.6s ease-out 0.8s backwards;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 20px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 20px;
            height: 20px;
            min-width: 20px;
            margin-top: 2px;
            cursor: pointer;
            accent-color: var(--primary);
        }

        .checkbox-group label {
            cursor: pointer;
            user-select: none;
            color: var(--foreground);
            font-size: 16px;
        }

        .acceptance-button {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            background-color: var(--primary);
            color: var(--primary-foreground);
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(59, 91, 219, 0.2);
        }

        .acceptance-button:hover:not(:disabled) {
            background-color: rgba(59, 91, 219, 0.9);
            box-shadow: 0 4px 12px rgba(59, 91, 219, 0.3);
            transform: translateY(-2px);
        }

        .acceptance-button:disabled {
            background-color: var(--border);
            color: var(--muted-foreground);
            cursor: not-allowed;
            opacity: 0.6;
        }

        .acceptance-status {
            margin-top: 16px;
            padding: 12px 16px;
            background-color: #f0fdf4;
            border: 1px solid #86efac;
            border-radius: 8px;
            color: #166534;
            font-size: 14px;
            display: none;
            animation: fadeInUp 0.3s ease-out;
        }

        html.dark .acceptance-status {
            background-color: rgba(34, 197, 94, 0.1);
            border-color: rgba(34, 197, 94, 0.3);
            color: #86efac;
        }

        .acceptance-status.show {
            display: block;
        }

        /* Divider */
        .divider {
            border-top: 1px solid var(--border);
            padding-top: 32px;
            margin-top: 32px;
        }

        /* Footer */
        footer {
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
            overflow-x: hidden;
            background-color: var(--secondary);
            border-top: 1px solid var(--border);
            margin-top: 80px;
            padding-top: 64px;
            padding-bottom: 32px;
            transition: background-color 0.3s;
        }

        .footer-grid {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            padding: 0 24px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 48px;
            margin-bottom: 48px;
            box-sizing: border-box;
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .footer-section h4 {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 24px;
            color: var(--foreground);
        }

        .footer-section p {
            font-size: 14px;
            color: var(--muted-foreground);
            line-height: 1.6;
            max-width: 200px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 12px;
            padding-left: 0;
        }

        .footer-section li::before {
            display: none;
        }

        .footer-section a {
            font-size: 14px;
            color: var(--muted-foreground);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 16px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--card);
            border: 1px solid var(--border);
            transition: all 0.3s;
        }

        .social-links a:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .social-links svg {
            width: 20px;
            height: 20px;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px 0;
            border-top: 1px solid var(--border);
            padding-top: 32px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-size: 14px;
            color: #94a3b8; /* match index footer color */
        }

        @media (min-width: 768px) {
            .footer-bottom {
                flex-direction: column; /* keep centered on desktop */
                justify-content: center;
                align-items: center;
                text-align: center;
            }
        }

        .footer-bottom i { color: var(--primary); }

        .footer-links {
            display: flex;
            gap: 24px;
            justify-content: center;
        }

        @media (min-width: 768px) {
            .footer-links {
                justify-content: flex-end;
            }
        }

        .footer-links a {
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .logo-brand {
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            font-weight: bold;
            color: var(--foreground);
            margin-bottom: 16px;
        }

        .logo-brand svg {
            width: 20px;
            height: 20px;
            color: var(--primary);
        }

        /* Animations */
        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        html::selection {
            background-color: rgba(59, 91, 219, 0.2);
            color: var(--primary);
        }
