/* ==========================================================================
   BaaSx Digital Headquarters - Root Stylesheet
   Color Tokens extracted directly from images/BaaSx.svg
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

   * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
   }
   
   :root {
     /* Logo Palette Tokens */
     --logo-white: #ffffff;
     --logo-cyan: #00c6ff;
     --logo-azure: #0072ff;
     --logo-cobalt: #2a52be;
   
     /* Dark Theme Tokens */
     --bg-dark: #04070d;
     --card-bg: rgba(10, 18, 32, 0.75);
     --border-color: rgba(0, 198, 255, 0.2);
     --text-main: #f1f5f9;
     --text-muted: #94a3b8;
   
     /* Exact "X" Multi-Stop Gradient */
     --logo-x-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 50%, #2a52be 100%);
     --logo-glow-gradient: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, rgba(0, 114, 255, 0.05) 50%, transparent 70%);
   }
   
   body {
     font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
     background-color: var(--bg-dark);
     color: var(--text-main);
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     align-items: center;
     padding: 3rem 1.5rem;
     text-align: center;
     position: relative;
     overflow-x: hidden;
   }
   
   /* Ambient Glow Tracking Ball */
   #ambient-glow {
     position: fixed;
     width: 550px;
     height: 550px;
     border-radius: 50%;
     background: var(--logo-glow-gradient);
     pointer-events: none;
     z-index: 0;
     transform: translate(-50%, -50%);
     transition: opacity 0.3s ease;
   }
   
   .container {
     position: relative;
     z-index: 1;
     max-width: 800px;
     width: 100%;
     margin: auto;
   }
   
   /* Header & Logo Container */
   .brand-header {
     margin-bottom: 2rem;
     display: flex;
     justify-content: center;
     align-items: center;
   }
   
   .brand-header a {
     display: inline-block;
     text-decoration: none;
   }
   
   .logo-img {
     width: 280px;
     height: auto;
     max-width: 100%;
     filter: drop-shadow(0 0 25px rgba(0, 198, 255, 0.35));
     transition: transform 0.3s ease, filter 0.3s ease;
   }
   
   .logo-img:hover {
     transform: scale(1.02);
     filter: drop-shadow(0 0 35px rgba(0, 198, 255, 0.5));
   }
   
   .badge {
     display: inline-block;
     padding: 0.4rem 1.1rem;
     background: rgba(0, 198, 255, 0.08);
     border: 1px solid var(--border-color);
     border-radius: 999px;
     color: var(--logo-cyan);
     font-size: 0.85rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.05em;
     margin-bottom: 1.5rem;
     backdrop-filter: blur(8px);
   }
   
   .headline {
     font-size: 3.2rem;
     font-weight: 800;
     line-height: 1.18;
     letter-spacing: -0.03em;
     margin-bottom: 1.2rem;
     color: var(--logo-white);
   }
   
   .gradient-text {
     background: var(--logo-x-gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
   }
   
   .subtitle {
     font-size: 1.2rem;
     font-weight: 400;
     line-height: 1.65;
     color: var(--text-muted);
     margin-bottom: 2.5rem;
     max-width: 680px;
     margin-left: auto;
     margin-right: auto;
   }
   
   /* Signup Glassmorphism Form */
   .signup-form {
     display: flex;
     flex-direction: row;
     gap: 0.75rem;
     background: var(--card-bg);
     border: 1px solid var(--border-color);
     padding: 0.6rem;
     border-radius: 14px;
     backdrop-filter: blur(16px);
     box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 198, 255, 0.1);
     margin-bottom: 3.5rem;
   }
   
   .signup-form input[type="email"] {
     flex: 1;
     background: transparent;
     border: none;
     outline: none;
     padding: 0.85rem 1.25rem;
     color: var(--text-main);
     font-size: 1rem;
     font-family: inherit;
   }
   
   .signup-form input[type="email"]::placeholder {
     color: #64748b;
   }
   
   .signup-form button {
     background: var(--logo-x-gradient);
     color: var(--logo-white);
     border: none;
     border-radius: 10px;
     padding: 0.85rem 1.8rem;
     font-size: 1rem;
     font-weight: 700;
     cursor: pointer;
     transition: all 0.25s ease;
     white-space: nowrap;
     box-shadow: 0 4px 20px rgba(0, 114, 255, 0.4);
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 0.5rem;
   }
   
   .signup-form button:hover {
     opacity: 0.95;
     transform: translateY(-2px);
     box-shadow: 0 6px 25px rgba(0, 198, 255, 0.6);
   }
   
   /* Mini Features Grid */
   .features-mini {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 1.5rem;
     text-align: left;
   }
   
   .feature-item {
     background: rgba(10, 18, 32, 0.5);
     border: 1px solid rgba(255, 255, 255, 0.08);
     padding: 1.4rem;
     border-radius: 14px;
     transition: border-color 0.2s ease, transform 0.2s ease;
   }
   
   .feature-item:hover {
     border-color: rgba(0, 198, 255, 0.4);
     transform: translateY(-3px);
   }
   
   .feature-item i {
     font-size: 1.6rem;
     color: var(--logo-cyan);
     margin-bottom: 0.6rem;
     display: block;
   }
   
   .feature-item h3 {
     font-size: 1.05rem;
     font-weight: 700;
     color: var(--logo-white);
     margin-bottom: 0.4rem;
   }
   
   .feature-item p {
     font-size: 0.88rem;
     color: var(--text-muted);
     line-height: 1.5;
   }
   
   /* Toast Notifications */
   #toast {
     position: fixed;
     bottom: 30px;
     right: 30px;
     background: #0d1527;
     border: 1px solid var(--logo-cyan);
     color: var(--logo-white);
     padding: 0.85rem 1.4rem;
     border-radius: 12px;
     box-shadow: 0 0 30px rgba(0, 198, 255, 0.3);
     font-size: 0.9rem;
     font-weight: 600;
     display: flex;
     align-items: center;
     gap: 0.6rem;
     z-index: 1000;
     opacity: 0;
     transform: translateY(20px);
     pointer-events: none;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   #toast.show {
     opacity: 1;
     transform: translateY(0);
   }
   
   footer {
     position: relative;
     z-index: 1;
     margin-top: 4rem;
     font-size: 0.875rem;
     color: #475569;
   }
   
   footer a {
     color: var(--text-muted);
     text-decoration: none;
     transition: color 0.2s ease;
   }
   
   footer a:hover {
     color: var(--logo-cyan);
   }
   
   /* Responsive Media Queries */
   @media (max-width: 768px) {
     .headline { font-size: 2.2rem; }
     .subtitle { font-size: 1.05rem; }
     .features-mini { grid-template-columns: 1fr; }
     .signup-form { 
       flex-direction: column; 
       background: transparent; 
       border: none; 
       box-shadow: none; 
       padding: 0; 
     }
     .signup-form input[type="email"] { 
       background: var(--card-bg); 
       border: 1px solid var(--border-color); 
       border-radius: 10px; 
       margin-bottom: 0.75rem; 
     }
     .signup-form button { 
       width: 100%; 
       border-radius: 10px; 
     }
   }