/* ToSoft studio: lightweight product visuals and shared editorial surfaces. */
:root { --bg:#080c17; --bg2:#0d1322; --card:#111a2b; --card2:#18243b; --accent:#8a85ff; --accent2:#70e6d2; --accent3:#ffae94; --muted:#abb6cc; --grad:linear-gradient(115deg,#b5a6ff,#75e3df); --ff-d:'Barlow',Arial,sans-serif; --ff-b:'Barlow',Arial,sans-serif; }
body::before { display:none; }
body { background:#080c17; }
nav { background:rgba(8,12,23,.94); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-color:#283048; }
.logo-wrap img { border-radius:12px; }
.logo-text { font-size:1.35rem; letter-spacing:-.035em; }
.logo-sub { letter-spacing:.1em; color:#abb6cc; }
.nav-links a { text-transform:none; letter-spacing:0; font-size:.88rem; }
.nav-cta { background:#e6e9ff; color:#131a30; border-radius:100px; padding:.7rem 1.2rem; }
.nav-cta:hover { background:#fff; color:#131a30; }
.btn-primary { background:#c2b7ff; color:#16152b; box-shadow:0 8px 24px #0002; border-radius:100px; padding:1rem 1.6rem; }
.btn-primary:hover { background:#d2caff; color:#16152b; box-shadow:0 12px 28px #0003; }
.btn-outline { border-radius:100px; padding:1rem 1.6rem; background:#11192b; }
.btn-outline:hover { background:#1b2540; border-color:#a09be7; }
.section-tag { color:#b6a8ff; display:flex; align-items:center; gap:.7rem; font-size:.7rem; letter-spacing:.14em; }
.section-tag::before { content:''; width:22px; height:1px; background:currentColor; flex:none; }
.section-title { font-weight:800; letter-spacing:-.045em; font-size:clamp(2.1rem,4.2vw,3.7rem); }
.section-desc { line-height:1.8; }
#home { min-height:800px; padding-top:150px; padding-bottom:72px; background:radial-gradient(ellipse at 83% 33%,#24244388,transparent 50%),radial-gradient(ellipse at 10% 100%,#0d393c44,transparent 55%),#080c17; }
#home::after { content:''; position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(#a3aedb08 1px,transparent 1px),linear-gradient(90deg,#a3aedb08 1px,transparent 1px); background-size:76px 76px; mask-image:linear-gradient(90deg,transparent 35%,#000); }
.hero-glow,.hero-glow2 { display:none; }
.hero-layout { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:3rem; }
.hero-badge { font-family:var(--ff-b); text-transform:none; font-size:.72rem; letter-spacing:.015em; background:#151c2c; color:#b9ccdc; border-color:#30394c; padding:.5rem .85rem; }
.hero-badge-dot { background:#70e6d2; animation:none; box-shadow:0 0 0 4px #70e6d210; }
.hero-title { font-family:var(--ff-b); font-size:clamp(3rem,5.25vw,5.1rem); font-weight:800; line-height:1.02; letter-spacing:-.055em; animation:none; }
.hero-title .accent { background:linear-gradient(100deg,#c0a9ff 10%,#80e8dc 100%); background-clip:text; -webkit-background-clip:text; }
.hero-title .sub { font-size:.9rem; line-height:1.65; letter-spacing:0; max-width:410px; margin-top:1.4rem; }
.hero-desc { font-size:1rem; max-width:490px; line-height:1.8; margin:1.25rem 0 1.8rem; animation:none; }
.hero-actions,.hero-stats,.hero-badge { animation:none; }
.hero-stats { padding-top:1.6rem; margin-top:2.3rem; border-color:#2d3549; }
.stat-num { font-size:1.9rem; color:#e1e6f4; background:none; -webkit-text-fill-color:currentColor; letter-spacing:-.04em; }
.stat-label { font-size:.7rem; color:#a7b3c8; }
.hero-visual { overflow:visible; padding:0; border:0; border-radius:0; background:none; box-shadow:none; animation:none; min-width:0; }
.studio-scene { position:relative; padding:34px 12px 50px; }
.studio-scene::before { content:''; position:absolute; inset:5% -2% 0; border:1px solid #a59af61f; border-radius:50%; transform:rotate(-23deg); pointer-events:none; }
.scene-caption { display:flex; align-items:center; gap:.6rem; color:#b7b3d8; font-size:.65rem; text-transform:uppercase; letter-spacing:.17em; margin:0 0 1rem .5rem; }
.scene-caption span { width:6px; height:6px; background:#b7a7ff; border-radius:50%; }
.app-window { position:relative; border:1px solid #596382; border-radius:15px; background:#111a2d; box-shadow:0 26px 70px #0005; transform:perspective(1200px) rotateY(-7deg) rotateX(3deg); }
.window-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 1rem; border-bottom:1px solid #313d56; font-size:.6rem; color:#b3c0d7; }
.window-dots { display:flex; gap:4px; }
.window-dots i { width:5px; height:5px; border-radius:50%; background:#67738e; }
.window-dots i:first-child { background:#e9a1a1; }.window-dots i:nth-child(2) { background:#e0c48b; }.window-dots i:last-child { background:#8fcbb4; }
.workspace { display:grid; grid-template-columns:45px minmax(0,1fr); min-height:270px; }
.workspace-rail { display:flex; flex-direction:column; align-items:center; gap:17px; padding-top:1rem; border-right:1px solid #29354b; color:#8392b1; font-size:.9rem; }
.workspace-rail b { display:grid; place-items:center; background:#b8acff; color:#17192c; border-radius:7px; width:24px; height:24px; font-size:.7rem; }
.workspace-body { padding:1.25rem; min-width:0; }
.workspace-header { display:flex; justify-content:space-between; align-items:center; gap:.6rem; margin-bottom:1.1rem; }
.workspace-header small { display:block; color:#a6b4cb; font-size:.6rem; }.workspace-header strong { font-size:1rem; font-weight:600; letter-spacing:-.03em; }
.workspace-header > span { background:#203e3c; color:#9ce8ca; font-size:.53rem; border:1px solid #385952; border-radius:100px; padding:.2rem .5rem; white-space:nowrap; }
.mini-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; margin-bottom:.8rem; }
.mini-metrics div { padding:.7rem .55rem; border:1px solid #35425c; border-radius:8px; background:#18233a; }
.mini-metrics small { color:#b7c1d6; display:block; font-size:.52rem; }.mini-metrics b { display:block; margin-top:.2rem; font-size:1rem; font-weight:600; }.mini-metrics span { display:block; font-size:.5rem; color:#8ee2cf; }
.chart-panel { border:1px solid #35425c; border-radius:10px; padding:.85rem; background:linear-gradient(120deg,#1b2840,#151d33); }
.chart-heading { display:flex; justify-content:space-between; font-size:.6rem; color:#bdc9df; }.chart-heading span { color:#9eadd0; }
.product-chart { width:100%; height:auto; display:block; margin-top:.4rem; overflow:visible; }
.scene-phone { position:absolute; right:-10px; bottom:7px; width:126px; padding:7px; border:1px solid #69718b; border-radius:24px; background:#0b1120; box-shadow:0 15px 40px #0007; transform:rotate(7deg); }
.phone-screen { padding:9px; border-radius:18px; background:linear-gradient(160deg,#243654,#121e33); min-height:208px; }
.phone-notch { width:34px; height:4px; border-radius:10px; background:#080c17; margin:0 auto 15px; }
.phone-screen small { font-size:.5rem; color:#b0c0d9; display:block; }.phone-screen strong { font-size:.82rem; display:block; margin:.3rem 0 .8rem; }
.phone-card { background:#b6a8f4; color:#1c1a38; padding:12px 9px; border-radius:10px; }.phone-card span { font-size:.46rem; display:block; }.phone-card b { font-size:.8rem; display:block; margin-top:6px; }
.phone-line { display:flex; gap:6px; align-items:center; margin-top:12px; }.phone-line i { height:19px; width:19px; background:#35565b; border-radius:6px; }.phone-line span { height:4px; width:42px; background:#8292b3; border-radius:3px; }
.scene-note { position:absolute; bottom:14px; left:0; display:flex; gap:.6rem; align-items:center; font-size:.65rem; padding:.65rem .9rem; border:1px solid #4d6571; border-radius:10px; background:#142b32; color:#b9ece0; box-shadow:0 8px 20px #0004; }
.scene-note b { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#91ddc4; color:#133128; }
.visual-service-grid { margin-top:1.5rem; gap:.5rem; grid-template-columns:repeat(4,minmax(0,1fr)); }
.visual-service-grid a { padding:.6rem .4rem; background:#111a2a; border-color:#303b50; border-radius:8px; }
.visual-service-grid a span { font-size:1rem; }.visual-service-grid strong { font-size:.6rem; font-weight:500; }
.delivery-steps { margin-top:1rem; font-size:.65rem; }
.project-paths { background:#101725; position:relative; }
.path-grid { gap:1rem; }
.path-card { position:relative; overflow:hidden; padding:2rem; background:radial-gradient(ellipse at 100% 0,#60639a30,transparent 70%),#141e30; border-color:#334058; border-radius:20px; }
.path-card:nth-child(2) { background:radial-gradient(ellipse at 100% 0,#478e8b30,transparent 70%),#141e30; }
.path-card:nth-child(3) { background:radial-gradient(ellipse at 100% 0,#bc807530,transparent 70%),#141e30; }
.path-number { color:#c0b3ff; }.path-card h3 { font-size:1.45rem; letter-spacing:-.035em; }.path-card p { font-size:.9rem; }
.path-action { font-size:.75rem; color:#bfc8f5; }.path-action > span { width:28px; height:28px; display:grid; place-items:center; border:1px solid #65718a; border-radius:50%; flex:none; }
.services-preview { grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.srv-card { background:linear-gradient(145deg,#192439,#101a2c); border-color:#2c3b53; border-radius:18px; padding:1.8rem; }
.srv-card:nth-child(3n + 2) { background:linear-gradient(145deg,#192a35,#101a2c); }
.srv-card h3 { font-size:1.2rem; letter-spacing:-.025em; }.srv-card p { font-size:.88rem; }.srv-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:13px; background:#a6a4f01a; border:1px solid #a6a4f02a; font-size:1.4rem; }
.srv-card:hover { background:#1c2941; border-color:#8d88c8; }.learn { color:#9cdecf; font-size:.7rem; }
.featured-work { background:radial-gradient(ellipse at 0 70%,#25375577,transparent 60%),#0d1322; }
.featured-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:2.5rem; }.featured-heading .section-header { margin-bottom:0; }
.featured-project { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); overflow:hidden; border-radius:24px; border:1px solid #3e4964; background:#142138; }
.featured-preview { padding:2.5rem 2.5rem 0; background:linear-gradient(135deg,#d3d1e5,#a5c4ce); overflow:hidden; }
.preview-browser { background:#f7f8fb; border-radius:12px 12px 0 0; padding-top:23px; box-shadow:0 16px 45px #20324640; position:relative; transform:rotate(-3deg) translateY(8px); }.preview-browser::before { content:'● ● ●'; position:absolute; top:4px; left:11px; color:#97a3b8; letter-spacing:3px; font-size:8px; }
.preview-browser img { width:100%; height:auto; display:block; border-radius:0; }
.featured-copy { padding:2.5rem; display:flex; flex-direction:column; align-items:start; justify-content:center; }.project-kind { color:#9de0d0; text-transform:uppercase; font-size:.65rem; letter-spacing:.14em; }.featured-copy h3 { font-size:clamp(1.7rem,2.5vw,2.3rem); letter-spacing:-.04em; line-height:1.15; margin:1rem 0; }.featured-copy p { color:#afbdd3; line-height:1.8; font-size:.93rem; }.project-tags { display:flex; flex-wrap:wrap; gap:.5rem; margin:1.3rem 0; }.project-tags span { border:1px solid #4b5b77; border-radius:100px; padding:.25rem .6rem; color:#c5d1e5; font-size:.65rem; }.featured-copy a { color:#c5baff; text-underline-offset:5px; font-size:.85rem; padding-block:.4rem; }
.clients-no-pad { border-block:1px solid #283348; }.client-logo-box { border-radius:10px; box-shadow:none; }
.amc,.why-item { border-color:#36425b; border-radius:18px; background:linear-gradient(140deg,#18253a,#101928); }.amc { border-left-color:#a499ee; }.amc h3 { font-size:1.05rem; }
.plan-card { background:#121d30; border:1px solid #3a4863; }.plan-card.featured { border-color:#a49af0; box-shadow:0 12px 60px #8876f518; }.plan-header { background:linear-gradient(135deg,#222e49,#182038); }.plan-features li { border-color:#303a50; }
.port-card { border-radius:16px; border-color:#3c4963; background:#162238; }.port-img { transition:transform .4s ease; }.port-card:hover .port-img { transform:scale(1.025); }.port-label { border-top:1px solid #3b4760; padding:1rem; }
/* Render the long project gallery when it approaches the viewport. */
@supports (content-visibility:auto) {
  #portfolio { content-visibility:auto; contain-intrinsic-size:auto 1800px; }
  @media(max-width:600px) { #portfolio { contain-intrinsic-size:auto 6200px; } }
}
@media print { #portfolio { content-visibility:visible; } }
.cta-band { background:radial-gradient(ellipse at 80% 50%,#6e5da54d,transparent 65%),linear-gradient(120deg,#1f2d47,#1b233b); border-color:#5a6088; border-radius:24px; }
.contact-form { background:linear-gradient(140deg,#1c2941,#111b2e); border-color:#4b5577; box-shadow:0 20px 60px #0003; }.contact-detail { background:#152137; border:1px solid #35435b; }.contact-form input,.contact-form select,.contact-form textarea { background:#0e1728; border-color:#4a5873; }
.page-hero { background:radial-gradient(ellipse at 15% 0,#454b824d,transparent 60%),radial-gradient(ellipse at 90% 100%,#26685d40,transparent 60%),#0d1424; border-bottom:1px solid #333c53; }
.page-hero::before { background-image:linear-gradient(#b0b9e60a 1px,transparent 1px),linear-gradient(90deg,#b0b9e60a 1px,transparent 1px); background-size:60px 60px; mask-image:linear-gradient(#000,transparent); }
.page-hero h1 { max-width:850px; margin-inline:auto; font-size:clamp(2.7rem,5.4vw,4.7rem); letter-spacing:-.05em; }.page-hero p { position:relative; }
.service-directory { background:#101a2c; }.service-directory li a { background:#1c2841; border-color:#465576; }.srv-number { color:#b8aaff; letter-spacing:.12em; }.srv-title { letter-spacing:-.04em; font-weight:800; }.sv-card { background:linear-gradient(135deg,#1c2941,#111c30); border-color:#35455f; border-radius:18px; }
.culture-card,.perk-card,.job-card { border-color:#3a4965; background:linear-gradient(140deg,#1b2940,#111b2f); border-radius:16px; }.culture-card h3,.perk-card h3 { letter-spacing:-.02em; }.jobs-sidebar { background:#111c30; border-color:#3a4965; }.job-card.open { border-color:#a99ce8; }.job-title { letter-spacing:-.03em; }
footer { background:#090f1d; border-top-color:#35425d; }.footer-col a:hover { color:#adf0df; }
/* Use opacity/transform for interaction; keep decorative surfaces static. */
.hero-visual .app-window { animation:studio-drift 8s ease-in-out infinite; }
@keyframes studio-drift { 0%,100% { transform:perspective(1200px) rotateY(-7deg) rotateX(3deg) translateY(0); } 50% { transform:perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(-7px); } }
@media(min-width:1600px) { #home { min-height:850px; } }
@media(max-width:1100px) { .hero-layout { gap:2rem; }.studio-scene { padding-inline:0; }.scene-phone { right:-5px; width:112px; }.workspace-body { padding:1rem; }.visual-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.featured-copy { padding:2rem; } }
@media(max-width:900px) { #home { min-height:auto; padding-top:125px; }.hero-layout { grid-template-columns:minmax(0,1fr); gap:3rem; }.hero-content { max-width:680px; }.hero-title { font-size:clamp(3.1rem,8vw,5.4rem); }.hero-visual { display:block; width:100%; max-width:580px; justify-self:center; }.studio-scene { padding:20px 10px 55px; }.scene-phone { right:0; width:126px; }.workspace { min-height:290px; }.visual-service-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.featured-project { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }.featured-preview { padding:1.5rem 1.5rem 0; }.featured-copy { padding:1.5rem; }.services-preview { grid-template-columns:repeat(2,minmax(0,1fr)); }.path-card { padding:1.6rem; } }
@media(max-width:600px) { #home { padding-top:112px; padding-bottom:48px; }.hero-layout { gap:2rem; }.hero-title { font-size:clamp(2.7rem,11vw,4rem); }.hero-title .sub { font-size:.88rem; }.hero-badge { font-size:.63rem; }.hero-actions { flex-direction:row; gap:.65rem; }.hero-actions a { flex:1 1 145px; padding:.9rem .8rem; font-size:.78rem; }.hero-stats { margin-top:1.8rem; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.6rem; }.stat-num { font-size:1.6rem; }.stat-label { font-size:.6rem; }.studio-scene { padding:20px 4px 48px; }.workspace { grid-template-columns:30px minmax(0,1fr); min-height:240px; }.workspace-rail { gap:14px; font-size:.75rem; }.workspace-rail b { width:20px; height:20px; }.workspace-body { padding:.8rem; }.workspace-header strong { font-size:.85rem; }.workspace-header small { font-size:.5rem; }.mini-metrics { gap:.35rem; }.mini-metrics div { padding:.55rem .4rem; }.mini-metrics b { font-size:.85rem; }.mini-metrics small,.mini-metrics span { font-size:.45rem; }.scene-phone { width:100px; right:0; bottom:5px; padding:5px; border-radius:20px; }.phone-screen { min-height:175px; border-radius:15px; padding:8px; }.phone-screen strong { font-size:.66rem; }.phone-card { padding:9px 6px; }.phone-card b { font-size:.65rem; }.scene-note { left:0; font-size:.53rem; padding:.55rem .65rem; }.scene-note b { width:20px; height:20px; }.visual-service-grid { margin-top:.8rem; gap:.35rem; }.visual-service-grid strong { font-size:.52rem; }.visual-service-grid a { padding:.55rem .3rem; }.delivery-steps { font-size:.6rem; }.section-title { font-size:clamp(2rem,8vw,2.7rem); }.section-header { margin-bottom:2.3rem; }.services-preview { grid-template-columns:minmax(0,1fr); }.srv-card { padding:1.5rem; }.featured-heading { align-items:start; flex-direction:column; gap:1.2rem; }.featured-project { grid-template-columns:minmax(0,1fr); }.featured-preview { padding:1.8rem 1.5rem 0; }.featured-copy { padding:1.8rem; }.featured-copy h3 { font-size:1.8rem; }.page-hero h1 { font-size:clamp(2.3rem,9vw,3.5rem); }.contact-form { padding:1.3rem; } }
@media(max-width:340px) { .hero-stats { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:1rem; }.hero-title { font-size:2.6rem; }.workspace-header > span { display:none; }.scene-phone { width:85px; }.phone-screen { min-height:155px; }.scene-note { max-width:160px; }.scene-note b { flex:none; }.visual-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.visual-service-grid strong { font-size:.65rem; }.delivery-steps li + li::before { margin-right:.3rem; } }
@media(prefers-reduced-motion:reduce) { .hero-visual .app-window { animation:none; transform:none; }.port-card:hover .port-img { transform:none; } }
