1414 --radius : 10px ;
1515}
1616
17+ /* Light theme overrides */
18+ body .theme-light {
19+ --bg : # f7fafc ;
20+ --panel : # ffffff ;
21+ --muted : # 475569 ;
22+ --accent : # 5b21b6 ;
23+ --accent-2 : # 059669 ;
24+ --surface : # ffffff ;
25+ --card : # ffffff ;
26+ --text : # 0f1724 ;
27+ --glass : rgba (15 , 23 , 36 , 0.04 );
28+ }
29+
1730* {box-sizing : border-box}
1831html , body {height : 100% }
1932body {
@@ -33,23 +46,50 @@ body{
3346 padding : 0 1rem ;
3447}
3548
49+ /* Full-width sections that ignore the page max width */
50+ .container .full-width {max-width : 100% ;padding : 0 2rem }
51+
3652/* Header */
3753.site-header {
3854 background : linear-gradient (90deg , rgba (255 , 255 , 255 , 0.02 ), transparent);
3955 border-bottom : 1px solid rgba (255 , 255 , 255 , 0.04 );
56+ position : sticky;
57+ top : 0 ;
58+ z-index : 1100 ;
59+ backdrop-filter : blur (6px );
4060}
4161.header-inner {
4262 display : flex;
4363 align-items : center;
4464 justify-content : space-between;
4565 gap : 1rem ;
46- padding : 1.125rem 0 ;
66+ padding : 1.125rem 1 rem ; /* horizontal padding matches .container */
4767}
4868.logo {
69+ display : inline-flex;
70+ align-items : center;
71+ gap : 0.5rem ;
72+ margin-left : 1rem ;
4973 font-weight : 800 ;
5074 letter-spacing : 0.6px ;
51- font-size : 1.125 rem ;
75+ font-size : 0.95 rem ;
5276 color : var (--text );
77+ text-decoration : none;
78+ }
79+
80+ .logo img {width : 40px ;height : 40px ;border-radius : 8px ;display : block}
81+ .logo .brand {font-weight : 800 ;color : var (--text )}
82+
83+ /* Header layout - logo sits left and nav fills remaining space */
84+ .header-inner {display : flex;align-items : center;justify-content : space-between;gap : 1rem }
85+ .header-inner > .logo {margin-left : 0 }
86+ .logo {order : 0 ;margin-right : 1rem }
87+
88+ /* Mobile: hide brand text to keep header compact */
89+ @media (max-width : 900px ){
90+ .logo .brand {display : none}
91+ .logo img {width : 36px ;height : 36px }
92+ .logo {margin-right : 0 }
5393}
5494
5595.nav-toggle {
5999 color : var (--text );
60100}
61101
62- .primary-nav {display : flex;align-items : center;gap : 1.25rem }
102+ .theme-toggle {background : transparent;border : 0 ;color : var (--text );padding : 0.4rem ;border-radius : 6px ;cursor : pointer}
103+ .theme-toggle : focus {outline : 2px solid rgba (124 , 92 , 255 , 0.14 );outline-offset : 2px }
104+
105+ .primary-nav {display : flex;align-items : center;gap : 1.25rem ;flex : 1 }
63106.nav-list {display : flex;gap : 1.5rem ;margin : 0 ;padding : 0 ;list-style : none}
64107.nav-list a {color : var (--muted );text-decoration : none;font-weight : 600 ;padding : 0.35rem 0 ;display : inline-block;border-radius : 6px }
65108.nav-list a : hover {color : var (--text );background : var (--glass )}
80123.nav-search input ::placeholder {color : var (--muted )}
81124
82125/* Main */
83- .site-main {padding : 3 rem 0 }
126+ .site-main {padding : 3.5 rem 0 }
84127.site-main .card {background : linear-gradient (180deg , rgba (255 , 255 , 255 , 0.02 ), rgba (255 , 255 , 255 , 0.01 ));border-radius : var (--radius );padding : 1.5rem ;border : 1px solid rgba (255 , 255 , 255 , 0.03 )}
85128
86129/* Hero */
@@ -128,6 +171,14 @@ body{
128171.ai-chat-form input {flex : 1 ;padding : 0.5rem ;border-radius : 8px ;border : 1px solid rgba (255 , 255 , 255 , 0.04 );background : transparent;color : var (--text )}
129172.ai-chat-form button {padding : 0.45rem 0.7rem ;border-radius : 8px ;border : 0 ;background : var (--accent );color : white}
130173
174+ /* Chat pop animation */
175+ .ai-chat .pop .ai-chat-toggle {animation : chat-pop 380ms cubic-bezier (.2 , 1 , .2 , 1 )}
176+ @keyframes chat-pop{
177+ 0% {transform : scale (0.85 )}
178+ 60% {transform : scale (1.08 )}
179+ 100% {transform : scale (1 )}
180+ }
181+
131182/* Form styles */
132183.form-stacked label {display : block;margin-top : 0.75rem ;font-weight : 600 ;color : var (--text )}
133184.form-stacked input , .form-stacked textarea , .form-stacked select {width : 100% ;padding : 0.6rem ;border-radius : 8px ;border : 1px solid rgba (255 , 255 , 255 , 0.06 );background : rgba (255 , 255 , 255 , 0.02 );color : var (--text );margin-top : 0.25rem }
0 commit comments