/* ===== Shared Base ===== */
*{margin:0;padding:0;box-sizing:border-box}
html,body{overflow-x:hidden;max-width:100%}
body{font-family:'Inter',sans-serif;background:#0F1923;color:#E5E7EB;overflow-x:hidden}
body::before{content:'';position:fixed;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at 20% 30%,rgba(255,152,0,.08) 0%,transparent 50%),radial-gradient(circle at 80% 70%,rgba(255,152,0,.05) 0%,transparent 50%);z-index:-1}

.bg-glow{position:fixed;border-radius:50%;filter:blur(80px);opacity:.4;pointer-events:none;animation:bgFloat 8s ease-in-out infinite}
.bg-glow.g1{width:500px;height:500px;background:radial-gradient(circle,#FF9800,transparent);top:-120px;left:-120px;animation-delay:0s}
.bg-glow.g2{width:400px;height:400px;background:radial-gradient(circle,#F57C00,transparent);bottom:-100px;right:-100px;animation-delay:2s}
.bg-glow.g3{width:300px;height:300px;background:radial-gradient(circle,#FFB74D,transparent);top:50%;left:60%;animation-delay:4s;opacity:.2}
.bg-grid{position:fixed;inset:0;background-image:linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);background-size:50px 50px;z-index:0;pointer-events:none}
@keyframes bgFloat{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(30px,-20px) scale(1.1)}}

/* ===== Navbar ===== */
.navbar{position:fixed;top:0;width:100%;padding:20px 6%;display:flex;justify-content:space-between;align-items:center;background:rgba(15,25,35,.95);backdrop-filter:blur(20px);z-index:1000;border-bottom:1px solid rgba(255,152,0,.1);box-shadow:0 2px 20px rgba(0,0,0,.3)}
.logo{font-size:26px;font-weight:900;background:linear-gradient(135deg,#F97316,#FB923C);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:flex;align-items:center;gap:8px}
.logo i{background:linear-gradient(135deg,#F97316,#FB923C);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.nav-menu{display:flex;gap:40px;list-style:none}
.nav-menu a{color:rgba(255,255,255,.8);text-decoration:none;font-weight:500;font-size:15px;transition:all .3s;position:relative}
.nav-menu a::after{content:'';position:absolute;bottom:-5px;left:0;width:0;height:2px;background:linear-gradient(90deg,#F97316,#FB923C);transition:width .3s}
.nav-menu a:hover{color:#FF9800}
.nav-menu a:hover::after{width:100%}
.nav-btn{padding:12px 28px;background:linear-gradient(135deg,#F97316,#EA580C);border:none;border-radius:8px;color:#fff;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 15px rgba(249,115,22,.25);font-size:14px}
.nav-btn:hover{transform:translateY(-2px);box-shadow:0 6px 25px rgba(249,115,22,.4)}
.btn-primary{display:inline-flex;align-items:center;gap:10px;padding:14px 32px;background:linear-gradient(135deg,#F97316,#EA580C);border:none;border-radius:10px;color:#fff;font-weight:700;font-size:16px;cursor:pointer;transition:all .3s;box-shadow:0 4px 20px rgba(249,115,22,.3)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(249,115,22,.4)}

/* ===== Footer ===== */
.footer{padding:60px 6% 30px;background:transparent;border-top:1px solid rgba(255,152,0,.08)}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px;margin-bottom:40px}
.footer-col h4{background:linear-gradient(135deg,#3B82F6,#F97316);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:16px;font-size:16px;font-weight:700}
.footer-col p{color:rgba(255,255,255,.45)}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a{color:rgba(255,255,255,.45);text-decoration:none;font-size:14px;transition:all .3s}
.footer-col ul li a:hover{color:#FF9800;padding-left:5px}
.social-links{display:flex;gap:12px;margin-top:16px}
.social-links a{width:40px;height:40px;background:rgba(255,152,0,.08);border:1px solid rgba(255,152,0,.15);border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .3s;text-decoration:none}
.social-links a i{background:linear-gradient(135deg,#3B82F6,#F97316);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.social-links a:hover{background:linear-gradient(135deg,#FF9800,#F57C00);transform:translateY(-3px);box-shadow:0 5px 20px rgba(255,152,0,.3)}
.social-links a:hover i{-webkit-text-fill-color:#fff}
.footer-bottom{text-align:center;padding-top:30px;border-top:1px solid rgba(255,255,255,.06);color:rgba(255,255,255,.3);font-size:14px}

/* ===== Mobile Menu ===== */
.mobile-menu-btn{display:none;background:rgba(255,152,0,.1);border:1px solid rgba(255,152,0,.25);color:#FF9800;font-size:22px;cursor:pointer;padding:10px 14px;border-radius:8px;transition:all .3s}
.mobile-menu-btn:hover{background:rgba(255,152,0,.2);border-color:#FF9800}
.mobile-sidebar{position:fixed;top:0;right:-100%;width:280px;height:100vh;background:linear-gradient(180deg,#0F1923,#132030);box-shadow:-5px 0 25px rgba(0,0,0,.4);border-left:1px solid rgba(255,255,255,.06);z-index:2000;transition:right .4s ease;overflow-y:auto}
.mobile-sidebar.active{right:0}
.mobile-sidebar-header{padding:20px;border-bottom:1px solid rgba(255,152,0,.1);display:flex;justify-content:space-between;align-items:center}
.mobile-sidebar-header .logo{font-size:22px}
.mobile-close-btn{background:none;border:none;color:rgba(255,255,255,.7);font-size:28px;cursor:pointer;padding:5px;transition:all .3s}
.mobile-close-btn:hover{color:#FF9800;transform:rotate(90deg)}
.mobile-menu-items{padding:20px}
.mobile-menu-items a{display:block;padding:15px 20px;color:rgba(255,255,255,.8);text-decoration:none;font-weight:600;font-size:16px;border-radius:10px;margin-bottom:10px;transition:all .3s;border:1px solid transparent}
.mobile-menu-items a:hover{background:rgba(255,152,0,.08);border-color:rgba(255,152,0,.2);color:#FF9800;transform:translateX(5px)}
.mobile-menu-items a i{margin-right:12px;width:20px;text-align:center}
.mobile-menu-cta{padding:0 20px 20px}
.mobile-menu-cta .btn-primary{width:100%;justify-content:center}
.mobile-overlay{position:fixed;top:0;left:0;width:100%;height:100vh;background:rgba(0,0,0,.5);z-index:1999;opacity:0;visibility:hidden;transition:all .4s}
.mobile-overlay.active{opacity:1;visibility:visible}

/* ===== Theme Toggle ===== */
.theme-toggle{width:44px;height:24px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:50px;cursor:pointer;position:relative;transition:all .3s;margin-right:12px;flex-shrink:0}
.theme-toggle::after{content:'';position:absolute;top:2px;left:2px;width:18px;height:18px;background:#FF9800;border-radius:50%;transition:all .3s;box-shadow:0 2px 6px rgba(255,152,0,.4)}
.theme-toggle.light{background:rgba(0,0,0,.08);border-color:rgba(0,0,0,.12)}
.theme-toggle.light::after{left:22px;background:#F57C00}
.theme-toggle-icon{position:absolute;top:50%;transform:translateY(-50%);font-size:11px;z-index:1}
.theme-toggle-icon.moon{right:5px;color:rgba(255,255,255,.5)}
.theme-toggle-icon.sun{left:5px;color:rgba(0,0,0,.4);display:none}
.theme-toggle.light .theme-toggle-icon.moon{display:none}
.theme-toggle.light .theme-toggle-icon.sun{display:block}

/* ===== Page Container ===== */
.page-container{max-width:900px;margin:120px auto 60px;padding:0 6%;position:relative;z-index:1}
.page-header{text-align:center;margin-bottom:50px}
.page-header h1{font-size:clamp(28px,5vw,42px);font-weight:900;margin-bottom:12px}
.page-header h1 span{background:linear-gradient(135deg,#F97316,#FB923C);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.page-header p{color:rgba(255,255,255,.5);font-size:16px;max-width:600px;margin:0 auto}

/* ===== LIGHT THEME ===== */
body.light{background:#F5F7FA;color:#1a1a2e}
body.light::before{background:radial-gradient(circle at 20% 30%,rgba(255,152,0,.06) 0%,transparent 50%),radial-gradient(circle at 80% 70%,rgba(255,152,0,.04) 0%,transparent 50%)}
body.light .bg-glow{opacity:.12}
body.light .bg-grid{background-image:linear-gradient(rgba(0,0,0,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.04) 1px,transparent 1px)}
body.light .navbar{background:rgba(255,255,255,.92);border-bottom-color:rgba(0,0,0,.08);box-shadow:0 2px 20px rgba(0,0,0,.08)}
body.light .nav-menu a{color:rgba(0,0,0,.65)}
body.light .nav-menu a:hover{color:#E65100}
body.light .mobile-menu-btn{background:rgba(255,152,0,.08);border-color:rgba(255,152,0,.2)}
body.light .page-header h1{color:#1a1a2e}
body.light .page-header p{color:rgba(0,0,0,.5)}
body.light .footer{border-top-color:rgba(0,0,0,.06)}
body.light .footer-col p{color:rgba(0,0,0,.45)}
body.light .footer-col ul li a{color:rgba(0,0,0,.45)}
body.light .footer-col ul li a:hover{color:#E65100}
body.light .social-links a{background:rgba(255,152,0,.06);border-color:rgba(255,152,0,.12)}
body.light .footer-bottom{color:rgba(0,0,0,.3);border-top-color:rgba(0,0,0,.06)}
body.light .mobile-sidebar{background:linear-gradient(180deg,#fff,#f8f9fa);border-left-color:rgba(0,0,0,.08);box-shadow:-5px 0 25px rgba(0,0,0,.1)}
body.light .mobile-sidebar-header{border-bottom-color:rgba(0,0,0,.06)}
body.light .mobile-close-btn{color:rgba(0,0,0,.5)}
body.light .mobile-close-btn:hover{color:#E65100}
body.light .mobile-menu-items a{color:rgba(0,0,0,.7)}
body.light .mobile-menu-items a:hover{background:rgba(255,152,0,.06);border-color:rgba(255,152,0,.15);color:#E65100}
body.light .mobile-overlay{background:rgba(0,0,0,.25)}

/* ===== Responsive ===== */
@media(max-width:768px){
    body{overflow-x:hidden;width:100%;position:relative}
    *{max-width:100%}
    .nav-menu{display:none}
    .nav-btn{display:none}
    .theme-toggle{display:none}
    .mobile-menu-btn{display:block}
    .navbar{padding:15px 5%}
    .page-container{margin-top:100px}
    .footer{padding:50px 5% 25px;width:100%;overflow:hidden}
    .footer-grid{grid-template-columns:1fr;gap:30px;margin-bottom:30px}
    .footer-col h4{font-size:15px}
    .footer-col ul li a{font-size:13px}
    .footer-bottom{font-size:13px}
}
