:root {
      /* Branding */
      --color-primary: #6A35FF;       
      --color-primary-dark: #4800E0;  
      --color-accent: #CCFF00;        
      --color-accent-hover: #B2E600;            
      
      /* Backgrounds */
      --bg-hero: radial-gradient(circle at 50% 0%, #2a1b5e 0%, #120a2e 40%, #05030f 100%);
      --bg-dark: #120A2E;             
      --bg-darker: #080516;           
      --bg-body: #ffffff;
      --bg-light-grey: #F8F9FF;
      --glass-border: 1px solid rgba(255, 255, 255, 0.08);
      
      /* Typography & Layout */
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-pill: 50px;            
      --container-width: 1240px;
      
      /* Premium Shadows */
      --shadow-card: 0 10px 40px -10px rgba(18, 10, 46, 0.08);
      --shadow-hover: 0 25px 60px -12px rgba(106, 53, 255, 0.25);
      --shadow-glow: 0 0 30px rgba(204, 255, 0, 0.4);
      --shadow-text: 0 0 40px rgba(106, 53, 255, 0.5);
      
      /* Transitions */
      --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
      
      /* Spacing */
      --space-section-desktop: 100px;
      --space-section-mobile: 60px;
    }

    /* --- RESET & BASE --- */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    
    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-body);
      color: var(--bg-dark);
      line-height: 1.7; 
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body.no-scroll { overflow: hidden; }

    a { text-decoration: none; color: inherit; transition: 0.3s var(--ease-smooth); }
    ul { list-style: none; }
    img { max-width: 100%; height: auto; display: block; }

    /* --- GLOBAL BACKGROUNDS --- */
    .starfield {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        pointer-events: none; z-index: -1;
        background-image: 
            radial-gradient(1px 1px at 10% 10%, rgba(255,255,255,0.3) 100%, transparent),
            radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.2) 100%, transparent),
            radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.2) 100%, transparent),
            radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,0.3) 100%, transparent);
        background-size: 100% 100%;
        opacity: 0.4;
    }

    /* --- HEADER --- */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      padding: 20px 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.4s var(--ease-smooth);
      border-bottom: 1px solid transparent;
    }
    header.scrolled {
      background: rgba(18, 10, 46, 0.7);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      padding: 15px 5%;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .logo { display: flex; align-items: center; gap: 14px; max-width: 70%; text-decoration: none; }
    .logo img { width: 60px; height: auto; transition: 0.3s; filter: drop-shadow(0 0 10px rgba(106, 53, 255, 0.5)); }
    
    .logo-text { display: flex; flex-direction: column; text-align: left; }
    .company-name { 
       font-size: 1.5rem; color: #fff; font-weight: 900; 
       letter-spacing: -0.5px; line-height: 1; margin-bottom: 4px; 
       text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    .company-slogan { 
       font-size: 0.7rem; color: var(--color-accent); 
       text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; 
    }

    nav { display: flex; align-items: center; gap: 35px; }
    nav a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem; position: relative; padding: 5px 0; }

    nav a:not(.nav-btn)::before {
    content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px;
    background: var(--color-accent); transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    nav a:not(.nav-btn):hover::before { width: 100%; left: 0; right: auto; }
    nav a:not(.nav-btn):hover { color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.4); }
    
    .nav-btn {
      padding: 12px 26px;
      background: rgba(106, 53, 255, 0.2);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: var(--radius-pill);
      color: #fff;
      font-weight: 600;
      transition: 0.3s;
    }
    .nav-btn:hover { background: var(--color-primary); border-color: var(--color-primary); box-shadow: 0 0 20px rgba(106, 53, 255, 0.4); }

    .menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 10px; z-index: 1001; }
    .menu-toggle span { width: 28px; height: 2px; background: #fff; transition: 0.3s; border-radius: 2px; }

    .hero {
      background: var(--bg-hero);
      min-height: 75vh;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      text-align: center; padding: 160px 5% 100px; position: relative; overflow: hidden;
      color: #fff; z-index: 1;
    }
    .hero-orb {
      position: absolute; width: 450px; height: 450px;
      background: conic-gradient(from 180deg at 50% 50%, var(--color-primary), #4800E0, transparent, var(--color-primary));
      top: 15%; right: 10%; border-radius: 50%; z-index: 0; opacity: 0.5; filter: blur(90px);
    }
    .hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; margin-bottom: 25px; line-height: 1.1; position: relative; z-index: 2; text-shadow: 0 0 60px rgba(106, 53, 255, 0.6); }
    .text-gradient {
      background: linear-gradient(135deg, var(--color-accent) 0%, #ffffff 80%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .hero p { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 750px; margin-bottom: 50px; position: relative; z-index: 2; }

    /* --- FILTER BAR --- */
    .filter-bar-wrapper {
        margin-top: -35px;
        margin-bottom: 60px;
        position: relative;
        z-index: 10;
        display: flex;
        justify-content: center;
        padding: 0 20px;
    }
    .filter-bar {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255,255,255,0.2);
        padding: 8px 10px;
        border-radius: 100px;
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .filter-btn {
        background: transparent;
        color: #fff;
        border: none;
        padding: 10px 24px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: 0.3s;
        white-space: nowrap;
    }
    .filter-btn.active, .filter-btn:hover { background: #fff; color: var(--color-primary); }

    .blog-section {
        background-color: #F4F6FC; 
        padding: 0 5% 100px;
        position: relative;
    }

    .blog-grid {
        max-width: var(--container-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .featured-card {
        grid-column: span 3; 
        background: #fff;
        border-radius: var(--radius-lg);
        overflow: hidden;
        display: flex;
        box-shadow: var(--shadow-card);
        margin-bottom: 20px;
        transition: 0.4s ease;
        position: relative;
        border: 1px solid rgba(0,0,0,0.03);
    }
    .featured-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

    .featured-img { width: 55%; position: relative; overflow: hidden; }
    .featured-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; display: block; }
    .featured-card:hover .featured-img img { transform: scale(1.05); }
    
    .featured-content { width: 45%; padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; }
    
    .badge {
        display: inline-block; padding: 6px 14px; background: var(--color-primary); 
        color: #fff; font-size: 0.75rem; font-weight: 700; border-radius: 4px; 
        text-transform: uppercase; margin-bottom: 20px; align-self: flex-start;
        letter-spacing: 1px;
    }

    .featured-content h2 { font-size: 2.2rem; color: var(--bg-dark); margin-bottom: 15px; font-weight: 800; line-height: 1.2; }
    .featured-content p { color: #555; font-size: 1.05rem; margin-bottom: 30px; }
    
    .read-btn { 
        color: var(--color-primary); font-weight: 700; font-size: 1rem; 
        display: inline-flex; align-items: center; gap: 8px; 
    }
    .read-btn i { transition: 0.3s; }
    .featured-card:hover .read-btn i { transform: translateX(5px); }

    .blog-card {
        background: #fff;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-card);
        transition: all 0.4s ease;
        display: flex; flex-direction: column;
        border: 1px solid rgba(0,0,0,0.03);
        position: relative;
    }
    .blog-card::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
        background: var(--color-accent); transform: scaleX(0); transform-origin: left;
        transition: transform 0.4s ease;
    }
    .blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
    .blog-card:hover::after { transform: scaleX(1); }

    .card-img-box { 
        position: relative; 
        width: 100%;
        aspect-ratio: 16/9; 
        overflow: hidden; 
    }
    .card-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; display: block; }
    .blog-card:hover .card-img-box img { transform: scale(1.1); }

    .date-badge {
        position: absolute; top: 15px; left: 15px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        padding: 8px 12px;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 2;
    }
    .date-badge span { display: block; line-height: 1; }
    .date-day { font-size: 1.2rem; font-weight: 800; color: var(--bg-dark); }
    .date-month { font-size: 0.7rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; }

    .card-body { padding: 30px 25px; flex-grow: 1; display: flex; flex-direction: column; }
    .card-tag { color: var(--color-primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; display: block; }
    
    .card-body h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--bg-dark); font-weight: 700; line-height: 1.4; }
    .card-body h3 a { color: var(--bg-dark); transition: 0.3s; }
    .card-body h3 a:hover { color: var(--color-primary); }
    
    .card-body p { color: #666; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }

    .card-footer {
        margin-top: auto; padding-top: 15px; border-top: 1px solid #f0f0f0;
        display: flex; align-items: center; justify-content: space-between;
        font-size: 0.85rem; color: #888;
    }

    .trust-section { background: #fff; padding: 80px 5%; text-align: center; }
    .trust-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
        max-width: var(--container-width); margin: 50px auto 0;
    }
    .trust-item { padding: 30px; border-radius: 20px; background: var(--bg-light-grey); border: 1px solid rgba(0,0,0,0.03); }
    .trust-item i { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 15px; }
    .trust-item h4 { font-size: 1.2rem; font-weight: 700; color: var(--bg-dark); margin-bottom: 8px; }
    .trust-item p { color: #666; font-size: 0.95rem; }

    footer { 
        background: var(--bg-darker); 
        color: #fff; 
        padding: 80px 5% 40px; 
        border-top: 1px solid rgba(255,255,255,0.05); 
        font-size: 1.05rem;
        position: relative; 
    }
    footer::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
        background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
        opacity: 0.5;
    }
    .footer-container {
      max-width: var(--container-width); margin: 0 auto;
      display: grid; 
      grid-template-columns: 1.8fr 1fr 1fr 1.2fr; 
      gap: 60px;
      padding-bottom: 60px; 
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-brand h2 { 
       margin-bottom: 25px; letter-spacing: 1px; color: #fff; font-size: 1.8rem;
       background: linear-gradient(135deg, var(--color-accent) 0%, #ffffff 80%);
       -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .footer-desc { color: #aaa; margin-bottom: 35px; line-height: 1.8; max-width: 380px; }
    .footer-social { display: flex; gap: 15px; }
    .footer-social a {
      display: flex; align-items: center; justify-content: center;
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.15);
      color: #fff; transition: 0.3s;
    }
    .footer-social a:hover { 
      transform: translateY(-5px); background: var(--color-primary); 
      border-color: var(--color-primary); box-shadow: 0 0 25px rgba(106, 53, 255, 0.6);
    }
    .footer-col h3 { 
        font-size: 1.3rem; margin-bottom: 30px; color: #fff; position: relative; display: inline-block;
    }
    .footer-col h3::after {
        content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 2px;
        background: var(--color-accent); border-radius: 2px; opacity: 0.8;
    }
    .footer-col ul li { margin-bottom: 18px; }
    .footer-col a { color: #aaa; transition: 0.3s; }
    .footer-col a:hover { color: var(--color-accent); padding-left: 8px; }
    .footer-bottom { text-align: center; padding-top: 40px; color: #666; font-size: 0.95rem; }

    .whatsapp-chat { position: fixed; bottom: 40px; right: 40px; z-index: 1000; }
    .whatsapp-chat img { width: 70px; height: 70px; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: 0.4s; }
    .whatsapp-chat img:hover { transform: scale(1.15) rotate(15deg); }

    @media (max-width: 1080px) {
      
      .menu-toggle { 
          display: flex; 
          z-index: 1002; 
          position: relative; 
      }

      nav {
         position: fixed; 
         top: 0; 
         left: 0; 
         width: 100%;
         height: 100dvh; 
         background: #120A2E; 
         flex-direction: column;
         justify-content: center; 
         align-items: center;
         transform: translateX(100%); 
         transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
         z-index: 1001; 
         padding-top: 60px; 
      }

      nav.active { 
          transform: translateX(0); 
          box-shadow: -10px 0 30px rgba(0,0,0,0.5);
      }

      nav a { 
          font-size: 1.8rem; 
          color: #fff; 
          margin: 15px 0; 
          font-weight: 700;
      }

      .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--color-accent); }
      .menu-toggle.active span:nth-child(2) { opacity: 0; }
      .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--color-accent); }

      :root {
        --space-section-desktop: 80px; 
      }
      
      .hero { padding-top: 140px; }
      
      .hero h1 {
        font-size: 3.8rem; 
        line-height: 1.15;
      }

      .blog-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 25px;
      }
      
      .featured-card {
        grid-column: span 2; 
        display: flex; 
      }
      .featured-img { width: 50%; }
      .featured-content { width: 50%; padding: 40px; }
      .featured-content h2 { font-size: 1.8rem; }

      .trust-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px;
      }
      
      .footer-container {
        grid-template-columns: 1fr 1fr; 
        gap: 50px;
      }
      .footer-brand { grid-column: span 2; text-align: center; }
      .footer-desc { margin: 0 auto 30px; }
      .footer-social { justify-content: center; }
      .footer-col { text-align: center; }
      .footer-col h3::after { left: 50%; transform: translateX(-50%); width: 50px; }
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 3.2rem;
      }
      
      .featured-card { 
        flex-direction: column; 
        grid-column: span 2; 
      }
      .featured-img { width: 100%; height: 300px; }
      .featured-content { width: 100%; padding: 30px; }
      
      .trust-grid {
        grid-template-columns: 1fr; 
      }
    }

    @media (max-width: 480px) {
      .logo img { width: 35px; height: auto; }
      .company-name { font-size: 1rem; }
      .company-slogan { font-size: 0.42rem; letter-spacing: 0; white-space: nowrap; width: 100%; line-height: 1.2; }
      
      .hero { padding: 130px 5% 60px; min-height: auto; }
      .hero h1 { font-size: 2rem; margin-bottom: 20px; }
      
      .blog-grid { grid-template-columns: 1fr; } /* Stack everything */
      .featured-card { grid-column: span 1; }
      
      .featured-img { height: auto; aspect-ratio: 16/9; }
      .featured-content h2 { font-size: 1.5rem; }
      
      .filter-btn:not(:first-child) { display: none; }
      .filter-bar { width: auto; display: inline-flex; }

      .footer-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
      .footer-brand { grid-column: span 1; }
      
      .whatsapp-chat { bottom: 20px; right: 20px; }
      .whatsapp-chat img { width: 55px; height: 55px; }
    }
