/* ===== UNIQTRIX – MAIN STYLESHEET (CLEAN BUILD) ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --primary:#7B6CF6; --primary-dark:#5A4FD6;
  --secondary:#38BDF8; --accent:#F472B6;
  --gold:#D4AF37; --gold-light:#F5E27A;
  --bg-dark:#04060F; --bg-card:rgba(255,255,255,0.03);
  --text-primary:#F0EEFF; --text-secondary:rgba(240,238,255,0.62); --text-muted:rgba(240,238,255,0.35);
  --border:rgba(123,108,246,0.12); --border-glow:rgba(123,108,246,0.55);
  --gradient:linear-gradient(135deg,#7B6CF6 0%,#38BDF8 100%);
  --gradient-gold:linear-gradient(135deg,#D4AF37 0%,#F5E27A 60%,#D4AF37 100%);
  --gradient-royal:linear-gradient(135deg,#7B6CF6 0%,#A855F7 50%,#38BDF8 100%);
  --gradient-accent:linear-gradient(135deg,#F472B6 0%,#FB7185 100%);
  --shadow-glow:0 0 50px rgba(123,108,246,0.3); --shadow-card:0 24px 64px rgba(0,0,0,0.5);
  --radius:16px; --radius-sm:8px;
  --transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:var(--bg-dark);color:var(--text-primary);overflow-x:hidden;line-height:1.6;background-image:radial-gradient(ellipse at 20% 0%,rgba(123,108,246,0.08) 0%,transparent 60%),radial-gradient(ellipse at 80% 100%,rgba(56,189,248,0.05) 0%,transparent 60%)}
h1,h2,h3,h4,h5{font-family:'Space Grotesk',sans-serif;line-height:1.2}
a{text-decoration:none;color:inherit} img{max-width:100%;height:auto} ul{list-style:none}
::-webkit-scrollbar{width:4px} ::-webkit-scrollbar-track{background:var(--bg-dark)} ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#7B6CF6,#38BDF8);border-radius:2px}

/* ── 3D BG Canvas ── */
#three-canvas{position:fixed;top:0;left:0;width:100%;height:100%;z-index:0;pointer-events:none}

/* ── Preloader ── */
#preloader{position:fixed;inset:0;background:var(--bg-dark);z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity 0.6s ease}
#preloader.hide{opacity:0;pointer-events:none}
.preloader-inner{display:flex;flex-direction:column;align-items:center;margin-bottom:28px}
.preloader-logo-text{font-family:'Space Grotesk',sans-serif;font-size:3.2rem;font-weight:800;background:linear-gradient(135deg,#fff 0%,#c4b5fd 25%,#7B6CF6 50%,#38BDF8 75%,#c4b5fd 100%);background-size:300% 100%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:preloaderPulse 1.6s ease-in-out infinite,preloaderShimmer 2.5s linear infinite;line-height:1;letter-spacing:-1px}
@keyframes preloaderPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.82;transform:scale(0.97)}}
@keyframes preloaderShimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
.preloader-logo-img-wrap{display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.preloader-logo-img-wrap img{max-height:80px;max-width:220px;object-fit:contain;animation:preloaderPulse 1.6s ease-in-out infinite;filter:drop-shadow(0 0 20px rgba(108,99,255,0.5))}
.preloader-sub{font-size:0.76rem;background:linear-gradient(90deg,rgba(123,108,246,0.6),rgba(56,189,248,0.6));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:4px;text-transform:uppercase;margin-top:10px;animation:preloaderShimmer 3s linear infinite;background-size:200% 100%}
.preloader-bar{width:200px;height:3px;background:rgba(255,255,255,0.06);border-radius:3px;overflow:hidden;margin-bottom:20px}
.preloader-fill{height:100%;background:var(--gradient);border-radius:3px;animation:preload 2s ease-in-out forwards}
@keyframes preload{from{width:0}to{width:100%}}
.preloader-dots{display:flex;gap:8px}
.preloader-dot{width:8px;height:8px;border-radius:50%;animation:dotBounce 1.2s ease-in-out infinite}
.preloader-dot:nth-child(1){background:var(--primary)}
.preloader-dot:nth-child(2){background:var(--secondary);animation-delay:0.2s}
.preloader-dot:nth-child(3){background:var(--accent);animation-delay:0.4s}
@keyframes dotBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* ── Header Top ── */
.header-top{background:rgba(4,6,15,0.98);border-bottom:1px solid rgba(123,108,246,0.15);padding:7px 0;position:relative;z-index:1}
.header-top .container{display:flex;justify-content:space-between;align-items:center}
.header-top-links{display:flex;gap:20px}
.header-top-links a{color:var(--text-muted);font-size:0.78rem;transition:var(--transition);letter-spacing:0.5px}
.header-top-links a:hover{color:var(--secondary)}
.header-social{display:flex;gap:10px}
.header-social a{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--bg-card);border:1px solid var(--border);border-radius:50%;color:var(--text-muted);font-size:0.7rem;transition:var(--transition)}
.header-social a:hover{background:var(--primary);border-color:var(--primary);color:white;transform:translateY(-2px)}

/* ── Main Header ── */
.header-main{background:rgba(4,6,15,0.92);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);border-bottom:1px solid rgba(123,108,246,0.15);position:sticky;top:0;z-index:99;transition:var(--transition)}
.header-main.scrolled{box-shadow:0 4px 40px rgba(123,108,246,0.2);border-bottom-color:rgba(123,108,246,0.3);background:rgba(4,6,15,0.97)}
.header-main .container{display:flex;align-items:center;justify-content:space-between;height:70px}
.logo{display:flex;align-items:center;gap:14px;font-family:'Space Grotesk',sans-serif;font-size:2rem;font-weight:800;letter-spacing:-0.5px}
.logo-icon{width:56px;height:56px;background:var(--gradient-royal);border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:1.45rem;color:white;flex-shrink:0;box-shadow:0 6px 20px rgba(123,108,246,0.45)}
.logo-icon-wrap{display:flex;align-items:center}
.logo-img-wrap{display:flex;align-items:center;height:60px}
.logo-img-wrap img{height:56px;max-width:200px;width:auto;object-fit:contain;display:block}
.logo-text{background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}

/* ── Navigation ── */
/* NAV RULES MOVED TO BOTTOM */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px;z-index:101}
.hamburger span{display:block;width:24px;height:2px;background:var(--text-primary);border-radius:2px;transition:var(--transition)}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── Container & Sections ── */
.container{max-width:1280px;margin:0 auto;padding:0 24px}
.section{position:relative;z-index:1;padding:100px 0}
.section-header{text-align:center;margin-bottom:60px}
.section-eyebrow{display:inline-block;background:rgba(108,99,255,0.15);border:1px solid rgba(108,99,255,0.3);color:var(--secondary);font-size:0.78rem;font-weight:600;letter-spacing:2px;text-transform:uppercase;padding:6px 16px;border-radius:20px;margin-bottom:16px}
.section-title{font-size:clamp(2rem,4vw,3rem);font-weight:700;margin-bottom:16px}
.section-title span{background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.section-desc{color:var(--text-secondary);font-size:1.05rem;max-width:600px;margin:0 auto}
.section-divider{height:1px;background:linear-gradient(90deg,transparent,var(--border),transparent)}
.view-all-wrap{text-align:center;margin-top:40px}

/* ── Hero ── */
.hero{min-height:100vh;display:flex;align-items:center;position:relative;overflow:hidden;padding:100px 0 80px}
.hero-content{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(108,99,255,0.1);border:1px solid rgba(108,99,255,0.25);color:var(--secondary);font-size:0.82rem;font-weight:500;padding:8px 16px;border-radius:20px;margin-bottom:24px}
.hero-eyebrow::before{content:'';width:8px;height:8px;background:var(--secondary);border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(1.4)}}
.hero-title{font-size:clamp(2.5rem,5vw,4rem);font-weight:800;line-height:1.1;margin-bottom:24px;background:linear-gradient(135deg,#fff 0%,#b8b4ff 40%,#00D4FF 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-title .gradient-text{background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-desc{color:var(--text-secondary);font-size:1.1rem;margin-bottom:36px;line-height:1.7}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:50px;font-weight:600;font-size:0.9rem;cursor:pointer;transition:var(--transition);border:none;font-family:inherit}
.btn-primary{background:var(--gradient-royal);color:white;box-shadow:0 4px 24px rgba(123,108,246,0.45)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 40px rgba(123,108,246,0.6)}
.btn-outline{background:transparent;color:var(--text-primary);border:1px solid var(--border);backdrop-filter:blur(10px)}
.btn-outline:hover{border-color:var(--primary);transform:translateY(-3px)}
.btn-sm{padding:10px 20px;font-size:0.82rem}
.hero-visual{position:relative;display:flex;align-items:center;justify-content:center}

/* ── Hero 3D Scene ── */
.hero-3d-scene{position:relative;width:100%;max-width:520px;height:520px;margin:0 auto}
#heroCanvas{width:100%!important;height:100%!important;border-radius:50%;filter:drop-shadow(0 0 60px rgba(108,99,255,0.45))}
.tech-float{position:absolute;display:flex;align-items:center;gap:7px;padding:8px 14px;border-radius:40px;backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,0.12);background:rgba(8,10,28,0.75);color:#fff;font-size:0.78rem;font-weight:600;font-family:'Space Grotesk',sans-serif;white-space:nowrap;box-shadow:0 8px 28px rgba(0,0,0,0.4),inset 0 1px 0 rgba(255,255,255,0.06);pointer-events:none;z-index:10;letter-spacing:0.3px}
.tech-float i{font-size:1rem;flex-shrink:0}
.tech-float-1{top:6%;left:-12%;border-color:rgba(108,99,255,0.5);animation:tf1 4.2s ease-in-out infinite}.tech-float-1 i{color:#6C63FF}
.tech-float-2{top:6%;right:-12%;border-color:rgba(0,212,255,0.5);animation:tf2 3.8s ease-in-out infinite}.tech-float-2 i{color:#00D4FF}
.tech-float-3{top:40%;left:-18%;border-color:rgba(255,107,107,0.5);animation:tf3 5s ease-in-out infinite}.tech-float-3 i{color:#FF6B6B}
.tech-float-4{top:40%;right:-18%;border-color:rgba(40,200,120,0.5);animation:tf4 4.5s ease-in-out infinite}.tech-float-4 i{color:#28C878}
.tech-float-5{bottom:12%;left:-10%;border-color:rgba(255,184,0,0.5);animation:tf5 3.6s ease-in-out infinite}.tech-float-5 i{color:#FFB800}
.tech-float-6{bottom:12%;right:-10%;border-color:rgba(155,89,182,0.5);animation:tf6 4.8s ease-in-out infinite}.tech-float-6 i{color:#9B59B6}
@keyframes tf1{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(1deg)}}
@keyframes tf2{0%,100%{transform:translateY(-6px) rotate(1deg)}50%{transform:translateY(8px) rotate(-1deg)}}
@keyframes tf3{0%,100%{transform:translateY(4px) rotate(1deg)}50%{transform:translateY(-14px) rotate(-1deg)}}
@keyframes tf4{0%,100%{transform:translateY(-4px) rotate(-1deg)}50%{transform:translateY(10px) rotate(1deg)}}
@keyframes tf5{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px) rotate(2deg)}}
@keyframes tf6{0%,100%{transform:translateY(-8px) rotate(-2deg)}50%{transform:translateY(4px)}}

/* ── Stats ── */
.stats-section{padding:60px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:rgba(108,99,255,0.03)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;text-align:center}
.stat-value{font-family:'Space Grotesk',sans-serif;font-size:3rem;font-weight:800;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1;margin-bottom:8px}
.stat-label{color:var(--text-secondary);font-size:0.9rem;font-weight:500}
.stat-icon{font-size:1.5rem;margin-bottom:12px;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}

/* ── Services ── */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.service-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:32px 28px;transition:var(--transition);position:relative;overflow:hidden}
.service-card::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;background:var(--gradient);transform:scaleX(0);transition:var(--transition)}
.service-card:hover{border-color:var(--border-glow);transform:translateY(-8px);box-shadow:var(--shadow-glow)}
.service-card:hover::after{transform:scaleX(1)}
.service-icon-wrap{width:64px;height:64px;background:rgba(108,99,255,0.12);border:1px solid rgba(108,99,255,0.25);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin-bottom:20px;transition:var(--transition)}
.service-icon-wrap i{background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;transition:var(--transition)}
.service-card:hover .service-icon-wrap{background:var(--gradient);border-color:transparent;box-shadow:0 8px 24px rgba(108,99,255,0.5)}
.service-card:hover .service-icon-wrap i{background:white;-webkit-background-clip:text;-webkit-text-fill-color:white}
.service-card h3{font-size:1.15rem;font-weight:700;margin-bottom:10px}
.service-card p{color:var(--text-secondary);font-size:0.88rem;line-height:1.6}
.learn-more{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-size:0.82rem;font-weight:600;margin-top:16px;transition:var(--transition)}
.service-card:hover .learn-more{gap:10px}

/* ── Portfolio ── */
.portfolio-filter{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:40px}
.filter-btn{padding:8px 20px;border-radius:25px;border:1px solid var(--border);background:transparent;color:var(--text-secondary);font-family:inherit;font-size:0.82rem;font-weight:500;cursor:pointer;transition:var(--transition)}
.filter-btn.active,.filter-btn:hover{background:var(--gradient);border-color:transparent;color:white}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.portfolio-card{border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);background:var(--bg-card);transition:var(--transition);cursor:pointer}
.portfolio-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-glow);border-color:var(--border-glow)}
.portfolio-img{position:relative;height:220px;overflow:hidden;background:linear-gradient(135deg,rgba(108,99,255,0.2),rgba(0,212,255,0.1))}
.portfolio-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s ease}
.portfolio-card:hover .portfolio-img img{transform:scale(1.08)}
.portfolio-overlay{position:absolute;inset:0;background:rgba(5,8,20,0.8);display:flex;align-items:center;justify-content:center;opacity:0;transition:var(--transition)}
.portfolio-card:hover .portfolio-overlay{opacity:1}
.portfolio-overlay-btn{background:var(--gradient);color:white;padding:10px 24px;border-radius:25px;font-weight:600;font-size:0.85rem;transform:translateY(20px);transition:var(--transition);text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.portfolio-card:hover .portfolio-overlay-btn{transform:translateY(0)}
.portfolio-body{padding:24px}
.portfolio-cat{display:inline-block;background:rgba(108,99,255,0.12);color:var(--secondary);font-size:0.72rem;font-weight:600;letter-spacing:1px;text-transform:uppercase;padding:4px 12px;border-radius:12px;margin-bottom:10px}
.portfolio-body h3{font-size:1.05rem;margin-bottom:8px}
.portfolio-body p{color:var(--text-secondary);font-size:0.85rem;line-height:1.5;margin-bottom:14px}
.portfolio-tech{display:flex;gap:6px;flex-wrap:wrap}
.tech-tag{background:rgba(255,255,255,0.05);border:1px solid var(--border);color:var(--text-muted);font-size:0.72rem;padding:3px 10px;border-radius:10px}

/* ── Blog ── */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.blog-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:var(--transition);cursor:pointer}
.blog-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-glow);border-color:var(--border-glow)}
.blog-img{height:200px;overflow:hidden;background:linear-gradient(135deg,rgba(108,99,255,0.2),rgba(255,107,107,0.1))}
.blog-img img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s ease}
.blog-card:hover .blog-img img{transform:scale(1.08)}
.blog-body{padding:24px}
.blog-meta{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.blog-cat{background:rgba(108,99,255,0.12);color:var(--secondary);font-size:0.72rem;font-weight:600;letter-spacing:1px;text-transform:uppercase;padding:4px 12px;border-radius:12px}
.blog-date{color:var(--text-muted);font-size:0.78rem}
.blog-body h3{font-size:1.05rem;margin-bottom:10px;line-height:1.4}
.blog-body p{color:var(--text-secondary);font-size:0.85rem;line-height:1.6;margin-bottom:16px}
.blog-author{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:0.78rem}
.blog-author-avatar{width:28px;height:28px;background:var(--gradient);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.7rem;color:white;font-weight:700}
.read-more{color:var(--primary);font-size:0.82rem;font-weight:600;display:inline-flex;align-items:center;gap:6px;transition:var(--transition);margin-top:12px;cursor:pointer}
.read-more:hover{gap:10px}

/* ── Team ── */
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.team-card{border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,0.07);background:#0a0c1e;transition:transform 0.35s ease,box-shadow 0.35s ease,border-color 0.35s ease;position:relative}
.team-card:hover{transform:translateY(-10px) scale(1.02);box-shadow:0 28px 60px rgba(0,0,0,0.55),0 0 0 1px rgba(108,99,255,0.35);border-color:rgba(108,99,255,0.35)}
.team-img-full{position:relative;width:100%;height:360px;overflow:hidden}
.team-img-full img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;transition:transform 0.5s ease}
.team-card:hover .team-img-full img{transform:scale(1.06)}
.team-img-initials{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-family:'Space Grotesk',sans-serif;font-size:4.5rem;font-weight:800;color:white;text-shadow:0 4px 20px rgba(0,0,0,0.4)}
.team-img-overlay{position:absolute;inset:0;pointer-events:none}
.team-info-over{position:absolute;bottom:0;left:0;right:0;padding:20px 22px 22px;z-index:2}
.team-role-chip{display:inline-block;padding:3px 10px;border-radius:20px;font-size:0.66rem;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:8px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.team-name-over{font-family:'Space Grotesk',sans-serif;font-size:1.12rem;font-weight:800;color:#fff;margin-bottom:6px;text-shadow:0 2px 16px rgba(0,0,0,0.8);letter-spacing:0.2px;line-height:1.2}

.team-socials-over{display:flex;gap:8px;flex-wrap:wrap;transform:translateY(6px);opacity:0;transition:transform 0.3s ease,opacity 0.3s ease}
.team-card:hover .team-socials-over{transform:translateY(0);opacity:1}
.team-soc-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:20px;border:1px solid var(--pc,rgba(123,108,246,0.5));color:var(--pc,#A78BFA);font-size:0.73rem;font-weight:600;text-decoration:none;background:rgba(4,6,20,0.65);backdrop-filter:blur(8px);transition:all 0.2s ease;white-space:nowrap}
.team-soc-pill:hover{background:rgba(4,6,20,0.9);transform:translateY(-2px)}

/* ── About ── */
.about-content{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.about-visual{position:relative}
.about-img-wrap{border-radius:24px;overflow:hidden;position:relative;min-height:450px;background:linear-gradient(135deg,rgba(108,99,255,0.2),rgba(0,212,255,0.08));display:flex;align-items:center;justify-content:center}
.about-img-wrap img{width:100%;height:450px;object-fit:cover;object-position:center top;display:block;border-radius:24px}
.about-img-placeholder{display:flex;align-items:center;justify-content:center;font-size:6rem;opacity:0.3;width:100%;height:450px}
.about-badge{position:absolute;bottom:-20px;right:-20px;background:var(--gradient);border-radius:var(--radius);padding:20px 24px;text-align:center;box-shadow:var(--shadow-card)}
.about-badge .number{font-family:'Space Grotesk',sans-serif;font-size:2rem;font-weight:800;color:white;line-height:1}
.about-badge .label{font-size:0.75rem;color:rgba(255,255,255,0.8);margin-top:4px}
.about-eyebrow{display:inline-block;background:rgba(108,99,255,0.12);border:1px solid rgba(108,99,255,0.25);color:var(--secondary);font-size:0.78rem;font-weight:600;letter-spacing:2px;text-transform:uppercase;padding:6px 16px;border-radius:20px;margin-bottom:16px}
.about-text h2{font-size:2.2rem;font-weight:800;margin-bottom:20px}
.about-text p{color:var(--text-secondary);line-height:1.7;margin-bottom:16px;font-size:0.95rem}
.about-values{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.value-tag{background:rgba(108,99,255,0.1);border:1px solid rgba(108,99,255,0.2);color:var(--text-secondary);font-size:0.82rem;padding:6px 14px;border-radius:20px;display:flex;align-items:center;gap:6px}
.value-tag::before{content:'✓';color:var(--secondary);font-weight:700}

/* ── Mission/Vision ── */
.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.mv-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:40px;position:relative;overflow:hidden}
.mv-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px}
.mv-card.mission::before{background:var(--gradient)}
.mv-card.vision::before{background:var(--gradient-accent)}
.mv-icon{font-size:2.5rem;margin-bottom:16px;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.mv-card.vision .mv-icon{background:var(--gradient-accent);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.mv-card h3{font-size:1.3rem;margin-bottom:12px}
.mv-card p{color:var(--text-secondary);line-height:1.7}

/* ── Values ── */
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}
.value-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:28px;text-align:center;transition:var(--transition)}
.value-card:hover{border-color:var(--border-glow);transform:translateY(-4px)}
.value-card-icon{font-size:2rem;margin-bottom:12px;background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.value-card h4{font-size:1rem;margin-bottom:8px}
.value-card p{color:var(--text-secondary);font-size:0.82rem;line-height:1.6}

/* ── Contact ── */
.contact-content{display:grid;grid-template-columns:1fr 1.5fr;gap:60px}
.contact-info{display:flex;flex-direction:column;gap:20px}
.contact-info-item{display:flex;align-items:flex-start;gap:16px;padding:18px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);transition:var(--transition)}
.contact-info-item:hover{border-color:var(--border-glow)}
.contact-info-icon{width:44px;height:44px;background:rgba(108,99,255,0.12);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}
.contact-info-icon i{background:var(--gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.contact-info-text h4{font-size:0.88rem;margin-bottom:4px}
.contact-info-text p{color:var(--text-secondary);font-size:0.83rem;line-height:1.5}
.contact-map{height:220px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border)}
.contact-map iframe{width:100%;height:100%;border:none}

/* ── Forms ── */
.form-group{margin-bottom:20px}
.form-label{display:block;color:var(--text-secondary);font-size:0.82rem;font-weight:500;margin-bottom:8px}
.form-control{width:100%;background:rgba(255,255,255,0.04);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 16px;color:var(--text-primary);font-family:inherit;font-size:0.9rem;transition:var(--transition);outline:none}
.form-control:focus{border-color:var(--primary);background:rgba(108,99,255,0.06);box-shadow:0 0 0 3px rgba(108,99,255,0.1)}
.form-control::placeholder{color:var(--text-muted)}
textarea.form-control{resize:vertical;min-height:120px}
select.form-control{cursor:pointer}
select.form-control option{background:#1a1d2e}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.btn-center-wrap{display:flex;justify-content:center;margin-top:8px}

/* ── Card 3D ── */
.card-3d{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:32px;transition:var(--transition);position:relative;overflow:hidden}
.card-3d:hover{border-color:var(--border-glow);box-shadow:var(--shadow-glow)}

/* ── Subscribe ── */
.subscribe-section{background:transparent;border-top:1px solid rgba(108,99,255,0.25);border-bottom:1px solid rgba(108,99,255,0.25);padding:80px 0;text-align:center;position:relative;z-index:1;backdrop-filter:none}
.subscribe-section h2{font-size:2rem;margin-bottom:12px}
.subscribe-section p{color:var(--text-secondary);margin-bottom:32px}
.subscribe-form{display:flex;gap:12px;max-width:480px;margin:0 auto}
.subscribe-form input{flex:1;background:rgba(255,255,255,0.06);border:1px solid var(--border);border-radius:50px;padding:13px 24px;color:var(--text-primary);font-family:inherit;font-size:0.9rem;outline:none;transition:var(--transition)}
.subscribe-form input:focus{border-color:var(--primary)}
.subscribe-form input::placeholder{color:var(--text-muted)}

/* ── Footer ── */
footer{background:rgba(5,8,20,0.15);border-top:1px solid rgba(108,99,255,0.25);position:relative;z-index:1;backdrop-filter:blur(2px)}
.footer-top{padding:60px 0 40px;background:transparent}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.footer-desc{color:var(--text-muted);font-size:0.85rem;line-height:1.7;margin-bottom:0}
.footer-logo-icon-wrap{display:flex;align-items:center}
.footer-logo-img-wrap{display:flex;align-items:center;height:58px}
.footer-logo-img-wrap img{height:54px;max-width:180px;width:auto;object-fit:contain}
.footer-col h4{font-size:0.9rem;font-weight:700;color:var(--text-primary);margin-bottom:16px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.footer-col ul li{margin-bottom:8px}
.footer-col ul li a{color:var(--text-muted);font-size:0.83rem;transition:var(--transition);display:flex;align-items:center;gap:6px}
.footer-col ul li a:hover{color:var(--secondary);padding-left:4px}
.footer-col ul li a::before{content:'›';color:var(--primary)}
.footer-bottom{padding:20px 0;border-top:1px solid rgba(108,99,255,0.2);display:flex;justify-content:space-between;align-items:center}
.footer-copy{color:var(--text-muted);font-size:0.82rem}
.footer-social{display:flex;gap:10px}
.footer-social a{width:34px;height:34px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:0.75rem;transition:var(--transition)}
.footer-social a:hover{background:var(--gradient);border-color:transparent;color:white;transform:translateY(-2px)}

/* ── Page Hero ── */
.page-hero{padding:100px 0 60px;text-align:center;position:relative;z-index:1}
.page-hero h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:12px}
.page-hero p{color:var(--text-secondary);font-size:1rem}
.breadcrumb{display:flex;align-items:center;gap:8px;justify-content:center;color:var(--text-muted);font-size:0.82rem;margin-top:12px}
.breadcrumb a{color:var(--primary)}
.breadcrumb span::before{content:'/';margin-right:8px}

/* ── Legal ── */
.legal-content{max-width:800px;margin:0 auto;background:var(--bg-card);border:1px solid var(--border);border-radius:24px;padding:48px;line-height:1.8;color:var(--text-secondary);font-size:0.95rem}
.legal-content h3{color:var(--text-primary);font-size:1.1rem;margin:24px 0 12px}

/* ── Appointment ── */
.appointment-wrap{max-width:700px;margin:0 auto;background:var(--bg-card);border:1px solid var(--border);border-radius:24px;padding:48px}
.careers-wrap{max-width:700px;margin:0 auto}

/* ── Notification ── */
.notification{position:fixed;top:24px;right:24px;z-index:10000;background:rgba(13,16,37,0.97);border:1px solid var(--border);border-radius:var(--radius);padding:16px 20px;max-width:320px;box-shadow:var(--shadow-card);backdrop-filter:blur(20px);display:flex;align-items:center;gap:12px;transform:translateX(400px);transition:transform 0.4s cubic-bezier(0.4,0,0.2,1)}
.notification.show{transform:translateX(0)}
.notification.success{border-color:rgba(40,200,120,0.4)}
.notification.error{border-color:rgba(255,107,107,0.4)}
.notification-icon{font-size:1.2rem}
.notification.success .notification-icon{color:#28C878}
.notification.error .notification-icon{color:#FF6B6B}
.notification-text{font-size:0.85rem;color:var(--text-secondary)}

/* ── Glow Dots ── */
.glow-dot{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none}
.glow-dot-1{width:400px;height:400px;background:rgba(108,99,255,0.15);top:-100px;left:-100px}
.glow-dot-2{width:300px;height:300px;background:rgba(0,212,255,0.1);bottom:-50px;right:-50px}

/* ── Scroll Animations ── */
.fade-up{opacity:0;transform:translateY(30px);transition:opacity 0.6s ease,transform 0.6s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}
.fade-up:nth-child(2){transition-delay:0.1s}
.fade-up:nth-child(3){transition-delay:0.2s}
.fade-up:nth-child(4){transition-delay:0.3s}
.fade-up:nth-child(5){transition-delay:0.4s}
.fade-up:nth-child(6){transition-delay:0.5s}

/* ── Preloader Type Selector (admin) ── */
.preloader-type-opt{display:flex;align-items:center;cursor:pointer}
.preloader-type-opt input{display:none}
.preloader-type-opt span{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:20px;border:1px solid rgba(255,255,255,0.08);color:rgba(255,255,255,0.5);font-size:0.8rem;transition:all 0.2s;cursor:pointer}
.preloader-type-opt input:checked + span{background:linear-gradient(135deg,rgba(108,99,255,0.2),rgba(0,212,255,0.1));border-color:#6C63FF;color:#fff}

/* ── Responsive ── */
@media (max-width:1024px){
  .services-grid,.portfolio-grid,.blog-grid{grid-template-columns:repeat(2,1fr)}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .hero-content{gap:40px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .about-content{gap:40px}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:32px}
  .contact-content{grid-template-columns:1fr}
  .values-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  .header-top .container{flex-direction:column;gap:8px;text-align:center}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:rgba(14,17,35,0.99);padding:20px;flex-direction:column;gap:8px;border-bottom:1px solid var(--border)}
  .nav.mobile-open{display:flex}
  .nav a{width:100%;text-align:center;padding:12px}
  .btn-appointment{width:100%;justify-content:center}
  .hamburger{display:flex}
  .hero-content{grid-template-columns:1fr;gap:40px;text-align:center}
  .hero-visual{order:-1}
  .hero-3d-scene{height:360px;max-width:360px}
  .hero-actions{justify-content:center}
  .tech-float-1{top:2%;left:-2%}.tech-float-2{top:2%;right:-2%}
  .tech-float-3{left:-2%}.tech-float-4{right:-2%}
  .tech-float-5{bottom:5%;left:-2%}.tech-float-6{bottom:5%;right:-2%}
  .services-grid,.portfolio-grid,.blog-grid,.team-grid{grid-template-columns:1fr}
  .about-content,.mv-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:16px;text-align:center}
  .section{padding:60px 0}
  .appointment-wrap{padding:28px 20px}
  .about-badge{right:0;bottom:0}
  .values-grid{grid-template-columns:1fr}
  .team-img-full{height:300px}
}
@media (max-width:480px){
  .stats-grid{grid-template-columns:1fr 1fr}
  .subscribe-form{flex-direction:column}
  .container{padding:0 16px}
  .hero-3d-scene{height:300px;max-width:300px}
  .tech-float-3,.tech-float-4{display:none}
}

/* ── Footer license ── */
.footer-copy-wrap { display:flex; flex-direction:column; gap:2px; }
.footer-license {
  color: rgba(255,255,255,0.28);
  font-size: 0.73rem;
  line-height: 1.4;
}

/* ===== PAGE TRANSITIONS ===== */
/* ===== 3D PAGE TRANSITION ===== */
.pt-scene {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  perspective: 1200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0s 0.7s, visibility 0s 0.7s;
}
.pt-scene.enter {
  opacity: 1;
  visibility: visible;
  transition: none;
}
.pt-curtain {
  position: absolute;
  inset: 0;
  transform-origin: top center;
  transform: rotateX(-90deg);
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
  background: #04060F;
  backface-visibility: hidden;
}
.pt-curtain-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0d0820 0%, #120832 30%, #0a1628 60%, #04060F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
/* Animated grid lines */
.pt-curtain-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123,108,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,108,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: ptGrid 0.8s ease-out;
}
@keyframes ptGrid {
  from { opacity:0; transform: scale(1.1); }
  to   { opacity:1; transform: scale(1); }
}
.pt-logo-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  transform: scale(0.7) translateY(20px);
  transition: opacity 0.35s ease 0.25s, transform 0.45s cubic-bezier(0.34,1.56,0.64,1) 0.2s;
}
.pt-logo-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg,#7B6CF6,#A855F7,#38BDF8);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 0 40px rgba(123,108,246,0.6), 0 0 80px rgba(123,108,246,0.2);
  animation: ptIconPulse 1.2s ease-in-out infinite;
}
@keyframes ptIconPulse {
  0%,100%{box-shadow:0 0 40px rgba(123,108,246,0.6),0 0 80px rgba(123,108,246,0.2)}
  50%{box-shadow:0 0 60px rgba(168,85,247,0.7),0 0 100px rgba(56,189,248,0.3)}
}
.pt-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg,#fff 0%,#c4b5fd 50%,#7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 3px;
}
.pt-logo-sub {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(240,238,255,0.35);
  margin-top: 6px;
}
/* Orbit rings */
.pt-rings {
  position: absolute;
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 0;
}
.pt-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(123,108,246,0.15);
  animation: ptSpin 6s linear infinite;
}
.pt-ring:nth-child(1){animation-duration:4s;border-color:rgba(123,108,246,0.2)}
.pt-ring:nth-child(2){inset:30px;animation-duration:6s;animation-direction:reverse;border-color:rgba(168,85,247,0.15)}
.pt-ring:nth-child(3){inset:60px;animation-duration:8s;border-color:rgba(56,189,248,0.12)}
@keyframes ptSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
/* Ring dot */
.pt-ring::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gradient,#7B6CF6);
  border-radius: 50%;
  top: 50%; left: -3px;
  margin-top: -3px;
  box-shadow: 0 0 8px rgba(123,108,246,0.8);
}

/* States */
.pt-scene.enter .pt-curtain {
  transform: rotateX(0deg);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}
.pt-scene.enter .pt-logo-wrap {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.pt-scene.exit .pt-curtain {
  transform: rotateX(90deg);
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}
.pt-scene.exit .pt-logo-wrap {
  opacity: 0;
  transition-delay: 0s;
}

/* ===== CUSTOM CURSOR (FIX 2) ===== */
*, *::before, *::after { cursor: none !important; }
#customCursor {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: screen;
}
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 2px solid rgba(108,99,255,0.7);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 99998;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, transform 0.08s ease;
  box-shadow: 0 0 12px rgba(108,99,255,0.4), 0 0 24px rgba(0,212,255,0.2);
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  border-color: rgba(0,212,255,0.8);
  box-shadow: 0 0 20px rgba(0,212,255,0.5), 0 0 40px rgba(108,99,255,0.3);
}
/* Cursor trail particles */
.cursor-trail {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg,#6C63FF,#00D4FF);
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%,-50%);
  opacity: 0;
  transition: opacity 0.1s ease;
}

/* ===== FIX 6: LICENSE in footer-brand (1st column) ===== */
.footer-license-block {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: 10px;
  display: none;
}
.footer-license-block.show { display: block; }
.footer-license-label {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-license-name {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.footer-license-num {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ===== HOW WE WORK (FIX 8) ===== */
.how-we-work-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
  position: relative;
}
.how-we-work-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, #6C63FF, #00D4FF, #6C63FF);
  z-index: 0;
  opacity: 0.4;
}
.hww-card {
  position: relative;
  text-align: center;
  padding: 0 16px;
  z-index: 1;
}
.hww-step {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid transparent;
  background-clip: padding-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: transform 0.3s ease;
}
.hww-step::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: -1;
}
.hww-step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bg-dark);
  z-index: -1;
}
.hww-card:hover .hww-step { transform: translateY(-6px) scale(1.08); }
.hww-icon {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}
.hww-num {
  position: absolute;
  top: -6px; right: -6px;
  width: 22px; height: 22px;
  background: var(--gradient);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
}
.hww-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hww-desc {
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.6;
}

/* ===== TEAM CEO SPOTLIGHT (FIX 7) ===== */
.ceo-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 48px;
  background: rgba(108,99,255,0.04);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.ceo-spotlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.ceo-img-wrap {
  position: relative;
  border-radius: 20px;
  height: 480px;
  width: 100%;
  overflow: hidden;
}
.ceo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 20px;
  transition: transform 0.6s ease;
}
.ceo-spotlight:hover .ceo-img-wrap img { transform: scale(1.04); }
.ceo-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(135deg,rgba(123,108,246,0.25),rgba(56,189,248,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(240,238,255,0.8);
  border-radius: 20px;
}
.ceo-ring {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg,#7B6CF6,#A855F7,#38BDF8);
  z-index: -1;
  opacity: 0.7;
}
.ceo-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--gradient);
  border-radius: 12px;
  padding: 10px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.ceo-badge-title { font-size: 0.7rem; color: rgba(255,255,255,0.8); }
.ceo-badge-name  { font-size: 0.9rem; font-weight:700; color:#fff; font-family:'Space Grotesk',sans-serif; }
.ceo-quote-mark {
  font-size: 5rem;
  line-height: 0.8;
  color: rgba(108,99,255,0.25);
  font-family: Georgia, serif;
  margin-bottom: 12px;
  display: block;
}
.ceo-message {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  font-style: italic;
  margin-bottom: 28px;
  border-left: 3px solid transparent;
  border-image: var(--gradient) 1;
  padding-left: 20px;
}
.ceo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.ceo-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ceo-socials { display: flex; gap: 10px; }
.ceo-soc-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.82rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.ceo-soc-btn:hover { background: var(--gradient); border-color: transparent; color: #fff; transform: translateY(-2px); }

/* ===== CV UPLOAD STYLING ===== */
.cv-upload-wrap {
  border: 2px dashed rgba(108,99,255,0.35);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.cv-upload-wrap:hover { border-color: var(--primary); background: rgba(108,99,255,0.05); }
.cv-upload-wrap input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.cv-upload-icon { font-size: 2rem; margin-bottom: 10px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.cv-upload-text { color: var(--text-secondary); font-size: 0.88rem; }
.cv-upload-hint { color: var(--text-muted); font-size: 0.75rem; margin-top: 4px; }
.cv-file-name { color: var(--secondary); font-size: 0.82rem; margin-top: 8px; font-weight: 500; display: none; }

@media (max-width: 900px) {
  .how-we-work-grid { grid-template-columns: repeat(2,1fr); }
  .how-we-work-grid::before { display: none; }
  .ceo-spotlight { grid-template-columns: 1fr; gap: 30px; padding: 28px; }
}
@media (max-width: 600px) {
  .how-we-work-grid { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.testi-card {
  background: rgba(123,108,246,0.04);
  border: 1px solid rgba(123,108,246,0.15);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 14px; right: 20px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(123,108,246,0.1);
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border-color: rgba(123,108,246,0.35);
}
.testi-stars { display: flex; gap: 3px; font-size: 0.88rem; }
.testi-comment {
  color: rgba(240,238,255,0.75);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(123,108,246,0.1);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg,#7B6CF6,#38BDF8);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}
.testi-avatar img { width:100%;height:100%;object-fit:cover;display:block; }
.testi-info { flex: 1; min-width: 0; }
.testi-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: #F0EEFF;
}
a.testi-name { color: #7B6CF6; }
.testi-role { font-size: 0.75rem; color: rgba(240,238,255,0.4); margin-top: 2px; }
.testi-date { font-size: 0.68rem; color: rgba(240,238,255,0.25); flex-shrink: 0; }

/* Submit form */
.testi-submit-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(123,108,246,0.04);
  border: 1px solid rgba(123,108,246,0.15);
  border-radius: 24px;
  padding: 48px;
}
.testi-submit-header { text-align: center; margin-bottom: 36px; }
.testi-form { display: flex; flex-direction: column; gap: 0; }

/* Star picker */
.testi-star-picker {
  display: flex;
  gap: 6px;
  padding: 10px 0;
}
.tstar {
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
  color: rgba(212,175,55,0.25);
}
.tstar.active, .tstar.hover { color: #D4AF37; transform: scale(1.15); }

/* ===== FULL RESPONSIVE OVERRIDES ===== */

/* Large screens (TV/4K) */
@media (min-width: 1600px) {
  .container { max-width: 1440px; }
  .section-title { font-size: 3.2rem; }
  .hero-title { font-size: 4.5rem; }
  .services-grid { grid-template-columns: repeat(4,1fr); }
  .testi-grid { grid-template-columns: repeat(4,1fr); }
}

/* Desktop 1280-1599 */
@media (max-width: 1280px) {
  .services-grid { grid-template-columns: repeat(3,1fr); }
  .hero-3d-scene { height: 460px; max-width: 460px; }
}

/* Laptop / Tablet Landscape 1024-1279 */
@media (max-width: 1024px) {
  .services-grid, .portfolio-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .how-we-work-grid { grid-template-columns: repeat(2,1fr); }
  .how-we-work-grid::before { display: none; }
  .hero-content { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-content { gap: 40px; }
  .contact-content { grid-template-columns: 1fr; }
  .mv-grid { gap: 20px; }
  .ceo-spotlight { gap: 40px; padding: 36px; }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .admin-chat-layout { height: auto; min-height: 600px; }
}

/* Tablet Portrait 768-1023 */
@media (max-width: 1023px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-3d-scene { max-width: 360px; height: 360px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-desc { max-width: 520px; margin: 0 auto 36px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .team-img-full { height: 300px; }
  .ceo-spotlight { grid-template-columns: 1fr; text-align: center; }
  .ceo-spotlight { padding: 28px; gap: 28px; }
  .ceo-img-wrap { height: 360px; max-width: 340px; margin: 0 auto; }
  .ceo-socials { justify-content: center; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .how-we-work-grid { grid-template-columns: repeat(2,1fr); }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .testi-submit-wrap { padding: 28px 20px; }
  .subscribe-form { flex-direction: column; }
  .appointment-wrap, .careers-wrap { padding: 28px 20px; }
  .legal-content { padding: 28px 20px; }
  .hamburger { display: flex; }
  .nav { display: none; }
  .nav.mobile-open { display: flex; }
}

/* Mobile 480-767 */
@media (max-width: 767px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
  .hero-3d-scene { max-width: 300px; height: 300px; }
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .team-grid,
  .testi-grid,
  .how-we-work-grid,
  .values-grid,
  .mv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-logo-img-wrap img { max-height: 42px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .page-hero h1 { font-size: 2rem; }
  .about-badge { right: 0; bottom: -10px; }
  .ceo-img-wrap { height: 280px; }
  .appointment-wrap, .careers-wrap, .legal-content, .testi-submit-wrap { padding: 20px 16px; border-radius: 16px; }
  .admin-chat-layout { grid-template-columns: 1fr; min-height: 400px; }
  .chat-sessions-panel { height: 180px; }
  .btn { padding: 12px 22px; font-size: 0.87rem; }
  .btn-appointment { padding: 8px 16px !important; font-size: 0.82rem !important; }
  .tech-float-3, .tech-float-4 { display: none; }
  .testi-submit-wrap { border-radius: 16px; }
  .tstar { font-size: 1.4rem; }
  #chatWindow { width: calc(100vw - 12px); right: 6px; border-radius: 14px; }
}

/* Small mobile < 480 */
@media (max-width: 479px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-value { font-size: 2.2rem; }
  .hero-3d-scene { max-width: 260px; height: 260px; }
  .portfolio-overlay-btn { font-size: 0.78rem; padding: 8px 16px; }
  .subscribe-form input, .subscribe-form button { width: 100%; border-radius: 12px !important; }
  .nav a { font-size: 0.9rem; }
  .ceo-spotlight { padding: 18px; }
  .cursor-dot, .cursor-ring, .cursor-trail { display: none !important; }
}

/* ===== DAY / NIGHT MODE ===== */

/* Day mode (light) overrides */
body.day-mode {
  --primary: #6B5FE0;
  --primary-dark: #4A3FC5;
  --secondary: #0EA5E9;
  --accent: #E8396B;
  --gold: #C4900A;
  --gold-light: #E0A820;
  --bg-dark: #F0F2FF;
  --bg-card: rgba(255,255,255,0.85);
  --text-primary: #0F0D2E;
  --text-secondary: rgba(15,13,46,0.68);
  --text-muted: rgba(15,13,46,0.42);
  --border: rgba(107,95,224,0.15);
  --border-glow: rgba(107,95,224,0.45);
  --gradient: linear-gradient(135deg,#6B5FE0,#0EA5E9);
  --gradient-gold: linear-gradient(135deg,#C4900A,#E0A820);
  --gradient-royal: linear-gradient(135deg,#6B5FE0,#9333EA,#0EA5E9);
  --gradient-accent: linear-gradient(135deg,#E8396B,#F97316);
  --shadow-glow: 0 0 50px rgba(107,95,224,0.2);
  --shadow-card: 0 12px 40px rgba(107,95,224,0.12);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(107,95,224,0.07) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 100%, rgba(14,165,233,0.05) 0%, transparent 60%);
}

/* Day mode body */
body.day-mode { background:#F0F2FF; color:#0F0D2E; }

/* Day mode scrollbar */
body.day-mode::-webkit-scrollbar-track { background: #E8EAF6; }

/* Day headers */
body.day-mode .header-top {
  background: rgba(240,242,255,0.97);
  border-bottom-color: rgba(107,95,224,0.15);
}
body.day-mode .header-main {
  background: rgba(240,242,255,0.94);
  border-bottom-color: rgba(107,95,224,0.15);
}
body.day-mode .header-main.scrolled {
  background: rgba(240,242,255,0.98);
  box-shadow: 0 4px 30px rgba(107,95,224,0.12);
}
body.day-mode .logo-text { color: #0F0D2E; }
body.day-mode .logo-icon { background: var(--gradient); }

/* Day nav */
body.day-mode .nav a { color: rgba(15,13,46,0.62); }

/* Day hero */
body.day-mode .hero-title {
  background: linear-gradient(135deg,#0F0D2E 0%,#6B5FE0 50%,#0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.day-mode .hero-desc { color: rgba(15,13,46,0.65); }
body.day-mode .hero-eyebrow { background: rgba(107,95,224,0.1); border-color: rgba(107,95,224,0.25); }

/* Day cards */
body.day-mode .service-card,
body.day-mode .portfolio-card,
body.day-mode .blog-card,
body.day-mode .mv-card,
body.day-mode .value-card,
body.day-mode .card-3d {
  background: #fff;
  border-color: rgba(107,95,224,0.12);
  box-shadow: 0 4px 20px rgba(107,95,224,0.08);
}
body.day-mode .service-card h3,
body.day-mode .portfolio-body h3,
body.day-mode .blog-body h3,
body.day-mode .mv-card h3,
body.day-mode .value-card h4 { color: #0F0D2E; }
body.day-mode .service-card p,
body.day-mode .blog-body p,
body.day-mode .value-card p { color: rgba(15,13,46,0.62); }

/* Day section eyebrow */
body.day-mode .section-eyebrow {
  background: rgba(107,95,224,0.1);
  border-color: rgba(107,95,224,0.25);
  color: #6B5FE0;
}
body.day-mode .section-desc { color: rgba(15,13,46,0.62); }

/* Day blog/portfolio meta */
body.day-mode .blog-cat,
body.day-mode .portfolio-cat { background: rgba(107,95,224,0.1); color: #0EA5E9; }
body.day-mode .blog-date { color: rgba(15,13,46,0.42); }
body.day-mode .blog-author { color: rgba(15,13,46,0.5); }
body.day-mode .tech-tag { background: rgba(107,95,224,0.06); border-color: rgba(107,95,224,0.15); color: rgba(15,13,46,0.55); }

/* Day forms */
body.day-mode .form-control {
  background: #fff;
  border-color: rgba(107,95,224,0.2);
  color: #0F0D2E;
}
body.day-mode .form-control:focus { border-color: #6B5FE0; box-shadow: 0 0 0 3px rgba(107,95,224,0.1); }
body.day-mode .form-control::placeholder { color: rgba(15,13,46,0.35); }
body.day-mode .form-label { color: rgba(15,13,46,0.68); }
body.day-mode textarea.form-control { background: #fff; }

/* Day contact items */
body.day-mode .contact-info-item { background: #fff; border-color: rgba(107,95,224,0.12); }
body.day-mode .contact-info-text h4 { color: #0F0D2E; }
body.day-mode .contact-info-text p { color: rgba(15,13,46,0.62); }

/* Day stats */
body.day-mode .stats-section { background: rgba(107,95,224,0.04); border-color: rgba(107,95,224,0.12); }
body.day-mode .stat-label { color: rgba(15,13,46,0.6); }

/* Day about */
body.day-mode .about-text h2 { color: #0F0D2E; }
body.day-mode .about-text p { color: rgba(15,13,46,0.65); }
body.day-mode .value-tag { background: rgba(107,95,224,0.08); border-color: rgba(107,95,224,0.18); color: rgba(15,13,46,0.7); }

/* Day breadcrumb */
body.day-mode .breadcrumb { color: rgba(15,13,46,0.45); }
body.day-mode .page-hero h1 { color: #0F0D2E; }
body.day-mode .page-hero p { color: rgba(15,13,46,0.62); }

/* Day subscribe */
body.day-mode .subscribe-section { border-color: rgba(107,95,224,0.2); }
body.day-mode .subscribe-section h2,
body.day-mode .subscribe-section p { color: #0F0D2E; }
body.day-mode .subscribe-form input {
  background: #fff;
  border-color: rgba(107,95,224,0.2);
  color: #0F0D2E;
}

/* Day footer */
body.day-mode footer { background: rgba(230,232,250,0.6); border-top-color: rgba(107,95,224,0.18); }
body.day-mode .footer-desc { color: rgba(15,13,46,0.55); }
body.day-mode .footer-col h4 { color: #0F0D2E; border-bottom-color: rgba(107,95,224,0.12); }
body.day-mode .footer-col ul li a { color: rgba(15,13,46,0.5); }
body.day-mode .footer-col ul li a:hover { color: #6B5FE0; }
body.day-mode .footer-copy { color: rgba(15,13,46,0.45); }
body.day-mode .footer-bottom { border-top-color: rgba(107,95,224,0.12); }
body.day-mode .footer-social a { border-color: rgba(107,95,224,0.2); color: rgba(15,13,46,0.5); }
body.day-mode .footer-license-block { background: rgba(107,95,224,0.06); border-color: rgba(107,95,224,0.15); }
body.day-mode .footer-license-name { color: rgba(15,13,46,0.75); }
body.day-mode .footer-license-num { color: rgba(15,13,46,0.45); }

/* Day team cards */
body.day-mode .team-card { background: #f8f8ff; border-color: rgba(107,95,224,0.15); }

/* Day preloader */
body.day-mode #preloader { background: #F0F2FF; }

/* Day HWW */
body.day-mode .hww-step::after { background: #F0F2FF; }
body.day-mode .hww-desc { color: rgba(15,13,46,0.62); }

/* Day testimonials */
body.day-mode .testi-card { background: #fff; border-color: rgba(107,95,224,0.14); box-shadow: 0 4px 20px rgba(107,95,224,0.08); }
body.day-mode .testi-comment { color: rgba(15,13,46,0.68); }
body.day-mode .testi-name { color: #0F0D2E; }
body.day-mode .testi-role { color: rgba(15,13,46,0.45); }
body.day-mode .testi-date { color: rgba(15,13,46,0.35); }
body.day-mode .testi-footer { border-top-color: rgba(107,95,224,0.1); }
body.day-mode .testi-submit-wrap { background: #fff; border-color: rgba(107,95,224,0.15); box-shadow: 0 8px 40px rgba(107,95,224,0.08); }

/* Day CEO spotlight */
body.day-mode .ceo-spotlight { background: rgba(107,95,224,0.04); border-color: rgba(107,95,224,0.15); }
body.day-mode .ceo-message { color: rgba(15,13,46,0.7); }
body.day-mode .ceo-role { color: rgba(15,13,46,0.45); }

/* Day mobile nav */
body.day-mode .nav.mobile-open { background: rgba(240,242,255,0.99); border-bottom-color: rgba(107,95,224,0.15); }
body.day-mode .nav.mobile-open a { color: rgba(15,13,46,0.7); }

/* Day header top links */
body.day-mode .header-top-links a { color: rgba(15,13,46,0.55); }
body.day-mode .header-social a { background: rgba(107,95,224,0.06); border-color: rgba(107,95,224,0.15); color: rgba(15,13,46,0.5); }

/* ===== DAY MODE – PRELOADER ===== */
body.day-mode #preloader {
  background: #F0F2FF;
}
body.day-mode .preloader-sub { color: rgba(15,13,46,0.45); }
body.day-mode .preloader-bar { background: rgba(107,95,224,0.12); }
body.day-mode .preloader-logo-img-wrap img {
  filter: drop-shadow(0 0 20px rgba(107,95,224,0.35));
}

/* ===== DAY MODE – PAGE TRANSITION ===== */
body.day-mode .pt-scene .pt-curtain { background: #F0F2FF; }
body.day-mode .pt-scene .pt-curtain-inner {
  background: linear-gradient(160deg, #E8ECFF 0%, #EDF0FF 50%, #F0F2FF 100%);
}
body.day-mode .pt-scene .pt-curtain-inner::before {
  background-image:
    linear-gradient(rgba(107,95,224,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,95,224,0.05) 1px, transparent 1px);
}
body.day-mode .pt-logo-text {
  background: linear-gradient(135deg,#0F0D2E 0%,#6B5FE0 50%,#0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.day-mode .pt-logo-sub { color: rgba(15,13,46,0.38); }
body.day-mode .pt-logo-icon { background: linear-gradient(135deg,#6B5FE0,#9333EA,#0EA5E9); }
body.day-mode .pt-ring { border-color: rgba(107,95,224,0.12); }

/* ===== DAY MODE – CHAT WIDGET ===== */
body.day-mode #chatWindow {
  background: #ffffff;
  border-color: rgba(107,95,224,0.2);
  box-shadow: 0 20px 60px rgba(107,95,224,0.15);
}
body.day-mode #chatMessages { background: #ffffff; }
body.day-mode .chat-empty { color: rgba(15,13,46,0.25); }
body.day-mode .chat-pre-title { color: #0F0D2E; }
body.day-mode .chat-pre-sub { color: rgba(15,13,46,0.45); }
body.day-mode .chat-pre-input {
  background: #F5F5FF;
  border-color: rgba(107,95,224,0.2);
  color: #0F0D2E;
}
body.day-mode .chat-pre-input::placeholder { color: rgba(15,13,46,0.3); }
body.day-mode .chat-pre-input:focus { background: #EEEEFF; border-color: #6B5FE0; }
body.day-mode .from-agent .chat-msg-bubble {
  background: #F0F0FF;
  border-color: rgba(107,95,224,0.2);
  color: #0F0D2E;
}
body.day-mode .chat-msg-time { color: rgba(15,13,46,0.35); }
body.day-mode .chat-input-area { background: #F8F8FF; border-top-color: rgba(107,95,224,0.12); }
body.day-mode #chatInput {
  background: #F5F5FF;
  border-color: rgba(107,95,224,0.2);
  color: #0F0D2E;
}
body.day-mode #chatInput::placeholder { color: rgba(15,13,46,0.3); }
body.day-mode #chatInput:focus { border-color: #6B5FE0; }
body.day-mode .chat-offline-bar {
  background: rgba(196,144,10,0.06);
  border-color: rgba(196,144,10,0.2);
  color: rgba(140,100,0,0.9);
}
body.day-mode .typing-bubble {
  background: #F0F0FF;
  border-color: rgba(107,95,224,0.18);
}
body.day-mode .typing-dot { background: rgba(107,95,224,0.6); }

/* ===== DAY MODE – NOTIFICATIONS / POPUPS ===== */
body.day-mode .notification {
  background: #ffffff;
  border-color: rgba(107,95,224,0.25);
  box-shadow: 0 12px 40px rgba(107,95,224,0.15);
  color: #0F0D2E;
}
body.day-mode .notification.success { border-color: rgba(22,163,74,0.4); }
body.day-mode .notification.error   { border-color: rgba(220,38,38,0.35); }
body.day-mode .notification-text { color: #0F0D2E; }
body.day-mode .notification-icon { color: #0F0D2E; }
body.day-mode .notification.success .notification-icon { color: #16a34a; }
body.day-mode .notification.error   .notification-icon { color: #dc2626; }

/* ===== DAY MODE – ALL FORMS ===== */
body.day-mode .form-control,
body.day-mode .form-control:not(:focus) {
  background: #ffffff;
  border-color: rgba(107,95,224,0.2);
  color: #0F0D2E;
}
body.day-mode .form-control:focus {
  background: #F8F8FF;
  border-color: #6B5FE0;
  box-shadow: 0 0 0 3px rgba(107,95,224,0.1);
}
body.day-mode .form-control::placeholder { color: rgba(15,13,46,0.32); }
body.day-mode select.form-control { color: #0F0D2E; }
body.day-mode select.form-control option { background: #ffffff; color: #0F0D2E; }
body.day-mode textarea.form-control {
  background: #ffffff;
  color: #0F0D2E;
}
body.day-mode .form-label { color: rgba(15,13,46,0.7); }

/* CV/photo upload in day mode */
body.day-mode .cv-upload-wrap {
  border-color: rgba(107,95,224,0.25);
  background: #F8F8FF;
}
body.day-mode .cv-upload-wrap:hover { border-color: #6B5FE0; background: #F0F0FF; }
body.day-mode .cv-upload-text { color: rgba(15,13,46,0.65); }
body.day-mode .cv-upload-hint { color: rgba(15,13,46,0.4); }
body.day-mode .cv-file-name { color: #6B5FE0; }

/* Appointment + careers wrap */
body.day-mode .appointment-wrap,
body.day-mode .careers-wrap { background: #ffffff; border-color: rgba(107,95,224,0.15); }
body.day-mode .legal-content {
  background: #ffffff;
  border-color: rgba(107,95,224,0.15);
  color: rgba(15,13,46,0.72);
}
body.day-mode .legal-content h3 { color: #0F0D2E; }

/* ===== DAY MODE – MORE COMPLETE COVERAGE ===== */

/* Section dividers */
body.day-mode .section-divider { background: linear-gradient(90deg,transparent,rgba(107,95,224,0.2),transparent); }

/* Page hero */
body.day-mode .page-hero { background: transparent; }

/* Breadcrumb */
body.day-mode .breadcrumb a { color: #6B5FE0; }
body.day-mode .breadcrumb span { color: rgba(15,13,46,0.4); }

/* How We Work */
body.day-mode .hww-title {
  background: linear-gradient(135deg,#6B5FE0,#0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.day-mode .hww-desc { color: rgba(15,13,46,0.62); }
body.day-mode .hww-step { background: #F0F2FF; }
body.day-mode .hww-step::after { background: #F0F2FF; }

/* Blog modal */
body.day-mode #blogModalOverlay {
  background: rgba(240,242,255,0.92);
  backdrop-filter: blur(12px);
}
body.day-mode #blogModalBox {
  background: #ffffff;
  border-color: rgba(107,95,224,0.2);
}
body.day-mode #blogModalTitle { color: #0F0D2E; }
body.day-mode #blogModalContent { color: rgba(15,13,46,0.72); }

/* Stats */
body.day-mode .stat-icon { color: #6B5FE0; -webkit-text-fill-color: #6B5FE0; }

/* Services */
body.day-mode .service-card:hover { border-color: rgba(107,95,224,0.4); box-shadow: 0 16px 48px rgba(107,95,224,0.12); }
body.day-mode .learn-more { color: #6B5FE0; }

/* Portfolio */
body.day-mode .filter-btn { background: #fff; border-color: rgba(107,95,224,0.2); color: rgba(15,13,46,0.6); }
body.day-mode .filter-btn.active,
body.day-mode .filter-btn:hover { background: var(--gradient); color: #fff; border-color: transparent; }
body.day-mode .portfolio-body p { color: rgba(15,13,46,0.62); }

/* Team */
body.day-mode .team-card { background: #fff; }
body.day-mode .team-img-initials { color: #fff; }

/* Subscribe */
body.day-mode .subscribe-section h2 { color: #0F0D2E; }
body.day-mode .subscribe-section p { color: rgba(15,13,46,0.6); }
body.day-mode .subscribe-form input {
  background: #fff;
  border-color: rgba(107,95,224,0.2);
  color: #0F0D2E;
}
body.day-mode .subscribe-form input::placeholder { color: rgba(15,13,46,0.3); }

/* Testimonials */
body.day-mode .testi-submit-wrap { background: #fff; border-color: rgba(107,95,224,0.15); }
body.day-mode .tstar { color: rgba(196,144,10,0.25); }
body.day-mode .tstar.active,
body.day-mode .tstar.hover { color: #C4900A; }

/* About */
body.day-mode .about-img-placeholder { color: rgba(107,95,224,0.4); }
body.day-mode .about-badge { box-shadow: 0 8px 30px rgba(107,95,224,0.25); }

/* Btn outline */
body.day-mode .btn-outline {
  background: transparent;
  border-color: rgba(107,95,224,0.35);
  color: #6B5FE0;
}
body.day-mode .btn-outline:hover {
  border-color: #6B5FE0;
  background: rgba(107,95,224,0.06);
  color: #6B5FE0;
}

/* Header top links */
body.day-mode .header-top-links a:hover { color: #6B5FE0; }
body.day-mode .header-social a:hover { background: var(--gradient); color: #fff; }

/* CEO Spotlight */
body.day-mode .ceo-badge { box-shadow: 0 8px 24px rgba(107,95,224,0.3); }
body.day-mode .ceo-soc-btn { border-color: rgba(107,95,224,0.3); color: #6B5FE0; background: #fff; }
body.day-mode .ceo-soc-btn:hover { background: var(--gradient); color: #fff; }

/* Section eyebrow in day */
body.day-mode .section-eyebrow { color: #6B5FE0; }

/* Nav pill container in day */
body.day-mode .nav a:not(.btn-appointment) { color: rgba(15,13,46,0.62); }

/* Glow dots in hero */
body.day-mode .glow-dot-1 { background: rgba(107,95,224,0.08); }
body.day-mode .glow-dot-2 { background: rgba(14,165,233,0.06); }

/* Footer social */
body.day-mode .footer-social a:hover { background: var(--gradient); color: #fff; border-color: transparent; }

/* Hamburger in day mode */

/* Theme toggle in day mode */
body.day-mode 
body.day-mode 

/* ================================================================
   UNIFIED NAVIGATION + DAY/NIGHT MODE + COMPLETE DAY OVERRIDES
   (Single source of truth — no duplicates)
   ================================================================ */

/* ── Navigation – pill container (desktop) ── */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  background: rgba(123,108,246,0.06);
  border: 1px solid rgba(123,108,246,0.12);
  border-radius: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  list-style: none;
}
.nav a {
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(240,238,255,0.65);
  border-radius: 40px;
  transition: all 0.22s ease;
  position: relative;
  letter-spacing: 0.2px;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav a::after, .nav a::before { display: none !important; }
.nav a:not(.btn-appointment):hover {
  color: #F0EEFF;
  background: rgba(123,108,246,0.12);
}
/* Active = border only, NO fill */
.nav a.active:not(.btn-appointment) {
  color: #A78BFA;
  background: transparent;
  font-weight: 600;
  border-color: #7B6CF6;
  box-shadow: 0 0 10px rgba(123,108,246,0.2);
}
/* Appointment button */
.btn-appointment {
  background: linear-gradient(135deg,#7B6CF6,#A855F7,#38BDF8) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 40px !important;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  box-shadow: 0 4px 16px rgba(123,108,246,0.4) !important;
  border: none !important;
  margin-left: 4px;
  white-space: nowrap;
}
.btn-appointment:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(123,108,246,0.55) !important;
}
.btn-appointment::after, .btn-appointment::before { display: none !important; }

/* Day mode nav */
body.day-mode .nav { background: rgba(107,95,224,0.07); border-color: rgba(107,95,224,0.15); }
body.day-mode .nav a { color: rgba(15,13,46,0.62); }
body.day-mode .nav a:not(.btn-appointment):hover { color: #0F0D2E; background: rgba(107,95,224,0.09); }
body.day-mode .nav a.active:not(.btn-appointment) { color: #6B5FE0; background: transparent; border-color: #6B5FE0; box-shadow: 0 0 8px rgba(107,95,224,0.15); }

/* ── Hamburger ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 102; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.day-mode .hamburger span { background: #0F0D2E; }
body.day-mode .hamburger.open span { background: #6B5FE0; }

/* ── MOBILE NAV (≤1023px) ── */
@media (max-width: 1023px) {
  .hamburger { display: flex !important; }
  .nav {
    display: none !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,5,25,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 0;
    padding: 100px 24px 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 101;
  }
  .nav.mobile-open { display: flex !important; }
  .nav a {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 1rem;
    color: rgba(240,238,255,0.8);
  }
  .nav a:not(.btn-appointment):hover { background: rgba(123,108,246,0.15); }
  .nav a.active:not(.btn-appointment) { border-color: #7B6CF6; color: #A78BFA; }
  .btn-appointment {
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
    margin-left: 0 !important;
    margin-top: 8px !important;
    padding: 14px 24px !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
  }
  body.day-mode .nav {
    background: rgba(240,242,255,0.98);
    backdrop-filter: blur(24px);
  }
  body.day-mode .nav a { color: rgba(15,13,46,0.72); }
  body.day-mode .nav a:not(.btn-appointment):hover { background: rgba(107,95,224,0.08); }
}

/* ── MOBILE GENERAL (≤767px) ── */
@media (max-width: 767px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding-top: 80px !important; }
  .page-hero { padding: 80px 0 40px !important; }
  .hero-content { grid-template-columns: 1fr !important; text-align: center; gap: 32px; }
  .hero-visual { order: -1; }
  .hero-3d-scene { max-width: 280px !important; height: 280px !important; margin: 0 auto; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; }
  .hero-desc { font-size: 0.92rem; margin: 0 auto 28px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 260px; justify-content: center; }
  .section-title { font-size: clamp(1.5rem, 5vw, 1.9rem); }
  .section-desc { font-size: 0.88rem; }
  .services-grid, .portfolio-grid, .blog-grid,
  .team-grid, .testi-grid, .how-we-work-grid,
  .values-grid, .mv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-logo-img-wrap img { max-height: 42px; }
  .logo-img-wrap img { height: 44px !important; max-width: 150px !important; }
  .logo-icon { width: 40px !important; height: 40px !important; }
  .logo { font-size: 1.4rem !important; gap: 10px !important; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .page-hero p { font-size: 0.88rem; }
  .ceo-spotlight { grid-template-columns: 1fr !important; gap: 24px; padding: 20px !important; }
  .ceo-img-wrap { height: 260px !important; max-width: 300px; margin: 0 auto; }
  .ceo-socials { justify-content: center; }
  .about-content { grid-template-columns: 1fr !important; gap: 32px; }
  .about-badge { right: 0; bottom: -8px; }
  .contact-content { grid-template-columns: 1fr; }
  .appointment-wrap, .careers-wrap, .legal-content, .testi-submit-wrap { padding: 20px 16px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr !important; }
  .testi-submit-wrap { max-width: 100%; }
  .tstar { font-size: 1.3rem; }
  .btn { padding: 12px 20px; font-size: 0.86rem; }
  .btn-appointment { padding: 8px 14px !important; font-size: 0.8rem !important; }
  #chatWindow { width: calc(100vw - 10px); right: 5px; border-radius: 12px; bottom: 80px; }
  #chatLauncher { right: 12px; bottom: 12px; width: 52px; height: 52px; }
  .tech-float-3, .tech-float-4, .tech-float-5, .tech-float-6 { display: none !important; }
  .header-top { display: none; }
  .theme-toggle-btn { width: 46px; height: 25px; margin-left: 6px; }
  .theme-toggle-knob { width: 17px; height: 17px; }
  body.day-mode .theme-toggle-knob { transform: translateX(21px); }
}

/* ── SMALL MOBILE (≤479px) ── */
@media (max-width: 479px) {
  html { font-size: 14.5px; }
  .container { padding: 0 14px; }
  .section { padding: 44px 0; }
  .hero-3d-scene { max-width: 240px !important; height: 240px !important; }
  .hero-title { font-size: 1.75rem !important; }
  .section-title { font-size: 1.42rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-value { font-size: 2rem; }
  .footer-col h4 { font-size: 0.88rem; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form input { border-radius: 12px !important; }
  .subscribe-form button { border-radius: 12px !important; width: 100%; }
  .cursor-dot, .cursor-ring, .cursor-trail { display: none !important; }
  .testi-card { padding: 18px; }
  .how-we-work-grid::before { display: none; }
}

/* ── TOUCH DEVICES ── */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-ring, .cursor-trail { display: none !important; }
  .form-control, select.form-control, textarea.form-control { font-size: 16px !important; }
  .nav a { padding: 12px 18px; min-height: 44px; }
  .btn { min-height: 44px; }
  .sidebar-link { padding: 13px 16px; min-height: 44px; }
  .filter-btn { padding: 11px 22px; min-height: 44px; }
}

/* ── TV / 4K ── */
@media (min-width: 2560px) {
  .container { max-width: 1800px; }
  .hero-title { font-size: 5.5rem; }
  .section-title { font-size: 3.8rem; }
  .services-grid, .testi-grid { grid-template-columns: repeat(4,1fr); }
  .nav a { font-size: 0.95rem; padding: 9px 18px; }
}

/* ── PRINT ── */
@media print {
  #three-canvas, #chatLauncher, #chatWindow, .cursor-dot, .cursor-ring,
  .pt-scene, .subscribe-section, .header-top, .hamburger,
  .theme-toggle-btn { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .header-main { position: static !important; }
  .container { max-width: 100%; }
}

/* ── Day mode complete colorful backgrounds ── */
body.day-mode .service-card               { background: #F3F0FF !important; border-color: rgba(107,95,224,0.12) !important; }
body.day-mode .service-card:nth-child(2n) { background: #EFF6FF !important; }
body.day-mode .service-card:nth-child(3n) { background: #F0FDF4 !important; }
body.day-mode .portfolio-card             { background: #EFF6FF !important; }
body.day-mode .portfolio-card:nth-child(2n){ background: #F3F0FF !important; }
body.day-mode .blog-card                  { background: #F3F0FF !important; }
body.day-mode .blog-card:nth-child(2n)    { background: #EFF6FF !important; }
body.day-mode .testi-card                 { background: #F3F0FF !important; border-color: rgba(107,95,224,0.12) !important; }
body.day-mode .testi-card:nth-child(2n)   { background: #EFF6FF !important; }
body.day-mode .value-card                 { background: #F0FDF4 !important; }
body.day-mode .value-card:nth-child(2n)   { background: #EFF6FF !important; }
body.day-mode .mv-card                    { background: #F3F0FF !important; }
body.day-mode .card-3d                    { background: #F3F0FF !important; }
body.day-mode .contact-info-item          { background: #EFF6FF !important; }
body.day-mode .appointment-wrap           { background: #F3F0FF !important; }
body.day-mode .testi-submit-wrap          { background: #F3F0FF !important; }
body.day-mode .legal-content              { background: #EFF6FF !important; }
body.day-mode .filter-btn                 { background: #EFF6FF !important; }
body.day-mode .cv-upload-wrap             { background: #EFF6FF !important; }
body.day-mode #chatWindow                 { background: #F3F0FF !important; }
body.day-mode #chatMessages               { background: #F3F0FF !important; }
body.day-mode .from-agent .chat-msg-bubble{ background: #DBEAFE !important; color: #1e3a5f !important; }
body.day-mode .stats-section              { background: linear-gradient(135deg,rgba(107,95,224,0.06),rgba(14,165,233,0.04)) !important; }
body.day-mode .subscribe-section          { background: linear-gradient(135deg,rgba(107,95,224,0.07),rgba(14,165,233,0.04)) !important; }
body.day-mode footer                      { background: linear-gradient(135deg,rgba(243,240,255,0.9),rgba(239,246,255,0.85)) !important; }
body.day-mode .ceo-spotlight              { background: linear-gradient(135deg,#F3F0FF,#EFF6FF) !important; }
body.day-mode .notification               { background: #F3F0FF !important; border-color: rgba(107,95,224,0.2) !important; }
body.day-mode .notification.success       { border-color: rgba(22,163,74,0.4) !important; }
body.day-mode .notification.error         { border-color: rgba(220,38,38,0.35) !important; }
body.day-mode .notification-text          { color: #0F0D2E !important; }
body.day-mode #preloader                  { background: #F0F2FF !important; }
body.day-mode .pt-scene .pt-curtain       { background: #F0F2FF !important; }
body.day-mode .pt-logo-text               { background: linear-gradient(135deg,#0F0D2E,#6B5FE0,#0EA5E9); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
body.day-mode .form-control,
body.day-mode input.form-control,
body.day-mode select.form-control,
body.day-mode textarea.form-control       { background: #F8F6FF !important; border-color: rgba(107,95,224,0.22) !important; color: #0F0D2E !important; }
body.day-mode .form-control:focus,
body.day-mode input.form-control:focus,
body.day-mode select.form-control:focus,
body.day-mode textarea.form-control:focus { background: #EEEEFF !important; border-color: #6B5FE0 !important; }
body.day-mode .form-control::placeholder  { color: rgba(15,13,46,0.32) !important; }
body.day-mode select.form-control option  { background: #F8F6FF; color: #0F0D2E; }

/* ===== DAY/NIGHT TOGGLE SWITCH ===== */
.theme-toggle-btn {
  position: relative; width: 52px; height: 28px; border-radius: 14px;
  background: #12082e; border: 1px solid rgba(123,108,246,0.5);
  cursor: pointer; display: flex; align-items: center; padding: 3px;
  flex-shrink: 0; margin-left: 10px;
  transition: all 0.38s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 2px 14px rgba(123,108,246,0.35); overflow: hidden;
}
.theme-toggle-btn:hover { transform: scale(1.08); }
.theme-toggle-knob {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg,#c4b5fd,#a78bfa);
  box-shadow: 0 2px 8px rgba(123,108,246,0.7);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.theme-toggle-knob::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: transparent; border: 2.5px solid rgba(240,230,255,0.9);
  border-right-color: transparent; border-bottom-color: transparent;
  transform: rotate(-45deg); display: block;
}
.theme-toggle-btn::after {
  content: ''; position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: rgba(196,181,253,0.7);
  box-shadow: 0 -5px 0 1px rgba(196,181,253,0.4), 0 5px 0 0.5px rgba(196,181,253,0.3);
}
body.day-mode .theme-toggle-btn {
  background: linear-gradient(135deg,#BFDBFE,#DDD6FE);
  border-color: rgba(107,95,224,0.3);
  box-shadow: 0 2px 10px rgba(107,95,224,0.18);
}
body.day-mode .theme-toggle-btn::after {
  right: auto; left: 7px; background: rgba(251,191,36,0.55);
  box-shadow: 0 -5px 0 1px rgba(251,191,36,0.3), 0 5px 0 0.5px rgba(251,191,36,0.2);
}
body.day-mode .theme-toggle-knob {
  transform: translateX(24px);
  background: linear-gradient(135deg,#FDE68A,#F59E0B);
  box-shadow: 0 2px 14px rgba(245,158,11,0.65);
}
body.day-mode .theme-toggle-knob::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; transform: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3), 0 0 10px rgba(255,255,255,0.7);
}
