 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }
 
 body {
     font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
     background: linear-gradient(145deg, #0f0c29, #302b63, #24243e);
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 2rem 1.5rem;
     position: relative;
 }
 
 .site-header .logo-icon {
     width: 48px;
     height: 48px;
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     flex-shrink: 0;
     background: transparent;
     transition: transform 0.3s ease;
 }
 
 .site-header .logo-icon img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     display: block;
 }
 
 .site-header .logo:hover .logo-icon {
     transform: scale(1.05);
 }
 /* Animated background orbs */
 
 body::before {
     content: "";
     position: fixed;
     top: -20%;
     left: -10%;
     width: 60%;
     height: 60%;
     background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
     border-radius: 50%;
     z-index: -2;
     pointer-events: none;
     animation: floatOrb 20s ease-in-out infinite;
 }
 
 body::after {
     content: "";
     position: fixed;
     bottom: -15%;
     right: -5%;
     width: 55%;
     height: 55%;
     background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, rgba(236, 72, 153, 0) 70%);
     border-radius: 50%;
     z-index: -2;
     pointer-events: none;
     animation: floatOrb2 25s ease-in-out infinite;
 }
 
 @keyframes floatOrb {
     0%,
     100% {
         transform: translate(0, 0);
     }
     50% {
         transform: translate(30px, 20px);
     }
 }
 
 @keyframes floatOrb2 {
     0%,
     100% {
         transform: translate(0, 0);
     }
     50% {
         transform: translate(-20px, -30px);
     }
 }
 /* Header Styles */
 
 .site-header {
     max-width: 1200px;
     width: 100%;
     margin: 0 auto 2rem auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 1rem;
     padding: 0.8rem 1.5rem;
     background: rgba(255, 255, 255, 0.03);
     backdrop-filter: blur(12px);
     border-radius: 80px;
     border: 1px solid rgba(139, 92, 246, 0.3);
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
 }
 
 .logo {
     display: flex;
     align-items: center;
     gap: 12px;
 }
 
 .logo-icon {
     width: 48px;
     height: 48px;
     background: linear-gradient(135deg, #8b5cf6, #ec489a);
     border-radius: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 8px 18px rgba(139, 92, 246, 0.4);
     animation: glowPulse 3s ease-in-out infinite;
 }
 
 @keyframes glowPulse {
     0%,
     100% {
         box-shadow: 0 8px 18px rgba(139, 92, 246, 0.4);
     }
     50% {
         box-shadow: 0 8px 30px rgba(139, 92, 246, 0.7);
     }
 }
 
 .logo-icon i {
     font-style: normal;
     font-size: 1.8rem;
     font-weight: bold;
     color: white;
 }
 
 .logo-text {
     font-size: 1.6rem;
     font-weight: 800;
     background: linear-gradient(135deg, #ffffff, #c4b5fd, #f0b6d0);
     background-clip: text;
     -webkit-background-clip: text;
     color: transparent;
     letter-spacing: -0.02em;
 }
 
 .logo-tagline {
     font-size: 0.75rem;
     color: #a78bfa;
     opacity: 0.8;
     margin-top: 2px;
 }
 
 .nav-links {
     display: flex;
     gap: 1.8rem;
     flex-wrap: wrap;
 }
 
 .nav-links a {
     text-decoration: none;
     color: #e0d4ff;
     font-weight: 500;
     transition: all 0.3s ease;
     padding: 0.5rem 0;
     border-bottom: 2px solid transparent;
     position: relative;
 }
 
 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: -2px;
     left: 0;
     width: 0;
     height: 2px;
     background: linear-gradient(90deg, #8b5cf6, #ec489a);
     transition: width 0.3s ease;
 }
 
 .nav-links a:hover {
     color: #ffffff;
 }
 
 .nav-links a:hover::after {
     width: 100%;
 }
 /* Hero Card Styles */
 
 .hero-card {
     max-width: 1200px;
     width: 100%;
     background: rgba(255, 255, 255, 0.03);
     backdrop-filter: blur(12px);
     border-radius: 2.5rem;
     box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.2);
     padding: 2.8rem 2.5rem;
     transition: all 0.3s ease;
     animation: fadeInUp 0.8s ease;
 }
 
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }
 
 .hero-card:hover {
     box-shadow: 0 30px 55px -15px rgba(139, 92, 246, 0.3);
     border-color: rgba(139, 92, 246, 0.4);
 }
 
 h1 {
     font-size: 3.2rem;
     font-weight: 800;
     background: linear-gradient(135deg, #ffffff, #c4b5fd, #f0b6d0);
     background-clip: text;
     -webkit-background-clip: text;
     color: transparent;
     letter-spacing: -0.02em;
     margin-bottom: 1rem;
     line-height: 1.2;
     text-align: center;
 }
 
 @media (max-width: 640px) {
     h1 {
         font-size: 2.2rem;
     }
 }
 
 footer {
     background: linear-gradient(135deg, #0f172a, #1e3a5f);
     color: #cbd5e1;
     margin-top: 60px;
     padding: 30px 0;
     text-align: center;
 }
 
 .description {
     font-size: 1.05rem;
     line-height: 1.6;
     color: #cbd5e1;
     background: rgba(0, 0, 0, 0.3);
     padding: 1.2rem 1.8rem;
     border-radius: 1.5rem;
     margin: 1.5rem 0 2rem 0;
     border-left: 4px solid #8b5cf6;
     text-align: center;
 }
 /* Button Grid */
 
 main {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 2rem;
     margin: 2.5rem 0 1.5rem;
 }
 
 .btn {
     flex: 1;
     min-width: 220px;
     transition: transform 0.25s ease;
 }
 
 .btn a {
     text-decoration: none;
     display: block;
 }
 
 button {
     width: 100%;
     background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
     border: 1px solid rgba(139, 92, 246, 0.4);
     padding: 1rem 1.2rem;
     font-size: 1.1rem;
     font-weight: 600;
     font-family: inherit;
     border-radius: 60px;
     color: #e0d4ff;
     cursor: pointer;
     transition: all 0.3s ease;
     backdrop-filter: blur(4px);
     letter-spacing: 0.5px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     position: relative;
     overflow: hidden;
 }
 
 button::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
     transition: left 0.5s ease;
 }
 
 button:hover::before {
     left: 100%;
 }
 /* Custom Icons */
 
 .btn:first-child button::before {
     content: "✨";
     position: static;
     background: none;
     font-size: 1.2rem;
     margin-right: 8px;
 }
 
 .btn:nth-child(2) button::before {
     content: "🏛️";
     position: static;
     background: none;
     font-size: 1.2rem;
     margin-right: 8px;
 }
 
 .btn:nth-child(3) button::before {
     content: "📚";
     position: static;
     background: none;
     font-size: 1.2rem;
     margin-right: 8px;
 }
 /* Fix for pseudo-element override */
 
 .btn:first-child button::before,
 .btn:nth-child(2) button::before,
 .btn:nth-child(3) button::before {
     display: inline-block;
 }
 
 button:hover {
     background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(236, 72, 153, 0.35));
     border-color: rgba(139, 92, 246, 0.7);
     transform: translateY(-3px);
     box-shadow: 0 10px 25px -8px rgba(139, 92, 246, 0.4);
     color: #ffffff;
 }
 
 button:active {
     transform: translateY(1px);
 }
 /* Contact Info */
 
 .contact-info {
     margin-top: 2.5rem;
     text-align: center;
     border-top: 1px solid rgba(139, 92, 246, 0.2);
     padding-top: 1.8rem;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
     gap: 1rem;
 }
 
 .contact-info a {
     text-decoration: none;
     font-size: 1rem;
     font-weight: 500;
     background: rgba(139, 92, 246, 0.15);
     padding: 0.6rem 1.5rem;
     border-radius: 50px;
     display: inline-flex;
     align-items: center;
     gap: 10px;
     color: #c4b5fd;
     transition: all 0.3s ease;
     border: 1px solid rgba(139, 92, 246, 0.3);
 }
 
 .contact-info a:hover {
     background: rgba(139, 92, 246, 0.3);
     color: white;
     transform: translateY(-2px);
     border-color: rgba(139, 92, 246, 0.6);
 }
 
 .contact-info a::before {
     content: "📞";
     font-size: 1rem;
 }
 
 .contact-info span {
     color: #94a3b8;
     font-weight: 500;
 }
 
 .contact-info span::before {
     content: "✉️ ";
 }
 /* Responsive */
 
 @media (max-width: 768px) {
     .site-header {
         flex-direction: column;
         text-align: center;
         border-radius: 2rem;
         padding: 1rem;
     }
     .hero-card {
         padding: 1.8rem 1.2rem;
         border-radius: 2rem;
     }
     main {
         gap: 1rem;
     }
     button {
         padding: 0.8rem 1rem;
         font-size: 0.95rem;
     }
     .description {
         font-size: 0.9rem;
         padding: 1rem;
     }
     .logo {
         justify-content: center;
     }
     .nav-links {
         justify-content: center;
     }
 }
 
 .chat-float {
     position: fixed;
     bottom: 2rem;
     right: 2rem;
     z-index: 999;
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     gap: .8rem
 }
 
 .chat-toggle {
     width: 70px;
     height: 70px;
     border-radius: 50%;
     background: linear-gradient(135deg, #8b5cf6, #a855f7);
     border: none;
     box-shadow: 0 8px 32px rgba(140, 80, 220, .5);
     color: #fff;
     font-size: 2rem;
     cursor: pointer;
     transition: all .3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
     animation: pulseGlow 2s infinite alternate;
     position: relative
 }
 
 @keyframes pulseGlow {
     0% {
         box-shadow: 0 8px 32px rgba(140, 80, 220, .4)
     }
     100% {
         box-shadow: 0 12px 48px rgba(140, 80, 220, .7)
     }
 }
 
 .chat-toggle:hover {
     transform: scale(1.08) rotate(-5deg);
     box-shadow: 0 12px 48px rgba(140, 80, 220, .7)
 }
 
 .chat-toggle .badge {
     position: absolute;
     top: -2px;
     right: -2px;
     background: #ef4444;
     color: #fff;
     font-size: .6rem;
     font-weight: 700;
     padding: .15rem .5rem;
     border-radius: 30px
 }
 
 .chat-window {
     background: rgba(30, 12, 50, .92);
     backdrop-filter: blur(20px);
     border-radius: 2rem;
     width: 400px;
     max-width: 92vw;
     height: 540px;
     max-height: 80vh;
     display: none;
     flex-direction: column;
     border: 1px solid rgba(160, 100, 200, .15);
     box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
     overflow: hidden;
     animation: slideUp .4s cubic-bezier(.34, 1.56, .64, 1)
 }
 
 @keyframes slideUp {
     0% {
         opacity: 0;
         transform: translateY(30px) scale(.95)
     }
     100% {
         opacity: 1;
         transform: translateY(0) scale(1)
     }
 }
 
 .chat-window.open {
     display: flex
 }
 
 .chat-header {
     padding: 1rem 1.5rem;
     background: rgba(40, 18, 60, .5);
     border-bottom: 1px solid rgba(160, 100, 200, .1);
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-shrink: 0
 }
 
 .chat-header h3 {
     color: #f0e6ff;
     font-size: 1.1rem;
     font-weight: 600;
     display: flex;
     align-items: center;
     gap: 10px
 }
 
 .chat-header h3 .online-dot {
     width: 10px;
     height: 10px;
     background: #22c55e;
     border-radius: 50%;
     display: inline-block;
     animation: blink 1.5s infinite
 }
 
 @keyframes blink {
     0%,
     100% {
         opacity: 1
     }
     50% {
         opacity: .3
     }
 }
 
 .chat-close {
     background: 0 0;
     border: none;
     color: #8a6e9e;
     font-size: 1.4rem;
     cursor: pointer;
     transition: .2s
 }
 
 .chat-close:hover {
     color: #fff;
     transform: rotate(90deg)
 }
 
 .chat-messages {
     flex: 1;
     padding: 1.2rem 1.5rem;
     overflow-y: auto;
     display: flex;
     flex-direction: column;
     gap: .8rem
 }
 
 .chat-messages::-webkit-scrollbar {
     width: 4px
 }
 
 .chat-messages::-webkit-scrollbar-track {
     background: rgba(160, 100, 200, .05);
     border-radius: 10px
 }
 
 .chat-messages::-webkit-scrollbar-thumb {
     background: rgba(160, 100, 200, .3);
     border-radius: 10px
 }
 
 .chat-messages .msg {
     max-width: 88%;
     padding: .8rem 1.2rem;
     border-radius: 1.2rem;
     font-size: .92rem;
     line-height: 1.6;
     animation: msgIn .3s ease;
     white-space: pre-wrap;
     word-wrap: break-word
 }
 
 @keyframes msgIn {
     0% {
         opacity: 0;
         transform: translateY(10px) scale(.95)
     }
     100% {
         opacity: 1;
         transform: translateY(0) scale(1)
     }
 }
 
 .chat-messages .msg.bot {
     background: rgba(160, 100, 200, .15);
     color: #dcc8ee;
     align-self: flex-start;
     border-bottom-left-radius: 4px
 }
 
 .chat-messages .msg.user {
     background: linear-gradient(135deg, #8b5cf6, #a855f7);
     color: #fff;
     align-self: flex-end;
     border-bottom-right-radius: 4px
 }
 
 .chat-messages .msg.system {
     background: rgba(251, 191, 36, .1);
     color: #fef3c7;
     align-self: center;
     text-align: center;
     font-size: .82rem;
     border: 1px solid rgba(251, 191, 36, .15);
     border-radius: 2rem;
     padding: .5rem 1.2rem;
     max-width: 95%
 }
 
 .chat-footer {
     padding: .8rem 1.2rem 1.2rem;
     border-top: 1px solid rgba(160, 100, 200, .1);
     display: flex;
     gap: .6rem;
     flex-shrink: 0;
     flex-wrap: wrap
 }
 
 .chat-footer input {
     flex: 1;
     padding: .7rem 1.2rem;
     border-radius: 40px;
     border: 1px solid rgba(160, 100, 200, .15);
     background: rgba(40, 18, 60, .4);
     color: #f0e6ff;
     font-size: .95rem;
     outline: 0;
     min-width: 120px
 }
 
 .chat-footer input::placeholder {
     color: rgba(200, 170, 220, .4)
 }
 
 .chat-footer input:focus {
     border-color: #b07ad9;
     box-shadow: 0 0 0 4px rgba(160, 100, 200, .08)
 }
 
 .chat-footer .send-btn {
     padding: .7rem 1.5rem;
     border-radius: 40px;
     border: none;
     background: linear-gradient(135deg, #8b5cf6, #a855f7);
     color: #fff;
     font-weight: 600;
     cursor: pointer;
     transition: .3s
 }
 
 .chat-footer .send-btn:hover {
     transform: scale(1.04);
     box-shadow: 0 4px 16px rgba(140, 80, 220, .4)
 }
 
 .chat-footer .send-btn:disabled {
     opacity: .5;
     cursor: not-allowed;
     transform: none
 }
 
 .auth-overlay {
     display: none;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 2rem 1.5rem;
     gap: 1rem;
     flex: 1;
     text-align: center
 }
 
 .auth-overlay.show {
     display: flex
 }
 
 .auth-overlay .auth-icon {
     font-size: 3rem;
     margin-bottom: .2rem
 }
 
 .auth-overlay h4 {
     color: #f0e6ff;
     font-size: 1.2rem
 }
 
 .auth-overlay p {
     color: #8a6e9e;
     font-size: .95rem;
     max-width: 280px
 }
 
 .auth-btns {
     display: flex;
     gap: .8rem;
     margin-top: .5rem;
     flex-wrap: wrap;
     justify-content: center
 }
 
 .auth-btns button {
     padding: .6rem 1.8rem;
     border-radius: 60px;
     border: none;
     font-weight: 600;
     cursor: pointer;
     transition: .3s
 }
 
 .auth-btns .login-btn {
     background: linear-gradient(135deg, #8b5cf6, #a855f7);
     color: #fff
 }
 
 .auth-btns .login-btn:hover {
     transform: scale(1.05);
     box-shadow: 0 4px 16px rgba(140, 80, 220, .4)
 }
 
 .auth-btns .register-btn {
     background: rgba(160, 100, 200, .15);
     color: #dcc8ee;
     border: 1px solid rgba(160, 100, 200, .15)
 }
 
 .auth-btns .register-btn:hover {
     background: rgba(160, 100, 200, .25);
     transform: scale(1.05)
 }
 
 .quick-replies {
     display: flex;
     flex-wrap: wrap;
     gap: .4rem;
     padding: .4rem 1.2rem .8rem;
     border-top: 1px solid rgba(160, 100, 200, .05);
     justify-content: center
 }
 
 .quick-replies button {
     background: rgba(160, 100, 200, .1);
     border: 1px solid rgba(160, 100, 200, .12);
     color: #c9b0e0;
     padding: .3rem .8rem;
     border-radius: 30px;
     font-size: .7rem;
     cursor: pointer;
     transition: .2s
 }
 
 .quick-replies button:hover {
     background: rgba(160, 100, 200, .2);
     border-color: #b07ad9;
     color: #fff
 }
 
 @media(max-width:700px) {
     .chat-window {
         width: 95vw;
         height: 70vh
     }
     .chat-float {
         bottom: 1rem;
         right: 1rem
     }
     .chat-toggle {
         width: 60px;
         height: 60px;
         font-size: 1.6rem
     }
 }
 
 @media(max-width:480px) {
     .chat-footer {
         flex-direction: column
     }
     .chat-footer .send-btn {
         width: 100%;
         justify-content: center
     }
     .auth-btns {
         flex-direction: column;
         width: 100%
     }
     .auth-btns button {
         width: 100%
     }
 }