/* JAVEROO — Premium Official Website */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F0F4FB;
    --bg-navy: #0033A0;
    --accent-blue: #1A5FFF;
    --text-primary: #0A1628;
    --text-secondary: #4A5B7A;
    --text-muted: #8896B0;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html { scroll-behavior: auto; font-size: 16px; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
canvas { display: block; }
::selection { background: rgba(0, 51, 160, 0.15); }

body::after {
    content: ''; position: fixed; top:0; left:0; width:100%; height:100%;
    pointer-events: none; z-index: 9998; opacity: 0.012;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}
/* CURSOR */
.custom-cursor { position:fixed; top:0; left:0; z-index:10000; pointer-events:none; }
.cursor-dot { width:8px; height:8px; background:var(--bg-navy); border-radius:50%; position:absolute; transform:translate(-50%,-50%); transition:transform 0.1s; }
.cursor-ring { width:40px; height:40px; border:1.5px solid rgba(0,51,160,0.4); border-radius:50%; position:absolute; transform:translate(-50%,-50%); transition:width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth); }
.cursor-hover .cursor-ring { width:60px; height:60px; border-color:var(--bg-navy); }
.cursor-hover .cursor-dot { transform:translate(-50%,-50%) scale(2); }

/* LOADER */
.page-loader { position:fixed; top:0; left:0; width:100%; height:100%; background:var(--bg-navy); z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; }
#loader-canvas { position:absolute; top:0; left:0; width:100%; height:100%; }
.loader-text { font-family:var(--font-heading); font-size:clamp(3rem,8vw,6rem); font-weight:700; letter-spacing:0.2em; display:flex; gap:4px; z-index:2; position:relative; }
.loader-letter { display:inline-block; opacity:0; transform:translateY(60px) rotateX(90deg); color:#FFF; text-shadow:0 0 40px rgba(255,255,255,0.5); }
.loader-tagline { font-family:var(--font-mono); font-size:0.85rem; letter-spacing:0.4em; color:rgba(255,255,255,0.6); opacity:0; z-index:2; position:relative; }
.loader-bar { width:200px; height:2px; background:rgba(255,255,255,0.2); border-radius:2px; overflow:hidden; z-index:2; position:relative; }
.loader-bar-fill { width:0%; height:100%; background:linear-gradient(90deg, #FFF, var(--accent-blue)); border-radius:2px; }

/* NAVIGATION */
.navbar { position:fixed; top:0; left:0; width:100%; padding:20px 40px; display:flex; align-items:center; justify-content:space-between; z-index:1000; background:transparent; transition:all 0.4s var(--ease-smooth); }
.navbar.scrolled { padding:12px 40px; background:rgba(255,255,255,0.92); backdrop-filter:blur(20px); border-bottom:1px solid rgba(0,51,160,0.08); box-shadow:0 4px 30px rgba(0,51,160,0.06); }
.nav-logo-img { height:40px; width:auto; transition:transform 0.3s var(--ease-smooth); }
.nav-logo-img:hover { transform:scale(1.05); }
.nav-links { display:flex; gap:32px; }
.nav-link { font-family:var(--font-body); font-size:0.85rem; font-weight:400; color:rgba(255,255,255,0.7); letter-spacing:0.05em; padding:8px 0; position:relative; transition:color 0.3s; }
.navbar.scrolled .nav-link { color: var(--text-secondary); }
.nav-link::after { content:''; position:absolute; bottom:0; left:0; width:0%; height:1px; background:var(--bg-navy); transition:width 0.4s var(--ease-smooth); }
.nav-link:hover, .nav-link.active { color:#FFF; }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color:var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width:100%; }
.nav-cta { display:flex; }
.nav-burger { display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:1001; padding:8px; }
.nav-burger span { width:28px; height:2px; background:#FFF; transition:all 0.3s var(--ease-smooth); }
.navbar.scrolled .nav-burger span { background:var(--text-primary); }
.nav-burger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.nav-burger.active span:nth-child(2) { opacity:0; }
.nav-burger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* MOBILE MENU */
.mobile-menu { position:fixed; top:0; right:-100%; width:100%; height:100%; background:rgba(0,51,160,0.97); backdrop-filter:blur(30px); z-index:999; display:flex; align-items:center; justify-content:center; transition:right 0.5s var(--ease-smooth); }
.mobile-menu.active { right:0; }
.mobile-menu-links { display:flex; flex-direction:column; gap:24px; text-align:center; }
.mobile-link { font-family:var(--font-heading); font-size:2rem; font-weight:500; color:rgba(255,255,255,0.7); transition:color 0.3s; }
.mobile-link:hover { color:#FFF; }

/* BUTTONS */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--font-heading); font-size:0.9rem; font-weight:500; letter-spacing:0.05em; padding:14px 32px; border-radius:60px; position:relative; overflow:hidden; transition:all 0.4s var(--ease-smooth); border:none; cursor:none; }
.btn-nav { padding:10px 24px; font-size:0.82rem; background:transparent; border:1px solid rgba(255,255,255,0.3); color:#FFF; }
.navbar.scrolled .btn-nav { border-color:rgba(0,51,160,0.3); color:var(--bg-navy); }
.btn-nav:hover { background:rgba(255,255,255,0.15); border-color:#FFF; }
.navbar.scrolled .btn-nav:hover { background:rgba(0,51,160,0.08); border-color:var(--bg-navy); }
.btn-hero { background:linear-gradient(135deg, #FFF, #E8EFFF); color:var(--bg-navy); font-weight:600; padding:18px 42px; font-size:1rem; }
.btn-hero:hover { transform:translateY(-2px); box-shadow:0 8px 40px rgba(255,255,255,0.3); }
.btn-glow { position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition:left 0.5s; }
.btn:hover .btn-glow { left:100%; }
.btn-secondary { background:transparent; border:1.5px solid rgba(255,255,255,0.4); color:#FFF; padding:18px 42px; font-size:1rem; }
.btn-secondary:hover { background:rgba(255,255,255,0.1); border-color:#FFF; transform:translateY(-2px); }
.btn-outline { padding:12px 28px; font-size:0.85rem; background:transparent; border:1.5px solid rgba(0,51,160,0.25); color:var(--bg-navy); }
.btn-outline:hover { background:rgba(0,51,160,0.06); border-color:var(--bg-navy); transform:translateY(-2px); box-shadow:0 4px 20px rgba(0,51,160,0.1); }

/* STARFIELD */
#starfield { position:fixed; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:0; }

/* SECTIONS */
.section { position:relative; min-height:100vh; z-index:1; isolation:isolate; }
.section-header { text-align:center; margin-bottom:80px; padding-top:120px; }
.section-label { font-family:var(--font-mono); font-size:0.75rem; letter-spacing:0.3em; color:var(--bg-navy); text-transform:uppercase; display:block; margin-bottom:20px; }
.section-title { font-family:var(--font-heading); font-size:clamp(2.5rem,5vw,4rem); font-weight:700; line-height:1.2; margin-bottom:16px; }
.section-desc { font-size:1.1rem; color:var(--text-secondary); max-width:500px; margin:0 auto; }
.text-gradient { background:linear-gradient(135deg, var(--bg-navy), var(--accent-blue)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* HERO */
.hero-section { display:flex; align-items:center; justify-content:center; min-height:100vh; overflow:hidden; background:linear-gradient(135deg, #001f6b 0%, #0033A0 40%, #1A5FFF 100%); }
#hero-canvas { position:absolute; top:0; left:0; width:100%; height:100%; z-index:0; }
.hero-content { position:relative; z-index:2; text-align:center; display:flex; flex-direction:column; align-items:center; gap:24px; }
.hero-title-wrapper { perspective:1000px; }
.hero-title { font-family:var(--font-heading); font-size:clamp(4rem,12vw,10rem); font-weight:700; letter-spacing:0.15em; line-height:1; display:flex; gap:4px; }
.hero-letter { display:inline-block; opacity:0; color:#FFF; transform:translateY(-200px) rotateX(90deg); text-shadow:0 0 60px rgba(255,255,255,0.4), 0 0 120px rgba(26,95,255,0.3); will-change:transform,opacity; }
.hero-subtitle { font-family:var(--font-body); font-size:clamp(1rem,2vw,1.3rem); color:rgba(255,255,255,0.8); opacity:0; transform:translateY(30px); font-weight:300; letter-spacing:0.1em; }
.hero-tagline { font-family:var(--font-mono); font-size:0.75rem; letter-spacing:0.5em; color:rgba(255,255,255,0.5); opacity:0; transform:translateY(20px); }
#hero-cta { opacity:0; transform:translateY(30px); }
.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.scroll-indicator { position:absolute; bottom:40px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:8px; opacity:0; z-index:2; }
.scroll-indicator span { font-family:var(--font-mono); font-size:0.65rem; letter-spacing:0.3em; color:rgba(255,255,255,0.4); text-transform:uppercase; }
.scroll-mouse { width:24px; height:36px; border:1.5px solid rgba(255,255,255,0.3); border-radius:12px; display:flex; justify-content:center; padding-top:6px; }
.scroll-wheel { width:3px; height:8px; background:#FFF; border-radius:3px; animation:scrollWheel 1.8s ease-in-out infinite; }
@keyframes scrollWheel { 0%{transform:translateY(0);opacity:1;} 50%{transform:translateY(8px);opacity:0.3;} 100%{transform:translateY(0);opacity:1;} }

/* SECTION CANVAS */
.section-canvas { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:0; }

/* SERVICES */
.services-section { background:var(--bg-primary); padding:0 40px 120px; }

/* Service Cards Grid */
.services-cards { max-width:1100px; margin:0 auto 100px; display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.svc-card { background:rgba(255,255,255,0.8); backdrop-filter:blur(12px); border:1px solid rgba(0,51,160,0.08); border-radius:20px; padding:36px 28px; display:flex; flex-direction:column; gap:14px; position:relative; overflow:hidden; transition:all 0.5s var(--ease-smooth); cursor:default; }
.svc-card::before { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(135deg, rgba(0,51,160,0.02), rgba(26,95,255,0.04)); opacity:0; transition:opacity 0.5s; }
.svc-card:hover { transform:translateY(-8px); border-color:rgba(0,51,160,0.15); box-shadow:0 20px 60px rgba(0,51,160,0.1); }
.svc-card:hover::before { opacity:1; }
.svc-icon { width:48px; height:48px; color:var(--bg-navy); transition:transform 0.5s var(--ease-smooth); }
.svc-card:hover .svc-icon { transform:scale(1.1) rotate(-5deg); }
.svc-card h3 { font-family:var(--font-heading); font-size:1.15rem; font-weight:600; position:relative; z-index:1; }
.svc-card p { font-size:0.9rem; line-height:1.7; color:var(--text-secondary); position:relative; z-index:1; }
.svc-card-accent { border-color:rgba(0,51,160,0.15); background:linear-gradient(135deg, rgba(0,51,160,0.03), rgba(26,95,255,0.06)); }
.svc-card-accent:hover { box-shadow:0 20px 60px rgba(0,51,160,0.15), 0 0 40px rgba(26,95,255,0.08); }
.services-cards > .svc-card:last-child:nth-child(3n+1) { grid-column:2; }
.svc-badge { position:absolute; top:16px; right:16px; font-family:var(--font-mono); font-size:0.6rem; letter-spacing:0.15em; text-transform:uppercase; background:var(--bg-navy); color:#FFF; padding:4px 12px; border-radius:20px; z-index:2; }

.service-showcase { max-width:1100px; margin:0 auto; display:flex; flex-direction:column; gap:100px; }
.showcase-row { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; opacity:0; transform:translateY(50px); }
.showcase-row.reverse { direction:rtl; }
.showcase-row.reverse > * { direction:ltr; }
.showcase-image { border-radius:20px; overflow:hidden; box-shadow:0 16px 48px rgba(0,51,160,0.1); transition:transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth); }
.showcase-image:hover { transform:translateY(-8px) scale(1.02); box-shadow:0 24px 64px rgba(0,51,160,0.16); }
.showcase-image img { width:100%; height:auto; display:block; transition:transform 0.6s var(--ease-smooth); }
.showcase-image:hover img { transform:scale(1.03); }
.showcase-text { display:flex; flex-direction:column; gap:16px; }
.showcase-tag { font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.2em; color:var(--accent-blue); text-transform:uppercase; font-weight:600; }
.showcase-title { font-family:var(--font-heading); font-size:2rem; font-weight:700; line-height:1.2; }
.showcase-desc { font-size:1rem; line-height:1.8; color:var(--text-secondary); }
.showcase-meta { display:flex; gap:24px; flex-wrap:wrap; margin-top:8px; }
.showcase-price { font-family:var(--font-mono); font-size:0.9rem; font-weight:700; color:var(--bg-navy); }
.showcase-time { font-family:var(--font-mono); font-size:0.8rem; color:var(--text-muted); }

/* TRUST */
.trust-section { background:var(--bg-secondary); padding:120px 40px; min-height:auto; }
.trust-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.trust-image { border-radius:20px; overflow:hidden; box-shadow:0 16px 48px rgba(0,51,160,0.1); }
.trust-image img { width:100%; height:auto; }
.trust-content { display:flex; flex-direction:column; gap:20px; }
.trust-content .section-label { text-align:left; }
.trust-content .section-title { text-align:left; }
.trust-content .section-desc { text-align:left; margin:0; }
.trust-stats { display:flex; gap:40px; margin-top:20px; }
.trust-stat { display:flex; flex-direction:column; gap:4px; }
.trust-number { font-family:var(--font-mono); font-size:2.5rem; font-weight:700; color:var(--bg-navy); }
.trust-number::after { content:'+'; }
.trust-label { font-size:0.85rem; color:var(--text-secondary); }

/* EQUIPE */
.equipe-section { background:var(--bg-primary); padding:0 40px 120px; overflow:hidden; }
.equipe-scene-wrapper { position:relative; max-width:900px; height:600px; margin:0 auto; display:flex; align-items:center; justify-content:center; }
#equipe-canvas { position:absolute; top:0; left:0; width:100%; height:100%; z-index:0; }
#equipe-orbit { position:relative; width:500px; height:500px; z-index:1; }
.equipe-center-logo { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:80px; height:80px; border-radius:50%; overflow:hidden; border:2px solid rgba(0,51,160,0.15); box-shadow:0 0 40px rgba(0,51,160,0.08); display:flex; align-items:center; justify-content:center; background:#FFF; }
.equipe-logo-img { width:60px; height:60px; object-fit:contain; }
.equipe-member { position:absolute; display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer; transition:all 0.8s var(--ease-smooth); z-index:2; }
.member-sphere { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg, rgba(0,51,160,0.08), rgba(26,95,255,0.08)); border:2px solid rgba(0,51,160,0.12); display:flex; align-items:center; justify-content:center; overflow:hidden; transition:all 0.5s var(--ease-smooth); box-shadow:0 4px 20px rgba(0,51,160,0.06); }
.member-photo { width:100%; height:100%; object-fit:cover; object-position:center top; }
.equipe-member:hover .member-sphere { transform:scale(1.15); border-color:var(--bg-navy); box-shadow:0 8px 32px rgba(0,51,160,0.15); }
.member-label { font-family:var(--font-mono); font-size:0.65rem; color:var(--text-secondary); letter-spacing:0.05em; white-space:nowrap; transition:color 0.3s; }
.equipe-member:hover .member-label { color:var(--bg-navy); }
.equipe-member.active .member-sphere { transform:scale(1.3); border-color:var(--bg-navy); box-shadow:0 12px 40px rgba(0,51,160,0.2); }
.equipe-detail { position:absolute; bottom:50px; left:50%; transform:translateX(-50%) translateY(20px); text-align:center; opacity:0; transition:all 0.5s var(--ease-smooth); z-index:10; pointer-events:none; display:flex; flex-direction:column; align-items:center; gap:10px; }
.equipe-detail.visible { opacity:1; transform:translateX(-50%) translateY(0); }
.detail-photo-wrapper { width:120px; height:120px; border-radius:50%; overflow:hidden; border:3px solid var(--bg-navy); box-shadow:0 8px 32px rgba(0,51,160,0.12); background:var(--bg-secondary); }
.detail-photo-wrapper:empty, .detail-photo-wrapper:has(img[src='']) { display:none; }
.detail-photo { width:100%; height:100%; object-fit:cover; object-position:center top; }
.detail-photo[src=''] { display:none; }
.detail-name { font-family:var(--font-heading); font-size:1.3rem; font-weight:600; }
.detail-role { font-family:var(--font-mono); font-size:0.75rem; color:var(--bg-navy); letter-spacing:0.15em; }

/* CTA */
.cta-section { min-height:100vh; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, #001f6b 0%, #0033A0 50%, #1A5FFF 100%); position:relative; overflow:hidden; }
#cta-canvas { position:absolute; top:0; left:0; width:100%; height:100%; z-index:0; }
.cta-content { position:relative; z-index:2; text-align:center; display:flex; flex-direction:column; align-items:center; gap:28px; }
.cta-title { font-family:var(--font-heading); font-size:clamp(2.5rem,6vw,5rem); font-weight:700; line-height:1.2; display:flex; flex-wrap:wrap; justify-content:center; gap:16px; }
.cta-word { display:inline-block; opacity:0; transform:translateY(40px); color:#FFF; }
.cta-word-accent { background:linear-gradient(135deg, #FFF, rgba(255,255,255,0.7)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.cta-subtitle { font-family:var(--font-mono); font-size:0.9rem; color:rgba(255,255,255,0.6); letter-spacing:0.2em; opacity:0; }
.cta-buttons { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; opacity:0; transform:translateY(20px); }
.cta-social { display:flex; gap:20px; margin-top:16px; opacity:0; }
.cta-social a { color:rgba(255,255,255,0.5); transition:color 0.3s, transform 0.3s; }
.cta-social a:hover { color:#FFF; transform:translateY(-3px); }

/* FOOTER */
.footer { background:var(--bg-secondary); border-top:1px solid rgba(0,51,160,0.06); padding:40px; position:relative; z-index:1; }
.footer-content { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; }
.footer-brand { display:flex; align-items:center; gap:16px; }
.footer-logo { height:32px; width:auto; opacity:0.7; }
.footer-tagline { font-family:var(--font-mono); font-size:0.75rem; color:var(--text-muted); letter-spacing:0.15em; }
.footer-info p { font-size:0.8rem; color:var(--text-muted); }

/* RESPONSIVE */
@media (max-width:1024px) {
    .services-cards { grid-template-columns:repeat(2, 1fr); }
    .showcase-row { gap:40px; }
    .trust-inner { gap:40px; }
    #equipe-orbit { width:420px; height:420px; }
}

@media (max-width:768px) {
    body { cursor:auto; }
    .custom-cursor { display:none; }
    .navbar { padding:16px 24px; }
    .nav-links, .nav-cta { display:none; }
    .nav-burger { display:flex; }
    .hero-title { font-size:clamp(3rem,10vw,6rem); }
    .section-header { padding:80px 20px 0; margin-bottom:40px; }
    .services-section { padding:0 20px 80px; }
    .services-cards { grid-template-columns:1fr; margin-bottom:60px; }
    .services-cards > .svc-card:last-child:nth-child(3n+1) { grid-column:auto; }
    .showcase-row, .showcase-row.reverse { grid-template-columns:1fr; direction:ltr; gap:30px; }
    .showcase-title { font-size:1.5rem; }
    .trust-section { padding:80px 20px; }
    .trust-inner { grid-template-columns:1fr; }
    .trust-stats { gap:24px; }
    .equipe-section { padding:0 20px 80px; }
    .equipe-scene-wrapper { height:500px; overflow:hidden; }
    #equipe-orbit { width:320px; height:320px; }
    .member-sphere { width:50px; height:50px; }
    .cta-title { gap:8px; flex-wrap:wrap; }
    .cta-buttons { flex-direction:column; align-items:center; }
    .footer-content { flex-direction:column; gap:16px; text-align:center; }
    .hero-buttons { flex-direction:column; align-items:center; }
}

@media (max-width:375px) {
    .hero-title { font-size:2.8rem; }
    .section-title { font-size:2rem; }
}


